Closed Bug 1906730 Opened 1 year ago Closed 1 year ago

Perma [mozilla-beta] Deb-Repack ValueError: 'ja_JP_mac' is not a valid locale identifier

Categories

(Firefox Build System :: Third Party Packaging, defect, P5)

defect

Tracking

(firefox-esr115 unaffected, firefox-esr128 unaffected, firefox129blocking fixed)

RESOLVED FIXED
129 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox129 blocking fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(2 files)

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


Cloning into '/tmp/tmpakmwdors'...
[task 2024-07-08T18:48:54.490Z] 18:48:54     INFO -  Error running mach:
[task 2024-07-08T18:48:54.490Z] 18:48:54     INFO -      mach --log-no-times repackage deb --arch x86_64 --templates browser/installer/linux/app/debian --version 129.0b1 --build-number 1 --release-product firefox --release-type beta --input /builds/worker/fetches/target.tar.bz2 --output /builds/worker/workspace/outputs/target.deb
[task 2024-07-08T18:48:54.490Z] 18:48:54     INFO -  The error occurred in code that was called by the mach command. This is either
[task 2024-07-08T18:48:54.490Z] 18:48:54     INFO -  a bug in the called code itself or in the way that mach is calling it.
[task 2024-07-08T18:48:54.490Z] 18:48:54     INFO -  You can invoke ``./mach busted`` to check if this issue is already on file. If it
[task 2024-07-08T18:48:54.490Z] 18:48:54     INFO -  isn't, please use ``./mach busted file repackage`` to report it. If ``./mach busted`` is
[task 2024-07-08T18:48:54.491Z] 18:48:54     INFO -  misbehaving, you can also inspect the dependencies of bug 1543241.
[task 2024-07-08T18:48:54.491Z] 18:48:54     INFO -  If filing a bug, please include the full output of mach, including this error
[task 2024-07-08T18:48:54.491Z] 18:48:54     INFO -  message.
[task 2024-07-08T18:48:54.491Z] 18:48:54     INFO -  The details of the failure are as follows:
[task 2024-07-08T18:48:54.491Z] 18:48:54     INFO -  ValueError: 'ja_JP_mac' is not a valid locale identifier
[task 2024-07-08T18:48:54.491Z] 18:48:54     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/mach_commands.py", line 2362, in repackage_deb
[task 2024-07-08T18:48:54.491Z] 18:48:54     INFO -      repackage_deb(
[task 2024-07-08T18:48:54.491Z] 18:48:54     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/repackaging/deb.py", line 115, in repackage_deb
[task 2024-07-08T18:48:54.491Z] 18:48:54     INFO -      _inject_deb_desktop_entry_file(
[task 2024-07-08T18:48:54.491Z] 18:48:54     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/repackaging/deb.py", line 367, in _inject_deb_desktop_entry_file
[task 2024-07-08T18:48:54.491Z] 18:48:54     INFO -      desktop_entry_file_text = _generate_browser_desktop_entry_file_text(
[task 2024-07-08T18:48:54.491Z] 18:48:54     INFO -                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-07-08T18:48:54.491Z] 18:48:54     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/repackaging/deb.py", line 394, in _generate_browser_desktop_entry_file_text
[task 2024-07-08T18:48:54.491Z] 18:48:54     INFO -      desktop_entry = _generate_browser_desktop_entry(build_variables, localizations)
[task 2024-07-08T18:48:54.491Z] 18:48:54     INFO -                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-07-08T18:48:54.492Z] 18:48:54     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/repackaging/deb.py", line 570, in _generate_browser_desktop_entry
[task 2024-07-08T18:48:54.492Z] 18:48:54     INFO -      desktop_entry = _desktop_entry_section(
[task 2024-07-08T18:48:54.492Z] 18:48:54     INFO -                      ^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-07-08T18:48:54.492Z] 18:48:54     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/repackaging/deb.py", line 681, in _desktop_entry_section
[task 2024-07-08T18:48:54.492Z] 18:48:54     INFO -      _desktop_entry_attribute(
[task 2024-07-08T18:48:54.492Z] 18:48:54     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/repackaging/deb.py", line 665, in _desktop_entry_attribute
[task 2024-07-08T18:48:54.492Z] 18:48:54     INFO -      return f"{key}[{locale.replace('-', '_')}]={localizations[locale].format_value(value)}"
[task 2024-07-08T18:48:54.492Z] 18:48:54     INFO -                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-07-08T18:48:54.492Z] 18:48:54     INFO -    File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/repackage-deb/lib/python3.11/site-packages/fluent/runtime/fallback.py", line 41, in format_value
[task 2024-07-08T18:48:54.492Z] 18:48:54     INFO -      for bundle in self._bundles():
[task 2024-07-08T18:48:54.492Z] 18:48:54     INFO -    File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/repackage-deb/lib/python3.11/site-packages/fluent/runtime/fallback.py", line 61, in _bundles
[task 2024-07-08T18:48:54.492Z] 18:48:54     INFO -      self._bundle_cache.append(next(self._bundle_it))
[task 2024-07-08T18:48:54.492Z] 18:48:54     INFO -                                ^^^^^^^^^^^^^^^^^^^^^
[task 2024-07-08T18:48:54.493Z] 18:48:54     INFO -    File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/repackage-deb/lib/python3.11/site-packages/fluent/runtime/fallback.py", line 71, in _iterate_bundles
[task 2024-07-08T18:48:54.493Z] 18:48:54     INFO -      bundle = self._create_bundle(locs)
[task 2024-07-08T18:48:54.493Z] 18:48:54     INFO -               ^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-07-08T18:48:54.493Z] 18:48:54     INFO -    File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/repackage-deb/lib/python3.11/site-packages/fluent/runtime/fallback.py", line 52, in _create_bundle
[task 2024-07-08T18:48:54.493Z] 18:48:54     INFO -      return self.bundle_class(
[task 2024-07-08T18:48:54.493Z] 18:48:54     INFO -             ^^^^^^^^^^^^^^^^^^
[task 2024-07-08T18:48:54.493Z] 18:48:54     INFO -    File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/repackage-deb/lib/python3.11/site-packages/fluent/runtime/bundle.py", line 47, in __init__
[task 2024-07-08T18:48:54.493Z] 18:48:54     INFO -      self._babel_locale = self._get_babel_locale()
[task 2024-07-08T18:48:54.493Z] 18:48:54     INFO -                           ^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-07-08T18:48:54.493Z] 18:48:54     INFO -    File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/repackage-deb/lib/python3.11/site-packages/fluent/runtime/bundle.py", line 106, in _get_babel_locale
[task 2024-07-08T18:48:54.493Z] 18:48:54     INFO -      return babel.Locale.parse(lc.replace('-', '_'))
[task 2024-07-08T18:48:54.493Z] 18:48:54     INFO -             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-07-08T18:48:54.493Z] 18:48:54     INFO -    File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/repackage-deb/lib/python3.11/site-packages/babel/core.py", line 330, in parse
[task 2024-07-08T18:48:54.494Z] 18:48:54     INFO -      parts = parse_locale(identifier, sep=sep)
[task 2024-07-08T18:48:54.494Z] 18:48:54     INFO -              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[task 2024-07-08T18:48:54.494Z] 18:48:54     INFO -    File "/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/repackage-deb/lib/python3.11/site-packages/babel/core.py", line 1261, in parse_locale
[task 2024-07-08T18:48:54.494Z] 18:48:54     INFO -      raise ValueError(f"{identifier!r} is not a valid locale identifier")
[task 2024-07-08T18:48:54.610Z] 18:48:54     INFO - Return code: 1
[task 2024-07-08T18:48:54.610Z] 18:48:54    ERROR - 1 not in success codes: [0]
[task 2024-07-08T18:48:54.610Z] 18:48:54  WARNING - setting return code to 2
[task 2024-07-08T18:48:54.610Z] 18:48:54    FATAL - Halting on failure while running ['/builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/common/bin/python', 'mach', '--log-no-times', 'repackage', 'deb', '--arch', 'x86_64', '--templates', 'browser/installer/linux/app/debian', '--version', '129.0b1', '--build-number', '1', '--release-product', 'firefox', '--release-type', 'beta', '--input', '/builds/worker/fetches/target.tar.bz2', '--output', '/builds/worker/workspace/outputs/target.deb']
[task 2024-07-08T18:48:54.610Z] 18:48:54    FATAL - Running post_fatal callback...
[task 2024-07-08T18:48:54.610Z] 18:48:54    FATAL - Exiting 2
INFO - [mozharness: 2024-07-08 18:48:54.610932Z] Finished repackage step (failed)
[taskcluster 2024-07-08 18:48:55.213Z] === Task Finished ===
[taskcluster 2024-07-08 18:48:55.247Z] Artifact "public/build" not found at "/builds/worker/artifacts/": (HTTP code 404) no such container - Could not find the file /builds/worker/artifacts/ in container eb112186d53727b5cb560b5492137438e8eee754d6525d9eb9af98d10e46ea64 
[taskcluster 2024-07-08 18:48:55.249Z] Artifact "public/build/target.deb" not found at "/builds/worker/workspace/outputs/target.deb": (HTTP code 404) no such container - Could not find the file /builds/worker/workspace/outputs/target.deb in container eb112186d53727b5cb560b5492137438e8eee754d6525d9eb9af98d10e46ea64 
[taskcluster 2024-07-08 18:48:55.474Z] Unsuccessful task run with exit code: 2 completed in 307.461 seconds

Should fix deb repacks.

Assignee: nobody → bhearsum
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Pushed by bhearsum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/23a3de4291bc don't add linux64-aarch64 to ja-JP-mac in l10n-changesets.json r=releng-reviewers,ahal
Keywords: regression
Regressed by: 1901587
See Also: → 1916485

Set release status flags based on info from the regressing bug 1901587

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: