Closed Bug 1743544 Opened 2 years ago Closed 2 years ago

Intermittent assert os.path.isfile(requirements_path)

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox-esr91 unaffected, firefox94 unaffected, firefox95 unaffected, firefox96 affected)

RESOLVED WORKSFORME
Tracking Status
firefox-esr91 --- unaffected
firefox94 --- unaffected
firefox95 --- unaffected
firefox96 --- affected

People

(Reporter: imoraru, Assigned: mhentges)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

The failure does not have any failure summary in treeherder.
Push where the failure appeared: https://treeherder.mozilla.org/jobs?repo=autoland&selectedTaskRun=HzHWbukzSxWR-iq4QOaI8Q.0&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception%2Crunnable&revision=2321b29067e0d39642d6b49097f7c31260667208
Failure log: https://firefox-ci-tc.services.mozilla.com/tasks/HzHWbukzSxWR-iq4QOaI8Q/runs/0/logs/public/logs/live.log

[task 2021-11-30T00:16:41.468Z] Creating default state directory: /builds/worker/.mozbuild
[task 2021-11-30T00:16:41.469Z] Creating local state directory: /builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69
[task 2021-11-30T00:16:42.351Z] Traceback (most recent call last):
[task 2021-11-30T00:16:42.351Z]   File "/builds/worker/checkouts/gecko/mach", line 126, in <module>
[task 2021-11-30T00:16:42.351Z]     main(sys.argv[1:])
[task 2021-11-30T00:16:42.351Z]   File "/builds/worker/checkouts/gecko/mach", line 118, in main
[task 2021-11-30T00:16:42.351Z]     mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)))
[task 2021-11-30T00:16:42.351Z]   File "/builds/worker/checkouts/gecko/mach", line 105, in check_and_get_mach
[task 2021-11-30T00:16:42.351Z]     return load_mach(dir_path, mach_path)
[task 2021-11-30T00:16:42.351Z]   File "/builds/worker/checkouts/gecko/mach", line 91, in load_mach
[task 2021-11-30T00:16:42.351Z]     return mach_initialize.initialize(dir_path)
[task 2021-11-30T00:16:42.351Z]   File "/builds/worker/checkouts/gecko/comm/build/mach_initialize.py", line 52, in initialize
[task 2021-11-30T00:16:42.351Z]     sys.path.extend(mach_sys_path(topsrcdir))
[task 2021-11-30T00:16:42.351Z]   File "/builds/worker/checkouts/gecko/comm/build/mach_initialize.py", line 34, in mach_sys_path
[task 2021-11-30T00:16:42.351Z]     requirements = MachEnvRequirements.from_requirements_definition(
[task 2021-11-30T00:16:42.351Z]   File "/builds/worker/checkouts/gecko/python/mach/mach/requirements.py", line 80, in from_requirements_definition
[task 2021-11-30T00:16:42.351Z]     _parse_mach_env_requirements(
[task 2021-11-30T00:16:42.351Z]   File "/builds/worker/checkouts/gecko/python/mach/mach/requirements.py", line 182, in _parse_mach_env_requirements
[task 2021-11-30T00:16:42.351Z]     _parse_requirements_definition_file(root_requirements_path, False)
[task 2021-11-30T00:16:42.351Z]   File "/builds/worker/checkouts/gecko/python/mach/mach/requirements.py", line 171, in _parse_requirements_definition_file
[task 2021-11-30T00:16:42.352Z]     assert os.path.isfile(requirements_path)
[task 2021-11-30T00:16:42.352Z] AssertionError
[taskcluster 2021-11-30 00:16:42.740Z] === Task Finished ===
[taskcluster 2021-11-30 00:16:42.885Z] Artifact "public/logs" not found at "/builds/worker/logs/"
[taskcluster 2021-11-30 00:16:42.973Z] Artifact "public/build" not found at "/builds/worker/artifacts/"
[taskcluster 2021-11-30 00:16:43.033Z] Unsuccessful task run with exit code: 1 completed in 34.787 seconds
Assignee: nobody → mhentges
Status: NEW → ASSIGNED
Keywords: leave-open

There's an intermittent assertion failure, but there isn't enough
information to diagnose. By having the "requirements_path" printed, we
will have additional information to resolve the underlying intermittent.

Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/04dfb51b8eb0
Improve "missing requirements file" error r=ahal

This hasn't failed in a while, I'm assuming it was related to Thunderbird checkouts hanging out during Thunderbird-less builds.

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: