Closed Bug 1843219 Opened 2 years ago Closed 2 years ago

Perma [tier 2] bootstrap opensuse-tumbleweed subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 2.

Categories

(Firefox Build System :: Bootstrap Configuration, defect, P5)

defect

Tracking

(firefox117 fixed)

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

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


  File "/mozilla-unified/testing/mozbase/mozinfo/mozinfo/mozinfo.py", line 120, in <module>
    output = linux_distribution()
             ^^^^^^^^^^^^^^^^^^^^
  File "/mozilla-unified/third_party/python/distro/distro.py", line 122, in linux_distribution
    return _distro.linux_distribution(full_distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mozilla-unified/third_party/python/distro/distro.py", line 677, in linux_distribution
    self.version(),
    ^^^^^^^^^^^^^^
  File "/mozilla-unified/third_party/python/distro/distro.py", line 737, in version
    self.lsb_release_attr('release'),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mozilla-unified/third_party/python/distro/distro.py", line 899, in lsb_release_attr
    return self._lsb_release_info.get(attribute, '')
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/mozilla-unified/third_party/python/distro/distro.py", line 552, in __get__
    ret = obj.__dict__[self._fname] = self._f(obj)
                                      ^^^^^^^^^^^^
  File "/mozilla-unified/third_party/python/distro/distro.py", line 1012, in _lsb_release_info
    stdout = subprocess.check_output(cmd, stderr=devnull)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 2.
[taskcluster 2023-07-13 02:49:39.473Z] === Task Finished ===
[taskcluster 2023-07-13 02:49:39.474Z] Unsuccessful task run with exit code: 1 completed in 146.243 seconds
Flags: needinfo?(mh+mozilla)

For some reason, on opensuse-tumbleweed, lsb_release is busted. It
exists, but fails. That situation is not handled by distro 1.4.0. That
was fixed in later versions. Upgrade to 1.8.0, which is the latest
version.

Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Attachment #9343640 - Attachment description: Bug 1843219 - Update distro to 1.8.0. → Bug 1843219 - Update distro to 1.8.0. r?#build
Flags: needinfo?(mh+mozilla)
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/deb926784af7 Update distro to 1.8.0. r=firefox-build-system-reviewers,sergesanspaille
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/c22bc82a349a Update distro to 1.8.0. r=firefox-build-system-reviewers,sergesanspaille
Flags: needinfo?(mh+mozilla)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: