Starting /home/jenkins/agent/workspace/simrel.epp-tycho-build/org.eclipse.epp.packages/archive/eclipse-rcp-2021-06-M3-macosx-cocoa-x86_64.dmg
+3394+ DMG_FILE=/home/jenkins/agent/workspace/simrel.epp-tycho-build/org.eclipse.epp.packages/archive/eclipse-rcp-2021-06-M3-macosx-cocoa-x86_64.dmg
++3394+ basename /home/jenkins/agent/workspace/simrel.epp-tycho-build/org.eclipse.epp.packages/archive/eclipse-rcp-2021-06-M3-macosx-cocoa-x86_64.dmg
+3394+ DMG=eclipse-rcp-2021-06-M3-macosx-cocoa-x86_64.dmg
+3394+ cp /home/jenkins/agent/workspace/simrel.epp-tycho-build/org.eclipse.epp.packages/archive/eclipse-rcp-2021-06-M3-macosx-cocoa-x86_64.dmg-tonotarize eclipse-rcp-2021-06-M3-macosx-cocoa-x86_64.dmg
++3394+ echo eclipse-rcp-2021-06-M3-macosx-cocoa-x86_64.dmg
++3394+ sed s/-macosx.cocoa.x86_64.dmg//g
++3394+ sed -E 's/^[0-9\-]*_(.*)/\1/g'
+3394+ PRIMARY_BUNDLE_ID=eclipse-rcp-2021-06-M3
+3394+ retryCount=5
+3394+ '[' 5 -gt 0 ']'
++3394+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-rcp-2021-06-M3-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-rcp-2021-06-M3", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize
+3394+ RESPONSE_RAW='
504 Gateway Time-out
504 Gateway Time-out
nginx
504'
++3394+ head -n1
+3394+ RESPONSE='
'
++3394+ tail -n1
+3394+ STATUS_CODE=504
++3394+ echo '
'
++3394+ jq -r .uuid
parse error: Invalid numeric literal at line 1, column 7
+3394+ UUID=
++3394+ echo '
'
++3394+ jq -r .notarizationStatus.status
parse error: Invalid numeric literal at line 1, column 7
+3394+ STATUS=
+3394+ [[ 504 == \5\0\3 ]]
+3394+ [[ 504 == \5\0\2 ]]
+3394+ [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]]
+3394+ [[ 504 == \5\0\3 ]]
+3394+ [[ 504 == \5\0\2 ]]
+3394+ [[ '' != \C\O\M\P\L\E\T\E ]]
+3394+ echo 'Notarization failed:
'
Notarization failed:
++3394+ expr 5 - 1
+3394+ retryCount=4
+3394+ '[' 4 -eq 0 ']'
+3394+ echo Retrying...
Retrying...
+3394+ '[' 4 -gt 0 ']'
++3394+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-rcp-2021-06-M3-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-rcp-2021-06-M3", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize
+3394+ 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'
++3394+ head -n1
+3394+ RESPONSE='
'
++3394+ tail -n1
+3394+ STATUS_CODE=503
++3394+ echo '
'
++3394+ jq -r .uuid
parse error: Invalid numeric literal at line 1, column 7
+3394+ UUID=
++3394+ echo '
'
++3394+ jq -r .notarizationStatus.status
parse error: Invalid numeric literal at line 1, column 7
+3394+ STATUS=
+3394+ [[ 503 == \5\0\3 ]]
+3394+ echo Initial upload failed, Retrying
Initial upload failed, Retrying
+3394+ [[ '' != \C\O\M\P\L\E\T\E ]]
+3394+ echo 'Notarization failed:
'
Notarization failed:
++3394+ expr 4 - 1
+3394+ retryCount=3
+3394+ '[' 3 -eq 0 ']'
+3394+ echo Retrying...
Retrying...
+3394+ '[' 3 -gt 0 ']'
++3394+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-rcp-2021-06-M3-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-rcp-2021-06-M3", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize
+3394+ 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'
++3394+ head -n1
+3394+ RESPONSE='
'
++3394+ tail -n1
+3394+ STATUS_CODE=503
++3394+ echo '
'
++3394+ jq -r .uuid
parse error: Invalid numeric literal at line 1, column 7
+3394+ UUID=
++3394+ echo '
'
++3394+ jq -r .notarizationStatus.status
parse error: Invalid numeric literal at line 1, column 7
+3394+ STATUS=
+3394+ [[ 503 == \5\0\3 ]]
+3394+ echo Initial upload failed, Retrying
Initial upload failed, Retrying
+3394+ [[ '' != \C\O\M\P\L\E\T\E ]]
+3394+ echo 'Notarization failed:
'
Notarization failed:
++3394+ expr 3 - 1
+3394+ retryCount=2
+3394+ '[' 2 -eq 0 ']'
+3394+ echo Retrying...
Retrying...
+3394+ '[' 2 -gt 0 ']'
++3394+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-rcp-2021-06-M3-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-rcp-2021-06-M3", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize
+3394+ 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'
++3394+ head -n1
+3394+ RESPONSE='
'
++3394+ tail -n1
+3394+ STATUS_CODE=503
++3394+ echo '
'
++3394+ jq -r .uuid
parse error: Invalid numeric literal at line 1, column 7
+3394+ UUID=
++3394+ echo '
'
++3394+ jq -r .notarizationStatus.status
parse error: Invalid numeric literal at line 1, column 7
+3394+ STATUS=
+3394+ [[ 503 == \5\0\3 ]]
+3394+ echo Initial upload failed, Retrying
Initial upload failed, Retrying
+3394+ [[ '' != \C\O\M\P\L\E\T\E ]]
+3394+ echo 'Notarization failed:
'
Notarization failed:
++3394+ expr 2 - 1
+3394+ retryCount=1
+3394+ '[' 1 -eq 0 ']'
+3394+ echo Retrying...
Retrying...
+3394+ '[' 1 -gt 0 ']'
++3394+ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-rcp-2021-06-M3-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-rcp-2021-06-M3", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize
+3394+ 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'
++3394+ head -n1
+3394+ RESPONSE='
'
++3394+ tail -n1
+3394+ STATUS_CODE=503
++3394+ echo '
'
++3394+ jq -r .uuid
parse error: Invalid numeric literal at line 1, column 7
+3394+ UUID=
++3394+ echo '
'
++3394+ jq -r .notarizationStatus.status
parse error: Invalid numeric literal at line 1, column 7
+3394+ STATUS=
+3394+ [[ 503 == \5\0\3 ]]
+3394+ echo Initial upload failed, Retrying
Initial upload failed, Retrying
+3394+ [[ '' != \C\O\M\P\L\E\T\E ]]
+3394+ echo 'Notarization failed:
'
Notarization failed:
++3394+ expr 1 - 1
+3394+ retryCount=0
+3394+ '[' 0 -eq 0 ']'
+3394+ echo 'Notarization failed 3 times. Exiting'
Notarization failed 3 times. Exiting
+3394+ exit 1