Starting /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg +447+ DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg ++447+ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg +447+ DMG=eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg +447+ cp /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg ++447+ echo eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg ++447+ sed s/-macosx.cocoa.x86_64.dmg//g ++447+ sed -E 's/^[0-9\-]*_(.*)/\1/g' +447+ PRIMARY_BUNDLE_ID=eclipse-committers-2021-06-M2 +447+ retryCount=3 +447+ '[' 3 -gt 0 ']' ++447+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-committers-2021-06-M2", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize +447+ RESPONSE_RAW=' 504 Gateway Time-out

504 Gateway Time-out


nginx
504' ++447+ head -n1 +447+ RESPONSE=' ' ++447+ tail -n1 +447+ STATUS_CODE=504 ++447+ echo ' ' ++447+ jq -r .uuid parse error: Invalid numeric literal at line 1, column 7 +447+ UUID= ++447+ echo ' ' ++447+ jq -r .notarizationStatus.status parse error: Invalid numeric literal at line 1, column 7 +447+ STATUS= +447+ [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] +447+ [[ 504 == \5\0\3 ]] +447+ [[ 504 == \5\0\2 ]] +447+ [[ '' != \C\O\M\P\L\E\T\E ]] +447+ echo 'Notarization failed: ' Notarization failed: ++447+ expr 3 - 1 +447+ retryCount=2 +447+ '[' 2 -eq 0 ']' +447+ echo Retrying... Retrying... +447+ '[' 2 -gt 0 ']' ++447+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-committers-2021-06-M2", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize +447+ RESPONSE_RAW='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++447+ head -n1 +447+ RESPONSE='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++447+ tail -n1 +447+ STATUS_CODE=200 ++447+ echo '{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++447+ jq -r .uuid +447+ UUID=3bbb453c-191b-45fc-b10d-138060bf28a6 ++447+ echo '{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++447+ jq -r .notarizationStatus.status +447+ STATUS=IN_PROGRESS +447+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +447+ sleep 1m ++447+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/3bbb453c-191b-45fc-b10d-138060bf28a6/status +447+ RESPONSE_RAW='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++447+ head -n1 +447+ RESPONSE='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++447+ tail -n1 +447+ STATUS_CODE=200 ++447+ echo '{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++447+ jq -r .notarizationStatus.status +447+ STATUS=IN_PROGRESS +447+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +447+ sleep 1m ++447+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/3bbb453c-191b-45fc-b10d-138060bf28a6/status +447+ RESPONSE_RAW='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}} 200' ++447+ head -n1 +447+ RESPONSE='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ tail -n1 +447+ STATUS_CODE=200 ++447+ echo '{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"No' errors uploading ''\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ jq -r .notarizationStatus.status +447+ STATUS=IN_PROGRESS +447+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +447+ sleep 1m ++447+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/3bbb453c-191b-45fc-b10d-138060bf28a6/status +447+ RESPONSE_RAW='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}} 200' ++447+ head -n1 +447+ RESPONSE='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ tail -n1 +447+ STATUS_CODE=200 ++447+ echo '{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"No' errors uploading ''\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ jq -r .notarizationStatus.status +447+ STATUS=IN_PROGRESS +447+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +447+ sleep 1m ++447+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/3bbb453c-191b-45fc-b10d-138060bf28a6/status +447+ RESPONSE_RAW='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}} 200' ++447+ head -n1 +447+ RESPONSE='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ tail -n1 +447+ STATUS_CODE=200 ++447+ echo '{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"No' errors uploading ''\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ jq -r .notarizationStatus.status +447+ STATUS=IN_PROGRESS +447+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +447+ sleep 1m ++447+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/3bbb453c-191b-45fc-b10d-138060bf28a6/status +447+ RESPONSE_RAW='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}} 200' ++447+ head -n1 +447+ RESPONSE='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ tail -n1 +447+ STATUS_CODE=200 ++447+ echo '{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"No' errors uploading ''\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ jq -r .notarizationStatus.status +447+ STATUS=IN_PROGRESS +447+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +447+ sleep 1m ++447+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/3bbb453c-191b-45fc-b10d-138060bf28a6/status +447+ RESPONSE_RAW='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}} 200' ++447+ head -n1 +447+ RESPONSE='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ tail -n1 +447+ STATUS_CODE=200 ++447+ echo '{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"No' errors uploading ''\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ jq -r .notarizationStatus.status +447+ STATUS=IN_PROGRESS +447+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +447+ sleep 1m ++447+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/3bbb453c-191b-45fc-b10d-138060bf28a6/status +447+ RESPONSE_RAW='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}} 200' ++447+ head -n1 +447+ RESPONSE='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ tail -n1 +447+ STATUS_CODE=200 ++447+ echo '{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"No' errors uploading ''\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ jq -r .notarizationStatus.status +447+ STATUS=IN_PROGRESS +447+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +447+ sleep 1m ++447+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/3bbb453c-191b-45fc-b10d-138060bf28a6/status +447+ RESPONSE_RAW='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}} 200' ++447+ head -n1 +447+ RESPONSE='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ tail -n1 +447+ STATUS_CODE=200 ++447+ echo '{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"No' errors uploading ''\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ jq -r .notarizationStatus.status +447+ STATUS=IN_PROGRESS +447+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +447+ sleep 1m ++447+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/3bbb453c-191b-45fc-b10d-138060bf28a6/status +447+ RESPONSE_RAW='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}} 200' ++447+ head -n1 +447+ RESPONSE='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ tail -n1 +447+ STATUS_CODE=200 ++447+ echo '{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"No' errors uploading ''\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ jq -r .notarizationStatus.status +447+ STATUS=IN_PROGRESS +447+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +447+ sleep 1m ++447+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/3bbb453c-191b-45fc-b10d-138060bf28a6/status +447+ RESPONSE_RAW='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}} 200' ++447+ head -n1 +447+ RESPONSE='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"No errors uploading '\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ tail -n1 +447+ STATUS_CODE=200 ++447+ echo '{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"No' errors uploading ''\''/tmp/macos-notarization-service/pending-files/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg'\''."}}' ++447+ jq -r .notarizationStatus.status +447+ STATUS=IN_PROGRESS +447+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +447+ sleep 1m ++447+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/3bbb453c-191b-45fc-b10d-138060bf28a6/status +447+ RESPONSE_RAW='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","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\": \"0f5e32a3-fae5-4f68-a4ca-62421c51b0fd\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg\",\n \"uploadDate\": \"2021-05-06T16:20:07Z\",\n \"sha256\": \"60f115ecd03557ab06c7a64ab8d820ebda09a641fd32147aaa33833fffafcc6d\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"c9ad757ef32e37fa98483d4c5f1a40e9609b8720\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"3dede2ee1dcc299ad3a5c12971d838bd8554e148\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.committers.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-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.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-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.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-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"3dede2ee1dcc299ad3a5c12971d838bd8554e148\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}} 200' ++447+ head -n1 +447+ RESPONSE='{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","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\": \"0f5e32a3-fae5-4f68-a4ca-62421c51b0fd\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg\",\n \"uploadDate\": \"2021-05-06T16:20:07Z\",\n \"sha256\": \"60f115ecd03557ab06c7a64ab8d820ebda09a641fd32147aaa33833fffafcc6d\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"c9ad757ef32e37fa98483d4c5f1a40e9609b8720\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"3dede2ee1dcc299ad3a5c12971d838bd8554e148\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.committers.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-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.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-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.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-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"3dede2ee1dcc299ad3a5c12971d838bd8554e148\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}}' ++447+ tail -n1 +447+ STATUS_CODE=200 ++447+ jq -r .notarizationStatus.status ++447+ echo '{"uuid":"3bbb453c-191b-45fc-b10d-138060bf28a6","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\":' '\"0f5e32a3-fae5-4f68-a4ca-62421c51b0fd\",\n' '\"status\":' '\"Accepted\",\n' '\"statusSummary\":' '\"Ready' for 'distribution\",\n' '\"statusCode\":' '0,\n' '\"archiveFilename\":' '\"eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg\",\n' '\"uploadDate\":' '\"2021-05-06T16:20:07Z\",\n' '\"sha256\":' '\"60f115ecd03557ab06c7a64ab8d820ebda09a641fd32147aaa33833fffafcc6d\",\n' '\"ticketContents\":' '[\n' '{\n' '\"path\":' '\"eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"c9ad757ef32e37fa98483d4c5f1a40e9609b8720\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg/Eclipse.app\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"3dede2ee1dcc299ad3a5c12971d838bd8554e148\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.committers.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-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.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-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.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-committers-2021-06-M2-macosx-cocoa-x86_64-6420431456115007893.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"3dede2ee1dcc299ad3a5c12971d838bd8554e148\",\n' '\"arch\":' '\"x86_64\"\n' '}\n' '],\n' '\"issues\":' 'null\n}"}}' +447+ STATUS=COMPLETE +447+ [[ COMPLETE == \I\N\_\P\R\O\G\R\E\S\S ]] +447+ [[ 200 == \5\0\3 ]] +447+ [[ 200 == \5\0\2 ]] +447+ [[ COMPLETE != \C\O\M\P\L\E\T\E ]] +447+ break +447+ rm eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg +447+ curl -JO https://cbi.eclipse.org/macos/xcrun/3bbb453c-191b-45fc-b10d-138060bf28a6/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 740k 0 740k 0 0 10.7M 0 --:--:-- --:--:-- --:--:-- 10.6M 100 33.6M 0 33.6M 0 0 31.5M 0 --:--:-- 0:00:01 --:--:-- 31.5M 100 64.8M 0 64.8M 0 0 31.3M 0 --:--:-- 0:00:02 --:--:-- 31.3M 100 93.7M 0 93.7M 0 0 30.5M 0 --:--:-- 0:00:03 --:--:-- 30.5M 100 126M 0 126M 0 0 31.0M 0 --:--:-- 0:00:04 --:--:-- 31.0M 100 161M 0 161M 0 0 31.9M 0 --:--:-- 0:00:05 --:--:-- 32.1M 100 195M 0 195M 0 0 32.1M 0 --:--:-- 0:00:06 --:--:-- 32.2M 100 223M 0 223M 0 0 31.5M 0 --:--:-- 0:00:07 --:--:-- 31.6M 100 255M 0 255M 0 0 31.6M 0 --:--:-- 0:00:08 --:--:-- 32.2M 100 282M 0 282M 0 0 31.1M 0 --:--:-- 0:00:09 --:--:-- 31.2M 100 304M 0 304M 0 0 30.2M 0 --:--:-- 0:00:10 --:--:-- 28.5M 100 335M 0 335M 0 0 30.3M 0 --:--:-- 0:00:11 --:--:-- 28.1M 100 359M 0 359M 0 0 29.7M 0 --:--:-- 0:00:12 --:--:-- 27.2M 100 390M 0 390M 0 0 29.8M 0 --:--:-- 0:00:13 --:--:-- 26.9M 100 409M 0 409M 0 0 29.9M 0 --:--:-- 0:00:13 --:--:-- 27.5M curl: Saved to filename 'eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg' +447+ cp -vf eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg 'eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg' -> '/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg' ++447+ dirname /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg +447+ d=/home/jenkins/agent/workspace/notarize-downloads/temp ++447+ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg +447+ b=eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg +447+ cd /home/jenkins/agent/workspace/notarize-downloads/temp +447+ md5sum eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg +447+ sha1sum eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg +447+ sha512sum -b eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg +447+ rm eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize +447+ rm -f eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.md5 +447+ rm -f eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.sha1 +447+ rm -f eclipse-committers-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.sha512