Starting /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg +149+ DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg ++149+ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg +149+ DMG=eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg +149+ cp /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg ++149+ echo eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg ++149+ sed s/-macosx.cocoa.x86_64.dmg//g ++149+ sed -E 's/^[0-9\-]*_(.*)/\1/g' +149+ PRIMARY_BUNDLE_ID=eclipse-php-2021-06-M2 +149+ retryCount=3 +149+ '[' 3 -gt 0 ']' ++149+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-php-2021-06-M2", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize +149+ RESPONSE_RAW='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++149+ head -n1 +149+ RESPONSE='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++149+ tail -n1 +149+ STATUS_CODE=200 ++149+ echo '{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++149+ jq -r .uuid +149+ UUID=77d1d267-1018-42b6-83b2-1c3b1a8c7bce ++149+ echo '{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++149+ jq -r .notarizationStatus.status +149+ STATUS=IN_PROGRESS +149+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +149+ sleep 1m ++149+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/77d1d267-1018-42b6-83b2-1c3b1a8c7bce/status +149+ RESPONSE_RAW='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}} 200' ++149+ head -n1 +149+ RESPONSE='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ tail -n1 +149+ STATUS_CODE=200 ++149+ echo '{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ jq -r .notarizationStatus.status +149+ STATUS=IN_PROGRESS +149+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +149+ sleep 1m ++149+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/77d1d267-1018-42b6-83b2-1c3b1a8c7bce/status +149+ RESPONSE_RAW='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}} 200' ++149+ head -n1 +149+ RESPONSE='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ tail -n1 +149+ STATUS_CODE=200 ++149+ echo '{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ jq -r .notarizationStatus.status +149+ STATUS=IN_PROGRESS +149+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +149+ sleep 1m ++149+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/77d1d267-1018-42b6-83b2-1c3b1a8c7bce/status +149+ RESPONSE_RAW='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}} 200' ++149+ head -n1 +149+ RESPONSE='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ tail -n1 +149+ STATUS_CODE=200 ++149+ echo '{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ jq -r .notarizationStatus.status +149+ STATUS=IN_PROGRESS +149+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +149+ sleep 1m ++149+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/77d1d267-1018-42b6-83b2-1c3b1a8c7bce/status +149+ RESPONSE_RAW='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}} 200' ++149+ head -n1 +149+ RESPONSE='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ tail -n1 +149+ STATUS_CODE=200 ++149+ echo '{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ jq -r .notarizationStatus.status +149+ STATUS=IN_PROGRESS +149+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +149+ sleep 1m ++149+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/77d1d267-1018-42b6-83b2-1c3b1a8c7bce/status +149+ RESPONSE_RAW='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}} 200' ++149+ head -n1 +149+ RESPONSE='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ tail -n1 +149+ STATUS_CODE=200 ++149+ echo '{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ jq -r .notarizationStatus.status +149+ STATUS=IN_PROGRESS +149+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +149+ sleep 1m ++149+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/77d1d267-1018-42b6-83b2-1c3b1a8c7bce/status +149+ RESPONSE_RAW='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}} 200' ++149+ head -n1 +149+ RESPONSE='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ tail -n1 +149+ STATUS_CODE=200 ++149+ echo '{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ jq -r .notarizationStatus.status +149+ STATUS=IN_PROGRESS +149+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +149+ sleep 1m ++149+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/77d1d267-1018-42b6-83b2-1c3b1a8c7bce/status +149+ RESPONSE_RAW='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}} 200' ++149+ head -n1 +149+ RESPONSE='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ tail -n1 +149+ STATUS_CODE=200 ++149+ echo '{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ jq -r .notarizationStatus.status +149+ STATUS=IN_PROGRESS +149+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +149+ sleep 1m ++149+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/77d1d267-1018-42b6-83b2-1c3b1a8c7bce/status +149+ RESPONSE_RAW='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}} 200' ++149+ head -n1 +149+ RESPONSE='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ tail -n1 +149+ STATUS_CODE=200 ++149+ echo '{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ jq -r .notarizationStatus.status +149+ STATUS=IN_PROGRESS +149+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +149+ sleep 1m ++149+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/77d1d267-1018-42b6-83b2-1c3b1a8c7bce/status +149+ RESPONSE_RAW='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}} 200' ++149+ head -n1 +149+ RESPONSE='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ tail -n1 +149+ STATUS_CODE=200 ++149+ echo '{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg'\''."}}' ++149+ jq -r .notarizationStatus.status +149+ STATUS=IN_PROGRESS +149+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +149+ sleep 1m ++149+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/77d1d267-1018-42b6-83b2-1c3b1a8c7bce/status +149+ RESPONSE_RAW='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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\": \"bd520838-8348-45cb-b8b6-c98fe9506fcc\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg\",\n \"uploadDate\": \"2021-05-06T16:50:08Z\",\n \"sha256\": \"d77577f3da1d42d1239d86f7e9713cedf6f521afa8e2b33d8aff7938f71d8dd6\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"5713bb4524718a35bb4850927d27ad43733819dc\"\n },\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"a8dedfe28f0ef431ba0505f1174836431b32fa75\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.php.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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202105030420.jar/os/macosx/x86/libpty.jnilib\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"9bd6d3f39174dbfa7cfd108a007f8e059197d3d5\",\n \"arch\": \"i386\"\n },\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202105030420.jar/os/macosx/x86/libspawner.jnilib\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"a3a37b81f16e2e2cdb17a95115a319b68dbb2219\",\n \"arch\": \"i386\"\n },\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202105030420.jar/os/macosx/x86_64/libpty.jnilib\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"1602d449d08cab9af4a3a8bebe1db40f3c9a8269\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202105030420.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8d524a4778f267ccc1912527566b606305c33c70\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202105030420.jar/os/macosx/x86_64/libserial.jnilib\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"642a406c27db7760ee3fdf8a5d21bde767f73cc3\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"a8dedfe28f0ef431ba0505f1174836431b32fa75\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}} 200' ++149+ head -n1 +149+ RESPONSE='{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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\": \"bd520838-8348-45cb-b8b6-c98fe9506fcc\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg\",\n \"uploadDate\": \"2021-05-06T16:50:08Z\",\n \"sha256\": \"d77577f3da1d42d1239d86f7e9713cedf6f521afa8e2b33d8aff7938f71d8dd6\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"5713bb4524718a35bb4850927d27ad43733819dc\"\n },\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"a8dedfe28f0ef431ba0505f1174836431b32fa75\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.php.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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202105030420.jar/os/macosx/x86/libpty.jnilib\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"9bd6d3f39174dbfa7cfd108a007f8e059197d3d5\",\n \"arch\": \"i386\"\n },\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202105030420.jar/os/macosx/x86/libspawner.jnilib\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"a3a37b81f16e2e2cdb17a95115a319b68dbb2219\",\n \"arch\": \"i386\"\n },\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202105030420.jar/os/macosx/x86_64/libpty.jnilib\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"1602d449d08cab9af4a3a8bebe1db40f3c9a8269\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202105030420.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8d524a4778f267ccc1912527566b606305c33c70\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202105030420.jar/os/macosx/x86_64/libserial.jnilib\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"642a406c27db7760ee3fdf8a5d21bde767f73cc3\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"a8dedfe28f0ef431ba0505f1174836431b32fa75\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}}' ++149+ tail -n1 +149+ STATUS_CODE=200 ++149+ jq -r .notarizationStatus.status ++149+ echo '{"uuid":"77d1d267-1018-42b6-83b2-1c3b1a8c7bce","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\":' '\"bd520838-8348-45cb-b8b6-c98fe9506fcc\",\n' '\"status\":' '\"Accepted\",\n' '\"statusSummary\":' '\"Ready' for 'distribution\",\n' '\"statusCode\":' '0,\n' '\"archiveFilename\":' '\"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg\",\n' '\"uploadDate\":' '\"2021-05-06T16:50:08Z\",\n' '\"sha256\":' '\"d77577f3da1d42d1239d86f7e9713cedf6f521afa8e2b33d8aff7938f71d8dd6\",\n' '\"ticketContents\":' '[\n' '{\n' '\"path\":' '\"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"5713bb4524718a35bb4850927d27ad43733819dc\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"a8dedfe28f0ef431ba0505f1174836431b32fa75\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.php.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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202105030420.jar/os/macosx/x86/libpty.jnilib\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"9bd6d3f39174dbfa7cfd108a007f8e059197d3d5\",\n' '\"arch\":' '\"i386\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202105030420.jar/os/macosx/x86/libspawner.jnilib\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"a3a37b81f16e2e2cdb17a95115a319b68dbb2219\",\n' '\"arch\":' '\"i386\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202105030420.jar/os/macosx/x86_64/libpty.jnilib\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"1602d449d08cab9af4a3a8bebe1db40f3c9a8269\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202105030420.jar/os/macosx/x86_64/libspawner.jnilib\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"8d524a4778f267ccc1912527566b606305c33c70\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202105030420.jar/os/macosx/x86_64/libserial.jnilib\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"642a406c27db7760ee3fdf8a5d21bde767f73cc3\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.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-php-2021-06-M2-macosx-cocoa-x86_64-8830009582499257370.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"a8dedfe28f0ef431ba0505f1174836431b32fa75\",\n' '\"arch\":' '\"x86_64\"\n' '}\n' '],\n' '\"issues\":' 'null\n}"}}' +149+ STATUS=COMPLETE +149+ [[ COMPLETE == \I\N\_\P\R\O\G\R\E\S\S ]] +149+ [[ 200 == \5\0\3 ]] +149+ [[ 200 == \5\0\2 ]] +149+ [[ COMPLETE != \C\O\M\P\L\E\T\E ]] +149+ break +149+ rm eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg +149+ curl -JO https://cbi.eclipse.org/macos/xcrun/77d1d267-1018-42b6-83b2-1c3b1a8c7bce/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 24.7M 0 24.7M 0 0 27.6M 0 --:--:-- --:--:-- --:--:-- 27.6M 100 58.0M 0 58.0M 0 0 30.6M 0 --:--:-- 0:00:01 --:--:-- 30.6M 100 79.9M 0 79.9M 0 0 27.5M 0 --:--:-- 0:00:02 --:--:-- 27.5M 100 94.2M 0 94.2M 0 0 23.9M 0 --:--:-- 0:00:03 --:--:-- 23.9M 100 112M 0 112M 0 0 23.0M 0 --:--:-- 0:00:04 --:--:-- 23.0M 100 145M 0 145M 0 0 24.5M 0 --:--:-- 0:00:05 --:--:-- 24.0M 100 171M 0 171M 0 0 24.8M 0 --:--:-- 0:00:06 --:--:-- 22.6M 100 197M 0 197M 0 0 25.0M 0 --:--:-- 0:00:07 --:--:-- 23.5M 100 225M 0 225M 0 0 25.3M 0 --:--:-- 0:00:08 --:--:-- 26.4M 100 255M 0 255M 0 0 25.9M 0 --:--:-- 0:00:09 --:--:-- 28.8M curl: Saved to filename 'eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg' +149+ cp -vf eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg 'eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg' -> '/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg' ++149+ dirname /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg +149+ d=/home/jenkins/agent/workspace/notarize-downloads/temp ++149+ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg +149+ b=eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg +149+ cd /home/jenkins/agent/workspace/notarize-downloads/temp +149+ md5sum eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg +149+ sha1sum eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg +149+ sha512sum -b eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg +149+ rm eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize +149+ rm -f eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.md5 +149+ rm -f eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.sha1 +149+ rm -f eclipse-php-2021-06-M2-macosx-cocoa-x86_64.dmg-tonotarize.sha512