Closed Bug 1843457 Opened 3 years ago Closed 3 years ago

Perma condprof ModuleNotFoundError: No module named 'yaml'

Categories

(Firefox Build System :: Task Configuration, defect)

defect

Tracking

(firefox-esr102 unaffected, firefox-esr115 unaffected, firefox115 unaffected, firefox116 unaffected, firefox117 fixed)

RESOLVED FIXED
117 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox115 --- unaffected
firefox116 --- unaffected
firefox117 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

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


[task 2023-07-14T00:11:35.398Z] Could not fetch URL https://pypi.org/simple/aiohttp/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/aiohttp/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
[task 2023-07-14T00:11:35.401Z] ERROR: Could not find a version that satisfies the requirement aiohttp==3.7.4 (from versions: none)
[task 2023-07-14T00:11:35.401Z] ERROR: No matching distribution found for aiohttp==3.7.4
[task 2023-07-14T00:11:35.403Z] WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
[task 2023-07-14T00:11:35.405Z] Could not fetch URL https://pypi.pub.build.mozilla.org/pub/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.pub.build.mozilla.org', port=443): Max retries exceeded with url: /pub/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
[task 2023-07-14T00:11:35.406Z] Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
[task 2023-07-14T00:11:35.444Z] Traceback (most recent call last):
[task 2023-07-14T00:11:35.445Z]   File "/opt/worker/tasks/task_168929322066697/fetches/condprofile/condprof/../condprof/check_install.py", line 20, in install_reqs
[task 2023-07-14T00:11:35.445Z]     import yaml  # NOQA
[task 2023-07-14T00:11:35.445Z] ModuleNotFoundError: No module named 'yaml'
[task 2023-07-14T00:11:35.445Z] 
[task 2023-07-14T00:11:35.445Z] During handling of the above exception, another exception occurred:
[task 2023-07-14T00:11:35.445Z] 
[task 2023-07-14T00:11:35.445Z] Traceback (most recent call last):
[task 2023-07-14T00:11:35.445Z]   File "condprof/main.py", line 17, in <module>
[task 2023-07-14T00:11:35.445Z]     check()
[task 2023-07-14T00:11:35.445Z]   File "/opt/worker/tasks/task_168929322066697/fetches/condprofile/condprof/../condprof/check_install.py", line 69, in check
[task 2023-07-14T00:11:35.445Z]     if install_reqs():
[task 2023-07-14T00:11:35.445Z]   File "/opt/worker/tasks/task_168929322066697/fetches/condprofile/condprof/../condprof/check_install.py", line 46, in install_reqs
[task 2023-07-14T00:11:35.445Z]     subprocess.check_call(
[task 2023-07-14T00:11:35.445Z]   File "/opt/worker/tasks/task_168929322066697/fetches/python/lib/python3.8/subprocess.py", line 364, in check_call
[task 2023-07-14T00:11:35.445Z]     raise CalledProcessError(retcode, cmd)
[task 2023-07-14T00:11:35.445Z] subprocess.CalledProcessError: Command '['/opt/worker/tasks/task_168929322066697/fetches/condprofile/bin/python3', '-m', 'pip', 'install', '--no-cache-dir', '--isolated', '--find-links', 'https://pypi.pub.build.mozilla.org/pub/', 'aiohttp==3.7.4']' returned non-zero exit status 1.
[taskcluster 2023-07-14T00:11:35.457Z]    Exit Code: 1
[taskcluster 2023-07-14T00:11:35.457Z]    User Time: 3.838545s
[taskcluster 2023-07-14T00:11:35.457Z]  Kernel Time: 2.368384s
[taskcluster 2023-07-14T00:11:35.457Z]    Wall Time: 29.721333s
[taskcluster 2023-07-14T00:11:35.457Z]       Result: FAILED
[taskcluster 2023-07-14T00:11:35.458Z] === Task Finished ===
[taskcluster 2023-07-14T00:11:35.458Z] Task Duration: 29.726121s
[taskcluster:error] Uploading error artifact public/condprof from file archive with message "Could not read directory '/opt/worker/tasks/task_168929322066697/archive'", reason "file-missing-on-worker" and expiry 2023-10-11T21:54:49.562Z
[taskcluster:error] TASK FAILURE during artifact upload: file-missing-on-worker: Could not read directory '/opt/worker/tasks/task_168929322066697/archive'
[taskcluster 2023-07-14T00:11:35.548Z] Uploading redirect artifact public/logs/live.log to URL https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/BdYQFg_9TTemi8_MyCDn8A/runs/0/artifacts/public%2Flogs%2Flive_backing.log with mime type "text/plain; charset=utf-8" and expiry 2023-10-11T21:54:49.562Z
[taskcluster:error] exit status 1
[taskcluster:error] file-missing-on-worker: Could not read directory '/opt/worker/tasks/task_168929322066697/archive'

Flags: needinfo?(sguelton)

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

Summary: Perma [Tier-2] ModuleNotFoundError: No module named 'yaml' → Perma condprof ModuleNotFoundError: No module named 'yaml'
Severity: S4 → --
Priority: P5 → --

IMO, bug 1843026 should be backed out as this has been broken for nearly a week now without any visible activity.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Flags: needinfo?(sguelton)
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.