Skip to content

Console Output

Skipping 237 KB.. Full Log
200'
09:43:09 + 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'\''."}}
09:43:09 200'
09:43:09 ++ head -n1
09:43:09 ++ head -n1
09:43:09 + 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'\''."}}'
09:43:09 + 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'\''."}}'
09:43:09 ++ tail -n1
09:43:09 ++ tail -n1
09:43:09 + STATUS_CODE=200
09:43:09 + STATUS_CODE=200
09:43:09 ++ 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'\''."}}'
09:43:09 ++ jq -r .notarizationStatus.status
09:43:09 ++ 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'\''."}}'
09:43:09 ++ jq -r .notarizationStatus.status
09:43:09 + STATUS=IN_PROGRESS
09:43:09 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:43:09 + sleep 1m
09:43:09 + STATUS=IN_PROGRESS
09:43:09 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:43:09 + sleep 1m
09:43:14 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d/status
09:43:14 + 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}"}}
09:43:14 200'
09:43:14 ++ head -n1
09:43:14 + 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}"}}'
09:43:14 ++ tail -n1
09:43:14 + STATUS_CODE=200
09:43:14 ++ jq -r .notarizationStatus.status
09:43:14 ++ 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}"}}'
09:43:14 + STATUS=COMPLETE
09:43:14 + [[ COMPLETE == \I\N\_\P\R\O\G\R\E\S\S ]]
09:43:14 + [[ COMPLETE != \C\O\M\P\L\E\T\E ]]
09:43:14 + break
09:43:14 + rm eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg
09:43:14 + curl -JO http://172.30.206.146:8383/macos-notarization-service/4fdc7ae9-7dcc-4ace-a56e-15ef648ccc5d/download
09:43:14   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
09:43:14                                  Dload  Upload   Total   Spent    Left  Speed
09:43:14 
  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
