Starting /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg +182+ DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg ++182+ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg +182+ DMG=eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg +182+ cp /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg-tonotarize eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg ++182+ echo eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg ++182+ sed s/_/-/g +182+ PRIMARY_BUNDLE_ID=eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg +182+ retryCount=5 +182+ '[' 5 -gt 0 ']' ++182+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg -F 'options={"primaryBundleId": "eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize +182+ RESPONSE_RAW='{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ jq -r .uuid +182+ UUID=d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9 ++182+ echo '{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ 200 == \5\0\3 ]] +182+ [[ 200 == \5\0\2 ]] +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9/status +182+ RESPONSE_RAW='{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9/status +182+ RESPONSE_RAW='{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9/status +182+ RESPONSE_RAW='{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9/status +182+ RESPONSE_RAW='{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ jq -r .notarizationStatus.status ++182+ echo '{"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"ERROR","message":"Issue' happened while uploading file to Apple notarization 'service","moreInfo":"Failed' to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this 'package"}}' +182+ STATUS=ERROR +182+ [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ [[ 200 == \5\0\3 ]] +182+ [[ 200 == \5\0\2 ]] +182+ [[ ERROR != \C\O\M\P\L\E\T\E ]] +182+ echo 'Notarization failed: {"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}}' Notarization failed: {"uuid":"d7a618cc-ac6c-4ae8-86bd-4f6c435f1fe9","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}} ++182+ expr 5 - 1 +182+ retryCount=4 +182+ '[' 4 -eq 0 ']' +182+ echo Retrying... Retrying... +182+ '[' 4 -gt 0 ']' ++182+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg -F 'options={"primaryBundleId": "eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize +182+ RESPONSE_RAW='{"uuid":"7424435b-ae63-4919-bbff-5604c7360954","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"7424435b-ae63-4919-bbff-5604c7360954","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"7424435b-ae63-4919-bbff-5604c7360954","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ jq -r .uuid +182+ UUID=7424435b-ae63-4919-bbff-5604c7360954 ++182+ echo '{"uuid":"7424435b-ae63-4919-bbff-5604c7360954","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ 200 == \5\0\3 ]] +182+ [[ 200 == \5\0\2 ]] +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/7424435b-ae63-4919-bbff-5604c7360954/status +182+ RESPONSE_RAW='{"uuid":"7424435b-ae63-4919-bbff-5604c7360954","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"7424435b-ae63-4919-bbff-5604c7360954","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"7424435b-ae63-4919-bbff-5604c7360954","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/7424435b-ae63-4919-bbff-5604c7360954/status +182+ RESPONSE_RAW='{"uuid":"7424435b-ae63-4919-bbff-5604c7360954","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"7424435b-ae63-4919-bbff-5604c7360954","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"7424435b-ae63-4919-bbff-5604c7360954","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/7424435b-ae63-4919-bbff-5604c7360954/status +182+ RESPONSE_RAW='{"uuid":"7424435b-ae63-4919-bbff-5604c7360954","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"7424435b-ae63-4919-bbff-5604c7360954","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"7424435b-ae63-4919-bbff-5604c7360954","notarizationStatus":{"status":"ERROR","message":"Issue' happened while uploading file to Apple notarization 'service","moreInfo":"Failed' to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this 'package"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=ERROR +182+ [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ [[ 200 == \5\0\3 ]] +182+ [[ 200 == \5\0\2 ]] +182+ [[ ERROR != \C\O\M\P\L\E\T\E ]] +182+ echo 'Notarization failed: {"uuid":"7424435b-ae63-4919-bbff-5604c7360954","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}}' Notarization failed: {"uuid":"7424435b-ae63-4919-bbff-5604c7360954","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}} ++182+ expr 4 - 1 +182+ retryCount=3 +182+ '[' 3 -eq 0 ']' +182+ echo Retrying... Retrying... +182+ '[' 3 -gt 0 ']' ++182+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg -F 'options={"primaryBundleId": "eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize +182+ RESPONSE_RAW='{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ jq -r .uuid +182+ UUID=37510c91-7559-4269-bfb8-2d5fd9c06e99 ++182+ echo '{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ 200 == \5\0\3 ]] +182+ [[ 200 == \5\0\2 ]] +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/37510c91-7559-4269-bfb8-2d5fd9c06e99/status +182+ RESPONSE_RAW='{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/37510c91-7559-4269-bfb8-2d5fd9c06e99/status +182+ RESPONSE_RAW='{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/37510c91-7559-4269-bfb8-2d5fd9c06e99/status +182+ RESPONSE_RAW='{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/37510c91-7559-4269-bfb8-2d5fd9c06e99/status +182+ RESPONSE_RAW='{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"ERROR","message":"Issue' happened while uploading file to Apple notarization 'service","moreInfo":"Failed' to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this 'package"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=ERROR +182+ [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ [[ 200 == \5\0\3 ]] +182+ [[ 200 == \5\0\2 ]] +182+ [[ ERROR != \C\O\M\P\L\E\T\E ]] +182+ echo 'Notarization failed: {"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}}' Notarization failed: {"uuid":"37510c91-7559-4269-bfb8-2d5fd9c06e99","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}} ++182+ expr 3 - 1 +182+ retryCount=2 +182+ '[' 2 -eq 0 ']' +182+ echo Retrying... Retrying... +182+ '[' 2 -gt 0 ']' ++182+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg -F 'options={"primaryBundleId": "eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize +182+ RESPONSE_RAW='{"uuid":"1a5b5fac-c535-4558-9ac8-36efa0dd561a","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"1a5b5fac-c535-4558-9ac8-36efa0dd561a","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"1a5b5fac-c535-4558-9ac8-36efa0dd561a","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ jq -r .uuid +182+ UUID=1a5b5fac-c535-4558-9ac8-36efa0dd561a ++182+ echo '{"uuid":"1a5b5fac-c535-4558-9ac8-36efa0dd561a","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ 200 == \5\0\3 ]] +182+ [[ 200 == \5\0\2 ]] +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/1a5b5fac-c535-4558-9ac8-36efa0dd561a/status +182+ RESPONSE_RAW='{"uuid":"1a5b5fac-c535-4558-9ac8-36efa0dd561a","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"1a5b5fac-c535-4558-9ac8-36efa0dd561a","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"1a5b5fac-c535-4558-9ac8-36efa0dd561a","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/1a5b5fac-c535-4558-9ac8-36efa0dd561a/status +182+ RESPONSE_RAW='{"uuid":"1a5b5fac-c535-4558-9ac8-36efa0dd561a","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"1a5b5fac-c535-4558-9ac8-36efa0dd561a","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"1a5b5fac-c535-4558-9ac8-36efa0dd561a","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/1a5b5fac-c535-4558-9ac8-36efa0dd561a/status +182+ RESPONSE_RAW='{"uuid":"1a5b5fac-c535-4558-9ac8-36efa0dd561a","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"1a5b5fac-c535-4558-9ac8-36efa0dd561a","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"1a5b5fac-c535-4558-9ac8-36efa0dd561a","notarizationStatus":{"status":"ERROR","message":"Issue' happened while uploading file to Apple notarization 'service","moreInfo":"Failed' to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this 'package"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=ERROR +182+ [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ [[ 200 == \5\0\3 ]] +182+ [[ 200 == \5\0\2 ]] +182+ [[ ERROR != \C\O\M\P\L\E\T\E ]] +182+ echo 'Notarization failed: {"uuid":"1a5b5fac-c535-4558-9ac8-36efa0dd561a","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}}' Notarization failed: {"uuid":"1a5b5fac-c535-4558-9ac8-36efa0dd561a","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}} ++182+ expr 2 - 1 +182+ retryCount=1 +182+ '[' 1 -eq 0 ']' +182+ echo Retrying... Retrying... +182+ '[' 1 -gt 0 ']' ++182+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg -F 'options={"primaryBundleId": "eclipse-scout-2022-03-M2-macosx-cocoa-aarch64.dmg", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize +182+ RESPONSE_RAW='{"uuid":"8688aad1-f4fc-4adf-b918-a8d534f77a68","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"8688aad1-f4fc-4adf-b918-a8d534f77a68","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"8688aad1-f4fc-4adf-b918-a8d534f77a68","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ jq -r .uuid +182+ UUID=8688aad1-f4fc-4adf-b918-a8d534f77a68 ++182+ echo '{"uuid":"8688aad1-f4fc-4adf-b918-a8d534f77a68","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ 200 == \5\0\3 ]] +182+ [[ 200 == \5\0\2 ]] +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/8688aad1-f4fc-4adf-b918-a8d534f77a68/status +182+ RESPONSE_RAW='{"uuid":"8688aad1-f4fc-4adf-b918-a8d534f77a68","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"8688aad1-f4fc-4adf-b918-a8d534f77a68","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"8688aad1-f4fc-4adf-b918-a8d534f77a68","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/8688aad1-f4fc-4adf-b918-a8d534f77a68/status +182+ RESPONSE_RAW='{"uuid":"8688aad1-f4fc-4adf-b918-a8d534f77a68","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"8688aad1-f4fc-4adf-b918-a8d534f77a68","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"8688aad1-f4fc-4adf-b918-a8d534f77a68","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=IN_PROGRESS +182+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ sleep 1m ++182+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/8688aad1-f4fc-4adf-b918-a8d534f77a68/status +182+ RESPONSE_RAW='{"uuid":"8688aad1-f4fc-4adf-b918-a8d534f77a68","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}} 200' ++182+ head -n1 +182+ RESPONSE='{"uuid":"8688aad1-f4fc-4adf-b918-a8d534f77a68","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}}' ++182+ tail -n1 +182+ STATUS_CODE=200 ++182+ echo '{"uuid":"8688aad1-f4fc-4adf-b918-a8d534f77a68","notarizationStatus":{"status":"ERROR","message":"Issue' happened while uploading file to Apple notarization 'service","moreInfo":"Failed' to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this 'package"}}' ++182+ jq -r .notarizationStatus.status +182+ STATUS=ERROR +182+ [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]] +182+ [[ 200 == \5\0\3 ]] +182+ [[ 200 == \5\0\2 ]] +182+ [[ ERROR != \C\O\M\P\L\E\T\E ]] +182+ echo 'Notarization failed: {"uuid":"8688aad1-f4fc-4adf-b918-a8d534f77a68","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}}' Notarization failed: {"uuid":"8688aad1-f4fc-4adf-b918-a8d534f77a68","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Cannot proceed with delivery: an existing transporter instance is currently uploading this package"}} ++182+ expr 1 - 1 +182+ retryCount=0 +182+ '[' 0 -eq 0 ']' +182+ echo 'Notarization failed 3 times. Exiting' Notarization failed 3 times. Exiting +182+ exit 1