Closed Bug 1869944 Opened 7 months ago Closed 6 months ago

Permafailing snap-beta and stap-stable builds due to unexpected zstandard version

Categories

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

Unspecified
Linux
defect

Tracking

(firefox-esr115 fixed, firefox120 unaffected, firefox121 fixed, firefox122 fixed, firefox123 fixed)

RESOLVED FIXED
123 Branch
Tracking Status
firefox-esr115 --- fixed
firefox120 --- unaffected
firefox121 --- fixed
firefox122 --- fixed
firefox123 --- fixed

People

(Reporter: RyanVM, Assigned: glandium)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(2 files)

https://firefoxci.taskcluster-artifacts.net/VUOvkkNDSx-8ByP6L5NBuQ/1/public/logs/live_backing.log

:: zstandard<=0.19.0,>=0.11.1: Installed with unexpected version "0.22.0"
:: Creating global state directory from environment variable: /builds/worker/firefox-snap/parts/firefox/build/.mozbuild
:: Running "pip check" to verify compatibility between the system Python and the "mach" site.
:: Traceback (most recent call last):
::   File "/builds/worker/firefox-snap/parts/firefox/build/./mach", line 168, in <module>
::     main(sys.argv[1:])
::   File "/builds/worker/firefox-snap/parts/firefox/build/./mach", line 131, in main
::     mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)), args)
::   File "/builds/worker/firefox-snap/parts/firefox/build/./mach", line 38, in check_and_get_mach
::     return load_mach(dir_path, mach_path, args)
::   File "/builds/worker/firefox-snap/parts/firefox/build/./mach", line 24, in load_mach
::     return mach_initialize.initialize(dir_path, args)
::   File "/builds/worker/firefox-snap/parts/firefox/build/build/mach_initialize.py", line 164, in initialize
::     _activate_python_environment(
::   File "/builds/worker/firefox-snap/parts/firefox/build/build/mach_initialize.py", line 92, in _activate_python_environment
::     mach_environment.activate()
::   File "/builds/worker/firefox-snap/parts/firefox/build/python/mach/mach/site.py", line 369, in activate
::     self.ensure()
::   File "/builds/worker/firefox-snap/parts/firefox/build/python/mach/mach/site.py", line 347, in ensure
::     result = self._up_to_date()
::   File "/builds/worker/firefox-snap/parts/firefox/build/python/mach/mach/site.py", line 335, in _up_to_date
::     _assert_pip_check(self._sys_path(), "mach", self._requirements)
::   File "/builds/worker/firefox-snap/parts/firefox/build/python/mach/mach/site.py", line 1212, in _assert_pip_check
::     raise Exception(
:: Exception: The "mach" site is not compatible with the installed system Python packages.
'override-build' in part 'firefox' failed with code 1.
Review the scriptlet and make sure it's correct.
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED

I'll go with the easy fix for now, but we'll have to find something better to avoid having to do this every time we upgrade zstandard on central.

Keywords: leave-open

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

See Also: → 1870959
Keywords: leave-open

The system environment under which the snaps are built doesn't always
match the tree that is built. When the versions of system python
packages doesn't match what is in the tree (like when upgrading
zstandard in the docker image, and building an older tree that wants
an older version), we get in a troublesome situation.

So just rely on the mach virtualenv.

Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/8d822c618985
Let mach use the mach site when building snaps. r=firefox-build-system-reviewers,sergesanspaille
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: