Closed
Bug 1393344
Opened 7 years ago
Closed 7 years ago
Xpcshell and Mozmill tests broken on Linux (2017-08-24): The executable '/tools/virtualenv/bin/virtualenv' is not found; not creating virtualenv!
Categories
(Thunderbird :: Build Config, defect)
Thunderbird
Build Config
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 58.0
People
(Reporter: jorgk-bmo, Assigned: tomprince)
References
Details
(Whiteboard: [Thunderbird-testfailure: XZ Linux])
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
mozilla
:
review+
Sylvestre
:
approval-mozilla-beta+
|
Details |
The executable '/tools/virtualenv/bin/virtualenv' is not found; not creating virtualenv!
https://treeherder.mozilla.org/logviewer.html#?job_id=125384099&repo=comm-central&lineNumber=477
18:22:06 FATAL - The executable '/tools/virtualenv/bin/virtualenv' is not found; not creating virtualenv!
18:22:06 FATAL - Running post_fatal callback...
18:22:06 FATAL - Exiting -1
18:22:06 INFO - Running post-action listener: _resource_record_post_action
18:22:06 INFO - Running post-action listener: _start_resource_monitoring
18:22:06 ERROR - Exception during post-action for create-virtualenv: Traceback (most recent call last):
18:22:06 ERROR - File "/builds/slave/test/scripts/mozharness/base/script.py", line 2019, in run_action
18:22:06 ERROR - method(action, success=success and self.return_code == 0)
18:22:06 ERROR - File "/builds/slave/test/scripts/mozharness/base/python.py", line 575, in _start_resource_monitoring
18:22:06 ERROR - self.activate_virtualenv()
18:22:06 ERROR - File "/builds/slave/test/scripts/mozharness/base/python.py", line 496, in activate_virtualenv
18:22:06 ERROR - execfile(activate, dict(__file__=activate))
18:22:06 ERROR - IOError: [Errno 2] No such file or directory: '/builds/slave/test/build/venv/bin/activate_this.py'
18:22:06 INFO - [mozharness: 2017-08-24 01:22:06.745819Z] Finished create-virtualenv step (failed)
18:22:06 FATAL - Aborting due to failure in post-action listener.
18:22:06 FATAL - Running post_fatal callback...
18:22:06 FATAL - Exiting -1
First seen: Thu Aug 24, 2017, 1:57:56
M-C last good: c86b7150523c
M-C first bad: f0abd25e1f4a
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=c86b7150523c&tochange=f0abd25e1f4a
Looks like bug 1335353.
Reporter | ||
Comment 1•7 years ago
|
||
Aki, since Tom is currently not available, can you help us out here.
Flags: needinfo?(mozilla)
Flags: needinfo?(aki)
Comment 2•7 years ago
|
||
Dustin: shouldn't the bb osx testers have /tools/virtualenv/bin/virtualenv ?
Flags: needinfo?(aki) → needinfo?(dustin)
Comment 3•7 years ago
|
||
The TC OSX testers do, yes:
[root@t-yosemite-r7-0121.test.releng.scl3.mozilla.com ~]# ls /tools/virtualenv/bin/virtualenv
/tools/virtualenv/bin/virtualenv
But I guess t-yosemite-r7-0015 is still running BB and configured by a different puppet env.
[root@t-yosemite-r7-0015.test.releng.scl3.mozilla.com ~]# ls -al /tools/virtualenv/bin/virtualenv
ls: /tools/virtualenv/bin/virtualenv: No such file or directory
[root@t-yosemite-r7-0015.test.releng.scl3.mozilla.com ~]# which virtualenv
I don't think I *removed* anything, and in fact I added that package in toplevel::slave::releng https://hg.mozilla.org/build/puppet/rev/8e1788f19e8b
[root@t-yosemite-r7-0015.test.releng.scl3.mozilla.com ~]# grep tople /var/lib/puppet/classes.txt | sort
toplevel::base
toplevel::slave
toplevel::slave::releng
toplevel::slave::releng::test
toplevel::slave::releng::test::gpu
[root@t-yosemite-r7-0015.test.releng.scl3.mozilla.com ~]# grep puppet-agent /var/log/system.log | tail -n 1
Aug 24 11:12:47 t-yosemite-r7-0015.test.releng.scl3.mozilla.com puppet-agent[308]: Finished catalog run in 24.78 seconds
yet
[root@t-yosemite-r7-0015.test.releng.scl3.mozilla.com ~]# grep virtu /var/lib/puppet/classes.txt
python::virtualenv::settings
python::virtualenv::prerequisites
I don't see the node pinned to an environment, or with any specific config in moco-nodes.pp. I don't remember if there's a way to see which hg revision a catalog was generated against. Anyway, I think this needs investigation from someone of the puppet persuasion, because this isn't doing what it should be.
Flags: needinfo?(dustin)
Comment 4•7 years ago
|
||
Reopened bug 1335353; we need to install virtualenv on osx.
Depends on: 1335353
Reporter | ||
Comment 5•7 years ago
|
||
Something happened, so Mozmill and Xpcshell tests have returned to some Macs. So depending on the luck of the draw, some tests run on Mac, others don't.
Reporter | ||
Updated•7 years ago
|
Whiteboard: [Thunderbird-testfailure: XZ Linux,Mac]
Reporter | ||
Comment 6•7 years ago
|
||
Looks like tests are mostly running on Mac again.
Reporter | ||
Comment 7•7 years ago
|
||
Taking "Mac" out of the summary, since when Mac last compiled, see bug 1400533, the tests worked.
Summary: Xpcshell and Mozmill tests broken on Mac and Linux (2017-08-24): The executable '/tools/virtualenv/bin/virtualenv' is not found; not creating virtualenv! → Xpcshell and Mozmill tests broken on Linux (2017-08-24): The executable '/tools/virtualenv/bin/virtualenv' is not found; not creating virtualenv!
Reporter | ||
Updated•7 years ago
|
Severity: normal → critical
Whiteboard: [Thunderbird-testfailure: XZ Linux,Mac] → [Thunderbird-testfailure: XZ Linux]
Comment hidden (mozreview-request) |
Assignee | ||
Comment 9•7 years ago
|
||
It looks like this was probably broken by Bug 1335353 which changed the paths that mozharness looks for for virtualenv in.
Flags: needinfo?(mozilla)
Assignee | ||
Comment 10•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=2975d2dbdfa0dc821bbc48ff762609eb71805418
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=1f6d9d002a3f9a66f3633e38417760757684ba1a
Assignee: nobody → mozilla
Assignee | ||
Updated•7 years ago
|
Attachment #8910371 -
Flags: review?(aki)
Comment 11•7 years ago
|
||
mozreview-review |
Comment on attachment 8910371 [details]
Bug 1393344: Restore virtualenv paths for thunderbird buildbot builds on linux.
https://reviewboard.mozilla.org/r/181822/#review187542
Does /tools/buildbot exist anymore? If so, this should work. Might be worth a try-cc push... you'll need --buildbot in your try syntax.
Attachment #8910371 -
Flags: review?(aki) → review+
Assignee | ||
Comment 12•7 years ago
|
||
Unfortunately, I don't *think* this can be tested on try. Thunderbirds test builders unconditionally get mozilla-central@default's mozharness directory, so we can't test this until it lands on m-c.
Keywords: checkin-needed
Reporter | ||
Comment 13•7 years ago
|
||
Aryx, can you please land this on M-C.
Flags: needinfo?(aryx.bugmail)
Assignee | ||
Comment 14•7 years ago
|
||
Can we also get this uplifted to M-B?
Reporter | ||
Comment 15•7 years ago
|
||
Let's check whether it works first, then request uplift.
Comment 16•7 years ago
|
||
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/3c6d8d0c66f5
Restore virtualenv paths for thunderbird buildbot builds on linux. r=aki
Keywords: checkin-needed
Reporter | ||
Comment 17•7 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3c6d8d0c66f5
That worked :-)
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(aryx.bugmail)
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 58.0
Reporter | ||
Comment 18•7 years ago
|
||
Comment on attachment 8910371 [details]
Bug 1393344: Restore virtualenv paths for thunderbird buildbot builds on linux.
Approval Request Comment
[Feature/Bug causing the regression]: Bug 1335353 (?)
This just a build configuration thing that is needed for Thunderbird. Change here:
testing/mozharness/configs/unittests/thunderbird_buildbot.py
Firefox is not affected. It just missed the uplift to beta.
Attachment #8910371 -
Flags: approval-mozilla-beta?
Comment 19•7 years ago
|
||
Comment on attachment 8910371 [details]
Bug 1393344: Restore virtualenv paths for thunderbird buildbot builds on linux.
No impact on Firefox code, taking it to help our thunderbird friends!
Attachment #8910371 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
![]() |
||
Comment 20•7 years ago
|
||
bugherder |
Comment 21•7 years ago
|
||
bugherder uplift |
You need to log in
before you can comment on or make changes to this bug.
Description
•