Can't run raptor on MacOS
Categories
(Testing :: Raptor, defect, P1)
Tracking
(firefox-esr68 unaffected, firefox-esr78 unaffected, firefox79 unaffected, firefox80 disabled, firefox81 affected)
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | unaffected |
firefox79 | --- | unaffected |
firefox80 | --- | disabled |
firefox81 | --- | affected |
People
(Reporter: agi, Assigned: hamzah18051)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
These command fails on my machine:
./mach raptor --test raptor-tp6-amazon-firefox --verbose
...
19:43:10 FATAL - Can't find the virtualenv module
19:43:10 FATAL - Running post_fatal callback...
19:43:10 FATAL - Exiting -1
I tracked it down to a regression from Bug 1408051. Looks like {abs_src_dir}
is not defined in my build: https://searchfox.org/mozilla-central/rev/828f2319c0195d7f561ed35533aef6fe183e68e3/testing/mozharness/mozharness/base/python.py#365-378
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
From what I could understand is that the abs_src_dir
key is not set here(https://searchfox.org/mozilla-central/source/testing/mozharness/mozharness/mozilla/testing/raptor.py#446-455) that's why the command is failing because it's not able to find the virtualenv module due to a KeyError
Assignee | ||
Comment 2•4 years ago
|
||
I think this might work but it would be great if :ahal could also take a look at it
Updated•4 years ago
|
Updated•4 years ago
|
Comment 3•4 years ago
|
||
The fix in comment 2 looks reasonable to me. Hamzah, were you able to reproduce and confirm the fix works? Mind pushing a revision to phabricator? Thanks for looking into it!
Assignee | ||
Comment 4•4 years ago
|
||
Yeah, I was able to reproduce it on running the raptor command provided. The fix worked for me on mac, I even tested it on windows.
Assignee | ||
Comment 5•4 years ago
|
||
Updated•4 years ago
|
Comment 7•4 years ago
|
||
Backed out for mass failures on python.py
Backout link: https://hg.mozilla.org/integration/autoland/rev/3077c06189677d30a3e4e066dea97f2e083c6501
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=311200380&repo=autoland&lineNumber=806
Comment 8•4 years ago
|
||
Set release status flags based on info from the regressing bug 1408051
Updated•4 years ago
|
Comment 9•4 years ago
|
||
:kimberlythegeek can you run raptor on your mac system?
Comment 10•4 years ago
|
||
I can confirm that I don't hit this issue on Linux anymore (I hit the same issue on that platform).
Comment 11•4 years ago
|
||
Tested on MacOS 10.15.6 and did not experience any issues
Comment 12•4 years ago
|
||
Great, so it's working now. Closing this bug.
Assignee | ||
Updated•4 years ago
|
Description
•