Closed Bug 1731818 Opened 3 years ago Closed 1 year ago

Intermittent make[1]: *** [/builds/worker/checkouts/gecko/toolkit/locales/l10n.mk:155: repackage-zip-ar] Error 2

Categories

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

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Filed by: archaeopteryx [at] coole-files.de
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=352237174&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/QRHvEsCOQAi2mTBrouf05Q/runs/0/artifacts/public/logs/live_backing.log


This is for the release-graph of a central-as-late-beta simulation. Curious: https://hg.mozilla.org/try/rev/606f392b8c7a4bc963fde46d151cc969288b162d contains Arabic in the L10n changesets file but not in the shipped locales

[task 2021-09-21T14:26:04.205Z] 14:26:04     INFO -  BUILDTASK {"argv": ["/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/action/zip.py", "-C", "../../dist/xpi-stage/locale-ar", "-x", "**/*.manifest", "-x", "**/*.js", "-x", "**/*.ini", "/builds/worker/workspace/obj-build/dist/mac/xpi/firefox-94.0.ar.langpack.xpi", "chrome", "localization", "browser", "manifest.json"], "start": 1632234364.1106253, "end": 1632234364.2051535, "context": null}
[task 2021-09-21T14:26:04.216Z] 14:26:04     INFO -  make[1]: Leaving directory '/builds/worker/workspace/obj-build/browser/locales'
[task 2021-09-21T14:26:04.219Z] 14:26:04     INFO -  make[1]: Entering directory '/builds/worker/workspace/obj-build/browser/locales'
[task 2021-09-21T14:26:04.221Z] 14:26:04     INFO -  rsync -rav --delete /builds/worker/workspace/obj-build/dist/unpacked-installer/ /builds/worker/workspace/obj-build/dist/l10n-stage
[task 2021-09-21T14:26:04.223Z] 14:26:04     INFO -  sending incremental file list
[task 2021-09-21T14:26:04.266Z] 14:26:04     INFO -  sent 4,520 bytes  received 52 bytes  9,144.00 bytes/sec
[task 2021-09-21T14:26:04.266Z] 14:26:04     INFO -  total size is 369,344,958  speedup is 80,784.11
[task 2021-09-21T14:26:04.269Z] 14:26:04     INFO -  make[2]: Entering directory '/builds/worker/workspace/obj-build/browser/locales'
[task 2021-09-21T14:26:04.271Z] 14:26:04     INFO -  /builds/worker/workspace/obj-build/_virtualenvs/build/bin/python /builds/worker/checkouts/gecko/toolkit/mozapps/installer/l10n-repack.py '/builds/worker/workspace/obj-build/dist/l10n-stage/firefox/Firefox Nightly.app/Contents/Resources' ../../dist/xpi-stage/locale-ar \
[task 2021-09-21T14:26:04.271Z] 14:26:04     INFO -  	 \
[task 2021-09-21T14:26:04.387Z] 14:26:04     INFO -  Error: Missing file(s): *
[task 2021-09-21T14:26:04.390Z] 14:26:04    ERROR -  Traceback (most recent call last):
[task 2021-09-21T14:26:04.390Z] 14:26:04     INFO -    File "/builds/worker/checkouts/gecko/toolkit/mozapps/installer/l10n-repack.py", line 73, in <module>
[task 2021-09-21T14:26:04.390Z] 14:26:04     INFO -      main()
[task 2021-09-21T14:26:04.390Z] 14:26:04     INFO -    File "/builds/worker/checkouts/gecko/toolkit/mozapps/installer/l10n-repack.py", line 63, in main
[task 2021-09-21T14:26:04.390Z] 14:26:04     INFO -      l10n.repack(
[task 2021-09-21T14:26:04.391Z] 14:26:04     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozpack/packager/l10n.py", line 306, in repack
[task 2021-09-21T14:26:04.391Z] 14:26:04     INFO -      _repack(app_finder, l10n_finder, copier, formatter, non_chrome)
[task 2021-09-21T14:26:04.391Z] 14:26:04     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozpack/packager/l10n.py", line 142, in _repack
[task 2021-09-21T14:26:04.391Z] 14:26:04     INFO -      locale = app.locales[0]
[task 2021-09-21T14:26:04.391Z] 14:26:04     INFO -  IndexError: list index out of range
[task 2021-09-21T14:26:04.403Z] 14:26:04    ERROR -  make[2]: *** [/builds/worker/checkouts/gecko/toolkit/locales/l10n.mk:115: repackage-zip] Error 1
[task 2021-09-21T14:26:04.403Z] 14:26:04     INFO -  make[2]: Leaving directory '/builds/worker/workspace/obj-build/browser/locales'
[task 2021-09-21T14:26:04.403Z] 14:26:04    ERROR -  make[1]: *** [/builds/worker/checkouts/gecko/toolkit/locales/l10n.mk:155: repackage-zip-ar] Error 2

AFAICT bug 1615589 added arabic to l10n-onchange-changesets but it's not in onchange-locales

https://searchfox.org/mozilla-central/rev/235982cdb78d0dc3ab4e48326b084ce087302cab/tools/tryselect/selectors/release.py#143 uses those files to replace l10n-changesets.json and shipped-locales for release simulations. I have no idea why this didn't show up before now, so there may be more to this...

Regressed by: 1615589
QA Contact: mozilla → gabriel
Status: NEW → RESOLVED
Closed: 1 year ago
Keywords: regression
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.