Closed Bug 1698453 Opened 5 years ago Closed 5 years ago

Perma funsize update generator failure: Intermittent ModuleNotFoundError: No module named 'importlib.metadata'

Categories

(Release Engineering :: Release Automation, defect, P5)

Tracking

(firefox88 fixed)

RESOLVED FIXED
Tracking Status
firefox88 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

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


Found existing installation: pip 9.0.1
    Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
Successfully installed click-7.1.2 pip-21.0.1 pip-tools-6.0.0
~/mozilla-central/taskcluster/docker/funsize-update-generator ~
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/meta.py", line 10, in <module>
    import importlib.metadata as imp_meta
ModuleNotFoundError: No module named 'importlib.metadata'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/bin/pip-compile", line 7, in <module>
    from piptools.scripts.compile import cli
  File "/usr/local/lib/python3.6/dist-packages/piptools/scripts/compile.py", line 12, in <module>
    from pip._vendor.pep517 import meta
  File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/meta.py", line 12, in <module>
    import importlib_metadata as imp_meta
ModuleNotFoundError: No module named 'importlib_metadata'
[taskcluster 2021-03-15 10:13:14.902Z] === Task Finished ===
[taskcluster 2021-03-15 10:13:14.961Z] Artifact "public/build/requirements.txt.diff" not found at "/home/worker/artifacts/requirements.txt.diff"
[taskcluster 2021-03-15 10:13:15.049Z] Unsuccessful task run with exit code: 1 completed in 225.968 seconds```
Flags: needinfo?(choller)

pip-tools upgraded from 5.5.0 to 6.0.0

Component: Task Configuration → Release Automation: Updates
Flags: needinfo?(choller) → needinfo?(mtabara)
Product: Firefox Build System → Release Engineering
QA Contact: mtabara
Summary: Intermittent ModuleNotFoundError: No module named 'importlib.metadata' → Perma funsize update generator failure: Intermittent ModuleNotFoundError: No module named 'importlib.metadata'

pip-tools 6.0.0 breaks due to a missing importlib-metadata in <py38, plus it removes --index and --no-index from pip-compile. Let's pin our pip-tools version to avoid future bustage like this.

Assignee: nobody → aki
Status: NEW → ASSIGNED
Flags: needinfo?(mtabara)
Pushed by asasaki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c88ea43d3675 pin python-dependency-update pip-tools r=releng-reviewers,bhearsum
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Component: Release Automation: Updates → Release Automation
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: