Starting /home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg +299+ DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg ++299+ basename /home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg +299+ DMG=eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg +299+ cp /home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg ++299+ echo eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg ++299+ sed s/-macosx.cocoa.x86_64.dmg//g ++299+ sed -E 's/^[0-9\-]*_(.*)/\1/g' +299+ PRIMARY_BUNDLE_ID=eclipse-modeling-2021-06-M2 +299+ retryCount=3 +299+ '[' 3 -gt 0 ']' ++299+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-modeling-2021-06-M2", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize +299+ RESPONSE_RAW='{"uuid":"2dba9060-6da3-4cfd-96a4-166107d81d76","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++299+ head -n1 +299+ RESPONSE='{"uuid":"2dba9060-6da3-4cfd-96a4-166107d81d76","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++299+ tail -n1 +299+ STATUS_CODE=200 ++299+ echo '{"uuid":"2dba9060-6da3-4cfd-96a4-166107d81d76","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++299+ jq -r .uuid +299+ UUID=2dba9060-6da3-4cfd-96a4-166107d81d76 ++299+ echo '{"uuid":"2dba9060-6da3-4cfd-96a4-166107d81d76","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++299+ jq -r .notarizationStatus.status +299+ STATUS=IN_PROGRESS +299+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +299+ sleep 1m ++299+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/2dba9060-6da3-4cfd-96a4-166107d81d76/status +299+ RESPONSE_RAW='{"uuid":"2dba9060-6da3-4cfd-96a4-166107d81d76","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\": \"15377d85-5d26-4e0f-b48d-f50abb7c03f9\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.dmg\",\n \"uploadDate\": \"2021-05-06T16:20:29Z\",\n \"sha256\": \"af34583bd168903774762ff686b6d70c42cdb264e535ec6d5a5e210ff5e7c183\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"6326752c7309255aa0781d5382510a77d5ed328e\"\n },\n {\n \"path\": \"eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"9424acf43775a19b1d42b8aa56ee57a21f799bcb\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.modeling.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-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.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-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.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-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"9424acf43775a19b1d42b8aa56ee57a21f799bcb\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}} 200' ++299+ head -n1 +299+ RESPONSE='{"uuid":"2dba9060-6da3-4cfd-96a4-166107d81d76","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\": \"15377d85-5d26-4e0f-b48d-f50abb7c03f9\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.dmg\",\n \"uploadDate\": \"2021-05-06T16:20:29Z\",\n \"sha256\": \"af34583bd168903774762ff686b6d70c42cdb264e535ec6d5a5e210ff5e7c183\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"6326752c7309255aa0781d5382510a77d5ed328e\"\n },\n {\n \"path\": \"eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"9424acf43775a19b1d42b8aa56ee57a21f799bcb\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.modeling.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-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.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-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.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-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"9424acf43775a19b1d42b8aa56ee57a21f799bcb\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}}' ++299+ tail -n1 +299+ STATUS_CODE=200 ++299+ jq -r .notarizationStatus.status ++299+ echo '{"uuid":"2dba9060-6da3-4cfd-96a4-166107d81d76","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\":' '\"15377d85-5d26-4e0f-b48d-f50abb7c03f9\",\n' '\"status\":' '\"Accepted\",\n' '\"statusSummary\":' '\"Ready' for 'distribution\",\n' '\"statusCode\":' '0,\n' '\"archiveFilename\":' '\"eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.dmg\",\n' '\"uploadDate\":' '\"2021-05-06T16:20:29Z\",\n' '\"sha256\":' '\"af34583bd168903774762ff686b6d70c42cdb264e535ec6d5a5e210ff5e7c183\",\n' '\"ticketContents\":' '[\n' '{\n' '\"path\":' '\"eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.dmg\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"6326752c7309255aa0781d5382510a77d5ed328e\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.dmg/Eclipse.app\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"9424acf43775a19b1d42b8aa56ee57a21f799bcb\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.modeling.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-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.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-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.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-modeling-2021-06-M2-macosx-cocoa-x86_64-7025965843157697209.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"9424acf43775a19b1d42b8aa56ee57a21f799bcb\",\n' '\"arch\":' '\"x86_64\"\n' '}\n' '],\n' '\"issues\":' 'null\n}"}}' +299+ STATUS=COMPLETE +299+ [[ COMPLETE == \I\N\_\P\R\O\G\R\E\S\S ]] +299+ [[ 200 == \5\0\3 ]] +299+ [[ 200 == \5\0\2 ]] +299+ [[ COMPLETE != \C\O\M\P\L\E\T\E ]] +299+ break +299+ rm eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg +299+ curl -JO https://cbi.eclipse.org/macos/xcrun/2dba9060-6da3-4cfd-96a4-166107d81d76/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 556k 0 556k 0 0 7831k 0 --:--:-- --:--:-- --:--:-- 7722k 100 10.7M 0 10.7M 0 0 8924k 0 --:--:-- 0:00:01 --:--:-- 8917k 100 20.2M 0 20.2M 0 0 9425k 0 --:--:-- 0:00:02 --:--:-- 9420k 100 28.7M 0 28.7M 0 0 9101k 0 --:--:-- 0:00:03 --:--:-- 9098k 100 30.8M 0 30.8M 0 0 7756k 0 --:--:-- 0:00:04 --:--:-- 7754k 100 35.7M 0 35.7M 0 0 7217k 0 --:--:-- 0:00:05 --:--:-- 7208k 100 42.3M 0 42.3M 0 0 7133k 0 --:--:-- 0:00:06 --:--:-- 6674k 100 49.6M 0 49.6M 0 0 7186k 0 --:--:-- 0:00:07 --:--:-- 6173k 100 57.5M 0 57.5M 0 0 7301k 0 --:--:-- 0:00:08 --:--:-- 6094k 100 65.7M 0 65.7M 0 0 7322k 0 --:--:-- 0:00:09 --:--:-- 6977k 100 75.6M 0 75.6M 0 0 7580k 0 --:--:-- 0:00:10 --:--:-- 7939k 100 84.0M 0 84.0M 0 0 7776k 0 --:--:-- 0:00:11 --:--:-- 8557k 100 97.8M 0 97.8M 0 0 8302k 0 --:--:-- 0:00:12 --:--:-- 9881k 100 110M 0 110M 0 0 8605k 0 --:--:-- 0:00:13 --:--:-- 10.4M 100 118M 0 118M 0 0 8591k 0 --:--:-- 0:00:14 --:--:-- 10.7M 100 127M 0 127M 0 0 8685k 0 --:--:-- 0:00:15 --:--:-- 10.7M 100 134M 0 134M 0 0 8462k 0 --:--:-- 0:00:16 --:--:-- 9911k 100 142M 0 142M 0 0 8561k 0 --:--:-- 0:00:17 --:--:-- 9185k 100 154M 0 154M 0 0 8733k 0 --:--:-- 0:00:18 --:--:-- 9077k 100 169M 0 169M 0 0 9097k 0 --:--:-- 0:00:19 --:--:-- 10.2M 100 180M 0 180M 0 0 9204k 0 --:--:-- 0:00:20 --:--:-- 10.5M 100 189M 0 189M 0 0 9191k 0 --:--:-- 0:00:21 --:--:-- 11.4M 100 201M 0 201M 0 0 9334k 0 --:--:-- 0:00:22 --:--:-- 11.6M 100 208M 0 208M 0 0 9255k 0 --:--:-- 0:00:23 --:--:-- 10.8M 100 224M 0 224M 0 0 9548k 0 --:--:-- 0:00:24 --:--:-- 11.0M 100 244M 0 244M 0 0 9971k 0 --:--:-- 0:00:25 --:--:-- 12.7M 100 252M 0 252M 0 0 9935k 0 --:--:-- 0:00:26 --:--:-- 12.7M 100 270M 0 270M 0 0 10.0M 0 --:--:-- 0:00:27 --:--:-- 13.9M 100 285M 0 285M 0 0 10.1M 0 --:--:-- 0:00:28 --:--:-- 15.4M 100 296M 0 296M 0 0 10.1M 0 --:--:-- 0:00:29 --:--:-- 13.8M 100 302M 0 302M 0 0 10.0M 0 --:--:-- 0:00:30 --:--:-- 11.6M 100 317M 0 317M 0 0 10.2M 0 --:--:-- 0:00:31 --:--:-- 12.9M 100 323M 0 323M 0 0 10.0M 0 --:--:-- 0:00:32 --:--:-- 10.1M 100 325M 0 325M 0 0 9.8M 0 --:--:-- 0:00:33 --:--:-- 8211k 100 334M 0 334M 0 0 9.8M 0 --:--:-- 0:00:34 --:--:-- 8188k 100 343M 0 343M 0 0 9.7M 0 --:--:-- 0:00:35 --:--:-- 8284k 100 356M 0 356M 0 0 9.8M 0 --:--:-- 0:00:36 --:--:-- 8030k 100 365M 0 365M 0 0 9.8M 0 --:--:-- 0:00:37 --:--:-- 8872k 100 377M 0 377M 0 0 9.8M 0 --:--:-- 0:00:38 --:--:-- 10.0M 100 389M 0 389M 0 0 9.9M 0 --:--:-- 0:00:39 --:--:-- 10.8M 100 397M 0 397M 0 0 9.8M 0 --:--:-- 0:00:40 --:--:-- 10.7M 100 409M 0 409M 0 0 9.9M 0 --:--:-- 0:00:41 --:--:-- 10.4M 100 421M 0 421M 0 0 10.0M 0 --:--:-- 0:00:42 --:--:-- 11.2M 100 426M 0 426M 0 0 9.8M 0 --:--:-- 0:00:43 --:--:-- 10.0M 100 434M 0 434M 0 0 9.8M 0 --:--:-- 0:00:44 --:--:-- 9192k 100 436M 0 436M 0 0 9.8M 0 --:--:-- 0:00:44 --:--:-- 9401k curl: Saved to filename 'eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg' +299+ cp -vf eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg /home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg 'eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg' -> '/home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg' ++299+ dirname /home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg +299+ d=/home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp ++299+ basename /home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp/eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg +299+ b=eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg +299+ cd /home/jenkins/agent/workspace/notarize-downloads-bug-571369/temp +299+ md5sum eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg +299+ sha1sum eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg +299+ sha512sum -b eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg +299+ rm eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize +299+ rm -f eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.md5 +299+ rm -f eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.sha1 +299+ rm -f eclipse-modeling-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.sha512