Closed Bug 1744122 Opened 2 years ago Closed 2 years ago

ctg (comm_taskgraph) unittests failing in CI

Categories

(Thunderbird :: Testing Infrastructure, defect)

defect

Tracking

(thunderbird_esr91 unaffected)

RESOLVED FIXED
96 Branch
Tracking Status
thunderbird_esr91 --- unaffected

People

(Reporter: rjl, Assigned: rjl)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Regression from Bug 1731160.

/builds/worker/checkouts/gecko/comm/taskcluster/comm_taskgraph/test/test_parameters.py
 Traceback (most recent call last):
   File "/builds/worker/checkouts/gecko/comm/taskcluster/comm_taskgraph/test/test_parameters.py", line 9, in <module>
     import comm_taskgraph.parameters  # noqa: F401

ModuleNotFoundError: No module named 'comm_taskgraph'

Fallout from bug 1731160 and 1731158.
The virtual environment that mach python-test sets up doesn't pick up
any of the python paths from comm/. This patch forces the issue. It seems
like there should be a way to automatically import conftest.py, but
I wasn't able to get that to work.

Target Milestone: --- → 96 Branch

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/20b8d21ec757
Fix sys.path for comm_taskgraph unittests. r=mkmelin

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

Attachment

General

Created:
Updated:
Size: