Closed Bug 1917408 Opened 1 year ago Closed 1 year ago

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

Categories

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

Tracking

(firefox-esr115 unaffected, firefox-esr128 unaffected, firefox130 unaffected, firefox131 unaffected, firefox132 fixed)

RESOLVED FIXED
132 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox130 --- unaffected
firefox131 --- unaffected
firefox132 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

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


[task 2024-09-07T09:35:38.671Z] Collecting alabaster==0.7.13 (from -r /opt/worker/tasks/task_172569694346034/checkouts/gecko/tools/lint/rst/requirements.txt (line 7))
[task 2024-09-07T09:35:38.671Z]   Using cached https://pypi.pub.build.mozilla.org/pub/alabaster-0.7.13-py3-none-any.whl (13 kB)
[task 2024-09-07T09:35:38.671Z] ERROR: Could not find a version that satisfies the requirement annotated-types==0.7.0 (from versions: none)
[task 2024-09-07T09:35:38.671Z] ERROR: No matching distribution found for annotated-types==0.7.0
[task 2024-09-07T09:35:38.671Z] 
[task 2024-09-07T09:35:38.671Z] Error running mach:
[task 2024-09-07T09:35:38.671Z] 
[task 2024-09-07T09:35:38.671Z]     mach python-test --subsuite mozlint --run-slow
[task 2024-09-07T09:35:38.671Z] 
[task 2024-09-07T09:35:38.671Z] The error occurred in code that was called by the mach command. This is either
[task 2024-09-07T09:35:38.671Z] a bug in the called code itself or in the way that mach is calling it.
[task 2024-09-07T09:35:38.671Z] You can invoke ``./mach busted`` to check if this issue is already on file. If it
[task 2024-09-07T09:35:38.671Z] isn't, please use ``./mach busted file python-test`` to report it. If ``./mach busted`` is
[task 2024-09-07T09:35:38.671Z] misbehaving, you can also inspect the dependencies of bug 1543241.
[task 2024-09-07T09:35:38.671Z] 
[task 2024-09-07T09:35:38.671Z] If filing a bug, please include the full output of mach, including this error
[task 2024-09-07T09:35:38.671Z] message.
[task 2024-09-07T09:35:38.671Z] 
[task 2024-09-07T09:35:38.671Z] The details of the failure are as follows:
[task 2024-09-07T09:35:38.671Z] 
[task 2024-09-07T09:35:38.671Z] mach.site.InstallPipRequirementsException: Failed to install "/opt/worker/tasks/task_172569694346034/checkouts/gecko/tools/lint/rst/requirements.txt" into the "python-test" site.
[task 2024-09-07T09:35:38.671Z] 
[task 2024-09-07T09:35:38.671Z]   File "/opt/worker/tasks/task_172569694346034/checkouts/gecko/python/mach_commands.py", line 143, in python_test
[task 2024-09-07T09:35:38.671Z]     return run_python_tests(command_context, *args, **kwargs)
[task 2024-09-07T09:35:38.671Z]   File "/opt/worker/tasks/task_172569694346034/checkouts/gecko/python/mach_commands.py", line 206, in run_python_tests
[task 2024-09-07T09:35:38.671Z]     command_context.virtualenv_manager.install_pip_requirements(
[task 2024-09-07T09:35:38.671Z]   File "/opt/worker/tasks/task_172569694346034/checkouts/gecko/python/mach/mach/site.py", line 656, in install_pip_requirements
[task 2024-09-07T09:35:38.671Z]     raise InstallPipRequirementsException(
[taskcluster 2024-09-07T09:35:38.769Z]    Exit Code: 1
[taskcluster 2024-09-07T09:35:38.769Z]    User Time: 6m35.211924s
[taskcluster 2024-09-07T09:35:38.769Z]  Kernel Time: 6m56.35326s
[taskcluster 2024-09-07T09:35:38.769Z]    Wall Time: 6m11.554128s
[taskcluster 2024-09-07T09:35:38.769Z]       Result: FAILED
[taskcluster 2024-09-07T09:35:38.770Z] === Task Finished ===
[taskcluster 2024-09-07T09:35:38.770Z] Task Duration: 6m11.559148s
[taskcluster 2024-09-07T09:35:38.770Z] [mounts] Preserving cache: Moving "/opt/worker/tasks/task_172569694346034/checkouts" to "/opt/worker/cache/f5rZGDm8Qg6UD9-YFwlAZQ"
[taskcluster 2024-09-07T09:35:38.905Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2024-12-06T09:28:18.224Z
[taskcluster:error] exit status 1
Keywords: regression
Regressed by: 1917163

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

:flod, since you are the author of the regressor, bug 1917163, could you take a look?

For more information, please visit BugBot documentation.

@ahal
Is this somehow related to bug 1917014?

Looking at the log, I'm surprised it's still looking at a different URL (pypi.pub.build.mozilla.org)

Collecting alabaster==0.7.13 (from -r /opt/worker/tasks/task_172569694346034/checkouts/gecko/tools/lint/rst/requirements.txt (line 7))
  Using cached https://pypi.pub.build.mozilla.org/pub/alabaster-0.7.13-py3-none-any.whl (13 kB)
ERROR: Could not find a version that satisfies the requirement annotated-types==0.7.0 (from versions: none)
ERROR: No matching distribution found for annotated-types==0.7.0

It doesn't look like a conflict/incompatibility problem, as the rst linter is the only code installing annotated-types.

Flags: needinfo?(francesco.lodolo) → needinfo?(ahal)

Oh, oops.. looks like my fix didn't actually work:
https://treeherder.mozilla.org/jobs?repo=autoland&revision=0dab6536ba4c3c135665a476508cd822dc67c4ad

Must have messed up my try push. Looks like pip has both --index-url and --find-links and the Mac workers are apparently setting the latter. I'll try again.

Flags: needinfo?(ahal)
Depends on: 1917014
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.