09:43:21 + 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
09:43:21 ++ dirname /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg
09:43:21 + d=/home/jenkins/agent/workspace/notarize-downloads/temp
09:43:21 ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg
09:43:21 + b=eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg
09:43:21 + cd /home/jenkins/agent/workspace/notarize-downloads/temp
09:43:21 + md5sum eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg
09:43:22 + sha1sum eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg
09:43:23 + sha512sum -b eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg
09:43:24 + rm eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:43:24 + rm -f eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.md5
09:43:24 + rm -f eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha1
09:43:24 + rm -f eclipse-committers-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha512
09:43:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status
09:43:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status
09:43:31 + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}
09:43:31 200'
09:43:31 + 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'\''."}}
09:43:31 200'
09:43:31 ++ head -n1
09:43:31 ++ head -n1
09:43:31 + 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'\''."}}'
09:43:31 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
09:43:31 ++ tail -n1
09:43:31 ++ tail -n1
09:43:31 + STATUS_CODE=200
09:43:31 + STATUS_CODE=200
09:43:31 ++ 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'\''."}}'
09:43:31 ++ jq -r .notarizationStatus.status
09:43:31 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}'
09:43:31 ++ jq -r .notarizationStatus.status
09:43:31 + STATUS=IN_PROGRESS
09:43:31 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:43:31 + STATUS=IN_PROGRESS
09:43:31 + sleep 1m
09:43:31 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:43:31 + sleep 1m
09:44:07 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status
09:44:07 + 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'\''."}}
09:44:07 200'
09:44:07 ++ head -n1
09:44:07 + 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'\''."}}'
09:44:07 ++ tail -n1
09:44:07 + STATUS_CODE=200
09:44:07 ++ 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'\''."}}'
09:44:07 ++ jq -r .notarizationStatus.status
09:44:07 + STATUS=IN_PROGRESS
09:44:07 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:44:07 + sleep 1m
09:44:09 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status
09:44:09 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status
09:44:09 + 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'\''."}}
09:44:09 200'
09:44:09 + 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'\''."}}
09:44:09 200'
09:44:09 ++ head -n1
09:44:09 ++ head -n1
09:44:09 + 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'\''."}}'
09:44:09 + 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'\''."}}'
09:44:09 ++ tail -n1
09:44:09 ++ tail -n1
09:44:09 + STATUS_CODE=200
09:44:09 + STATUS_CODE=200
09:44:09 ++ 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'\''."}}'
09:44:09 ++ 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'\''."}}'
09:44:09 ++ jq -r .notarizationStatus.status
09:44:09 ++ jq -r .notarizationStatus.status
09:44:09 + STATUS=IN_PROGRESS
09:44:09 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:44:09 + sleep 1m
09:44:09 + STATUS=IN_PROGRESS
09:44:09 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:44:09 + sleep 1m
09:44:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status
09:44:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status
09:44:31 + 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'\''."}}
09:44:31 200'
09:44:31 + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}
09:44:31 200'
09:44:31 ++ head -n1
09:44:31 ++ head -n1
09:44:31 + 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'\''."}}'
09:44:31 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
09:44:31 ++ tail -n1
09:44:31 ++ tail -n1
09:44:31 + STATUS_CODE=200
09:44:31 + STATUS_CODE=200
09:44:31 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}'
09:44:31 ++ 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'\''."}}'
09:44:31 ++ jq -r .notarizationStatus.status
09:44:31 ++ jq -r .notarizationStatus.status
09:44:31 + STATUS=IN_PROGRESS
09:44:31 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:44:31 + sleep 1m
09:44:31 + STATUS=IN_PROGRESS
09:44:31 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:44:31 + sleep 1m
09:45:07 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/1b7670e7-e1ac-45bd-8eb5-dc742dca47eb/status
09:45:07 + 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}"}}
09:45:07 200'
09:45:07 ++ head -n1
09:45:07 + 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}"}}'
09:45:07 ++ tail -n1
09:45:07 + STATUS_CODE=200
09:45:07 ++ jq -r .notarizationStatus.status
09:45:07 ++ 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}"}}'
09:45:07 + STATUS=ERROR
09:45:07 + [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]]
09:45:07 + [[ ERROR != \C\O\M\P\L\E\T\E ]]
09:45:07 + 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}"}}'
09:45:07 ++ expr 1 - 1
09:45:07 + retryCount=0
09:45:07 + '[' 0 -eq 0 ']'
09:45:07 + echo 'Notarization failed 3 times. Exiting'
09:45:07 + exit 1
09:45:09 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status
09:45:09 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/status
09:45:09 + 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'\''."}}
09:45:09 200'
09:45:09 + 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}"}}
09:45:09 200'
09:45:09 ++ head -n1
09:45:09 ++ head -n1
09:45:09 + 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'\''."}}'
09:45:09 + 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}"}}'
09:45:09 ++ tail -n1
09:45:09 ++ tail -n1
09:45:09 + STATUS_CODE=200
09:45:09 + STATUS_CODE=200
09:45:09 ++ 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'\''."}}'
09:45:09 ++ jq -r .notarizationStatus.status
09:45:09 ++ jq -r .notarizationStatus.status
09:45:09 ++ 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}"}}'
09:45:09 + STATUS=COMPLETE
09:45:09 + [[ COMPLETE == \I\N\_\P\R\O\G\R\E\S\S ]]
09:45:09 + [[ COMPLETE != \C\O\M\P\L\E\T\E ]]
09:45:09 + break
09:45:09 + rm eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg
09:45:09 + STATUS=IN_PROGRESS
09:45:09 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:45:09 + sleep 1m
09:45:09 + curl -JO http://172.30.206.146:8383/macos-notarization-service/3b541a82-1a70-4f92-a33b-474778da0cad/download
09:45:09   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
09:45:09                                  Dload  Upload   Total   Spent    Left  Speed
09:45:09 
  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
09:45:17 + 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
09:45:17 ++ dirname /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg
09:45:17 + d=/home/jenkins/agent/workspace/notarize-downloads/temp
09:45:17 ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg
09:45:17 + b=eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg
09:45:17 + cd /home/jenkins/agent/workspace/notarize-downloads/temp
09:45:17 + md5sum eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg
09:45:18 + sha1sum eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg
09:45:19 + sha512sum -b eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg
09:45:20 + rm eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:45:20 + rm -f eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.md5
09:45:20 + rm -f eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha1
09:45:20 + rm -f eclipse-modeling-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha512
09:45:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status
09:45:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/status
09:45:31 + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}
09:45:31 + 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}"}}
09:45:31 200'
09:45:31 200'
09:45:31 ++ head -n1
09:45:31 ++ head -n1
09:45:31 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
09:45:31 + 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}"}}'
09:45:31 ++ tail -n1
09:45:31 ++ tail -n1
09:45:31 + STATUS_CODE=200
09:45:31 + STATUS_CODE=200
09:45:31 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}'
09:45:31 ++ jq -r .notarizationStatus.status
09:45:31 ++ jq -r .notarizationStatus.status
09:45:31 ++ 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}"}}'
09:45:31 + STATUS=COMPLETE
09:45:31 + [[ COMPLETE == \I\N\_\P\R\O\G\R\E\S\S ]]
09:45:31 + [[ COMPLETE != \C\O\M\P\L\E\T\E ]]
09:45:31 + break
09:45:31 + rm eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg
09:45:31 + STATUS=IN_PROGRESS
09:45:31 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:45:31 + sleep 1m
09:45:31 + curl -JO http://172.30.206.146:8383/macos-notarization-service/c0d466bd-1ddb-4b8d-8d04-e32423b7a62e/download
09:45:31   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
09:45:31                                  Dload  Upload   Total   Spent    Left  Speed
09:45:31 
  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
