Closed Bug 1821278 Opened 1 year ago Closed 1 year ago

Perma mozlint [tier 2] mach.site.InstallPipRequirementsException: Failed to install "/opt/worker/tasks/task_167835457649799/checkouts/gecko/tools/lint/rst/requirements.txt" into the "python-test" site.

Categories

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

Tracking

(firefox-esr102 unaffected, firefox110 unaffected, firefox111 unaffected, firefox112 fixed, firefox113 fixed)

RESOLVED FIXED
Tracking Status
firefox-esr102 --- unaffected
firefox110 --- unaffected
firefox111 --- unaffected
firefox112 --- fixed
firefox113 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


[task 2023-03-09T09:40:02.174Z] Collecting urllib3==1.26.9
[task 2023-03-09T09:40:02.174Z]   Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
[task 2023-03-09T09:40:02.174Z] Collecting pytz>=2015.7
[task 2023-03-09T09:40:02.174Z] ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
[task 2023-03-09T09:40:02.174Z]     pytz>=2015.7 from https://files.pythonhosted.org/packages/2e/09/fbd3c46dce130958ee8e0090f910f1fe39e502cc5ba0aadca1e8a2b932e5/pytz-2022.7.1-py2.py3-none-any.whl#sha256=78f4f37d8198e0627c5f1143240bb0206b8691d8d7ac6d78fee88b78733f8c4a (from babel==2.12.1->-r /opt/worker/tasks/task_167835457649799/checkouts/gecko/tools/lint/rst/requirements.txt (line 13))
[task 2023-03-09T09:40:02.174Z] 
[task 2023-03-09T09:40:02.174Z] Error running mach:
[task 2023-03-09T09:40:02.174Z] 
[task 2023-03-09T09:40:02.174Z]     ['python-test', '--subsuite', 'mozlint', '--run-slow']
[task 2023-03-09T09:40:02.174Z] 
[task 2023-03-09T09:40:02.174Z] The error occurred in code that was called by the mach command. This is either
[task 2023-03-09T09:40:02.174Z] a bug in the called code itself or in the way that mach is calling it.
[task 2023-03-09T09:40:02.174Z] You can invoke ``./mach busted`` to check if this issue is already on file. If it
[task 2023-03-09T09:40:02.174Z] isn't, please use ``./mach busted file python-test`` to report it. If ``./mach busted`` is
[task 2023-03-09T09:40:02.174Z] misbehaving, you can also inspect the dependencies of bug 1543241.
[task 2023-03-09T09:40:02.174Z] 
[task 2023-03-09T09:40:02.174Z] If filing a bug, please include the full output of mach, including this error
[task 2023-03-09T09:40:02.174Z] message.
[task 2023-03-09T09:40:02.174Z] 
[task 2023-03-09T09:40:02.174Z] The details of the failure are as follows:
[task 2023-03-09T09:40:02.174Z] 
[task 2023-03-09T09:40:02.174Z] mach.site.InstallPipRequirementsException: Failed to install "/opt/worker/tasks/task_167835457649799/checkouts/gecko/tools/lint/rst/requirements.txt" into the "python-test" site.
[task 2023-03-09T09:40:02.174Z] 
[task 2023-03-09T09:40:02.174Z]   File "/opt/worker/tasks/task_167835457649799/checkouts/gecko/python/mach_commands.py", line 143, in python_test
[task 2023-03-09T09:40:02.174Z]     return run_python_tests(command_context, *args, **kwargs)
[task 2023-03-09T09:40:02.174Z]   File "/opt/worker/tasks/task_167835457649799/checkouts/gecko/python/mach_commands.py", line 207, in run_python_tests
[task 2023-03-09T09:40:02.174Z]     test["requirements"], quiet=True
[task 2023-03-09T09:40:02.174Z]   File "/opt/worker/tasks/task_167835457649799/checkouts/gecko/python/mach/mach/site.py", line 658, in install_pip_requirements
[task 2023-03-09T09:40:02.174Z]     f'Failed to install "{path}" into the "{self._site_name}" site.'
[taskcluster 2023-03-09T09:40:02.285Z]    Exit Code: 1
[taskcluster 2023-03-09T09:40:02.285Z]    User Time: 6m0.58022s
[taskcluster 2023-03-09T09:40:02.285Z]  Kernel Time: 7m0.673214s
[taskcluster 2023-03-09T09:40:02.285Z]    Wall Time: 3m38.937086s
[taskcluster 2023-03-09T09:40:02.285Z]       Result: FAILED
[taskcluster 2023-03-09T09:40:02.285Z] === Task Finished ===
[taskcluster 2023-03-09T09:40:02.286Z] Task Duration: 3m38.941333s
[taskcluster 2023-03-09T09:40:02.286Z] [mounts] Preserving cache: Moving "/opt/worker/tasks/task_167835457649799/checkouts" to "/opt/worker/cache/fANThKpvRXSu8IsswLsBrQ"
[taskcluster 2023-03-09T09:40:02.533Z] Uploading redirect artifact public/logs/live.log to URL https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ULRV78TsSH6bmeijHyodSA/runs/0/artifacts/public%2Flogs%2Flive_backing.log with mime type "text/plain; charset=utf-8" and expiry 2023-06-07T09:34:42.570Z
[taskcluster:error] exit status 1

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

:ogiorgis, since you are the author of the regressor, bug 1820759, could you take a look?

For more information, please visit auto_nag documentation.

Attachment #9322071 - Attachment description: WIP: Bug 1821278 - fix markupsafe for lint venv WIP → WIP: Bug 1821278 - fix InstallPipRequirementsException between lint and python-test venv #linter-reviewers
Assignee: nobody → ogiorgis
Attachment #9322071 - Attachment description: WIP: Bug 1821278 - fix InstallPipRequirementsException between lint and python-test venv #linter-reviewers → Bug 1821278 - fix InstallPipRequirementsException between lint and python-test r=#linter-reviewers
Status: NEW → ASSIGNED

https://phabricator.services.mozilla.com/D172105
seems to correct the problem despite some failures, which seems to be due to CI inconsistencies.

Flags: needinfo?(ogiorgis)
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/43612d9f78b7
fix InstallPipRequirementsException between lint and python-test r=linter-reviewers,sylvestre DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: