Closed Bug 1664935 Opened 6 years ago Closed 6 years ago

Intermittent tier 2 subprocess.CalledProcessError: Command '['/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/python-test/bin/pip', 'install', '--requirement', '/builds/worker/checkouts/gecko/tools/lint/pyth

Categories

(Developer Infrastructure :: Lint and Formatting, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2020-09-14T21:34:01.503Z]  0:19.52 =========================== 1 passed in 1.89 seconds ===========================
[task 2020-09-14T21:34:02.261Z] WARNING: You are using pip version 19.3.1; however, version 20.2.3 is available.
[task 2020-09-14T21:34:02.261Z] You should consider upgrading via the 'pip install --upgrade pip' command.
[task 2020-09-14T21:34:03.099Z] ERROR: jsonschema 3.2.0 requires attrs>=17.4.0, which is not installed.
[task 2020-09-14T21:34:03.099Z] ERROR: jsonschema 3.2.0 requires pyrsistent>=0.14.0, which is not installed.
[task 2020-09-14T21:34:03.546Z]     ERROR: Command errored out with exit status 1:
[task 2020-09-14T21:34:03.547Z]      command: /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/python-test/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lw8tbq0c/wrapt/setup.py'"'"'; __file__='"'"'/tmp/pip-install-lw8tbq0c/wrapt/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-lw8tbq0c/wrapt/pip-egg-info
[task 2020-09-14T21:34:03.547Z]          cwd: /tmp/pip-install-lw8tbq0c/wrapt/
[task 2020-09-14T21:34:03.547Z]     Complete output (14 lines):
[task 2020-09-14T21:34:03.547Z]     Traceback (most recent call last):
[task 2020-09-14T21:34:03.547Z]       File "<string>", line 1, in <module>
[task 2020-09-14T21:34:03.548Z]       File "/builds/worker/checkouts/gecko/build/mach_bootstrap.py", line 503, in __call__
[task 2020-09-14T21:34:03.548Z]         module = self._original_import(name, globals, locals, fromlist, level)
[task 2020-09-14T21:34:03.548Z]       File "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/python-test/lib/python3.6/site-packages/setuptools/__init__.py", line 18, in <module>
[task 2020-09-14T21:34:03.548Z]       File "/builds/worker/checkouts/gecko/build/mach_bootstrap.py", line 503, in __call__
[task 2020-09-14T21:34:03.548Z]         module = self._original_import(name, globals, locals, fromlist, level)
[task 2020-09-14T21:34:03.548Z]       File "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/python-test/lib/python3.6/site-packages/setuptools/version.py", line 1, in <module>
[task 2020-09-14T21:34:03.548Z]       File "/builds/worker/checkouts/gecko/build/mach_bootstrap.py", line 503, in __call__
[task 2020-09-14T21:34:03.549Z]         module = self._original_import(name, globals, locals, fromlist, level)
[task 2020-09-14T21:34:03.549Z]       File "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/python-test/lib/python3.6/site-packages/pkg_resources/__init__.py", line 57, in <module>
[task 2020-09-14T21:34:03.549Z]       File "/builds/worker/checkouts/gecko/build/mach_bootstrap.py", line 503, in __call__
[task 2020-09-14T21:34:03.549Z]         module = self._original_import(name, globals, locals, fromlist, level)
[task 2020-09-14T21:34:03.549Z]     ModuleNotFoundError: No module named 'pkg_resources.extern'
[task 2020-09-14T21:34:03.549Z]     ----------------------------------------
[task 2020-09-14T21:34:03.554Z] ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
[task 2020-09-14T21:34:03.648Z] WARNING: You are using pip version 19.3.1; however, version 20.2.3 is available.
[task 2020-09-14T21:34:03.649Z] You should consider upgrading via the 'pip install --upgrade pip' command.
[task 2020-09-14T21:34:04.058Z] WARNING: You are using pip version 19.3.1; however, version 20.2.3 is available.
[task 2020-09-14T21:34:04.059Z] You should consider upgrading via the 'pip install --upgrade pip' command.
[task 2020-09-14T21:34:08.315Z] WARNING: You are using pip version 19.3.1; however, version 20.2.3 is available.
[task 2020-09-14T21:34:08.316Z] You should consider upgrading via the 'pip install --upgrade pip' command.
[task 2020-09-14T21:34:27.841Z] Test configuration changed. Regenerating backend.
[task 2020-09-14T21:34:27.841Z] No build detected, test metadata may be incomplete.
[task 2020-09-14T21:34:27.841Z] Error running mach:
[task 2020-09-14T21:34:27.841Z] 
[task 2020-09-14T21:34:27.841Z]     ['python-test', '--subsuite', 'mozlint', '--run-slow']
[task 2020-09-14T21:34:27.841Z] 
[task 2020-09-14T21:34:27.841Z] The error occurred in code that was called by the mach command. This is either
[task 2020-09-14T21:34:27.841Z] a bug in the called code itself or in the way that mach is calling it.
[task 2020-09-14T21:34:27.841Z] You can invoke |./mach busted| to check if this issue is already on file. If it
[task 2020-09-14T21:34:27.841Z] isn't, please use |./mach busted file python-test| to report it. If |./mach busted| is
[task 2020-09-14T21:34:27.841Z] misbehaving, you can also inspect the dependencies of bug 1543241.
[task 2020-09-14T21:34:27.841Z] 
[task 2020-09-14T21:34:27.841Z] If filing a bug, please include the full output of mach, including this error
[task 2020-09-14T21:34:27.841Z] message.
[task 2020-09-14T21:34:27.841Z] 
[task 2020-09-14T21:34:27.841Z] The details of the failure are as follows:
[task 2020-09-14T21:34:27.841Z] 
[task 2020-09-14T21:34:27.841Z] subprocess.CalledProcessError: Command '['/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/python-test/bin/pip', 'install', '--requirement', '/builds/worker/checkouts/gecko/tools/lint/python/pylint_requirements.txt', '--require-hashes', '--quiet']' returned non-zero exit status 1.
[task 2020-09-14T21:34:27.841Z] 
[task 2020-09-14T21:34:27.841Z]   File "/builds/worker/checkouts/gecko/python/mach_commands.py", line 128, in python_test
[task 2020-09-14T21:34:27.841Z]     return self.run_python_tests(*args, **kwargs)
[task 2020-09-14T21:34:27.841Z]   File "/builds/worker/checkouts/gecko/python/mach_commands.py", line 217, in run_python_tests
[task 2020-09-14T21:34:27.841Z]     return_code = on_test_finished(future.result())
[task 2020-09-14T21:34:27.841Z]   File "/usr/lib/python3.6/concurrent/futures/_base.py", line 425, in result
[task 2020-09-14T21:34:27.841Z]     return self.__get_result()
[task 2020-09-14T21:34:27.841Z]   File "/usr/lib/python3.6/concurrent/futures/_base.py", line 384, in __get_result
[task 2020-09-14T21:34:27.841Z]     raise self._exception
[task 2020-09-14T21:34:27.841Z]   File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
[task 2020-09-14T21:34:27.841Z]     result = self.fn(*self.args, **self.kwargs)
[task 2020-09-14T21:34:27.841Z]   File "/builds/worker/checkouts/gecko/python/mach_commands.py", line 238, in _run_python_test
[task 2020-09-14T21:34:27.842Z]     self.virtualenv_manager.install_pip_requirements(test['requirements'], quiet=True)
[task 2020-09-14T21:34:27.842Z]   File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/virtualenv.py", line 644, in install_pip_requirements
[task 2020-09-14T21:34:27.842Z]     return self._run_pip(args)
[task 2020-09-14T21:34:27.842Z]   File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/virtualenv.py", line 656, in _run_pip
[task 2020-09-14T21:34:27.842Z]     universal_newlines=PY3)
[task 2020-09-14T21:34:27.842Z]   File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
[task 2020-09-14T21:34:27.842Z]     raise CalledProcessError(retcode, cmd)
[taskcluster 2020-09-14 21:34:28.208Z] === Task Finished ===
[taskcluster 2020-09-14 21:34:28.208Z] Unsuccessful task run with exit code: 1 completed in 56.365 seconds```
Summary: Perma tier 2 subprocess.CalledProcessError: Command '['/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/python-test/bin/pip', 'install', '--requirement', '/builds/worker/checkouts/gecko/tools/lint/python/pylint_requirements.txt', '--req → Intermittent tier 2 subprocess.CalledProcessError: Command '['/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/python-test/bin/pip', 'install', '--requirement', '/builds/worker/checkouts/gecko/tools/lint/pyth
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.