Starting /home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp/eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg +407+ DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp/eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg ++407+ basename /home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp/eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg +407+ DMG=eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg +407+ cp /home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp/eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg ++407+ echo eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg ++407+ sed s/-macosx.cocoa.x86_64.dmg//g ++407+ sed -E 's/^[0-9\-]*_(.*)/\1/g' +407+ PRIMARY_BUNDLE_ID=eclipse-rcp-2021-06-M2 +407+ retryCount=3 +407+ '[' 3 -gt 0 ']' ++407+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-rcp-2021-06-M2", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize +407+ RESPONSE_RAW='{"uuid":"b68aabb9-0f50-4f0f-9830-2d607b255014","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++407+ head -n1 +407+ RESPONSE='{"uuid":"b68aabb9-0f50-4f0f-9830-2d607b255014","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++407+ tail -n1 +407+ STATUS_CODE=200 ++407+ echo '{"uuid":"b68aabb9-0f50-4f0f-9830-2d607b255014","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++407+ jq -r .uuid +407+ UUID=b68aabb9-0f50-4f0f-9830-2d607b255014 ++407+ echo '{"uuid":"b68aabb9-0f50-4f0f-9830-2d607b255014","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++407+ jq -r .notarizationStatus.status +407+ STATUS=IN_PROGRESS +407+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +407+ sleep 1m ++407+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/b68aabb9-0f50-4f0f-9830-2d607b255014/status +407+ RESPONSE_RAW='{"uuid":"b68aabb9-0f50-4f0f-9830-2d607b255014","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\": \"2a479116-365a-41b7-ad17-53bdb048e9c3\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.dmg\",\n \"uploadDate\": \"2021-05-06T16:19:55Z\",\n \"sha256\": \"3e035b95adbd92b1ef07a84a68a9a29c85d6cb8daf2b76e7313c2771875302c3\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"94880bdc61058df2fb59c257109fd869c8e58487\"\n },\n {\n \"path\": \"eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"d12ebebef8786b5a781c9c374aae008db7b582ae\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.rcp.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-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.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-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.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-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"d12ebebef8786b5a781c9c374aae008db7b582ae\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}} 200' ++407+ head -n1 +407+ RESPONSE='{"uuid":"b68aabb9-0f50-4f0f-9830-2d607b255014","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\": \"2a479116-365a-41b7-ad17-53bdb048e9c3\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.dmg\",\n \"uploadDate\": \"2021-05-06T16:19:55Z\",\n \"sha256\": \"3e035b95adbd92b1ef07a84a68a9a29c85d6cb8daf2b76e7313c2771875302c3\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"94880bdc61058df2fb59c257109fd869c8e58487\"\n },\n {\n \"path\": \"eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"d12ebebef8786b5a781c9c374aae008db7b582ae\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.rcp.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-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.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-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.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-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"d12ebebef8786b5a781c9c374aae008db7b582ae\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}}' ++407+ tail -n1 +407+ STATUS_CODE=200 ++407+ jq -r .notarizationStatus.status ++407+ echo '{"uuid":"b68aabb9-0f50-4f0f-9830-2d607b255014","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\":' '\"2a479116-365a-41b7-ad17-53bdb048e9c3\",\n' '\"status\":' '\"Accepted\",\n' '\"statusSummary\":' '\"Ready' for 'distribution\",\n' '\"statusCode\":' '0,\n' '\"archiveFilename\":' '\"eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.dmg\",\n' '\"uploadDate\":' '\"2021-05-06T16:19:55Z\",\n' '\"sha256\":' '\"3e035b95adbd92b1ef07a84a68a9a29c85d6cb8daf2b76e7313c2771875302c3\",\n' '\"ticketContents\":' '[\n' '{\n' '\"path\":' '\"eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.dmg\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"94880bdc61058df2fb59c257109fd869c8e58487\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.dmg/Eclipse.app\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"d12ebebef8786b5a781c9c374aae008db7b582ae\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.rcp.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-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.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-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.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-rcp-2021-06-M2-macosx-cocoa-x86_64-5034909271434549490.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"d12ebebef8786b5a781c9c374aae008db7b582ae\",\n' '\"arch\":' '\"x86_64\"\n' '}\n' '],\n' '\"issues\":' 'null\n}"}}' +407+ STATUS=COMPLETE +407+ [[ COMPLETE == \I\N\_\P\R\O\G\R\E\S\S ]] +407+ [[ 200 == \5\0\3 ]] +407+ [[ 200 == \5\0\2 ]] +407+ [[ COMPLETE != \C\O\M\P\L\E\T\E ]] +407+ break +407+ rm eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg +407+ curl -JO https://cbi.eclipse.org/macos/xcrun/b68aabb9-0f50-4f0f-9830-2d607b255014/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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 5735k 0 5735k 0 0 2773k 0 --:--:-- 0:00:02 --:--:-- 2772k 100 15.7M 0 15.7M 0 0 4986k 0 --:--:-- 0:00:03 --:--:-- 4984k 100 21.3M 0 21.3M 0 0 5421k 0 --:--:-- 0:00:04 --:--:-- 5420k 100 28.4M 0 28.4M 0 0 5494k 0 --:--:-- 0:00:05 --:--:-- 5711k 100 34.0M 0 34.0M 0 0 5768k 0 --:--:-- 0:00:06 --:--:-- 6995k 100 39.4M 0 39.4M 0 0 5737k 0 --:--:-- 0:00:07 --:--:-- 6968k 100 46.1M 0 46.1M 0 0 5880k 0 --:--:-- 0:00:08 --:--:-- 6483k 100 47.7M 0 47.7M 0 0 5298k 0 --:--:-- 0:00:09 --:--:-- 5201k 100 52.3M 0 52.3M 0 0 5222k 0 --:--:-- 0:00:10 --:--:-- 4930k 100 55.0M 0 55.0M 0 0 5109k 0 --:--:-- 0:00:11 --:--:-- 4309k 100 60.3M 0 60.3M 0 0 5129k 0 --:--:-- 0:00:12 --:--:-- 4275k 100 64.0M 0 64.0M 0 0 5018k 0 --:--:-- 0:00:13 --:--:-- 3641k 100 66.8M 0 66.8M 0 0 4877k 0 --:--:-- 0:00:14 --:--:-- 4071k 100 71.6M 0 71.6M 0 0 4822k 0 --:--:-- 0:00:15 --:--:-- 3995k 100 74.7M 0 74.7M 0 0 4774k 0 --:--:-- 0:00:16 --:--:-- 4033k 100 83.6M 0 83.6M 0 0 4990k 0 --:--:-- 0:00:17 --:--:-- 4664k 100 92.0M 0 92.0M 0 0 5227k 0 --:--:-- 0:00:18 --:--:-- 5772k 100 97.5M 0 97.5M 0 0 5245k 0 --:--:-- 0:00:19 --:--:-- 6276k 100 104M 0 104M 0 0 5272k 0 --:--:-- 0:00:20 --:--:-- 6628k 100 107M 0 107M 0 0 5219k 0 --:--:-- 0:00:21 --:--:-- 6610k 100 114M 0 114M 0 0 5296k 0 --:--:-- 0:00:22 --:--:-- 6374k 100 123M 0 123M 0 0 5487k 0 --:--:-- 0:00:23 --:--:-- 6424k 100 127M 0 127M 0 0 5444k 0 --:--:-- 0:00:24 --:--:-- 6204k 100 141M 0 141M 0 0 5766k 0 --:--:-- 0:00:25 --:--:-- 7852k 100 146M 0 146M 0 0 5774k 0 --:--:-- 0:00:26 --:--:-- 8193k 100 155M 0 155M 0 0 5882k 0 --:--:-- 0:00:27 --:--:-- 8464k 100 160M 0 160M 0 0 5862k 0 --:--:-- 0:00:28 --:--:-- 7590k 100 163M 0 163M 0 0 5759k 0 --:--:-- 0:00:29 --:--:-- 7276k 100 174M 0 174M 0 0 5947k 0 --:--:-- 0:00:30 --:--:-- 6860k 100 179M 0 179M 0 0 5937k 0 --:--:-- 0:00:31 --:--:-- 6784k 100 184M 0 184M 0 0 5901k 0 --:--:-- 0:00:32 --:--:-- 6000k 100 194M 0 194M 0 0 6039k 0 --:--:-- 0:00:33 --:--:-- 7037k 100 202M 0 202M 0 0 6097k 0 --:--:-- 0:00:34 --:--:-- 8055k 100 211M 0 211M 0 0 6190k 0 --:--:-- 0:00:35 --:--:-- 7648k 100 221M 0 221M 0 0 6285k 0 --:--:-- 0:00:36 --:--:-- 8447k 100 229M 0 229M 0 0 6357k 0 --:--:-- 0:00:37 --:--:-- 9283k 100 240M 0 240M 0 0 6465k 0 --:--:-- 0:00:38 --:--:-- 9279k 100 253M 0 253M 0 0 6647k 0 --:--:-- 0:00:39 --:--:-- 10.1M 100 267M 0 267M 0 0 6831k 0 --:--:-- 0:00:40 --:--:-- 11.0M 100 276M 0 276M 0 0 6896k 0 --:--:-- 0:00:41 --:--:-- 11.0M 100 283M 0 283M 0 0 6900k 0 --:--:-- 0:00:42 --:--:-- 10.6M 100 295M 0 295M 0 0 7027k 0 --:--:-- 0:00:43 --:--:-- 11.0M 100 309M 0 309M 0 0 7091k 0 --:--:-- 0:00:44 --:--:-- 9.9M 100 312M 0 312M 0 0 7111k 0 --:--:-- 0:00:45 --:--:-- 9353k 100 320M 0 320M 0 0 7105k 0 --:--:-- 0:00:46 --:--:-- 8769k 100 322M 0 322M 0 0 7019k 0 --:--:-- 0:00:46 --:--:-- 8034k curl: Saved to filename 'eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg' +407+ cp -vf eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg /home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp/eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg 'eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg' -> '/home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp/eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg' ++407+ dirname /home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp/eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg +407+ d=/home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp ++407+ basename /home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp/eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg +407+ b=eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg +407+ cd /home/jenkins/agent/workspace/notarize-downloads-bug-571669/temp +407+ md5sum eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg +407+ sha1sum eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg +407+ sha512sum -b eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg +407+ rm eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize +407+ rm -f eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.md5 +407+ rm -f eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.sha1 +407+ rm -f eclipse-rcp-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.sha512