Starting /home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp/eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +453+ DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp/eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg ++453+ basename /home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp/eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +453+ DMG=eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +453+ cp /home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp/eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg ++453+ echo eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg ++453+ sed s/-macosx.cocoa.x86_64.dmg//g ++453+ sed -E 's/^[0-9\-]*_(.*)/\1/g' +453+ PRIMARY_BUNDLE_ID=eclipse-scout-2021-06-M2 +453+ retryCount=3 +453+ '[' 3 -gt 0 ']' ++453+ 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 +453+ RESPONSE_RAW='{"uuid":"a796cdcb-57e3-446c-a207-b70b49e6abef","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++453+ head -n1 +453+ RESPONSE='{"uuid":"a796cdcb-57e3-446c-a207-b70b49e6abef","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++453+ tail -n1 +453+ STATUS_CODE=200 ++453+ echo '{"uuid":"a796cdcb-57e3-446c-a207-b70b49e6abef","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++453+ jq -r .uuid +453+ UUID=a796cdcb-57e3-446c-a207-b70b49e6abef ++453+ echo '{"uuid":"a796cdcb-57e3-446c-a207-b70b49e6abef","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++453+ jq -r .notarizationStatus.status +453+ STATUS=IN_PROGRESS +453+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +453+ sleep 1m ++453+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/a796cdcb-57e3-446c-a207-b70b49e6abef/status +453+ RESPONSE_RAW='{"uuid":"a796cdcb-57e3-446c-a207-b70b49e6abef","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' ++453+ head -n1 +453+ RESPONSE='{"uuid":"a796cdcb-57e3-446c-a207-b70b49e6abef","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}"}}' ++453+ tail -n1 +453+ STATUS_CODE=200 ++453+ jq -r .notarizationStatus.status ++453+ echo '{"uuid":"a796cdcb-57e3-446c-a207-b70b49e6abef","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}"}}' +453+ STATUS=COMPLETE +453+ [[ COMPLETE == \I\N\_\P\R\O\G\R\E\S\S ]] +453+ [[ 200 == \5\0\3 ]] +453+ [[ 200 == \5\0\2 ]] +453+ [[ COMPLETE != \C\O\M\P\L\E\T\E ]] +453+ break +453+ rm eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +453+ curl -JO https://cbi.eclipse.org/macos/xcrun/a796cdcb-57e3-446c-a207-b70b49e6abef/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 6419k 0 6419k 0 0 11.9M 0 --:--:-- --:--:-- --:--:-- 11.9M 100 14.5M 0 14.5M 0 0 9783k 0 --:--:-- 0:00:01 --:--:-- 9776k 100 16.3M 0 16.3M 0 0 6261k 0 --:--:-- 0:00:02 --:--:-- 6258k 100 21.4M 0 21.4M 0 0 6245k 0 --:--:-- 0:00:03 --:--:-- 6243k 100 26.1M 0 26.1M 0 0 5930k 0 --:--:-- 0:00:04 --:--:-- 5928k 100 32.4M 0 32.4M 0 0 5740k 0 --:--:-- 0:00:05 --:--:-- 5092k 100 37.7M 0 37.7M 0 0 5920k 0 --:--:-- 0:00:06 --:--:-- 4744k 100 44.8M 0 44.8M 0 0 6101k 0 --:--:-- 0:00:07 --:--:-- 6013k 100 49.7M 0 49.7M 0 0 5973k 0 --:--:-- 0:00:08 --:--:-- 5782k 100 53.8M 0 53.8M 0 0 5793k 0 --:--:-- 0:00:09 --:--:-- 5671k 100 58.3M 0 58.3M 0 0 5676k 0 --:--:-- 0:00:10 --:--:-- 5597k 100 68.6M 0 68.6M 0 0 6104k 0 --:--:-- 0:00:11 --:--:-- 6343k 100 77.1M 0 77.1M 0 0 6308k 0 --:--:-- 0:00:12 --:--:-- 6620k 100 82.6M 0 82.6M 0 0 6256k 0 --:--:-- 0:00:13 --:--:-- 6738k 100 92.9M 0 92.9M 0 0 6557k 0 --:--:-- 0:00:14 --:--:-- 8011k 100 96.7M 0 96.7M 0 0 6381k 0 --:--:-- 0:00:15 --:--:-- 7863k 100 100M 0 100M 0 0 6230k 0 --:--:-- 0:00:16 --:--:-- 6521k 100 107M 0 107M 0 0 6276k 0 --:--:-- 0:00:17 --:--:-- 6194k 100 112M 0 112M 0 0 6217k 0 --:--:-- 0:00:18 --:--:-- 6112k 100 119M 0 119M 0 0 6254k 0 --:--:-- 0:00:19 --:--:-- 5375k 100 122M 0 122M 0 0 6113k 0 --:--:-- 0:00:20 --:--:-- 5283k 100 130M 0 130M 0 0 6221k 0 --:--:-- 0:00:21 --:--:-- 6190k 100 137M 0 137M 0 0 6256k 0 --:--:-- 0:00:22 --:--:-- 6188k 100 139M 0 139M 0 0 6083k 0 --:--:-- 0:00:23 --:--:-- 5588k 100 149M 0 149M 0 0 6224k 0 --:--:-- 0:00:24 --:--:-- 6110k 100 157M 0 157M 0 0 6331k 0 --:--:-- 0:00:25 --:--:-- 7225k 100 163M 0 163M 0 0 6315k 0 --:--:-- 0:00:26 --:--:-- 6722k 100 172M 0 172M 0 0 6417k 0 --:--:-- 0:00:27 --:--:-- 7142k 100 179M 0 179M 0 0 6433k 0 --:--:-- 0:00:28 --:--:-- 8080k 100 187M 0 187M 0 0 6478k 0 --:--:-- 0:00:29 --:--:-- 7677k 100 196M 0 196M 0 0 6602k 0 --:--:-- 0:00:30 --:--:-- 7984k 100 203M 0 203M 0 0 6623k 0 --:--:-- 0:00:31 --:--:-- 8255k 100 210M 0 210M 0 0 6618k 0 --:--:-- 0:00:32 --:--:-- 7726k 100 216M 0 216M 0 0 6586k 0 --:--:-- 0:00:33 --:--:-- 7439k 100 228M 0 228M 0 0 6780k 0 --:--:-- 0:00:34 --:--:-- 8643k 100 240M 0 240M 0 0 6937k 0 --:--:-- 0:00:35 --:--:-- 8987k 100 253M 0 253M 0 0 7099k 0 --:--:-- 0:00:36 --:--:-- 9.8M 100 261M 0 261M 0 0 7147k 0 --:--:-- 0:00:37 --:--:-- 10.3M 100 267M 0 267M 0 0 7115k 0 --:--:-- 0:00:38 --:--:-- 10.5M 100 275M 0 275M 0 0 7137k 0 --:--:-- 0:00:39 --:--:-- 9599k 100 288M 0 288M 0 0 7285k 0 --:--:-- 0:00:40 --:--:-- 9754k 100 289M 0 289M 0 0 7296k 0 --:--:-- 0:00:40 --:--:-- 9033k curl: Saved to filename 'eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg' +453+ cp -vf eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg /home/jenkins/agent/workspace/notarize-downloads-bug-571669/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-571669/temp/eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg' ++453+ dirname /home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp/eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +453+ d=/home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp ++453+ basename /home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp/eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +453+ b=eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +453+ cd /home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp +453+ md5sum eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +453+ sha1sum eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +453+ sha512sum -b eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg +453+ rm eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize +453+ rm -f eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.md5 +453+ rm -f eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.sha1 +453+ rm -f eclipse-scout-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.sha512