Starting /home/jenkins/agent/workspace/simrel.epp-tycho-build/org.eclipse.epp.packages/archive/eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg
+3474+ DMG_FILE=/home/jenkins/agent/workspace/simrel.epp-tycho-build/org.eclipse.epp.packages/archive/eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg
++3474+ basename /home/jenkins/agent/workspace/simrel.epp-tycho-build/org.eclipse.epp.packages/archive/eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg
+3474+ DMG=eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg
+3474+ cp /home/jenkins/agent/workspace/simrel.epp-tycho-build/org.eclipse.epp.packages/archive/eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg-tonotarize eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg
++3474+ echo eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg
++3474+ sed s/-macosx.cocoa.x86_64.dmg//g
++3474+ sed -E 's/^[0-9\-]*_(.*)/\1/g'
+3474+ PRIMARY_BUNDLE_ID=eclipse-committers-2021-06-R
+3474+ retryCount=5
+3474+ '[' 5 -gt 0 ']'
++3474+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-committers-2021-06-R", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize
+3474+ RESPONSE_RAW='
502 Bad Gateway
The server returned an invalid or incomplete response.
502'
++3474+ head -n1
+3474+ RESPONSE='502 Bad Gateway
'
++3474+ tail -n1
+3474+ STATUS_CODE=502
++3474+ echo '502 Bad Gateway
'
++3474+ jq -r .uuid
parse error: Invalid numeric literal at line 1, column 20
+3474+ UUID=
++3474+ echo '502 Bad Gateway
'
++3474+ jq -r .notarizationStatus.status
parse error: Invalid numeric literal at line 1, column 20
+3474+ STATUS=
+3474+ [[ 502 == \5\0\3 ]]
+3474+ [[ 502 == \5\0\2 ]]
+3474+ echo Initial upload failed, Retrying
Initial upload failed, Retrying
+3474+ [[ '' != \C\O\M\P\L\E\T\E ]]
+3474+ echo 'Notarization failed: 502 Bad Gateway
'
Notarization failed: 502 Bad Gateway
++3474+ expr 5 - 1
+3474+ retryCount=4
+3474+ '[' 4 -eq 0 ']'
+3474+ echo Retrying...
Retrying...
+3474+ '[' 4 -gt 0 ']'
++3474+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-committers-2021-06-R", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize
+3474+ RESPONSE_RAW='
Application is not available
The application is currently not serving requests at this endpoint. It may not have been started or is still starting.
Possible reasons you are seeing this page:
-
The host doesn'\''t exist.
Make sure the hostname was typed correctly and that a route matching this hostname exists.
-
The host exists, but doesn'\''t have a matching path.
Check if the URL path was typed correctly and that the route was created using the desired path.
-
Route and path matches, but all pods are down.
Make sure that the resources exposed by this route (pods, services, deployment configs, etc) have at least one pod running.
503'
++3474+ head -n1
+3474+ RESPONSE='
'
++3474+ tail -n1
+3474+ STATUS_CODE=503
++3474+ echo '
'
++3474+ jq -r .uuid
parse error: Invalid numeric literal at line 1, column 7
+3474+ UUID=
++3474+ echo '
'
++3474+ jq -r .notarizationStatus.status
parse error: Invalid numeric literal at line 1, column 7
+3474+ STATUS=
+3474+ [[ 503 == \5\0\3 ]]
+3474+ echo Initial upload failed, Retrying
Initial upload failed, Retrying
+3474+ [[ '' != \C\O\M\P\L\E\T\E ]]
+3474+ echo 'Notarization failed:
'
Notarization failed:
++3474+ expr 4 - 1
+3474+ retryCount=3
+3474+ '[' 3 -eq 0 ']'
+3474+ echo Retrying...
Retrying...
+3474+ '[' 3 -gt 0 ']'
++3474+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-committers-2021-06-R", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize
+3474+ RESPONSE_RAW='502 Bad Gateway
The server returned an invalid or incomplete response.
502'
++3474+ head -n1
+3474+ RESPONSE='502 Bad Gateway
'
++3474+ tail -n1
+3474+ STATUS_CODE=502
++3474+ echo '502 Bad Gateway
'
++3474+ jq -r .uuid
parse error: Invalid numeric literal at line 1, column 20
+3474+ UUID=
++3474+ echo '502 Bad Gateway
'
++3474+ jq -r .notarizationStatus.status
parse error: Invalid numeric literal at line 1, column 20
+3474+ STATUS=
+3474+ [[ 502 == \5\0\3 ]]
+3474+ [[ 502 == \5\0\2 ]]
+3474+ echo Initial upload failed, Retrying
Initial upload failed, Retrying
+3474+ [[ '' != \C\O\M\P\L\E\T\E ]]
+3474+ echo 'Notarization failed: 502 Bad Gateway
'
Notarization failed: 502 Bad Gateway
++3474+ expr 3 - 1
+3474+ retryCount=2
+3474+ '[' 2 -eq 0 ']'
+3474+ echo Retrying...
Retrying...
+3474+ '[' 2 -gt 0 ']'
++3474+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-committers-2021-06-R", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize
+3474+ RESPONSE_RAW='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}
200'
++3474+ head -n1
+3474+ RESPONSE='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
++3474+ tail -n1
+3474+ STATUS_CODE=200
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
++3474+ jq -r .uuid
+3474+ UUID=375ff3a9-3529-4b7f-a495-fdcab25d8b5b
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
++3474+ jq -r .notarizationStatus.status
+3474+ STATUS=IN_PROGRESS
+3474+ [[ 200 == \5\0\3 ]]
+3474+ [[ 200 == \5\0\2 ]]
+3474+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
+3474+ sleep 1m
++3474+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/375ff3a9-3529-4b7f-a495-fdcab25d8b5b/status
+3474+ RESPONSE_RAW='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}
200'
++3474+ head -n1
+3474+ RESPONSE='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
++3474+ tail -n1
+3474+ STATUS_CODE=200
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}'
++3474+ jq -r .notarizationStatus.status
+3474+ STATUS=IN_PROGRESS
+3474+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
+3474+ sleep 1m
++3474+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/375ff3a9-3529-4b7f-a495-fdcab25d8b5b/status
+3474+ RESPONSE_RAW='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}
200'
++3474+ head -n1
+3474+ RESPONSE='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ tail -n1
+3474+ STATUS_CODE=200
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ jq -r .notarizationStatus.status
+3474+ STATUS=IN_PROGRESS
+3474+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
+3474+ sleep 1m
++3474+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/375ff3a9-3529-4b7f-a495-fdcab25d8b5b/status
+3474+ RESPONSE_RAW='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}
200'
++3474+ head -n1
+3474+ RESPONSE='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ tail -n1
+3474+ STATUS_CODE=200
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ jq -r .notarizationStatus.status
+3474+ STATUS=IN_PROGRESS
+3474+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
+3474+ sleep 1m
++3474+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/375ff3a9-3529-4b7f-a495-fdcab25d8b5b/status
+3474+ RESPONSE_RAW='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}
200'
++3474+ head -n1
+3474+ RESPONSE='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ tail -n1
+3474+ STATUS_CODE=200
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ jq -r .notarizationStatus.status
+3474+ STATUS=IN_PROGRESS
+3474+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
+3474+ sleep 1m
++3474+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/375ff3a9-3529-4b7f-a495-fdcab25d8b5b/status
+3474+ RESPONSE_RAW='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}
200'
++3474+ head -n1
+3474+ RESPONSE='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ tail -n1
+3474+ STATUS_CODE=200
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ jq -r .notarizationStatus.status
+3474+ STATUS=IN_PROGRESS
+3474+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
+3474+ sleep 1m
++3474+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/375ff3a9-3529-4b7f-a495-fdcab25d8b5b/status
+3474+ RESPONSE_RAW='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}
200'
++3474+ head -n1
+3474+ RESPONSE='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ tail -n1
+3474+ STATUS_CODE=200
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ jq -r .notarizationStatus.status
+3474+ STATUS=IN_PROGRESS
+3474+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
+3474+ sleep 1m
++3474+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/375ff3a9-3529-4b7f-a495-fdcab25d8b5b/status
+3474+ RESPONSE_RAW='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}
200'
++3474+ head -n1
+3474+ RESPONSE='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ tail -n1
+3474+ STATUS_CODE=200
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ jq -r .notarizationStatus.status
+3474+ STATUS=IN_PROGRESS
+3474+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
+3474+ sleep 1m
++3474+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/375ff3a9-3529-4b7f-a495-fdcab25d8b5b/status
+3474+ RESPONSE_RAW='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}
200'
++3474+ head -n1
+3474+ RESPONSE='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ tail -n1
+3474+ STATUS_CODE=200
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ jq -r .notarizationStatus.status
+3474+ STATUS=IN_PROGRESS
+3474+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
+3474+ sleep 1m
++3474+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/375ff3a9-3529-4b7f-a495-fdcab25d8b5b/status
+3474+ RESPONSE_RAW='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}
200'
++3474+ head -n1
+3474+ RESPONSE='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ tail -n1
+3474+ STATUS_CODE=200
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ jq -r .notarizationStatus.status
+3474+ STATUS=IN_PROGRESS
+3474+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
+3474+ sleep 1m
++3474+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/375ff3a9-3529-4b7f-a495-fdcab25d8b5b/status
+3474+ RESPONSE_RAW='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}
200'
++3474+ head -n1
+3474+ RESPONSE='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ tail -n1
+3474+ STATUS_CODE=200
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ jq -r .notarizationStatus.status
+3474+ STATUS=IN_PROGRESS
+3474+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
+3474+ sleep 1m
++3474+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/375ff3a9-3529-4b7f-a495-fdcab25d8b5b/status
+3474+ RESPONSE_RAW='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}
200'
++3474+ head -n1
+3474+ RESPONSE='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ tail -n1
+3474+ STATUS_CODE=200
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ jq -r .notarizationStatus.status
+3474+ STATUS=IN_PROGRESS
+3474+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
+3474+ sleep 1m
++3474+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/375ff3a9-3529-4b7f-a495-fdcab25d8b5b/status
+3474+ RESPONSE_RAW='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}
200'
++3474+ head -n1
+3474+ RESPONSE='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ tail -n1
+3474+ STATUS_CODE=200
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ jq -r .notarizationStatus.status
+3474+ STATUS=IN_PROGRESS
+3474+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
+3474+ sleep 1m
++3474+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/375ff3a9-3529-4b7f-a495-fdcab25d8b5b/status
+3474+ RESPONSE_RAW='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}
200'
++3474+ head -n1
+3474+ RESPONSE='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ tail -n1
+3474+ STATUS_CODE=200
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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-R-macosx-cocoa-x86_64-1461702465526896221.dmg'\''."}}'
++3474+ jq -r .notarizationStatus.status
+3474+ STATUS=IN_PROGRESS
+3474+ [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
+3474+ sleep 1m
++3474+ curl --write-out '\n%{http_code}' -s https://cbi.eclipse.org/macos/xcrun/375ff3a9-3529-4b7f-a495-fdcab25d8b5b/status
+3474+ RESPONSE_RAW='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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\": \"edf8643f-ab02-4b3f-a97d-8853d0ddf388\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg\",\n \"uploadDate\": \"2021-06-12T21:23:14Z\",\n \"sha256\": \"281b03cd1ffef077603364695629a76bd9ce22b39b28248e9e9daec67ca0c307\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"2cda4b33c00f4b49313a4518c6950b066c24f054\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"ee64c2aaa4fe1b3a4d57caf5e94e0a5555da3429\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.committers.executable.cocoa.macosx.x86_64_4.20.0.20210612-1200/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"a95b6f2c4152e0cabb59b5f5ceec2bc50eb49b0b\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.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.I20210611-1600/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"a95b6f2c4152e0cabb59b5f5ceec2bc50eb49b0b\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210527-0259/eclipse_11408.so\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"9524d535aff39da8ac11f8097ee85c643aac76a7\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"ee64c2aaa4fe1b3a4d57caf5e94e0a5555da3429\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}}
200'
++3474+ head -n1
+3474+ RESPONSE='{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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\": \"edf8643f-ab02-4b3f-a97d-8853d0ddf388\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg\",\n \"uploadDate\": \"2021-06-12T21:23:14Z\",\n \"sha256\": \"281b03cd1ffef077603364695629a76bd9ce22b39b28248e9e9daec67ca0c307\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"2cda4b33c00f4b49313a4518c6950b066c24f054\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"ee64c2aaa4fe1b3a4d57caf5e94e0a5555da3429\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.committers.executable.cocoa.macosx.x86_64_4.20.0.20210612-1200/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"a95b6f2c4152e0cabb59b5f5ceec2bc50eb49b0b\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.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.I20210611-1600/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"a95b6f2c4152e0cabb59b5f5ceec2bc50eb49b0b\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210527-0259/eclipse_11408.so\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"9524d535aff39da8ac11f8097ee85c643aac76a7\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"ee64c2aaa4fe1b3a4d57caf5e94e0a5555da3429\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}}'
++3474+ tail -n1
+3474+ STATUS_CODE=200
++3474+ jq -r .notarizationStatus.status
++3474+ echo '{"uuid":"375ff3a9-3529-4b7f-a495-fdcab25d8b5b","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\":' '\"edf8643f-ab02-4b3f-a97d-8853d0ddf388\",\n' '\"status\":' '\"Accepted\",\n' '\"statusSummary\":' '\"Ready' for 'distribution\",\n' '\"statusCode\":' '0,\n' '\"archiveFilename\":' '\"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg\",\n' '\"uploadDate\":' '\"2021-06-12T21:23:14Z\",\n' '\"sha256\":' '\"281b03cd1ffef077603364695629a76bd9ce22b39b28248e9e9daec67ca0c307\",\n' '\"ticketContents\":' '[\n' '{\n' '\"path\":' '\"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"2cda4b33c00f4b49313a4518c6950b066c24f054\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg/Eclipse.app\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"ee64c2aaa4fe1b3a4d57caf5e94e0a5555da3429\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.committers.executable.cocoa.macosx.x86_64_4.20.0.20210612-1200/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"a95b6f2c4152e0cabb59b5f5ceec2bc50eb49b0b\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.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.I20210611-1600/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"a95b6f2c4152e0cabb59b5f5ceec2bc50eb49b0b\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210527-0259/eclipse_11408.so\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"9524d535aff39da8ac11f8097ee85c643aac76a7\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-committers-2021-06-R-macosx-cocoa-x86_64-1461702465526896221.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"ee64c2aaa4fe1b3a4d57caf5e94e0a5555da3429\",\n' '\"arch\":' '\"x86_64\"\n' '}\n' '],\n' '\"issues\":' 'null\n}"}}'
+3474+ STATUS=COMPLETE
+3474+ [[ COMPLETE == \I\N\_\P\R\O\G\R\E\S\S ]]
+3474+ [[ 200 == \5\0\3 ]]
+3474+ [[ 200 == \5\0\2 ]]
+3474+ [[ COMPLETE != \C\O\M\P\L\E\T\E ]]
+3474+ break
+3474+ rm eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg
+3474+ curl -JO https://cbi.eclipse.org/macos/xcrun/375ff3a9-3529-4b7f-a495-fdcab25d8b5b/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 15.5M 0 15.5M 0 0 15.6M 0 --:--:-- --:--:-- --:--:-- 15.6M
100 35.6M 0 35.6M 0 0 17.6M 0 --:--:-- 0:00:02 --:--:-- 17.6M
100 49.0M 0 49.0M 0 0 16.4M 0 --:--:-- 0:00:02 --:--:-- 16.4M
100 72.9M 0 72.9M 0 0 18.3M 0 --:--:-- 0:00:03 --:--:-- 18.2M
100 91.7M 0 91.7M 0 0 18.3M 0 --:--:-- 0:00:05 --:--:-- 18.3M
100 121M 0 121M 0 0 20.3M 0 --:--:-- 0:00:05 --:--:-- 21.2M
100 151M 0 151M 0 0 21.6M 0 --:--:-- 0:00:06 --:--:-- 23.2M
100 175M 0 175M 0 0 22.0M 0 --:--:-- 0:00:07 --:--:-- 25.3M
100 206M 0 206M 0 0 22.9M 0 --:--:-- 0:00:08 --:--:-- 26.6M
100 231M 0 231M 0 0 22.8M 0 --:--:-- 0:00:10 --:--:-- 27.2M
100 256M 0 256M 0 0 23.3M 0 --:--:-- 0:00:10 --:--:-- 26.8M
100 267M 0 267M 0 0 22.0M 0 --:--:-- 0:00:12 --:--:-- 22.5M
100 288M 0 288M 0 0 22.2M 0 --:--:-- 0:00:12 --:--:-- 22.5M
100 309M 0 309M 0 0 22.0M 0 --:--:-- 0:00:14 --:--:-- 20.5M
100 327M 0 327M 0 0 21.8M 0 --:--:-- 0:00:14 --:--:-- 19.8M
100 332M 0 332M 0 0 20.8M 0 --:--:-- 0:00:15 --:--:-- 15.3M
100 344M 0 344M 0 0 20.2M 0 --:--:-- 0:00:16 --:--:-- 15.9M
100 351M 0 351M 0 0 19.5M 0 --:--:-- 0:00:17 --:--:-- 12.5M
100 370M 0 370M 0 0 19.4M 0 --:--:-- 0:00:19 --:--:-- 11.9M
100 382M 0 382M 0 0 19.1M 0 --:--:-- 0:00:19 --:--:-- 10.9M
100 396M 0 396M 0 0 18.8M 0 --:--:-- 0:00:20 --:--:-- 12.7M
100 409M 0 409M 0 0 18.9M 0 --:--:-- 0:00:21 --:--:-- 13.9M
curl: Saved to filename 'eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg'
+3474+ cp -vf eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg /home/jenkins/agent/workspace/simrel.epp-tycho-build/org.eclipse.epp.packages/archive/eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg
'eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg' -> '/home/jenkins/agent/workspace/simrel.epp-tycho-build/org.eclipse.epp.packages/archive/eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg'
++3474+ dirname /home/jenkins/agent/workspace/simrel.epp-tycho-build/org.eclipse.epp.packages/archive/eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg
+3474+ d=/home/jenkins/agent/workspace/simrel.epp-tycho-build/org.eclipse.epp.packages/archive
++3474+ basename /home/jenkins/agent/workspace/simrel.epp-tycho-build/org.eclipse.epp.packages/archive/eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg
+3474+ b=eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg
+3474+ cd /home/jenkins/agent/workspace/simrel.epp-tycho-build/org.eclipse.epp.packages/archive
+3474+ md5sum eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg
+3474+ sha1sum eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg
+3474+ sha512sum -b eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg
+3474+ rm eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg-tonotarize
+3474+ rm -f eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg-tonotarize.md5
+3474+ rm -f eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg-tonotarize.sha1
+3474+ rm -f eclipse-committers-2021-06-R-macosx-cocoa-x86_64.dmg-tonotarize.sha512