09:45:37 + 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
09:45:37 ++ dirname /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg
09:45:37 + d=/home/jenkins/agent/workspace/notarize-downloads/temp
09:45:37 ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg
09:45:37 + b=eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg
09:45:37 + cd /home/jenkins/agent/workspace/notarize-downloads/temp
09:45:37 + md5sum eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg
09:45:37 + sha1sum eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg
09:45:38 + sha512sum -b eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg
09:45:39 + rm eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:45:39 + rm -f eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.md5
09:45:39 + rm -f eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha1
09:45:39 + rm -f eclipse-rcp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha512
09:46:09 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status
09:46:09 + 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'\''."}}
09:46:09 200'
09:46:09 ++ head -n1
09:46:09 + 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'\''."}}'
09:46:09 ++ tail -n1
09:46:09 + STATUS_CODE=200
09:46:09 ++ 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'\''."}}'
09:46:09 ++ jq -r .notarizationStatus.status
09:46:09 + STATUS=IN_PROGRESS
09:46:09 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:46:09 + sleep 1m
09:46:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status
09:46:31 + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}
09:46:31 200'
09:46:31 ++ head -n1
09:46:31 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
09:46:31 ++ tail -n1
09:46:31 + STATUS_CODE=200
09:46:31 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}'
09:46:31 ++ jq -r .notarizationStatus.status
09:46:31 + STATUS=IN_PROGRESS
09:46:31 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:46:31 + sleep 1m
09:47:09 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/543a9d58-c7c7-49a3-864a-1904c323f58b/status
09:47:09 + 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}"}}
09:47:09 200'
09:47:09 ++ head -n1
09:47:09 + 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}"}}'
09:47:09 ++ tail -n1
09:47:09 + STATUS_CODE=200
09:47:09 ++ jq -r .notarizationStatus.status
09:47:10 ++ 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}"}}'
09:47:10 + STATUS=ERROR
09:47:10 + [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]]
09:47:10 + [[ ERROR != \C\O\M\P\L\E\T\E ]]
09:47:10 + 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}"}}'
09:47:10 ++ expr 3 - 1
09:47:10 + retryCount=2
09:47:10 + '[' 2 -eq 0 ']'
09:47:10 + echo Retrying...
09:47:10 + '[' 2 -gt 0 ']'
09:47:10 ++ 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
09:47:16 + RESPONSE_RAW='{"uuid":"43f096fb-3c17-415c-a939-644b05372913","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}
09:47:16 200'
09:47:16 ++ head -n1
09:47:16 + RESPONSE='{"uuid":"43f096fb-3c17-415c-a939-644b05372913","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
09:47:16 ++ tail -n1
09:47:16 + STATUS_CODE=200
09:47:16 ++ echo '{"uuid":"43f096fb-3c17-415c-a939-644b05372913","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
09:47:16 ++ jq -r .uuid
09:47:16 + UUID=43f096fb-3c17-415c-a939-644b05372913
09:47:16 ++ echo '{"uuid":"43f096fb-3c17-415c-a939-644b05372913","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
09:47:16 ++ jq -r .notarizationStatus.status
09:47:16 + STATUS=IN_PROGRESS
09:47:16 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:47:16 + sleep 1m
09:47:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status
09:47:31 + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}
09:47:31 200'
09:47:31 ++ head -n1
09:47:31 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
09:47:31 ++ tail -n1
09:47:31 + STATUS_CODE=200
09:47:31 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}'
09:47:31 ++ jq -r .notarizationStatus.status
09:47:31 + STATUS=IN_PROGRESS
09:47:31 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:47:31 + sleep 1m
09:48:16 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/43f096fb-3c17-415c-a939-644b05372913/status
09:48:16 + 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}"}}
09:48:16 200'
09:48:16 ++ head -n1
09:48:16 + 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}"}}'
09:48:16 ++ tail -n1
09:48:16 + STATUS_CODE=200
09:48:16 ++ jq -r .notarizationStatus.status
09:48:16 ++ 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}"}}'
09:48:16 + STATUS=ERROR
09:48:16 + [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]]
09:48:16 + [[ ERROR != \C\O\M\P\L\E\T\E ]]
09:48:16 + 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}"}}'
09:48:16 ++ expr 2 - 1
09:48:16 + retryCount=1
09:48:16 + '[' 1 -eq 0 ']'
09:48:16 + echo Retrying...
09:48:16 + '[' 1 -gt 0 ']'
09:48:16 ++ 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
09:48:25 + RESPONSE_RAW='{"uuid":"22f1dfc1-de75-42a9-a610-e8a31ff1ca73","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}
09:48:25 200'
09:48:25 ++ head -n1
09:48:25 + RESPONSE='{"uuid":"22f1dfc1-de75-42a9-a610-e8a31ff1ca73","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
09:48:25 ++ tail -n1
09:48:25 + STATUS_CODE=200
09:48:25 ++ echo '{"uuid":"22f1dfc1-de75-42a9-a610-e8a31ff1ca73","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
09:48:25 ++ jq -r .uuid
09:48:25 + UUID=22f1dfc1-de75-42a9-a610-e8a31ff1ca73
09:48:25 ++ echo '{"uuid":"22f1dfc1-de75-42a9-a610-e8a31ff1ca73","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
09:48:25 ++ jq -r .notarizationStatus.status
09:48:25 + STATUS=IN_PROGRESS
09:48:25 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:48:25 + sleep 1m
09:48:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status
09:48:31 + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}
09:48:31 200'
09:48:31 ++ head -n1
09:48:31 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
09:48:31 ++ tail -n1
09:48:31 + STATUS_CODE=200
09:48:31 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}'
09:48:31 ++ jq -r .notarizationStatus.status
09:48:31 + STATUS=IN_PROGRESS
09:48:31 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:48:31 + sleep 1m
09:49:25 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/22f1dfc1-de75-42a9-a610-e8a31ff1ca73/status
09:49:25 + 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}"}}
09:49:25 200'
09:49:25 ++ head -n1
09:49:25 + 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}"}}'
09:49:25 ++ tail -n1
09:49:25 + STATUS_CODE=200
09:49:25 ++ jq -r .notarizationStatus.status
09:49:25 ++ 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}"}}'
09:49:25 + STATUS=ERROR
09:49:25 + [[ ERROR == \I\N\_\P\R\O\G\R\E\S\S ]]
09:49:25 + [[ ERROR != \C\O\M\P\L\E\T\E ]]
09:49:25 + 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}"}}'
09:49:25 ++ expr 1 - 1
09:49:25 + retryCount=0
09:49:25 + '[' 0 -eq 0 ']'
09:49:25 + echo 'Notarization failed 3 times. Exiting'
09:49:25 + exit 1
09:49:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status
09:49:31 + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}
09:49:31 200'
09:49:31 ++ head -n1
09:49:31 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
09:49:31 ++ tail -n1
09:49:31 + STATUS_CODE=200
09:49:31 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}'
09:49:31 ++ jq -r .notarizationStatus.status
09:49:31 + STATUS=IN_PROGRESS
09:49:31 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:49:31 + sleep 1m
09:50:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status
09:50:31 + RESPONSE_RAW='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}
09:50:31 200'
09:50:31 ++ head -n1
09:50:31 + RESPONSE='{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
09:50:31 ++ tail -n1
09:50:31 + STATUS_CODE=200
09:50:31 ++ echo '{"uuid":"462bd0b2-a69b-4f32-acf0-58dca0de5285","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}'
09:50:31 ++ jq -r .notarizationStatus.status
09:50:31 + STATUS=IN_PROGRESS
09:50:31 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:50:31 + sleep 1m
09:51:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status
09:51:31 + 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'\''."}}
09:51:31 200'
09:51:31 ++ head -n1
09:51:31 + 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'\''."}}'
09:51:31 ++ tail -n1
09:51:31 + STATUS_CODE=200
09:51:31 ++ 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'\''."}}'
09:51:31 ++ jq -r .notarizationStatus.status
09:51:31 + STATUS=IN_PROGRESS
09:51:31 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:51:31 + sleep 1m
09:52:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status
09:52:31 + 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'\''."}}
09:52:31 200'
09:52:31 ++ head -n1
09:52:31 + 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'\''."}}'
09:52:31 ++ tail -n1
09:52:31 + STATUS_CODE=200
09:52:31 ++ 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'\''."}}'
09:52:31 ++ jq -r .notarizationStatus.status
09:52:31 + STATUS=IN_PROGRESS
09:52:31 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:52:31 + sleep 1m
09:53:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status
09:53:31 + 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'\''."}}
09:53:31 200'
09:53:31 ++ head -n1
09:53:31 + 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'\''."}}'
09:53:31 ++ tail -n1
09:53:31 + STATUS_CODE=200
09:53:31 ++ 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'\''."}}'
09:53:31 ++ jq -r .notarizationStatus.status
09:53:31 + STATUS=IN_PROGRESS
09:53:31 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:53:31 + sleep 1m
09:54:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status
09:54:31 + 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'\''."}}
09:54:31 200'
09:54:31 ++ head -n1
09:54:31 + 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'\''."}}'
09:54:31 ++ tail -n1
09:54:31 + STATUS_CODE=200
09:54:31 ++ 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'\''."}}'
09:54:31 ++ jq -r .notarizationStatus.status
09:54:31 + STATUS=IN_PROGRESS
09:54:31 + [[ IN_PROGRESS == \I\N\_\P\R\O\G\R\E\S\S ]]
09:54:31 + sleep 1m
09:55:31 ++ curl --write-out '\n%{http_code}' -s http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/status
09:55:31 + 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}"}}
09:55:31 200'
09:55:31 ++ head -n1
09:55:31 + 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}"}}'
09:55:31 ++ tail -n1
09:55:31 + STATUS_CODE=200
09:55:31 ++ jq -r .notarizationStatus.status
09:55:31 ++ 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}"}}'
09:55:31 + STATUS=COMPLETE
09:55:31 + [[ COMPLETE == \I\N\_\P\R\O\G\R\E\S\S ]]
09:55:31 + [[ COMPLETE != \C\O\M\P\L\E\T\E ]]
09:55:31 + break
09:55:31 + rm eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg
09:55:31 + curl -JO http://172.30.206.146:8383/macos-notarization-service/462bd0b2-a69b-4f32-acf0-58dca0de5285/download
09:55:31   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
09:55:31                                  Dload  Upload   Total   Spent    Left  Speed
09:55:31 
  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
