Closed Bug 1873329 Opened 1 year ago Closed 1 year ago

Perma geckodriver-mac-notarization fails as exception with Error: appstore connect error | This request requires an in-effect agreement that has not been signed or has expired

Categories

(Release Engineering :: Release Automation, defect, P1)

Tracking

(firefox-esr115 fixed, firefox121blocking fixed, firefox122 fixed, firefox123 fixed)

RESOLVED FIXED
Tracking Status
firefox-esr115 --- fixed
firefox121 blocking fixed
firefox122 --- fixed
firefox123 --- fixed

People

(Reporter: imoraru, Assigned: hneiva)

References

Details

Attachments

(1 obsolete file)

The geckodriver-mac-notarization jobs are permafailing as exceptions -> OS X opt and OS X AArch64 opt

2024-01-06 09:48:42,308 - signingscript.sign - DEBUG - _create_zipfile took 0.33s; RSS:348268 (+0)
2024-01-06 09:48:42,309 - signingscript.rcodesign - INFO - Running command: rcodesign notary-submit --api-key-path /app/configs/apple_api_key.json /app/workdir/apple_notarize/geckodriver.zip
2024-01-06 09:48:42,315 - signingscript.rcodesign - INFO - COMMAND OUTPUT: 
2024-01-06 09:48:42,770 - signingscript.rcodesign - WARNING - creating Notary API submission for geckodriver.zip (sha256: 99c9d2c913c542ddf18eb486fb52b5331f9c6237a1f8731392658618a8ccf51e)
2024-01-06 09:48:42,770 - signingscript.rcodesign - WARNING - Error: appstore connect error:
2024-01-06 09:48:42,770 - signingscript.rcodesign - WARNING - POST https://appstoreconnect.apple.com/notary/v2/submissions
2024-01-06 09:48:42,770 - signingscript.rcodesign - WARNING - {
2024-01-06 09:48:42,770 - signingscript.rcodesign - WARNING -   "errors": [
2024-01-06 09:48:42,770 - signingscript.rcodesign - WARNING -     {
2024-01-06 09:48:42,770 - signingscript.rcodesign - WARNING -       "code": "FORBIDDEN.REQUIRED_AGREEMENTS_MISSING_OR_EXPIRED",
2024-01-06 09:48:42,770 - signingscript.rcodesign - WARNING -       "detail": "This request requires an in-effect agreement that has not been signed or has expired.",
2024-01-06 09:48:42,770 - signingscript.rcodesign - WARNING -       "id": "ESUTH4HJKNY3Q3X637HBOR537M",
2024-01-06 09:48:42,770 - signingscript.rcodesign - WARNING -       "links": {
2024-01-06 09:48:42,771 - signingscript.rcodesign - WARNING -         "see": "/agreements"
2024-01-06 09:48:42,771 - signingscript.rcodesign - WARNING -       },
2024-01-06 09:48:42,771 - signingscript.rcodesign - WARNING -       "status": "403",
2024-01-06 09:48:42,771 - signingscript.rcodesign - WARNING -       "title": "A required agreement is missing or has expired."
2024-01-06 09:48:42,771 - signingscript.rcodesign - WARNING -     }
2024-01-06 09:48:42,771 - signingscript.rcodesign - WARNING -   ]
2024-01-06 09:48:42,771 - signingscript.rcodesign - WARNING - }
2024-01-06 09:48:42,771 - signingscript.rcodesign - INFO - exitcode 1
2024-01-06 09:48:42,771 - scriptworker.utils - DEBUG - retry_async: rcodesign_notarize: sleeping 13.574302702374808 seconds before retry

Hi Johan! Can you please take a look at this?
Thank you!

Flags: needinfo?(jlorenzo)

Later, this 2 build-mac-notarization jobs failed on mozilla-beta:

I suspect we need to agree to the latest terms and conditions on our Apple accounts. On our Apple Developer ID account, I see the below message when logging in. One of our Releng account owners should be able to take care of this.

The program license agreement has been updated.

Mozilla Release Engineering needs to accept the latest Apple Developer
Program License Agreement for your team to continue integrating new
technologies, submitting content to App Review, accessing Certificates,
Identifiers and Profiles, and more.
Flags: needinfo?(hneiva)

This'll block tomorrow's planned dot release and any other planned release activity. Severity->Blocker.

Severity: -- → S1
Priority: -- → P1

This also blocks uploading iOS apps to the App Store. Until the updated Apple Developer Program Licence Agreement is accepted, we can't submit new iOS builds.

Example from the 122 beta build:
https://app.bitrise.io/build/15892d35-fd84-4928-b69e-6a27e8a55d47

You do not have required contracts to perform an operation

We were warned by Apple a few days ago. :hneiva immediately filed a CASA ticket[1] to get Legal's approval. I'll escalate this to them.

[1] https://biztera.com/projects/19638

Flags: needinfo?(jlorenzo)
Flags: needinfo?(hneiva)
Duplicate of this bug: 1873480

The agreement has been accepted.

Assignee: nobody → hneiva
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Attachment #9377227 - Attachment description: WIP: Bug 1873329 - Add a shutdown blocker for NotificationDB → Bug 1873329 - Add a shutdown blocker for NotificationDB r=asuth,jstutte

Comment on attachment 9377227 [details]
Bug 1873329 - Add a shutdown blocker for NotificationDB r=asuth,jstutte

Revision D200042 was moved to bug 1873229. Setting attachment 9377227 [details] to obsolete.

Attachment #9377227 - Attachment is obsolete: true
Component: Release Automation: Signing → Release Automation
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: