Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 574357 - Mac notarization service is failing
Summary: Mac notarization service is failing
Status: CLOSED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: CI-Jenkins (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: CI Admin Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 573166
  Show dependency tree
 
Reported: 2021-06-21 05:45 EDT by Andrew Johnson CLA
Modified: 2021-06-21 06:08 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Johnson CLA 2021-06-21 05:45:29 EDT
I noticed a Mac notarization failure on my builds:
https://ci.eclipse.org/mat/job/mac-sign/186
https://ci.eclipse.org/mat/job/mac-sign/187

Please could you take a look - see bug 553003 for a previous similar problem.

[mac-sign] $ /bin/sh -xe /tmp/jenkins1898275143202435494.sh
+ set -e
+ prefix=/home/data/httpd/download.eclipse.org/mat
+ remote=genie.mat@projects-storage.eclipse.org
+ fn=/home/data/httpd/download.eclipse.org/mat/snapshots/rcp_1.12/org.eclipse.mat.ui.rcp.MemoryAnalyzer-macosx.cocoa.x86_64.dmg
++ realpath -m /home/data/httpd/download.eclipse.org/mat/snapshots/rcp_1.12/org.eclipse.mat.ui.rcp.MemoryAnalyzer-macosx.cocoa.x86_64.dmg
+ fn1=/home/data/httpd/download.eclipse.org/mat/snapshots/rcp_1.12/org.eclipse.mat.ui.rcp.MemoryAnalyzer-macosx.cocoa.x86_64.dmg
+ case "$fn1" in
+ echo 'path /home/data/httpd/download.eclipse.org/mat/snapshots/rcp_1.12/org.eclipse.mat.ui.rcp.MemoryAnalyzer-macosx.cocoa.x86_64.dmg ok'
path /home/data/httpd/download.eclipse.org/mat/snapshots/rcp_1.12/org.eclipse.mat.ui.rcp.MemoryAnalyzer-macosx.cocoa.x86_64.dmg ok
++ basename /home/data/httpd/download.eclipse.org/mat/snapshots/rcp_1.12/org.eclipse.mat.ui.rcp.MemoryAnalyzer-macosx.cocoa.x86_64.dmg
+ filename=org.eclipse.mat.ui.rcp.MemoryAnalyzer-macosx.cocoa.x86_64.dmg
+ scp genie.mat@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/mat/snapshots/rcp_1.12/org.eclipse.mat.ui.rcp.MemoryAnalyzer-macosx.cocoa.x86_64.dmg org.eclipse.mat.ui.rcp.MemoryAnalyzer-macosx.cocoa.x86_64.dmg
+ '[' '!' -f org.eclipse.mat.ui.rcp.MemoryAnalyzer-macosx.cocoa.x86_64.dmg ']'
+ PRIMARY_BUNDLE_ID=org.eclipse.mat.ui.rcp.MemoryAnalyzer
++ curl -X POST -F file=@org.eclipse.mat.ui.rcp.MemoryAnalyzer-macosx.cocoa.x86_64.dmg -F 'options={"primaryBundleId": "org.eclipse.mat.ui.rcp.MemoryAnalyzer", "staple": true};type=application/json' https://cbi.eclipse.org/macos/xcrun/notarize
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 14 78.3M    0     0   14 11.6M      0  59.0M  0:00:01 --:--:--  0:00:01 58.7M
 74 78.3M    0     0   74 58.0M      0  48.3M  0:00:01  0:00:01 --:--:-- 48.2M
100 78.3M    0     0  100 78.3M      0  29.7M  0:00:02  0:00:02 --:--:-- 29.7M
100 78.3M    0     0  100 78.3M      0  21.5M  0:00:03  0:00:03 --:--:-- 21.5M
100 78.3M  100   150  100 78.3M     38  19.9M  0:00:03  0:00:03 --:--:-- 19.9M
+ RESPONSE='{"uuid":"73ac2498-7f68-4bf3-a702-98e86d2ac808","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
++ echo '{"uuid":"73ac2498-7f68-4bf3-a702-98e86d2ac808","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}'
++ sed -n 's/^.*"uuid"\s*:\s*"\([^"]*\).*$/\1/p'
+ UUID=73ac2498-7f68-4bf3-a702-98e86d2ac808
++ echo '{"uuid":"73ac2498-7f68-4bf3-a702-98e86d2ac808","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}'
++ sed -n 's/^.*"status"\s*:\s*"\([^"]*\).*$/\1/p'
+ STATUS=IN_PROGRESS
+ '[' IN_PROGRESS = IN_PROGRESS ']'
+ sleep 1m
++ curl -s https://cbi.eclipse.org/macos/xcrun/73ac2498-7f68-4bf3-a702-98e86d2ac808/status
+ RESPONSE='{"uuid":"73ac2498-7f68-4bf3-a702-98e86d2ac808","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading file to Apple notarization service"}}'
++ echo '{"uuid":"73ac2498-7f68-4bf3-a702-98e86d2ac808","notarizationStatus":{"status":"IN_PROGRESS","message":"Uploading' file to Apple notarization 'service"}}'
++ sed -n 's/^.*"status"\s*:\s*"\([^"]*\).*$/\1/p'
+ STATUS=IN_PROGRESS
+ '[' IN_PROGRESS = IN_PROGRESS ']'
+ sleep 1m
++ curl -s https://cbi.eclipse.org/macos/xcrun/73ac2498-7f68-4bf3-a702-98e86d2ac808/status
+ RESPONSE='{"uuid":"73ac2498-7f68-4bf3-a702-98e86d2ac808","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: You must first sign the relevant contracts online. (1048)"}}'
++ echo '{"uuid":"73ac2498-7f68-4bf3-a702-98e86d2ac808","notarizationStatus":{"status":"ERROR","message":"Issue' happened while uploading file to Apple notarization 'service","moreInfo":"Failed' to notarize the requested file. Reason: You must first sign the relevant contracts online. '(1048)"}}'
++ sed -n 's/^.*"status"\s*:\s*"\([^"]*\).*$/\1/p'
+ STATUS=ERROR
+ '[' ERROR = IN_PROGRESS ']'
+ '[' ERROR '!=' COMPLETE ']'
+ echo 'Upload failed: {"uuid":"73ac2498-7f68-4bf3-a702-98e86d2ac808","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: You must first sign the relevant contracts online. (1048)"}}'
Upload failed: {"uuid":"73ac2498-7f68-4bf3-a702-98e86d2ac808","notarizationStatus":{"status":"ERROR","message":"Issue happened while uploading file to Apple notarization service","moreInfo":"Failed to notarize the requested file. Reason: You must first sign the relevant contracts online. (1048)"}}
+ exit 1
Comment 1 Mikaël Barbero CLA 2021-06-21 05:55:25 EDT
I've accepted the new ToS on developer.apple.com.
Comment 2 Andrew Johnson CLA 2021-06-21 06:07:18 EDT
Thank you for the super speedy fix. It now works.