09:55:40 + 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
09:55:40 ++ dirname /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg
09:55:40 + d=/home/jenkins/agent/workspace/notarize-downloads/temp
09:55:40 ++ basename /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg
09:55:40 + b=eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg
09:55:40 + cd /home/jenkins/agent/workspace/notarize-downloads/temp
09:55:40 + md5sum eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg
09:55:41 + sha1sum eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg
09:55:41 + sha512sum -b eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg
09:55:42 + rm eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:55:42 + rm -f eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.md5
09:55:42 + rm -f eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha1
09:55:42 + rm -f eclipse-scout-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize.sha512
09:55:42 + pushd temp
09:55:42 ~/agent/workspace/notarize-downloads/temp ~/agent/workspace/notarize-downloads
09:55:42 ++ 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'
09:55:42 + for i in $( find * -name '*.dmg' )
09:55:42 + 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
09:55:59 + 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
09:55:59 + 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*'
09:56:04 + for i in $( find * -name '*.dmg' )
09:56:04 + 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
09:56:16 + 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
09:56:17 + 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*'
09:56:17 + for i in $( find * -name '*.dmg' )
09:56:17 + 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
09:56:26 + 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
09:56:27 + 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*'
09:56:27 + for i in $( find * -name '*.dmg' )
09:56:27 + 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
09:56:37 + 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
09:56:38 + 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*'
09:56:38 + popd
09:56:38 ~/agent/workspace/notarize-downloads
09:56:38 ++ find /home/jenkins/agent/workspace/notarize-downloads -name '*.dmg-tonotarize'
09:56:38 + [[ -n /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:56:38 /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:56:38 /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:56:38 /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:56:38 /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:56:38 /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:56:38 /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize ]]
09:56:38 + echo 'Failed to notarize the following'
09:56:38 Failed to notarize the following
09:56:38 + find /home/jenkins/agent/workspace/notarize-downloads -name '*.dmg-tonotarize'
09:56:38 /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-cpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:56:38 /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-dsl-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:56:38 /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-embedcpp-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:56:38 /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-java-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:56:38 /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-jee-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:56:38 /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-parallel-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:56:38 /home/jenkins/agent/workspace/notarize-downloads/temp/eclipse-php-2021-06-M1-macosx-cocoa-x86_64.dmg-tonotarize
09:56:38 + exit 1
09:56:38 Build step 'Execute shell' marked build as failure
09:56:38 $ ssh-agent -k
09:56:38 unset SSH_AUTH_SOCK;
09:56:38 unset SSH_AGENT_PID;
09:56:38 echo Agent pid 61 killed;
09:56:38 [ssh-agent] Stopped.
09:56:40 Archiving artifacts
09:56:41 Sending e-mails to: jonah@kichwacoders.com
09:56:41 Finished: FAILURE