Started by user Jonah Graham Running as Jonah Graham Agent basic-lwpzh is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label: "" name: "basic-lwpzh" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.packaging.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-lwpzh" - name: "JENKINS_REMOTING_JAVA_OPTS" value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\ \ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true" - name: "JAVA_TOOL_OPTIONS" value: "" - name: "_JAVA_OPTIONS" value: "" - name: "OPENJ9_JAVA_OPTIONS" value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle" - name: "JENKINS_NAME" value: "basic-lwpzh" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.packaging.svc.cluster.local/packaging/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.5" imagePullPolicy: "Always" name: "jnlp" resources: limits: memory: "4096Mi" cpu: "2000m" requests: memory: "4096Mi" cpu: "1000m" securityContext: privileged: false tty: true volumeMounts: - mountPath: "/home/jenkins/.m2/toolchains.xml" name: "m2-dir" readOnly: true subPath: "toolchains.xml" - mountPath: "/home/jenkins/.mavenrc" name: "m2-dir" readOnly: true subPath: ".mavenrc" - mountPath: "/opt/tools" name: "volume-0" readOnly: false - mountPath: "/home/jenkins" name: "volume-2" readOnly: false - mountPath: "/home/jenkins/.m2/repository" name: "volume-3" readOnly: false - mountPath: "/home/jenkins/.m2/settings-security.xml" name: "m2-secret-dir" readOnly: true subPath: "settings-security.xml" - mountPath: "/home/jenkins/.m2/wrapper" name: "volume-4" readOnly: false - mountPath: "/home/jenkins/.m2/settings.xml" name: "m2-secret-dir" readOnly: true subPath: "settings.xml" - mountPath: "/home/jenkins/.ssh" name: "volume-1" readOnly: false - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false workingDir: "/home/jenkins/agent" nodeSelector: beta.kubernetes.io/os: "linux" restartPolicy: "Never" securityContext: {} volumes: - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-packaging" readOnly: true - name: "m2-secret-dir" secret: secretName: "m2-secret-dir" - emptyDir: medium: "" name: "volume-2" - configMap: name: "m2-dir" name: "m2-dir" - configMap: name: "known-hosts" name: "volume-1" - emptyDir: medium: "" name: "workspace-volume" - emptyDir: medium: "" name: "volume-4" - emptyDir: medium: "" name: "volume-3" Building remotely on basic-lwpzh in workspace /home/jenkins/agent/workspace/notarize-downloads [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-RvKl1A1bscdO/agent.59 SSH_AGENT_PID=61 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/notarize-downloads@tmp/private_key_13980092087184887079.key (/home/jenkins/agent/workspace/notarize-downloads@tmp/private_key_13980092087184887079.key) [ssh-agent] Using credentials genie.packaging (ssh://genie.packaging@projects-storage.eclipse.org) The recommended git tool is: git No credentials specified Cloning the remote Git repository Cloning repository git://git.eclipse.org/gitroot/epp/org.eclipse.epp.packages.git > git init /home/jenkins/agent/workspace/notarize-downloads/org.eclipse.epp.packages # timeout=10 Fetching upstream changes from git://git.eclipse.org/gitroot/epp/org.eclipse.epp.packages.git > git --version # timeout=10 > git --version # 'git version 2.20.1' > git fetch --tags --force --progress -- git://git.eclipse.org/gitroot/epp/org.eclipse.epp.packages.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://git.eclipse.org/gitroot/epp/org.eclipse.epp.packages.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision f937f5bfb899a4b1b48aec1465f55bba1b701b04 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f f937f5bfb899a4b1b48aec1465f55bba1b701b04 # timeout=10 Commit message: "Add myself as Java package tester" > git rev-list --no-walk af9c5d26d7901028b41cbe9990d1c56e1310e987 # timeout=10 [notarize-downloads] $ /bin/bash /tmp/jenkins5470273481364642744.sh + SSHUSER=genie.packaging@projects-storage.eclipse.org + SSH='ssh genie.packaging@projects-storage.eclipse.org' + SCP=scp + mkdir temp + pushd temp ~/agent/workspace/notarize-downloads/temp ~/agent/workspace/notarize-downloads ++ ssh genie.packaging@projects-storage.eclipse.org find /home/data/httpd/download.eclipse.org/technology/epp/staging -maxdepth 1 -name '*.dmg-tonotarize' + for path in $( ${SSH} find ${RELEASES_DIR} -maxdepth 1 -name '*.dmg-tonotarize' ) + scp genie.packaging@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize . + for path in $( ${SSH} find ${RELEASES_DIR} -maxdepth 1 -name '*.dmg-tonotarize' ) + scp genie.packaging@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize . + for path in $( ${SSH} find ${RELEASES_DIR} -maxdepth 1 -name '*.dmg-tonotarize' ) + scp genie.packaging@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize . + for path in $( ${SSH} find ${RELEASES_DIR} -maxdepth 1 -name '*.dmg-tonotarize' ) + scp genie.packaging@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize . + for path in $( ${SSH} find ${RELEASES_DIR} -maxdepth 1 -name '*.dmg-tonotarize' ) + scp genie.packaging@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize . + for path in $( ${SSH} find ${RELEASES_DIR} -maxdepth 1 -name '*.dmg-tonotarize' ) + scp genie.packaging@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize . + for path in $( ${SSH} find ${RELEASES_DIR} -maxdepth 1 -name '*.dmg-tonotarize' ) + scp genie.packaging@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize . + for path in $( ${SSH} find ${RELEASES_DIR} -maxdepth 1 -name '*.dmg-tonotarize' ) + scp genie.packaging@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize . + for path in $( ${SSH} find ${RELEASES_DIR} -maxdepth 1 -name '*.dmg-tonotarize' ) + scp genie.packaging@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize . + for path in $( ${SSH} find ${RELEASES_DIR} -maxdepth 1 -name '*.dmg-tonotarize' ) + scp genie.packaging@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize . + for path in $( ${SSH} find ${RELEASES_DIR} -maxdepth 1 -name '*.dmg-tonotarize' ) + scp genie.packaging@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize . + popd ~/agent/workspace/notarize-downloads ++ find /home/jenkins/agent/workspace/notarize-downloads -name '*.dmg-tonotarize' + for i in $(find ${WORKSPACE} -name '*.dmg-tonotarize') + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + LOG=eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.log + echo 'Starting /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg' + sleep 18s + /home/jenkins/agent/workspace/notarize-downloads/org.eclipse.epp.packages/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG=eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg + cp /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg ++ echo eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg ++ sed s/-macosx.cocoa.x86_64.dmg//g ++ sed -E 's/^[0-9\-]*_(.*)/\1/g' + PRIMARY_BUNDLE_ID=eclipse-cpp-2021-06-M1 + retryCount=3 + '[' 3 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-cpp-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + RESPONSE_RAW='{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=c5ca210d-96e1-497d-a907-44647376483e ++ echo '{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + for i in $(find ${WORKSPACE} -name '*.dmg-tonotarize') + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + LOG=eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.log + echo 'Starting /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg' + sleep 18s + /home/jenkins/agent/workspace/notarize-downloads/org.eclipse.epp.packages/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG=eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg + cp /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg ++ echo eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg ++ sed s/-macosx.cocoa.x86_64.dmg//g ++ sed -E 's/^[0-9\-]*_(.*)/\1/g' + PRIMARY_BUNDLE_ID=eclipse-dsl-2021-06-M1 + retryCount=3 + '[' 3 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-dsl-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + RESPONSE_RAW='{"uuid":"94922ac3-369e-452c-8c26-5881e6eb31b0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"94922ac3-369e-452c-8c26-5881e6eb31b0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"94922ac3-369e-452c-8c26-5881e6eb31b0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=94922ac3-369e-452c-8c26-5881e6eb31b0 ++ echo '{"uuid":"94922ac3-369e-452c-8c26-5881e6eb31b0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + for i in $(find ${WORKSPACE} -name '*.dmg-tonotarize') + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + LOG=eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.log + echo 'Starting /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg' + sleep 18s + /home/jenkins/agent/workspace/notarize-downloads/org.eclipse.epp.packages/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG=eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg + cp /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg ++ echo eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg ++ sed s/-macosx.cocoa.x86_64.dmg//g ++ sed -E 's/^[0-9\-]*_(.*)/\1/g' + PRIMARY_BUNDLE_ID=eclipse-embedcpp-2021-06-M1 + retryCount=3 + '[' 3 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-embedcpp-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=543a9d58-c7c7-49a3-864a-1904c323f58b ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + for i in $(find ${WORKSPACE} -name '*.dmg-tonotarize') + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + LOG=eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.log + echo 'Starting /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg' + sleep 18s + /home/jenkins/agent/workspace/notarize-downloads/org.eclipse.epp.packages/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG=eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg + cp /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg ++ echo eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg ++ sed s/-macosx.cocoa.x86_64.dmg//g ++ sed -E 's/^[0-9\-]*_(.*)/\1/g' + PRIMARY_BUNDLE_ID=eclipse-java-2021-06-M1 + retryCount=3 + '[' 3 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-java-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + RESPONSE_RAW='{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=2b8e6583-9e79-4fec-9b56-d78793e53d36 ++ echo '{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c5ca210d-96e1-497d-a907-44647376483e/status + RESPONSE_RAW='{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + for i in $(find ${WORKSPACE} -name '*.dmg-tonotarize') + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + LOG=eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.log + echo 'Starting /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg' + sleep 18s + /home/jenkins/agent/workspace/notarize-downloads/org.eclipse.epp.packages/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG=eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg + cp /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg ++ echo eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg ++ sed s/-macosx.cocoa.x86_64.dmg//g ++ sed -E 's/^[0-9\-]*_(.*)/\1/g' + PRIMARY_BUNDLE_ID=eclipse-jee-2021-06-M1 + retryCount=3 + '[' 3 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-jee-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/94922ac3-369e-452c-8c26-5881e6eb31b0/status + for i in $(find ${WORKSPACE} -name '*.dmg-tonotarize') + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + LOG=eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.log + echo 'Starting /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg' + sleep 18s + /home/jenkins/agent/workspace/notarize-downloads/org.eclipse.epp.packages/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG=eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg + cp /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg + RESPONSE_RAW=' 000' ++ head -n1 + RESPONSE= ++ tail -n1 + STATUS_CODE=000 ++ echo ++ jq -r .notarizationStatus.status + STATUS= + [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ '' != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: ' ++ expr 3 - 1 + retryCount=2 + '[' 2 -eq 0 ']' + echo Retrying... + '[' 2 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-dsl-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + RESPONSE_RAW=' 000' ++ head -n1 + RESPONSE= ++ tail -n1 + STATUS_CODE=000 ++ echo '' ++ jq -r .uuid + UUID= ++ echo '' ++ jq -r .notarizationStatus.status + STATUS= + [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ '' != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: ' ++ expr 2 - 1 + retryCount=1 + '[' 1 -eq 0 ']' + echo Retrying... + '[' 1 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-dsl-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize ++ echo eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg ++ sed s/-macosx.cocoa.x86_64.dmg//g ++ sed -E 's/^[0-9\-]*_(.*)/\1/g' + PRIMARY_BUNDLE_ID=eclipse-modeling-2021-06-M1 + retryCount=3 + '[' 3 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-modeling-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + RESPONSE_RAW=' 000' + RESPONSE_RAW=' 000' ++ head -n1 ++ head -n1 + RESPONSE= + RESPONSE= ++ tail -n1 ++ tail -n1 + STATUS_CODE=000 + STATUS_CODE=000 ++ echo '' ++ jq -r .uuid ++ echo '' ++ jq -r .uuid + UUID= ++ echo '' + UUID= ++ jq -r .notarizationStatus.status ++ echo '' ++ jq -r .notarizationStatus.status + STATUS= + [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ '' != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: ' ++ expr 3 - 1 + STATUS= + [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ '' != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: ' ++ expr 1 - 1 + retryCount=2 + '[' 2 -eq 0 ']' + echo Retrying... + '[' 2 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-modeling-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + retryCount=0 + '[' 0 -eq 0 ']' + echo 'Notarization failed 3 times. Exiting' + exit 1 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + for i in $(find ${WORKSPACE} -name '*.dmg-tonotarize') + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + LOG=eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.log + echo 'Starting /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg' + sleep 18s + /home/jenkins/agent/workspace/notarize-downloads/org.eclipse.epp.packages/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG=eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg + cp /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=3b541a82-1a70-4f92-a33b-474778da0cad ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ echo eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg ++ sed s/-macosx.cocoa.x86_64.dmg//g ++ sed -E 's/^[0-9\-]*_(.*)/\1/g' + PRIMARY_BUNDLE_ID=eclipse-parallel-2021-06-M1 + retryCount=3 + '[' 3 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-parallel-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + RESPONSE_RAW='{"uuid":"78d965b4-73e8-498f-ac44-d8f4ad9d082d","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"78d965b4-73e8-498f-ac44-d8f4ad9d082d","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"78d965b4-73e8-498f-ac44-d8f4ad9d082d","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=78d965b4-73e8-498f-ac44-d8f4ad9d082d ++ echo '{"uuid":"78d965b4-73e8-498f-ac44-d8f4ad9d082d","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/2b8e6583-9e79-4fec-9b56-d78793e53d36/status + for i in $(find ${WORKSPACE} -name '*.dmg-tonotarize') + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + LOG=eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.log + echo 'Starting /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg' + sleep 18s + /home/jenkins/agent/workspace/notarize-downloads/org.eclipse.epp.packages/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG=eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg + cp /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c5ca210d-96e1-497d-a907-44647376483e/status ++ echo eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg ++ sed s/-macosx.cocoa.x86_64.dmg//g ++ sed -E 's/^[0-9\-]*_(.*)/\1/g' + PRIMARY_BUNDLE_ID=eclipse-php-2021-06-M1 + retryCount=3 + '[' 3 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-php-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + for i in $(find ${WORKSPACE} -name '*.dmg-tonotarize') + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + LOG=eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.log + echo 'Starting /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg' + sleep 18s + /home/jenkins/agent/workspace/notarize-downloads/org.eclipse.epp.packages/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG=eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg + cp /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg ++ echo eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg ++ sed s/-macosx.cocoa.x86_64.dmg//g ++ sed -E 's/^[0-9\-]*_(.*)/\1/g' + PRIMARY_BUNDLE_ID=eclipse-rcp-2021-06-M1 + retryCount=3 + '[' 3 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-rcp-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + RESPONSE_RAW='java.io.IOException: Read timeout 400' ++ head -n1 + RESPONSE='java.io.IOException: Read timeout' ++ tail -n1 + STATUS_CODE=400 ++ echo 'java.io.IOException: Read timeout' ++ jq -r .uuid parse error: Invalid numeric literal at line 1, column 20 + UUID= ++ echo 'java.io.IOException: Read timeout' ++ jq -r .notarizationStatus.status parse error: Invalid numeric literal at line 1, column 20 + STATUS= + [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ '' != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: java.io.IOException: Read timeout' ++ expr 3 - 1 + retryCount=2 + '[' 2 -eq 0 ']' + echo Retrying... + '[' 2 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-jee-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + for i in $(find ${WORKSPACE} -name '*.dmg-tonotarize') + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + LOG=eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.log + echo 'Starting /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg' + sleep 18s + /home/jenkins/agent/workspace/notarize-downloads/org.eclipse.epp.packages/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG=eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg + cp /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg ++ echo eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg ++ sed s/-macosx.cocoa.x86_64.dmg//g ++ sed -E 's/^[0-9\-]*_(.*)/\1/g' + PRIMARY_BUNDLE_ID=eclipse-scout-2021-06-M1 + retryCount=3 + '[' 3 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-scout-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/78d965b4-73e8-498f-ac44-d8f4ad9d082d/status + for i in $(find ${WORKSPACE} -name '*.dmg-tonotarize') + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + LOG=eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.log + echo 'Starting /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg' + sleep 18s + /home/jenkins/agent/workspace/notarize-downloads/org.eclipse.epp.packages/releng/org.eclipse.epp.config/tools/macosx-notarization-single.sh /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG_FILE=/home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg + DMG=eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg + cp /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg ++ echo eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg ++ sed s/-macosx.cocoa.x86_64.dmg//g ++ sed -E 's/^[0-9\-]*_(.*)/\1/g' + PRIMARY_BUNDLE_ID=eclipse-committers-2021-06-M1 + retryCount=3 + '[' 3 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-committers-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + jobs -p 168 191 212 233 263 274 337 370 381 403 416 + wait ++ jobs -p + RESPONSE_RAW='{"uuid":"78d965b4-73e8-498f-ac44-d8f4ad9d082d","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"78d965b4-73e8-498f-ac44-d8f4ad9d082d","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"78d965b4-73e8-498f-ac44-d8f4ad9d082d","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + RESPONSE_RAW='{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + RESPONSE_RAW='{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=1efe5b14-d4da-4d00-98b8-8a4255b79a26 ++ echo '{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=c0d466bd-1ddb-4b8d-8d04-e32423b7a62e ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + RESPONSE_RAW='{"uuid":"27518ece-6297-4453-b1d1-19c2931945fd","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"27518ece-6297-4453-b1d1-19c2931945fd","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"27518ece-6297-4453-b1d1-19c2931945fd","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=27518ece-6297-4453-b1d1-19c2931945fd ++ echo '{"uuid":"27518ece-6297-4453-b1d1-19c2931945fd","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/78d965b4-73e8-498f-ac44-d8f4ad9d082d/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/2b8e6583-9e79-4fec-9b56-d78793e53d36/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c5ca210d-96e1-497d-a907-44647376483e/status + RESPONSE_RAW='{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} + RESPONSE_RAW='{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","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-cpp-2021-06-M1-macosx-cocoa-x86_64-6836912128514369418.dmg'\''."}} 200' 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","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-cpp-2021-06-M1-macosx-cocoa-x86_64-6836912128514369418.dmg'\''."}}' + RESPONSE='{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","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-cpp-2021-06-M1-macosx-cocoa-x86_64-6836912128514369418.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + STATUS=IN_PROGRESS + sleep 1m + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1efe5b14-d4da-4d00-98b8-8a4255b79a26/status + RESPONSE_RAW='{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/27518ece-6297-4453-b1d1-19c2931945fd/status + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c5ca210d-96e1-497d-a907-44647376483e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/2b8e6583-9e79-4fec-9b56-d78793e53d36/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1efe5b14-d4da-4d00-98b8-8a4255b79a26/status + RESPONSE_RAW='{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} + RESPONSE_RAW='{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","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-cpp-2021-06-M1-macosx-cocoa-x86_64-6836912128514369418.dmg'\''."}} 200' 200' + RESPONSE_RAW='{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","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-cpp-2021-06-M1-macosx-cocoa-x86_64-6836912128514369418.dmg'\''."}}' + RESPONSE='{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","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-cpp-2021-06-M1-macosx-cocoa-x86_64-6836912128514369418.dmg'\''."}}' ++ echo '{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + STATUS=IN_PROGRESS + sleep 1m + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status + RESPONSE_RAW=' 000' ++ head -n1 + RESPONSE= ++ tail -n1 + STATUS_CODE=000 ++ echo ++ jq -r .notarizationStatus.status + STATUS= + [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ '' != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: ' ++ expr 3 - 1 + retryCount=2 + '[' 2 -eq 0 ']' + echo Retrying... + '[' 2 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-parallel-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + RESPONSE_RAW='{"uuid":"27518ece-6297-4453-b1d1-19c2931945fd","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"27518ece-6297-4453-b1d1-19c2931945fd","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"27518ece-6297-4453-b1d1-19c2931945fd","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=462bd0b2-a69b-4f32-acf0-58dca0de5285 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1efe5b14-d4da-4d00-98b8-8a4255b79a26/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c5ca210d-96e1-497d-a907-44647376483e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/2b8e6583-9e79-4fec-9b56-d78793e53d36/status + RESPONSE_RAW='java.io.IOException: Read timeout 400' ++ head -n1 + RESPONSE='java.io.IOException: Read timeout' ++ tail -n1 + STATUS_CODE=400 ++ echo 'java.io.IOException: Read timeout' ++ jq -r .uuid parse error: Invalid numeric literal at line 1, column 20 + UUID= ++ echo 'java.io.IOException: Read timeout' ++ jq -r .notarizationStatus.status parse error: Invalid numeric literal at line 1, column 20 + STATUS= + [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ '' != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: java.io.IOException: Read timeout' ++ expr 2 - 1 + retryCount=1 + '[' 1 -eq 0 ']' + echo Retrying... + '[' 1 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-jee-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + RESPONSE_RAW='{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","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-cpp-2021-06-M1-macosx-cocoa-x86_64-6836912128514369418.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","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-cpp-2021-06-M1-macosx-cocoa-x86_64-6836912128514369418.dmg'\''."}}' + RESPONSE='{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","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-cpp-2021-06-M1-macosx-cocoa-x86_64-6836912128514369418.dmg'\''."}}' + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/27518ece-6297-4453-b1d1-19c2931945fd/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c5ca210d-96e1-497d-a907-44647376483e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/2b8e6583-9e79-4fec-9b56-d78793e53d36/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1efe5b14-d4da-4d00-98b8-8a4255b79a26/status + RESPONSE_RAW='{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} + RESPONSE_RAW='{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","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-cpp-2021-06-M1-macosx-cocoa-x86_64-6836912128514369418.dmg'\''."}} 200' 200' ++ head -n1 ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","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-cpp-2021-06-M1-macosx-cocoa-x86_64-6836912128514369418.dmg'\''."}}' + RESPONSE='{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c5ca210d-96e1-497d-a907-44647376483e","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-cpp-2021-06-M1-macosx-cocoa-x86_64-6836912128514369418.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS_CODE=200 ++ echo '{"uuid":"1efe5b14-d4da-4d00-98b8-8a4255b79a26","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"2b8e6583-9e79-4fec-9b56-d78793e53d36","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW=' 000' ++ head -n1 + RESPONSE= ++ tail -n1 + STATUS_CODE=000 ++ echo ++ jq -r .notarizationStatus.status + STATUS= + [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ '' != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: ' ++ expr 3 - 1 + retryCount=2 + '[' 2 -eq 0 ']' + echo Retrying... + '[' 2 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-php-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c5ca210d-96e1-497d-a907-44647376483e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1efe5b14-d4da-4d00-98b8-8a4255b79a26/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/2b8e6583-9e79-4fec-9b56-d78793e53d36/status + RESPONSE_RAW=' 000' + RESPONSE_RAW=' 000' + RESPONSE_RAW=' 000' ++ head -n1 ++ head -n1 ++ head -n1 + RESPONSE= + RESPONSE= + RESPONSE= ++ tail -n1 ++ tail -n1 ++ tail -n1 + STATUS_CODE=000 + STATUS_CODE=000 + STATUS_CODE=000 ++ echo ++ echo ++ echo ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS= + [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ '' != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: ' + STATUS= + [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ '' != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: ' ++ expr 3 - 1 + STATUS= + [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ '' != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: ' + retryCount=2 + '[' 2 -eq 0 ']' + echo Retrying... + '[' 2 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-committers-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize ++ expr 3 - 1 + retryCount=2 + '[' 2 -eq 0 ']' + echo Retrying... + '[' 2 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-cpp-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize ++ expr 3 - 1 + retryCount=2 + '[' 2 -eq 0 ']' + echo Retrying... + '[' 2 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-java-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + STATUS=IN_PROGRESS + sleep 1m + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + RESPONSE_RAW='java.io.IOException: Read timeout 400' ++ head -n1 + RESPONSE='java.io.IOException: Read timeout' ++ tail -n1 + STATUS_CODE=400 ++ echo 'java.io.IOException: Read timeout' ++ jq -r .uuid parse error: Invalid numeric literal at line 1, column 20 + UUID= ++ echo 'java.io.IOException: Read timeout' ++ jq -r .notarizationStatus.status parse error: Invalid numeric literal at line 1, column 20 + STATUS= + [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ '' != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: java.io.IOException: Read timeout' ++ expr 1 - 1 + retryCount=0 + '[' 0 -eq 0 ']' + echo 'Notarization failed 3 times. Exiting' + exit 1 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS_CODE=200 ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + RESPONSE_RAW='java.io.IOException: Read timeout 400' + RESPONSE_RAW='java.io.IOException: Read timeout 400' ++ head -n1 ++ head -n1 + RESPONSE='java.io.IOException: Read timeout' + RESPONSE='java.io.IOException: Read timeout' ++ tail -n1 ++ tail -n1 + STATUS_CODE=400 + STATUS_CODE=400 ++ echo 'java.io.IOException: Read timeout' ++ echo 'java.io.IOException: Read timeout' ++ jq -r .uuid ++ jq -r .uuid parse error: Invalid numeric literal at line 1, column 20 + UUID= parse error: Invalid numeric literal at line 1, column 20 ++ echo 'java.io.IOException: Read timeout' + UUID= ++ jq -r .notarizationStatus.status ++ echo 'java.io.IOException: Read timeout' ++ jq -r .notarizationStatus.status parse error: Invalid numeric literal at line 1, column 20 + STATUS= + [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ '' != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: java.io.IOException: Read timeout' ++ expr 2 - 1 parse error: Invalid numeric literal at line 1, column 20 + STATUS= + [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ '' != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: java.io.IOException: Read timeout' + retryCount=1 + '[' 1 -eq 0 ']' + echo Retrying... + '[' 1 -gt 0 ']' ++ expr 2 - 1 ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-cpp-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + retryCount=1 + '[' 1 -eq 0 ']' + echo Retrying... + '[' 1 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-php-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + RESPONSE_RAW=' 000' ++ head -n1 + RESPONSE= ++ tail -n1 + STATUS_CODE=000 ++ echo '' ++ jq -r .uuid + UUID= ++ echo '' ++ jq -r .notarizationStatus.status + STATUS= + [[ '' == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ '' != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: ' ++ expr 2 - 1 + retryCount=1 + '[' 1 -eq 0 ']' + echo Retrying... + '[' 1 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-java-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + RESPONSE_RAW='{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=e934ba93-4908-4ee3-bd09-c3702503e26f ++ echo '{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + RESPONSE_RAW='{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=6af6cc8d-d53e-4a25-bc51-a6eecb6d648c ++ echo '{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + RESPONSE_RAW='{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=57ad4040-eef2-4328-84c5-15d8476110d9 ++ echo '{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=1b7670e7-e1ac-45bd-8eb5-dc742dca47eb ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + RESPONSE_RAW='{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=8955c85d-ca28-4109-8b1c-1e8e93750eb0 ++ echo '{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ head -n1 ++ tail -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + STATUS_CODE=200 ++ tail -n1 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS_CODE=200 ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/e934ba93-4908-4ee3-bd09-c3702503e26f/status + RESPONSE_RAW='{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/6af6cc8d-d53e-4a25-bc51-a6eecb6d648c/status + RESPONSE_RAW='{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/57ad4040-eef2-4328-84c5-15d8476110d9/status + RESPONSE_RAW='{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/8955c85d-ca28-4109-8b1c-1e8e93750eb0/status + RESPONSE_RAW='{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' + STATUS=IN_PROGRESS + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/e934ba93-4908-4ee3-bd09-c3702503e26f/status + RESPONSE_RAW='{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/6af6cc8d-d53e-4a25-bc51-a6eecb6d648c/status + RESPONSE_RAW='{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/57ad4040-eef2-4328-84c5-15d8476110d9/status + RESPONSE_RAW='{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/8955c85d-ca28-4109-8b1c-1e8e93750eb0/status + RESPONSE_RAW='{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/e934ba93-4908-4ee3-bd09-c3702503e26f/status + RESPONSE_RAW='{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/6af6cc8d-d53e-4a25-bc51-a6eecb6d648c/status + RESPONSE_RAW='{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/57ad4040-eef2-4328-84c5-15d8476110d9/status + RESPONSE_RAW='{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/8955c85d-ca28-4109-8b1c-1e8e93750eb0/status + RESPONSE_RAW='{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/e934ba93-4908-4ee3-bd09-c3702503e26f/status + RESPONSE_RAW='{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/6af6cc8d-d53e-4a25-bc51-a6eecb6d648c/status + RESPONSE_RAW='{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Unable to find requested file(s): eclipse-php-2021-06-M1-macosx-cocoa-x86_64-5909018487212291853.dmg (1057)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Unable to find requested file(s): eclipse-php-2021-06-M1-macosx-cocoa-x86_64-5909018487212291853.dmg (1057)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"ERROR","message":"Issue' happened while uploading file to Apple notarization 'service","moreInfo":"Failed' to notarize the requested file. Reason: Unable to find requested 'file(s):' eclipse-php-2021-06-M1-macosx-cocoa-x86_64-5909018487212291853.dmg '(1057)"}}' ++ jq -r .notarizationStatus.status + STATUS=ERROR + [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ ERROR != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: {"uuid":"6af6cc8d-d53e-4a25-bc51-a6eecb6d648c","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: Unable to find requested file(s): eclipse-php-2021-06-M1-macosx-cocoa-x86_64-5909018487212291853.dmg (1057)"}}' ++ expr 1 - 1 + retryCount=0 + '[' 0 -eq 0 ']' + echo 'Notarization failed 3 times. Exiting' + exit 1 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/57ad4040-eef2-4328-84c5-15d8476110d9/status + RESPONSE_RAW='{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/8955c85d-ca28-4109-8b1c-1e8e93750eb0/status + RESPONSE_RAW='{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","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' ++ head -n1 + RESPONSE='{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","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"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","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"}}' ++ jq -r .notarizationStatus.status + STATUS=ERROR + [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ ERROR != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: {"uuid":"8955c85d-ca28-4109-8b1c-1e8e93750eb0","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"}}' ++ expr 1 - 1 + retryCount=0 + '[' 0 -eq 0 ']' + echo 'Notarization failed 3 times. Exiting' + exit 1 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + STATUS=IN_PROGRESS + sleep 1m + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/e934ba93-4908-4ee3-bd09-c3702503e26f/status + RESPONSE_RAW='{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","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-parallel-2021-06-M1-macosx-cocoa-x86_64-1534833551474291141.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","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-parallel-2021-06-M1-macosx-cocoa-x86_64-1534833551474291141.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","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-parallel-2021-06-M1-macosx-cocoa-x86_64-1534833551474291141.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/57ad4040-eef2-4328-84c5-15d8476110d9/status + RESPONSE_RAW='{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","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-M1-macosx-cocoa-x86_64-1904354082657673114.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","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-M1-macosx-cocoa-x86_64-1904354082657673114.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","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-M1-macosx-cocoa-x86_64-1904354082657673114.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/e934ba93-4908-4ee3-bd09-c3702503e26f/status + RESPONSE_RAW='{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"Unable to find LogFileURL in parsed plist file"}} 200' ++ head -n1 + RESPONSE='{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"Unable to find LogFileURL in parsed plist file"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"ERROR","message":"Notarization' has failed on Apple notarization 'service","moreInfo":"Failed' to notarize the requested file '(status=invalid).' Error code=OptionalInt.empty. Reason: 'Optional.empty","log":"Unable' to find LogFileURL in parsed plist 'file"}}' ++ jq -r .notarizationStatus.status + STATUS=ERROR + [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ ERROR != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: {"uuid":"e934ba93-4908-4ee3-bd09-c3702503e26f","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"Unable to find LogFileURL in parsed plist file"}}' ++ expr 2 - 1 + retryCount=1 + '[' 1 -eq 0 ']' + echo Retrying... + '[' 1 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-parallel-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + RESPONSE_RAW='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=87584c63-4b4e-4ddd-8452-b094759f9008 ++ echo '{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/57ad4040-eef2-4328-84c5-15d8476110d9/status + RESPONSE_RAW='{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"Unable to find LogFileURL in parsed plist file"}} 200' ++ head -n1 + RESPONSE='{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"Unable to find LogFileURL in parsed plist file"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"ERROR","message":"Notarization' has failed on Apple notarization 'service","moreInfo":"Failed' to notarize the requested file '(status=invalid).' Error code=OptionalInt.empty. Reason: 'Optional.empty","log":"Unable' to find LogFileURL in parsed plist 'file"}}' ++ jq -r .notarizationStatus.status + STATUS=ERROR + [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ ERROR != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: {"uuid":"57ad4040-eef2-4328-84c5-15d8476110d9","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"Unable to find LogFileURL in parsed plist file"}}' ++ expr 2 - 1 + retryCount=1 + '[' 1 -eq 0 ']' + echo Retrying... + '[' 1 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-committers-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + RESPONSE_RAW='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d ++ echo '{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/87584c63-4b4e-4ddd-8452-b094759f9008/status + RESPONSE_RAW='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d/status + RESPONSE_RAW='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/87584c63-4b4e-4ddd-8452-b094759f9008/status + RESPONSE_RAW='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d/status + RESPONSE_RAW='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/87584c63-4b4e-4ddd-8452-b094759f9008/status + RESPONSE_RAW='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}} + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d/status + RESPONSE_RAW='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/87584c63-4b4e-4ddd-8452-b094759f9008/status + RESPONSE_RAW='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d/status + RESPONSE_RAW='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/87584c63-4b4e-4ddd-8452-b094759f9008/status + RESPONSE_RAW='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d/status + RESPONSE_RAW='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/87584c63-4b4e-4ddd-8452-b094759f9008/status + RESPONSE_RAW='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d/status + RESPONSE_RAW='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/87584c63-4b4e-4ddd-8452-b094759f9008/status + RESPONSE_RAW='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"b1fe3513-7b7a-4285-8583-f6f8bc454000\",\n \"status\": \"Invalid\",\n \"statusSummary\": \"Archive contains critical validation errors\",\n \"statusCode\": 4000,\n \"archiveFilename\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg\",\n \"uploadDate\": \"2021-04-14T13:28:40Z\",\n \"sha256\": \"719a112571d6df37ccc0022e1d28c41a91dcd77e29790255894af0ab7ef9d57e\",\n \"ticketContents\": null,\n \"issues\": [\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n }\n ]\n}"}} 200' ++ head -n1 + RESPONSE='{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"b1fe3513-7b7a-4285-8583-f6f8bc454000\",\n \"status\": \"Invalid\",\n \"statusSummary\": \"Archive contains critical validation errors\",\n \"statusCode\": 4000,\n \"archiveFilename\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg\",\n \"uploadDate\": \"2021-04-14T13:28:40Z\",\n \"sha256\": \"719a112571d6df37ccc0022e1d28c41a91dcd77e29790255894af0ab7ef9d57e\",\n \"ticketContents\": null,\n \"issues\": [\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n }\n ]\n}"}}' ++ tail -n1 + STATUS_CODE=200 ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"ERROR","message":"Notarization' has failed on Apple notarization 'service","moreInfo":"Failed' to notarize the requested file '(status=invalid).' Error code=OptionalInt.empty. Reason: 'Optional.empty","log":"{\n' '\"logFormatVersion\":' '1,\n' '\"jobId\":' '\"b1fe3513-7b7a-4285-8583-f6f8bc454000\",\n' '\"status\":' '\"Invalid\",\n' '\"statusSummary\":' '\"Archive' contains critical validation 'errors\",\n' '\"statusCode\":' '4000,\n' '\"archiveFilename\":' '\"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg\",\n' '\"uploadDate\":' '\"2021-04-14T13:28:40Z\",\n' '\"sha256\":' '\"719a112571d6df37ccc0022e1d28c41a91dcd77e29790255894af0ab7ef9d57e\",\n' '\"ticketContents\":' 'null,\n' '\"issues\":' '[\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '}\n' ']\n}"}}' + STATUS=ERROR + [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ ERROR != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: {"uuid":"87584c63-4b4e-4ddd-8452-b094759f9008","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"b1fe3513-7b7a-4285-8583-f6f8bc454000\",\n \"status\": \"Invalid\",\n \"statusSummary\": \"Archive contains critical validation errors\",\n \"statusCode\": 4000,\n \"archiveFilename\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg\",\n \"uploadDate\": \"2021-04-14T13:28:40Z\",\n \"sha256\": \"719a112571d6df37ccc0022e1d28c41a91dcd77e29790255894af0ab7ef9d57e\",\n \"ticketContents\": null,\n \"issues\": [\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64-2033555926381270234.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n }\n ]\n}"}}' ++ expr 1 - 1 + retryCount=0 + '[' 0 -eq 0 ']' + echo 'Notarization failed 3 times. Exiting' + exit 1 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}} + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d/status + RESPONSE_RAW='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d/status + RESPONSE_RAW='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + STATUS=IN_PROGRESS + sleep 1m + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d/status + RESPONSE_RAW='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d/status + RESPONSE_RAW='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}} 200' ++ head -n1 + RESPONSE='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File has been successfully uploaded to Apple notarization service","moreInfo":"Notarization in progress (software asset has been already previously uploaded to Apple notarization service)"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","notarizationStatus":{"status":"IN_PROGRESS","message":"File' has been successfully uploaded to Apple notarization 'service","moreInfo":"Notarization' in progress '(software' asset has been already previously uploaded to Apple notarization 'service)"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d/status + RESPONSE_RAW='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","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\": \"4e3f6532-bb67-4d31-9d25-bd6ed8e15990\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg\",\n \"uploadDate\": \"2021-04-14T13:29:03Z\",\n \"sha256\": \"f1f8a6f4fe01d5dc66f5591152c04fe476f429a96aa4e3c131daa806a115edb4\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8df1a55881569cdb63768f52e6a6547fc04c0d67\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"e1407203f6f357e9362ded5d794f96ed12c77ad4\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.committers.executable.cocoa.macosx.x86_64_4.20.0.20210411-0650/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.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.I20210407-1800/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210406-1409/eclipse_11403.so\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"f5fdfff664ca7a31fb2911e4de4801bfa97eb13e\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"e1407203f6f357e9362ded5d794f96ed12c77ad4\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}} 200' ++ head -n1 + RESPONSE='{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","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\": \"4e3f6532-bb67-4d31-9d25-bd6ed8e15990\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg\",\n \"uploadDate\": \"2021-04-14T13:29:03Z\",\n \"sha256\": \"f1f8a6f4fe01d5dc66f5591152c04fe476f429a96aa4e3c131daa806a115edb4\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8df1a55881569cdb63768f52e6a6547fc04c0d67\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"e1407203f6f357e9362ded5d794f96ed12c77ad4\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.committers.executable.cocoa.macosx.x86_64_4.20.0.20210411-0650/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.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.I20210407-1800/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210406-1409/eclipse_11403.so\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"f5fdfff664ca7a31fb2911e4de4801bfa97eb13e\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"e1407203f6f357e9362ded5d794f96ed12c77ad4\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}}' ++ tail -n1 + STATUS_CODE=200 ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d","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\":' '\"4e3f6532-bb67-4d31-9d25-bd6ed8e15990\",\n' '\"status\":' '\"Accepted\",\n' '\"statusSummary\":' '\"Ready' for 'distribution\",\n' '\"statusCode\":' '0,\n' '\"archiveFilename\":' '\"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg\",\n' '\"uploadDate\":' '\"2021-04-14T13:29:03Z\",\n' '\"sha256\":' '\"f1f8a6f4fe01d5dc66f5591152c04fe476f429a96aa4e3c131daa806a115edb4\",\n' '\"ticketContents\":' '[\n' '{\n' '\"path\":' '\"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"8df1a55881569cdb63768f52e6a6547fc04c0d67\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg/Eclipse.app\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"e1407203f6f357e9362ded5d794f96ed12c77ad4\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.committers.executable.cocoa.macosx.x86_64_4.20.0.20210411-0650/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.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.I20210407-1800/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210406-1409/eclipse_11403.so\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"f5fdfff664ca7a31fb2911e4de4801bfa97eb13e\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-committers-2021-06-M1-macosx-cocoa-x86_64-6510641155229681982.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"e1407203f6f357e9362ded5d794f96ed12c77ad4\",\n' '\"arch\":' '\"x86_64\"\n' '}\n' '],\n' '\"issues\":' 'null\n}"}}' + STATUS=COMPLETE + [[ COMPLETE == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ COMPLETE != \C\O\M\P\L\E\T\E ]] + break + rm eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg + curl -JO http://172.30.206.146:8383/macos-notarization-service/4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d/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 23.0M 0 23.0M 0 0 88.4M 0 --:--:-- --:--:-- --:--:-- 88.1M 100 89.1M 0 89.1M 0 0 70.0M 0 --:--:-- 0:00:01 --:--:-- 69.9M 100 149M 0 149M 0 0 66.0M 0 --:--:-- 0:00:02 --:--:-- 66.0M 100 212M 0 212M 0 0 65.2M 0 --:--:-- 0:00:03 --:--:-- 65.2M 100 275M 0 275M 0 0 64.5M 0 --:--:-- 0:00:04 --:--:-- 64.5M 100 326M 0 326M 0 0 62.0M 0 --:--:-- 0:00:05 --:--:-- 60.6M 100 378M 0 378M 0 0 60.3M 0 --:--:-- 0:00:06 --:--:-- 57.9M 100 408M 0 408M 0 0 59.9M 0 --:--:-- 0:00:06 --:--:-- 56.9M + cp -vf eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg ++ dirname /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg + d=/home/jenkins/agent/workspace/notarize-downloads/temp ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg + b=eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg + cd /home/jenkins/agent/workspace/notarize-downloads/temp + md5sum eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg + sha1sum eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg + sha512sum -b eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg + rm eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + rm -f eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.md5 + rm -f eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha1 + rm -f eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha512 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + STATUS=IN_PROGRESS + sleep 1m + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","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-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg'\''."}}' ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status + RESPONSE_RAW='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"4127a6b6-9306-4b1c-96ef-662819edbb50\",\n \"status\": \"Invalid\",\n \"statusSummary\": \"Archive contains critical validation errors\",\n \"statusCode\": 4000,\n \"archiveFilename\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg\",\n \"uploadDate\": \"2021-04-14T13:27:51Z\",\n \"sha256\": \"b6ec68f85a7a13883a95a664368fa2e11153ff08d3a333f2ba8b8b4f655fe2f5\",\n \"ticketContents\": null,\n \"issues\": [\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n }\n ]\n}"}} 200' ++ head -n1 + RESPONSE='{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"4127a6b6-9306-4b1c-96ef-662819edbb50\",\n \"status\": \"Invalid\",\n \"statusSummary\": \"Archive contains critical validation errors\",\n \"statusCode\": 4000,\n \"archiveFilename\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg\",\n \"uploadDate\": \"2021-04-14T13:27:51Z\",\n \"sha256\": \"b6ec68f85a7a13883a95a664368fa2e11153ff08d3a333f2ba8b8b4f655fe2f5\",\n \"ticketContents\": null,\n \"issues\": [\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n }\n ]\n}"}}' ++ tail -n1 + STATUS_CODE=200 ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","notarizationStatus":{"status":"ERROR","message":"Notarization' has failed on Apple notarization 'service","moreInfo":"Failed' to notarize the requested file '(status=invalid).' Error code=OptionalInt.empty. Reason: 'Optional.empty","log":"{\n' '\"logFormatVersion\":' '1,\n' '\"jobId\":' '\"4127a6b6-9306-4b1c-96ef-662819edbb50\",\n' '\"status\":' '\"Invalid\",\n' '\"statusSummary\":' '\"Archive' contains critical validation 'errors\",\n' '\"statusCode\":' '4000,\n' '\"archiveFilename\":' '\"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg\",\n' '\"uploadDate\":' '\"2021-04-14T13:27:51Z\",\n' '\"sha256\":' '\"b6ec68f85a7a13883a95a664368fa2e11153ff08d3a333f2ba8b8b4f655fe2f5\",\n' '\"ticketContents\":' 'null,\n' '\"issues\":' '[\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '}\n' ']\n}"}}' + STATUS=ERROR + [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ ERROR != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: {"uuid":"1b7670e7-e1ac-45bd-8eb5-dc742dca47eb","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"4127a6b6-9306-4b1c-96ef-662819edbb50\",\n \"status\": \"Invalid\",\n \"statusSummary\": \"Archive contains critical validation errors\",\n \"statusCode\": 4000,\n \"archiveFilename\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg\",\n \"uploadDate\": \"2021-04-14T13:27:51Z\",\n \"sha256\": \"b6ec68f85a7a13883a95a664368fa2e11153ff08d3a333f2ba8b8b4f655fe2f5\",\n \"ticketContents\": null,\n \"issues\": [\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64-1993417891471908837.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n }\n ]\n}"}}' ++ expr 1 - 1 + retryCount=0 + '[' 0 -eq 0 ']' + echo 'Notarization failed 3 times. Exiting' + exit 1 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}} 200' + RESPONSE_RAW='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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\": \"d7c1d69c-41b1-4a35-beb4-3f8a3a907054\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg\",\n \"uploadDate\": \"2021-04-14T13:29:00Z\",\n \"sha256\": \"ec197eb9ae312a0a08d5a1718660c76a8d14d272e743e145e79570187775909a\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"95fb6bdee7f8604bb3690b9dcfaed8c3c0249f5b\"\n },\n {\n \"path\": \"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"6607a0a5b8f40c7b5a0c67860ea1e59cd58cc0be\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.modeling.executable.cocoa.macosx.x86_64_4.20.0.20210412-1022/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.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.I20210407-1800/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210406-1409/eclipse_11403.so\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"f5fdfff664ca7a31fb2911e4de4801bfa97eb13e\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"6607a0a5b8f40c7b5a0c67860ea1e59cd58cc0be\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}} 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' + RESPONSE='{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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\": \"d7c1d69c-41b1-4a35-beb4-3f8a3a907054\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg\",\n \"uploadDate\": \"2021-04-14T13:29:00Z\",\n \"sha256\": \"ec197eb9ae312a0a08d5a1718660c76a8d14d272e743e145e79570187775909a\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"95fb6bdee7f8604bb3690b9dcfaed8c3c0249f5b\"\n },\n {\n \"path\": \"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"6607a0a5b8f40c7b5a0c67860ea1e59cd58cc0be\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.modeling.executable.cocoa.macosx.x86_64_4.20.0.20210412-1022/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.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.I20210407-1800/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210406-1409/eclipse_11403.so\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"f5fdfff664ca7a31fb2911e4de4801bfa97eb13e\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"6607a0a5b8f40c7b5a0c67860ea1e59cd58cc0be\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"3b541a82-1a70-4f92-a33b-474778da0cad","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\":' '\"d7c1d69c-41b1-4a35-beb4-3f8a3a907054\",\n' '\"status\":' '\"Accepted\",\n' '\"statusSummary\":' '\"Ready' for 'distribution\",\n' '\"statusCode\":' '0,\n' '\"archiveFilename\":' '\"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg\",\n' '\"uploadDate\":' '\"2021-04-14T13:29:00Z\",\n' '\"sha256\":' '\"ec197eb9ae312a0a08d5a1718660c76a8d14d272e743e145e79570187775909a\",\n' '\"ticketContents\":' '[\n' '{\n' '\"path\":' '\"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"95fb6bdee7f8604bb3690b9dcfaed8c3c0249f5b\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg/Eclipse.app\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"6607a0a5b8f40c7b5a0c67860ea1e59cd58cc0be\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.modeling.executable.cocoa.macosx.x86_64_4.20.0.20210412-1022/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.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.I20210407-1800/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210406-1409/eclipse_11403.so\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"f5fdfff664ca7a31fb2911e4de4801bfa97eb13e\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64-6400570460161924646.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"6607a0a5b8f40c7b5a0c67860ea1e59cd58cc0be\",\n' '\"arch\":' '\"x86_64\"\n' '}\n' '],\n' '\"issues\":' 'null\n}"}}' + STATUS=COMPLETE + [[ COMPLETE == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ COMPLETE != \C\O\M\P\L\E\T\E ]] + break + rm eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + curl -JO http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/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 23.5M 0 23.5M 0 0 82.1M 0 --:--:-- --:--:-- --:--:-- 81.8M 100 78.7M 0 78.7M 0 0 61.2M 0 --:--:-- 0:00:01 --:--:-- 61.2M 100 116M 0 116M 0 0 51.0M 0 --:--:-- 0:00:02 --:--:-- 51.0M 100 163M 0 163M 0 0 49.8M 0 --:--:-- 0:00:03 --:--:-- 49.8M 100 217M 0 217M 0 0 50.6M 0 --:--:-- 0:00:04 --:--:-- 50.6M 100 284M 0 284M 0 0 53.7M 0 --:--:-- 0:00:05 --:--:-- 52.1M 100 352M 0 352M 0 0 56.0M 0 --:--:-- 0:00:06 --:--:-- 54.6M 100 423M 0 423M 0 0 58.1M 0 --:--:-- 0:00:07 --:--:-- 61.4M 100 436M 0 436M 0 0 57.7M 0 --:--:-- 0:00:07 --:--:-- 63.7M + cp -vf eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg ++ dirname /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg + d=/home/jenkins/agent/workspace/notarize-downloads/temp ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg + b=eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg + cd /home/jenkins/agent/workspace/notarize-downloads/temp + md5sum eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg + sha1sum eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg + sha512sum -b eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg + rm eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + rm -f eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.md5 + rm -f eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha1 + rm -f eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha512 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} + RESPONSE_RAW='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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\": \"d31ece2d-2989-4c87-963a-0f4e0db8469d\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg\",\n \"uploadDate\": \"2021-04-14T13:34:43Z\",\n \"sha256\": \"3f0009189fa1d66096b0dcdecdcec63df27cef9353c4e087250a55e2673563b0\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"3a39baadae01d30accd99808ba05c114621d5698\"\n },\n {\n \"path\": \"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"c045cfa2eb0317ea43f1e6988bce824f4574e199\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.rcp.executable.cocoa.macosx.x86_64_4.20.0.20210412-1305/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.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.I20210407-1800/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210406-1409/eclipse_11403.so\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"f5fdfff664ca7a31fb2911e4de4801bfa97eb13e\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"c045cfa2eb0317ea43f1e6988bce824f4574e199\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}} 200' 200' ++ head -n1 ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' + RESPONSE='{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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\": \"d31ece2d-2989-4c87-963a-0f4e0db8469d\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg\",\n \"uploadDate\": \"2021-04-14T13:34:43Z\",\n \"sha256\": \"3f0009189fa1d66096b0dcdecdcec63df27cef9353c4e087250a55e2673563b0\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"3a39baadae01d30accd99808ba05c114621d5698\"\n },\n {\n \"path\": \"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"c045cfa2eb0317ea43f1e6988bce824f4574e199\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.rcp.executable.cocoa.macosx.x86_64_4.20.0.20210412-1305/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.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.I20210407-1800/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210406-1409/eclipse_11403.so\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"f5fdfff664ca7a31fb2911e4de4801bfa97eb13e\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"c045cfa2eb0317ea43f1e6988bce824f4574e199\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}}' ++ tail -n1 ++ tail -n1 + STATUS_CODE=200 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"c0d466bd-1ddb-4b8d-8d04-e32423b7a62e","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\":' '\"d31ece2d-2989-4c87-963a-0f4e0db8469d\",\n' '\"status\":' '\"Accepted\",\n' '\"statusSummary\":' '\"Ready' for 'distribution\",\n' '\"statusCode\":' '0,\n' '\"archiveFilename\":' '\"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg\",\n' '\"uploadDate\":' '\"2021-04-14T13:34:43Z\",\n' '\"sha256\":' '\"3f0009189fa1d66096b0dcdecdcec63df27cef9353c4e087250a55e2673563b0\",\n' '\"ticketContents\":' '[\n' '{\n' '\"path\":' '\"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"3a39baadae01d30accd99808ba05c114621d5698\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg/Eclipse.app\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"c045cfa2eb0317ea43f1e6988bce824f4574e199\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.rcp.executable.cocoa.macosx.x86_64_4.20.0.20210412-1305/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.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.I20210407-1800/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210406-1409/eclipse_11403.so\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"f5fdfff664ca7a31fb2911e4de4801bfa97eb13e\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64-1057718127595175010.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"c045cfa2eb0317ea43f1e6988bce824f4574e199\",\n' '\"arch\":' '\"x86_64\"\n' '}\n' '],\n' '\"issues\":' 'null\n}"}}' + STATUS=COMPLETE + [[ COMPLETE == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ COMPLETE != \C\O\M\P\L\E\T\E ]] + break + rm eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m + curl -JO http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/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 44.2M 0 44.2M 0 0 40.5M 0 --:--:-- 0:00:01 --:--:-- 40.5M 100 97.9M 0 97.9M 0 0 50.2M 0 --:--:-- 0:00:01 --:--:-- 50.2M 100 162M 0 162M 0 0 55.3M 0 --:--:-- 0:00:02 --:--:-- 55.3M 100 209M 0 209M 0 0 53.1M 0 --:--:-- 0:00:03 --:--:-- 53.1M 100 269M 0 269M 0 0 54.4M 0 --:--:-- 0:00:04 --:--:-- 54.4M 100 317M 0 317M 0 0 55.7M 0 --:--:-- 0:00:05 --:--:-- 59.4M + cp -vf eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg ++ dirname /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg + d=/home/jenkins/agent/workspace/notarize-downloads/temp ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg + b=eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg + cd /home/jenkins/agent/workspace/notarize-downloads/temp + md5sum eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg + sha1sum eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg + sha512sum -b eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg + rm eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + rm -f eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.md5 + rm -f eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha1 + rm -f eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha512 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","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-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status + RESPONSE_RAW='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"6397e298-98f7-46df-b334-99a50eadfe58\",\n \"status\": \"Invalid\",\n \"statusSummary\": \"Archive contains critical validation errors\",\n \"statusCode\": 4000,\n \"archiveFilename\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg\",\n \"uploadDate\": \"2021-04-14T13:33:34Z\",\n \"sha256\": \"42727a961c85f3481385922f3752530e8230a50db2fcaf9abbe9b2aeb73fdd9b\",\n \"ticketContents\": null,\n \"issues\": [\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n }\n ]\n}"}} 200' ++ head -n1 + RESPONSE='{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"6397e298-98f7-46df-b334-99a50eadfe58\",\n \"status\": \"Invalid\",\n \"statusSummary\": \"Archive contains critical validation errors\",\n \"statusCode\": 4000,\n \"archiveFilename\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg\",\n \"uploadDate\": \"2021-04-14T13:33:34Z\",\n \"sha256\": \"42727a961c85f3481385922f3752530e8230a50db2fcaf9abbe9b2aeb73fdd9b\",\n \"ticketContents\": null,\n \"issues\": [\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n }\n ]\n}"}}' ++ tail -n1 + STATUS_CODE=200 ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"ERROR","message":"Notarization' has failed on Apple notarization 'service","moreInfo":"Failed' to notarize the requested file '(status=invalid).' Error code=OptionalInt.empty. Reason: 'Optional.empty","log":"{\n' '\"logFormatVersion\":' '1,\n' '\"jobId\":' '\"6397e298-98f7-46df-b334-99a50eadfe58\",\n' '\"status\":' '\"Invalid\",\n' '\"statusSummary\":' '\"Archive' contains critical validation 'errors\",\n' '\"statusCode\":' '4000,\n' '\"archiveFilename\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg\",\n' '\"uploadDate\":' '\"2021-04-14T13:33:34Z\",\n' '\"sha256\":' '\"42727a961c85f3481385922f3752530e8230a50db2fcaf9abbe9b2aeb73fdd9b\",\n' '\"ticketContents\":' 'null,\n' '\"issues\":' '[\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '}\n' ']\n}"}}' + STATUS=ERROR + [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ ERROR != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: {"uuid":"543a9d58-c7c7-49a3-864a-1904c323f58b","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"6397e298-98f7-46df-b334-99a50eadfe58\",\n \"status\": \"Invalid\",\n \"statusSummary\": \"Archive contains critical validation errors\",\n \"statusCode\": 4000,\n \"archiveFilename\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg\",\n \"uploadDate\": \"2021-04-14T13:33:34Z\",\n \"sha256\": \"42727a961c85f3481385922f3752530e8230a50db2fcaf9abbe9b2aeb73fdd9b\",\n \"ticketContents\": null,\n \"issues\": [\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n }\n ]\n}"}}' ++ expr 3 - 1 + retryCount=2 + '[' 2 -eq 0 ']' + echo Retrying... + '[' 2 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-embedcpp-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + RESPONSE_RAW='{"uuid":"43f096fb-3c17-415c-a939-644b05372913","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"43f096fb-3c17-415c-a939-644b05372913","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"43f096fb-3c17-415c-a939-644b05372913","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=43f096fb-3c17-415c-a939-644b05372913 ++ echo '{"uuid":"43f096fb-3c17-415c-a939-644b05372913","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/43f096fb-3c17-415c-a939-644b05372913/status + RESPONSE_RAW='{"uuid":"43f096fb-3c17-415c-a939-644b05372913","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"6397e298-98f7-46df-b334-99a50eadfe58\",\n \"status\": \"Invalid\",\n \"statusSummary\": \"Archive contains critical validation errors\",\n \"statusCode\": 4000,\n \"archiveFilename\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg\",\n \"uploadDate\": \"2021-04-14T13:33:34Z\",\n \"sha256\": \"42727a961c85f3481385922f3752530e8230a50db2fcaf9abbe9b2aeb73fdd9b\",\n \"ticketContents\": null,\n \"issues\": [\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n }\n ]\n}"}} 200' ++ head -n1 + RESPONSE='{"uuid":"43f096fb-3c17-415c-a939-644b05372913","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"6397e298-98f7-46df-b334-99a50eadfe58\",\n \"status\": \"Invalid\",\n \"statusSummary\": \"Archive contains critical validation errors\",\n \"statusCode\": 4000,\n \"archiveFilename\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg\",\n \"uploadDate\": \"2021-04-14T13:33:34Z\",\n \"sha256\": \"42727a961c85f3481385922f3752530e8230a50db2fcaf9abbe9b2aeb73fdd9b\",\n \"ticketContents\": null,\n \"issues\": [\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n }\n ]\n}"}}' ++ tail -n1 + STATUS_CODE=200 ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"43f096fb-3c17-415c-a939-644b05372913","notarizationStatus":{"status":"ERROR","message":"Notarization' has failed on Apple notarization 'service","moreInfo":"Failed' to notarize the requested file '(status=invalid).' Error code=OptionalInt.empty. Reason: 'Optional.empty","log":"{\n' '\"logFormatVersion\":' '1,\n' '\"jobId\":' '\"6397e298-98f7-46df-b334-99a50eadfe58\",\n' '\"status\":' '\"Invalid\",\n' '\"statusSummary\":' '\"Archive' contains critical validation 'errors\",\n' '\"statusCode\":' '4000,\n' '\"archiveFilename\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg\",\n' '\"uploadDate\":' '\"2021-04-14T13:33:34Z\",\n' '\"sha256\":' '\"42727a961c85f3481385922f3752530e8230a50db2fcaf9abbe9b2aeb73fdd9b\",\n' '\"ticketContents\":' 'null,\n' '\"issues\":' '[\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '}\n' ']\n}"}}' + STATUS=ERROR + [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ ERROR != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: {"uuid":"43f096fb-3c17-415c-a939-644b05372913","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"6397e298-98f7-46df-b334-99a50eadfe58\",\n \"status\": \"Invalid\",\n \"statusSummary\": \"Archive contains critical validation errors\",\n \"statusCode\": 4000,\n \"archiveFilename\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg\",\n \"uploadDate\": \"2021-04-14T13:33:34Z\",\n \"sha256\": \"42727a961c85f3481385922f3752530e8230a50db2fcaf9abbe9b2aeb73fdd9b\",\n \"ticketContents\": null,\n \"issues\": [\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n }\n ]\n}"}}' ++ expr 2 - 1 + retryCount=1 + '[' 1 -eq 0 ']' + echo Retrying... + '[' 1 -gt 0 ']' ++ curl --write-out '\n%{http_code}' -s -X POST -F file=@eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg -F 'options={"primaryBundleId": "eclipse-embedcpp-2021-06-M1", "staple": true};type=application/json' http://172.30.206.146:8383/macos-notarization-service/notarize + RESPONSE_RAW='{"uuid":"22f1dfc1-de75-42a9-a610-e8a31ff1ca73","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"22f1dfc1-de75-42a9-a610-e8a31ff1ca73","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"22f1dfc1-de75-42a9-a610-e8a31ff1ca73","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .uuid + UUID=22f1dfc1-de75-42a9-a610-e8a31ff1ca73 ++ echo '{"uuid":"22f1dfc1-de75-42a9-a610-e8a31ff1ca73","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/22f1dfc1-de75-42a9-a610-e8a31ff1ca73/status + RESPONSE_RAW='{"uuid":"22f1dfc1-de75-42a9-a610-e8a31ff1ca73","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"6397e298-98f7-46df-b334-99a50eadfe58\",\n \"status\": \"Invalid\",\n \"statusSummary\": \"Archive contains critical validation errors\",\n \"statusCode\": 4000,\n \"archiveFilename\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg\",\n \"uploadDate\": \"2021-04-14T13:33:34Z\",\n \"sha256\": \"42727a961c85f3481385922f3752530e8230a50db2fcaf9abbe9b2aeb73fdd9b\",\n \"ticketContents\": null,\n \"issues\": [\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n }\n ]\n}"}} 200' ++ head -n1 + RESPONSE='{"uuid":"22f1dfc1-de75-42a9-a610-e8a31ff1ca73","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"6397e298-98f7-46df-b334-99a50eadfe58\",\n \"status\": \"Invalid\",\n \"statusSummary\": \"Archive contains critical validation errors\",\n \"statusCode\": 4000,\n \"archiveFilename\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg\",\n \"uploadDate\": \"2021-04-14T13:33:34Z\",\n \"sha256\": \"42727a961c85f3481385922f3752530e8230a50db2fcaf9abbe9b2aeb73fdd9b\",\n \"ticketContents\": null,\n \"issues\": [\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n }\n ]\n}"}}' ++ tail -n1 + STATUS_CODE=200 ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"22f1dfc1-de75-42a9-a610-e8a31ff1ca73","notarizationStatus":{"status":"ERROR","message":"Notarization' has failed on Apple notarization 'service","moreInfo":"Failed' to notarize the requested file '(status=invalid).' Error code=OptionalInt.empty. Reason: 'Optional.empty","log":"{\n' '\"logFormatVersion\":' '1,\n' '\"jobId\":' '\"6397e298-98f7-46df-b334-99a50eadfe58\",\n' '\"status\":' '\"Invalid\",\n' '\"statusSummary\":' '\"Archive' contains critical validation 'errors\",\n' '\"statusCode\":' '4000,\n' '\"archiveFilename\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg\",\n' '\"uploadDate\":' '\"2021-04-14T13:33:34Z\",\n' '\"sha256\":' '\"42727a961c85f3481385922f3752530e8230a50db2fcaf9abbe9b2aeb73fdd9b\",\n' '\"ticketContents\":' 'null,\n' '\"issues\":' '[\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"i386\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n' '\"message\":' '\"The' binary is not 'signed.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '},\n' '{\n' '\"severity\":' '\"error\",\n' '\"code\":' 'null,\n' '\"path\":' '\"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n' '\"message\":' '\"The' signature does not include a secure 'timestamp.\",\n' '\"docUrl\":' 'null,\n' '\"architecture\":' '\"x86_64\"\n' '}\n' ']\n}"}}' + STATUS=ERROR + [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ ERROR != \C\O\M\P\L\E\T\E ]] + echo 'Notarization failed: {"uuid":"22f1dfc1-de75-42a9-a610-e8a31ff1ca73","notarizationStatus":{"status":"ERROR","message":"Notarization has failed on Apple notarization service","moreInfo":"Failed to notarize the requested file (status=invalid). Error code=OptionalInt.empty. Reason: Optional.empty","log":"{\n \"logFormatVersion\": 1,\n \"jobId\": \"6397e298-98f7-46df-b334-99a50eadfe58\",\n \"status\": \"Invalid\",\n \"statusSummary\": \"Archive contains critical validation errors\",\n \"statusCode\": 4000,\n \"archiveFilename\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg\",\n \"uploadDate\": \"2021-04-14T13:33:34Z\",\n \"sha256\": \"42727a961c85f3481385922f3752530e8230a50db2fcaf9abbe9b2aeb73fdd9b\",\n \"ticketContents\": null,\n \"issues\": [\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"i386\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libpty.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.core.macosx_6.0.200.202104050118.jar/os/macosx/x86_64/libspawner.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The binary is not signed.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n },\n {\n \"severity\": \"error\",\n \"code\": null,\n \"path\": \"eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64-3394439480119667684.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.cdt.native.serial_1.2.200.202104050118.jar/os/macosx/x86_64/libserial.jnilib\",\n \"message\": \"The signature does not include a secure timestamp.\",\n \"docUrl\": null,\n \"architecture\": \"x86_64\"\n }\n ]\n}"}}' ++ expr 1 - 1 + retryCount=0 + '[' 0 -eq 0 ']' + echo 'Notarization failed 3 times. Exiting' + exit 1 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}} 200' ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","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-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","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-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","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-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","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-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","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-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","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-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","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-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","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-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","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-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","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-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg'\''."}} 200' ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","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-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg'\''."}}' ++ tail -n1 + STATUS_CODE=200 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","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-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg'\''."}}' ++ jq -r .notarizationStatus.status + STATUS=IN_PROGRESS + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]] + sleep 1m ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","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\": \"57aec02d-ecdd-4170-bac3-e689f7218929\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg\",\n \"uploadDate\": \"2021-04-14T13:50:46Z\",\n \"sha256\": \"1cbf1bf6136a6ef22a30d7cd61755c10fb6933a95c282601c303951ea12ef30b\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"c9c8cfb855d594d8e9c1a8ecdaf294b71f6ae54c\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"49ec39f5019c64ca611cbd37bb40c8d58f752600\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.scout.executable.cocoa.macosx.x86_64_4.20.0.20210411-0650/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.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.I20210407-1800/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210406-1409/eclipse_11403.so\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"f5fdfff664ca7a31fb2911e4de4801bfa97eb13e\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"49ec39f5019c64ca611cbd37bb40c8d58f752600\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}} 200' ++ head -n1 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","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\": \"57aec02d-ecdd-4170-bac3-e689f7218929\",\n \"status\": \"Accepted\",\n \"statusSummary\": \"Ready for distribution\",\n \"statusCode\": 0,\n \"archiveFilename\": \"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg\",\n \"uploadDate\": \"2021-04-14T13:50:46Z\",\n \"sha256\": \"1cbf1bf6136a6ef22a30d7cd61755c10fb6933a95c282601c303951ea12ef30b\",\n \"ticketContents\": [\n {\n \"path\": \"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"c9c8cfb855d594d8e9c1a8ecdaf294b71f6ae54c\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg/Eclipse.app\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"49ec39f5019c64ca611cbd37bb40c8d58f752600\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.scout.executable.cocoa.macosx.x86_64_4.20.0.20210411-0650/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.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.I20210407-1800/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210406-1409/eclipse_11403.so\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"f5fdfff664ca7a31fb2911e4de4801bfa97eb13e\",\n \"arch\": \"x86_64\"\n },\n {\n \"path\": \"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n \"digestAlgorithm\": \"SHA-256\",\n \"cdhash\": \"49ec39f5019c64ca611cbd37bb40c8d58f752600\",\n \"arch\": \"x86_64\"\n }\n ],\n \"issues\": null\n}"}}' ++ tail -n1 + STATUS_CODE=200 ++ jq -r .notarizationStatus.status ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","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\":' '\"57aec02d-ecdd-4170-bac3-e689f7218929\",\n' '\"status\":' '\"Accepted\",\n' '\"statusSummary\":' '\"Ready' for 'distribution\",\n' '\"statusCode\":' '0,\n' '\"archiveFilename\":' '\"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg\",\n' '\"uploadDate\":' '\"2021-04-14T13:50:46Z\",\n' '\"sha256\":' '\"1cbf1bf6136a6ef22a30d7cd61755c10fb6933a95c282601c303951ea12ef30b\",\n' '\"ticketContents\":' '[\n' '{\n' '\"path\":' '\"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"c9c8cfb855d594d8e9c1a8ecdaf294b71f6ae54c\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg/Eclipse.app\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"49ec39f5019c64ca611cbd37bb40c8d58f752600\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg/Eclipse.app/Contents/Eclipse/p2/org.eclipse.equinox.p2.core/cache/binary/epp.package.scout.executable.cocoa.macosx.x86_64_4.20.0.20210411-0650/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.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.I20210407-1800/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"8a850b2ae868e9b345aa540235d54ba2968f8cd6\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.200.v20210406-1409/eclipse_11403.so\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"f5fdfff664ca7a31fb2911e4de4801bfa97eb13e\",\n' '\"arch\":' '\"x86_64\"\n' '},\n' '{\n' '\"path\":' '\"eclipse-scout-2021-06-M1-macosx-cocoa-x86_64-6617586822231937200.dmg/Eclipse.app/Contents/MacOS/eclipse\",\n' '\"digestAlgorithm\":' '\"SHA-256\",\n' '\"cdhash\":' '\"49ec39f5019c64ca611cbd37bb40c8d58f752600\",\n' '\"arch\":' '\"x86_64\"\n' '}\n' '],\n' '\"issues\":' 'null\n}"}}' + STATUS=COMPLETE + [[ COMPLETE == \I\N\_\P\R\O\G\R\E\S\S ]] + [[ COMPLETE != \C\O\M\P\L\E\T\E ]] + break + rm eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg + curl -JO http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/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 37.2M 0 37.2M 0 0 46.7M 0 --:--:-- --:--:-- --:--:-- 46.6M 100 62.3M 0 62.3M 0 0 34.6M 0 --:--:-- 0:00:01 --:--:-- 34.6M 100 95.8M 0 95.8M 0 0 34.2M 0 --:--:-- 0:00:02 --:--:-- 34.2M 100 118M 0 118M 0 0 31.0M 0 --:--:-- 0:00:03 --:--:-- 31.0M 100 146M 0 146M 0 0 30.4M 0 --:--:-- 0:00:04 --:--:-- 30.4M 100 185M 0 185M 0 0 32.0M 0 --:--:-- 0:00:05 --:--:-- 29.6M 100 217M 0 217M 0 0 31.9M 0 --:--:-- 0:00:06 --:--:-- 31.0M 100 241M 0 241M 0 0 30.9M 0 --:--:-- 0:00:07 --:--:-- 29.1M 100 273M 0 273M 0 0 31.1M 0 --:--:-- 0:00:08 --:--:-- 31.2M 100 289M 0 289M 0 0 30.8M 0 --:--:-- 0:00:09 --:--:-- 31.2M + cp -vf eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg ++ dirname /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg + d=/home/jenkins/agent/workspace/notarize-downloads/temp ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg + b=eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg + cd /home/jenkins/agent/workspace/notarize-downloads/temp + md5sum eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg + sha1sum eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg + sha512sum -b eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg + rm eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + rm -f eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.md5 + rm -f eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha1 + rm -f eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha512 + pushd temp ~/agent/workspace/notarize-downloads/temp ~/agent/workspace/notarize-downloads ++ find eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg.md5 eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg.sha1 eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg.sha512 eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg.md5 eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg.sha1 eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg.sha512 eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg.md5 eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg.sha1 eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg.sha512 eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg.md5 eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg.sha1 eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg.sha512 -name '*.dmg' + for i in $( find * -name '*.dmg' ) + scp eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg.md5 eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg.sha1 eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg.sha512 genie.packaging@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/technology/epp/staging + ssh genie.packaging@projects-storage.eclipse.org rm /home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + ssh genie.packaging@projects-storage.eclipse.org rm '/home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize*' + for i in $( find * -name '*.dmg' ) + scp eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg.md5 eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg.sha1 eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg.sha512 genie.packaging@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/technology/epp/staging + ssh genie.packaging@projects-storage.eclipse.org rm /home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + ssh genie.packaging@projects-storage.eclipse.org rm '/home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize*' + for i in $( find * -name '*.dmg' ) + scp eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg.md5 eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg.sha1 eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg.sha512 genie.packaging@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/technology/epp/staging + ssh genie.packaging@projects-storage.eclipse.org rm /home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + ssh genie.packaging@projects-storage.eclipse.org rm '/home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize*' + for i in $( find * -name '*.dmg' ) + scp eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg.md5 eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg.sha1 eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg.sha512 genie.packaging@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/technology/epp/staging + ssh genie.packaging@projects-storage.eclipse.org rm /home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + ssh genie.packaging@projects-storage.eclipse.org rm '/home/data/httpd/download.eclipse.org/technology/epp/staging/eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize*' + popd ~/agent/workspace/notarize-downloads ++ find /home/jenkins/agent/workspace/notarize-downloads -name '*.dmg-tonotarize' + [[ -n /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize ]] + echo 'Failed to notarize the following' Failed to notarize the following + find /home/jenkins/agent/workspace/notarize-downloads -name '*.dmg-tonotarize' /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize + exit 1 Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 61 killed; [ssh-agent] Stopped. Archiving artifacts Sending e-mails to: jonah@kichwacoders.com Finished: FAILURE