Closed Bug 1810985 Opened 3 years ago Closed 3 years ago

Perma iscript.exceptions.IScriptError: /builds/scriptworker/work/cot/a4L110iWQviOArIjqOWLqg/public/build/ja-JP-mac/target.langpack.xpi is not a valid langpack

Categories

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

Tracking

(firefox111 fixed)

RESOLVED FIXED
Tracking Status
firefox111 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: willdurand)

References

(Regression)

Details

(Keywords: intermittent-failure, Whiteboard: [addons-jira])

Attachments

(2 files)

Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=402759202&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/IhCaeYnySS-skdWfv9WE2g/runs/0/artifacts/public/logs/live_backing.log


2023-01-18 12:15:15,807 - scriptworker_client.client - DEBUG - Task is verified against this schema: {'title': 'Taskcluster signing task minimal schema', 'type': 'object', 'properties': {'dependencies': {'type': 'array', 'minItems': 1, 'uniqueItems': True, 'items': {'type': 'string'}}, 'scopes': {'type': 'array', 'minItems': 1, 'uniqueItems': True, 'items': {'type': 'string'}}, 'payload': {'type': 'object', 'properties': {'upstreamArtifacts': {'type': 'array', 'items': {'type': 'object', 'properties': {'taskType': {'type': 'string'}, 'taskId': {'type': 'string'}, 'formats': {'type': 'array', 'uniqueItems': True, 'items': {'type': 'string', 'enum': ['macapp', 'widevine', 'omnija', 'autograph_widevine', 'autograph_omnija', 'mac_geckodriver', 'mac_single_file', 'autograph_langpack']}}, 'paths': {'type': 'array', 'minItems': 1, 'uniqueItems': True, 'items': {'type': 'string'}}}, 'singleFileGlobs': {'type': 'array', 'uniqueItems': True, 'items': {'type': 'string'}}, 'required': ['taskId', 'taskType', 'paths']}, 'minItems': 1, 'uniqueItems': True}, 'behavior': {'type': 'string', 'enum': ['mac_notarize', 'mac_geckodriver', 'mac_sign', 'mac_sign_and_pkg', 'mac_notarize_part_1', 'mac_notarize_part_3', 'mac_single_file', 'mac_notarize_vpn', 'mac_notarize_single_file', 'mac_notarize_geckodriver']}, 'product': {'type': 'string', 'enum': ['firefox', 'mozillavpn']}, 'entitlements-url': {'type': 'string'}, 'provisioning-profile-url': {'type': 'string'}, 'requirements-plist-url': {'type': 'string'}}, 'required': ['upstreamArtifacts']}}, 'required': ['scopes', 'payload']}
2023-01-18 12:15:15,816 - asyncio - DEBUG - Using selector: KqueueSelector
2023-01-18 12:15:15,816 - scriptworker_client.utils - INFO - Running ['hostname'] in / ...
2023-01-18 12:15:15,824 - scriptworker_client.utils - INFO - mac-v3-signing2.srv.releng.mdc1.mozilla.com
2023-01-18 12:15:15,824 - scriptworker_client.utils - INFO - ['hostname'] in / exited 0
2023-01-18 12:15:15,825 - scriptworker_client.aio - INFO - Downloading https://hg.mozilla.org/mozilla-central/raw-file/60b4965aa0ca5a7a60c71229600092a65df8bc1d/security/mac/hardenedruntime/production.entitlements.xml
2023-01-18 12:15:16,494 - scriptworker_client.utils - DEBUG - makedirs(/builds/scriptworker/work)
2023-01-18 12:15:16,538 - scriptworker_client.aio - INFO - Done
2023-01-18 12:15:16,539 - scriptworker_client.aio - INFO - Downloading https://hg.mozilla.org/mozilla-central/raw-file/60b4965aa0ca5a7a60c71229600092a65df8bc1d/build/package/mac_osx/requirements.plist
2023-01-18 12:15:17,261 - scriptworker_client.utils - DEBUG - makedirs(/builds/scriptworker/work)
2023-01-18 12:15:17,302 - scriptworker_client.aio - INFO - Done
2023-01-18 12:15:17,305 - scriptworker_client.client - ERROR - Failed to run async_main; exiting 1
Traceback (most recent call last):
  File "/builds/scriptworker/virtualenv/lib/python3.8/site-packages/scriptworker_client-1.0.0-py3.8.egg/scriptworker_client/client.py", line 182, in _handle_asyncio_loop
    await async_main(config, task)
  File "/builds/scriptworker/virtualenv/lib/python3.8/site-packages/iscript-1.0.1-py3.8.egg/iscript/script.py", line 98, in async_main
    await func(config, task, **args)
  File "/builds/scriptworker/virtualenv/lib/python3.8/site-packages/iscript-1.0.1-py3.8.egg/iscript/mac.py", line 1231, in notarize_1_behavior
    await sign_langpacks(config, sign_config, langpack_apps)
  File "/builds/scriptworker/virtualenv/lib/python3.8/site-packages/iscript-1.0.1-py3.8.egg/iscript/autograph.py", line 491, in sign_langpacks
    id = langpack_id(app)
  File "/builds/scriptworker/virtualenv/lib/python3.8/site-packages/iscript-1.0.1-py3.8.egg/iscript/autograph.py", line 473, in langpack_id
    raise IScriptError(f"{app.orig_path} is not a valid langpack")
iscript.exceptions.IScriptError: /builds/scriptworker/work/cot/a4L110iWQviOArIjqOWLqg/public/build/ja-JP-mac/target.langpack.xpi is not a valid langpack
exit code: 1

Flags: needinfo?(jcristau)
Flags: needinfo?(jcristau)

Regressed by bug 1810734, iscript's expectations for langpack manifests need to be updated. Please back out the regressing change in the mean time.

Flags: needinfo?(nerli)
Regressed by: 1810734

Sure, does it require a new Nightly asap? Or I can do the backout from autoland?

Flags: needinfo?(nerli) → needinfo?(jcristau)

autoland should be fine.

Flags: needinfo?(jcristau)

Note for whoever ends up working on this, https://github.com/mozilla-releng/scriptworker-scripts/pull/549 fixed a similar issue in signingscript.

I submitted a patch, see: https://github.com/mozilla-releng/scriptworker-scripts/pull/619 - I am waiting on CI to see what breaks since I haven't found how to run the tests locally yet.. Anyway sorry about that!

Flags: needinfo?(wdurand)
Assignee: nobody → wdurand
Whiteboard: [addons-jira]

Regressing bug was backed out and merged to central: https://bugzilla.mozilla.org/show_bug.cgi?id=1810734#c5

Whiteboard: [addons-jira]
Whiteboard: [addons-jira]
Attached file GitHub Pull Request

FTR: we had to make some changes in the following repo too: https://github.com/mozilla-platform-ops/ronin_puppet

I think we can close this bug now.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
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: