Perma systemsymbols tasks: Exception: The "common" site is out-of-date, even though it has already been activated. Was it modified while this Mach process was running?
Categories
(Toolkit :: Crash Reporting, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox98 | --- | unaffected |
firefox99 | --- | unaffected |
firefox100 | --- | fixed |
People
(Reporter: NarcisB, Assigned: mhentges)
References
(Regression)
Details
(Keywords: intermittent-failure, regression)
Attachments
(3 files)
Log link:
https://treeherder.mozilla.org/logviewer?job_id=370621931&repo=mozilla-central&lineNumber=159
Log snippet:
[task 2022-03-11T00:24:09.718Z] created virtual environment CPython3.6.9.final.0-64 in 23ms
[task 2022-03-11T00:24:09.718Z] creator CPython3Posix(dest=/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/common, clear=False, no_vcs_ignore=False, global=False)
[task 2022-03-11T00:24:09.718Z] activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator
[task 2022-03-11T00:24:10.023Z] Traceback (most recent call last):
[task 2022-03-11T00:24:10.023Z] File "toolkit/crashreporter/tools/upload_symbols.py", line 260, in <module>
[task 2022-03-11T00:24:10.023Z] sys.exit(main())
[task 2022-03-11T00:24:10.023Z] File "toolkit/crashreporter/tools/upload_symbols.py", line 61, in main
[task 2022-03-11T00:24:10.023Z] config.activate_virtualenv()
[task 2022-03-11T00:24:10.023Z] File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/base.py", line 863, in activate_virtualenv
[task 2022-03-11T00:24:10.023Z] self.virtualenv_manager.activate()
[task 2022-03-11T00:24:10.023Z] File "/builds/worker/checkouts/gecko/python/mach/mach/site.py", line 552, in activate
[task 2022-03-11T00:24:10.023Z] self.ensure()
[task 2022-03-11T00:24:10.023Z] File "/builds/worker/checkouts/gecko/python/mach/mach/site.py", line 530, in ensure
[task 2022-03-11T00:24:10.023Z] f'The "{self._site_name}" site is out-of-date, even though it has '
[task 2022-03-11T00:24:10.023Z] Exception: The "common" site is out-of-date, even though it has already been activated. Was it modified while this Mach process was running?
[task 2022-03-11T00:24:10.053Z] Creating default state directory: /builds/worker/.mozbuild
[taskcluster 2022-03-11 00:24:10.396Z] === Task Finished ===
[taskcluster 2022-03-11 00:24:10.396Z] Unsuccessful task run with exit code: 1 completed in 153.653 seconds
Jon, could this be caused by Bug 1757956 ?
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
I highly doubt that this is a gsvelto-related issue :)
I'll dig in later today.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
The Mach site management has been significantly simplified
in mach_initialize.py
, so less of the MachSiteManager
API is used. Privatize such now-externally-unused functions,
and no longer return unneeded values.
Assignee | ||
Comment 3•3 years ago
|
||
There are cases in CI where sites are being considered out-of-date,
despite the situation being unexpected - for example, the
"site out-of-date even though already activated" issue described in
this patch's associated bug.
Return a reason
string from _is_venv_up_to_date()
, and print it in
cases where a virtualenv being out-of-date is erroneous.
Depends on D140854
Comment 4•3 years ago
|
||
(In reply to Mitchell Hentges [:mhentges] π¦ from comment #1)
I highly doubt that this is a gsvelto-related issue :)
I'll dig in later today.
Thanks! I'm in the process of making a significant overhaul of those tasks so I was super-puzzled that they broke even before I landed my changes :)
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
upload_symbols.py
is always executed within a Mach site (otherwise
activating the common
command site would fail), therefore
re-activating common
is redundant.
Depends on D140855
Comment hidden (Intermittent Failures Robot) |
Comment 9•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/13aef63ad6a5
https://hg.mozilla.org/mozilla-central/rev/5f18914637a3
https://hg.mozilla.org/mozilla-central/rev/412197c555c6
Comment 10•3 years ago
|
||
Backed out for causing symbol bustages.
- Backout link
- Push with failures
- Failure Log
- Failure line: ModuleNotFoundError: No module named 'zstandard'
Comment 12•3 years ago
|
||
Comment 13•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3d254d42ed23
https://hg.mozilla.org/mozilla-central/rev/c74d2b2bd792
https://hg.mozilla.org/mozilla-central/rev/43f7556db2e1
Updated•3 years ago
|
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Description
•