Perma bootstrap ModuleNotFoundError: No module named 'zstandard' - SE
Categories
(Firefox Build System :: General, defect, P5)
Tracking
(firefox-esr115 fixed, firefox122 fixed)
People
(Reporter: intermittent-bug-filer, Assigned: glandium)
References
Details
(Keywords: intermittent-failure)
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr115+
|
Details | Review |
Filed by: csabou [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=439900027&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/G1UoCd82T66HrhhpwmCsBQ/runs/0/artifacts/public/logs/live_backing.log
Downloading... 77.6 %
Downloading... 81.3 %
Downloading... 85.0 %
Downloading... 92.4 %
Downloading... 96.1 %
Downloading... 100.0 %
Error running mach:
mach --log-no-times artifact toolchain --from-task HEkieD-hRgSW0JOglB0AeA:public/build/clang.tar.zst
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke ``./mach busted`` to check if this issue is already on file. If it
isn't, please use ``./mach busted file artifact`` to report it. If ``./mach busted`` is
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
ModuleNotFoundError: No module named 'zstandard'
File "/mozilla-unified/python/mozbuild/mozbuild/artifact_commands.py", line 590, in artifact_toolchain
unpack_file(local)
File "/mozilla-unified/python/mozbuild/mozbuild/action/tooltool.py", line 1008, in unpack_file
import zstandard
[taskcluster 2023-10-23 16:59:29.069Z] === Task Finished ===
[taskcluster 2023-10-23 16:59:29.069Z] Unsuccessful task run with exit code: 1 completed in 1332.392 seconds
Assignee | ||
Comment 1•2 years ago
|
||
Other relevant log that precedes:
ERROR: Exception:
Traceback (most recent call last):
File "/mozilla-unified/third_party/python/pip/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper
status = run_func(*args)
^^^^^^^^^^^^^^^
File "/mozilla-unified/third_party/python/pip/pip/_internal/commands/list.py", line 169, in run
packages: "_ProcessedDists" = [
^
File "/mozilla-unified/third_party/python/pip/pip/_internal/metadata/base.py", line 664, in <genexpr>
return (d for d in it if d.canonical_name not in skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mozilla-unified/third_party/python/pip/pip/_internal/metadata/base.py", line 612, in iter_all_distributions
for dist in self._iter_distributions():
File "/mozilla-unified/third_party/python/pip/pip/_internal/metadata/importlib/_envs.py", line 176, in _iter_distributions
for dist in finder.find_eggs(location):
File "/mozilla-unified/third_party/python/pip/pip/_internal/metadata/importlib/_envs.py", line 144, in find_eggs
yield from self._find_eggs_in_dir(location)
File "/mozilla-unified/third_party/python/pip/pip/_internal/metadata/importlib/_envs.py", line 111, in _find_eggs_in_dir
from pip._vendor.pkg_resources import find_distributions
File "/mozilla-unified/third_party/python/pip/pip/_vendor/pkg_resources/__init__.py", line 2164, in <module>
register_finder(pkgutil.ImpImporter, find_on_path)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
IOW, there is a problem with the currently vendored version of pip.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
This is, in fact, the same thing as bug 1857470.
Assignee | ||
Comment 3•2 years ago
|
||
Actually, let's try fixing this without waiting for a full pip update.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
While bug 1857470 is set to fix the problem with a pip upgrade, it is
going to take some time. In the meanwhile, we can just do the minimal
thing that makes things work well enough for a build to go through.
Updated•2 years ago
|
Comment 5•2 years ago
|
||
It appears on Fedora as well: https://treeherder.mozilla.org/jobs?repo=mozilla-central&group_state=expanded&resultStatus=testfailed%2Cbusted%2Cexception%2Cusercancel&searchStr=fedora&revision=b74ed8e9d95a8907add8dd764ccc89be1c7ab99d&selectedTaskRun=VAlNP0cTQp2nmHNlgLS5Vg.0
Comment 7•2 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 9•1 years ago
|
||
While bug 1857470 is set to fix the problem with a pip upgrade, it is
going to take some time. In the meanwhile, we can just do the minimal
thing that makes things work well enough for a build to go through.
Original Revision: https://phabricator.services.mozilla.com/D196256
Updated•1 years ago
|
Updated•1 years ago
|
Updated•1 years ago
|
Comment 10•1 years ago
|
||
uplift |
Description
•