Starting /home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +415+ DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg ++415+ basename /home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +415+ DMG=eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +415+ cp /home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg ++415+ echo eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg ++415+ sed s/-macosx.cocoa.x86_64.dmg//g ++415+ sed -E 's/^[0-9\-]*_(.*)/\1/g' +415+ PRIMARY_BUNDLE_ID=eclipse-scout-2021-06-M2 +415+ retryCount=3 +415+ '[' 3 -gt 0 ']' ++415+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-scout-2021-06-M2", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize +415+ RESPONSE_RAW='{"uuid":"a1de0bc7-0840-4646-aca2-828aa9f07e0e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++415+ head -n1 +415+ RESPONSE='{"uuid":"a1de0bc7-0840-4646-aca2-828aa9f07e0e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++415+ tail -n1 +415+ STATUS_CODE=200 ++415+ echo '{"uuid":"a1de0bc7-0840-4646-aca2-828aa9f07e0e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++415+ jq -r .uuid +415+ UUID=a1de0bc7-0840-4646-aca2-828aa9f07e0e ++415+ echo '{"uuid":"a1de0bc7-0840-4646-aca2-828aa9f07e0e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++415+ jq -r .notarizationStatus.status +415+ STATUS=IN_PROGRESS +415+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +415+ sleep 1m ++415+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/a1de0bc7-0840-4646-aca2-828aa9f07e0e/status +415+ RESPONSE_RAW='{"uuid":"a1de0bc7-0840-4646-aca2-828aa9f07e0e","notarizationStatus":{"status":"COMPLETE","message":"Notarization ticket has been stapled successfully to uploaded file. You can now download the stapled file","moreInfo":"Notarization ticket has been stapled to the uploaded file successfully","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"b0c64bd5-b3de-44cb-a6d3-29a2d2d34789\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg\",\n \"uploadDate\": \"2021-05-06T16:19:34Z\",\n \"sha256\": \"c1973a42b1267d54af87e83ae960056b6fdc98e104c1f7c8567a8866565d8e47\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"b5ce6354d09e69dbdd13ee5ae23011fbcaf3f50f\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"771d59a6bea6ac62473b95b74f0f789fe5a9bad8\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.scout.executable.cocoa.macosx.x86_64_4.20.0.20210506-1200/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"131377198f4e33c325e7699225191a6b87adbf71\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/org.eclipse.platform.ide.executable.cocoa.macosx.x86_64_4.20.0.I20210429-1800/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"131377198f4e33c325e7699225191a6b87adbf71\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210429-1609/eclipse_11407.so\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"626c76932dc77e0ca9d57e515a0477175ad152bb\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"771d59a6bea6ac62473b95b74f0f789fe5a9bad8\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}} 200' ++415+ head -n1 +415+ RESPONSE='{"uuid":"a1de0bc7-0840-4646-aca2-828aa9f07e0e","notarizationStatus":{"status":"COMPLETE","message":"Notarization ticket has been stapled successfully to uploaded file. You can now download the stapled file","moreInfo":"Notarization ticket has been stapled to the uploaded file successfully","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"b0c64bd5-b3de-44cb-a6d3-29a2d2d34789\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg\",\n \"uploadDate\": \"2021-05-06T16:19:34Z\",\n \"sha256\": \"c1973a42b1267d54af87e83ae960056b6fdc98e104c1f7c8567a8866565d8e47\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"b5ce6354d09e69dbdd13ee5ae23011fbcaf3f50f\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"771d59a6bea6ac62473b95b74f0f789fe5a9bad8\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.scout.executable.cocoa.macosx.x86_64_4.20.0.20210506-1200/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"131377198f4e33c325e7699225191a6b87adbf71\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/org.eclipse.platform.ide.executable.cocoa.macosx.x86_64_4.20.0.I20210429-1800/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"131377198f4e33c325e7699225191a6b87adbf71\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210429-1609/eclipse_11407.so\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"626c76932dc77e0ca9d57e515a0477175ad152bb\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"771d59a6bea6ac62473b95b74f0f789fe5a9bad8\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}}' ++415+ tail -n1 +415+ STATUS_CODE=200 ++415+ jq -r .notarizationStatus.status ++415+ echo '{"uuid":"a1de0bc7-0840-4646-aca2-828aa9f07e0e","notarizationStatus":{"status":"COMPLETE","message":"Notarization' ticket has been stapled successfully to uploaded file. You can now download the stapled 'file","moreInfo":"Notarization' ticket has been stapled to the uploaded file 'successfully","log":"{\n' '\"logFormatVersion\":' '1,\n' '\"jobId\":' '\"b0c64bd5-b3de-44cb-a6d3-29a2d2d34789\",\n' '\"status\":' '\"Accepted\",\n' '\"statusSummary\":' '\"Ready' for 'distribution\",\n' '\"statusCode\":' '0,\n' '\"archiveFilename\":' '\"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg\",\n' '\"uploadDate\":' '\"2021-05-06T16:19:34Z\",\n' '\"sha256\":' '\"c1973a42b1267d54af87e83ae960056b6fdc98e104c1f7c8567a8866565d8e47\",\n' '\"ticketContents\":' '[\n' '{\n' '\"path\":' '\"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"b5ce6354d09e69dbdd13ee5ae23011fbcaf3f50f\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg/Eclipse.app\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"771d59a6bea6ac62473b95b74f0f789fe5a9bad8\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.scout.executable.cocoa.macosx.x86_64_4.20.0.20210506-1200/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"131377198f4e33c325e7699225191a6b87adbf71\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/org.eclipse.platform.ide.executable.cocoa.macosx.x86_64_4.20.0.I20210429-1800/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"131377198f4e33c325e7699225191a6b87adbf71\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210429-1609/eclipse_11407.so\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"626c76932dc77e0ca9d57e515a0477175ad152bb\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-scout-2021-06-M2-macosx-cocoa-x86_64-8858144529126087181.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"771d59a6bea6ac62473b95b74f0f789fe5a9bad8\",\n' '\"arch\":' '\"x86_64\"\n' '}\n' '],\n' '\"issues\":' 'null\n}"}}' +415+ STATUS=COMPLETE +415+ [[ COMPLETE == \I\N\_\P\R\O\G\R\E\S\S ]] +415+ [[ 200 == \5\0\3 ]] +415+ [[ 200 == \5\0\2 ]] +415+ [[ COMPLETE != \C\O\M\P\L\E\T\E ]] +415+ break +415+ rm eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +415+ curl -JO https://cbi.eclipse.org/macos/xcrun/a1de0bc7-0840-4646-aca2-828aa9f07e0e/download % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1568k 0 1568k 0 0 6426k 0 --:--:-- --:--:-- --:--:-- 6426k 100 16.0M 0 16.0M 0 0 12.9M 0 --:--:-- 0:00:01 --:--:-- 12.9M 100 32.2M 0 32.2M 0 0 14.3M 0 --:--:-- 0:00:02 --:--:-- 14.3M 100 45.4M 0 45.4M 0 0 13.9M 0 --:--:-- 0:00:03 --:--:-- 13.9M 100 53.5M 0 53.5M 0 0 12.2M 0 --:--:-- 0:00:04 --:--:-- 12.2M 100 63.5M 0 63.5M 0 0 12.1M 0 --:--:-- 0:00:05 --:--:-- 12.4M 100 70.7M 0 70.7M 0 0 11.3M 0 --:--:-- 0:00:06 --:--:-- 10.9M 100 84.8M 0 84.8M 0 0 11.7M 0 --:--:-- 0:00:07 --:--:-- 10.5M 100 90.0M 0 90.0M 0 0 10.9M 0 --:--:-- 0:00:08 --:--:-- 9131k 100 94.6M 0 94.6M 0 0 10.1M 0 --:--:-- 0:00:09 --:--:-- 8571k 100 104M 0 104M 0 0 9.9M 0 --:--:-- 0:00:10 --:--:-- 7969k 100 111M 0 111M 0 0 9.8M 0 --:--:-- 0:00:11 --:--:-- 8192k 100 124M 0 124M 0 0 10.1M 0 --:--:-- 0:00:12 --:--:-- 8148k 100 133M 0 133M 0 0 10.0M 0 --:--:-- 0:00:13 --:--:-- 8830k 100 139M 0 139M 0 0 9.7M 0 --:--:-- 0:00:14 --:--:-- 9250k 100 155M 0 155M 0 0 10.2M 0 --:--:-- 0:00:15 --:--:-- 10.8M 100 164M 0 164M 0 0 10.1M 0 --:--:-- 0:00:16 --:--:-- 10.7M 100 176M 0 176M 0 0 10.2M 0 --:--:-- 0:00:17 --:--:-- 10.3M 100 187M 0 187M 0 0 10.2M 0 --:--:-- 0:00:18 --:--:-- 10.9M 100 198M 0 198M 0 0 10.2M 0 --:--:-- 0:00:19 --:--:-- 11.7M 100 219M 0 219M 0 0 10.8M 0 --:--:-- 0:00:20 --:--:-- 12.6M 100 227M 0 227M 0 0 10.7M 0 --:--:-- 0:00:21 --:--:-- 12.7M 100 246M 0 246M 0 0 11.0M 0 --:--:-- 0:00:22 --:--:-- 14.0M 100 272M 0 272M 0 0 11.7M 0 --:--:-- 0:00:23 --:--:-- 16.9M 100 289M 0 289M 0 0 12.1M 0 --:--:-- 0:00:23 --:--:-- 19.7M curl: Saved to filename 'eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg' +415+ cp -vf eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg /home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg 'eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg' -> '/home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg' ++415+ dirname /home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +415+ d=/home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp ++415+ basename /home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +415+ b=eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +415+ cd /home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp +415+ md5sum eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +415+ sha1sum eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +415+ sha512sum -b eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +415+ rm eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize +415+ rm -f eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.md5 +415+ rm -f eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.sha1 +415+ rm -f eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.sha512