Closed
Bug 1363715
Opened 9 years ago
Closed 9 years ago
mozharness expects /tools/buildbot/bin/python for talos
Categories
(Infrastructure & Operations :: RelOps: Puppet, task)
Infrastructure & Operations
RelOps: Puppet
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1357753
People
(Reporter: dustin, Assigned: dustin)
References
Details
06:12:30 INFO - Creating virtualenv /home/cltbld/workspace/build/venv
06:12:30 FATAL - The executable '/tools/buildbot/bin/python' is not found; not creating virtualenv!
Earlier in the log:
06:11:31 INFO - 'exes': {'python': '/tools/buildbot/bin/python',
06:11:31 INFO - 'tooltool.py': '/tools/tooltool.py',
06:11:31 INFO - 'virtualenv': ('/tools/buildbot/bin/python',
06:11:31 INFO - '/tools/misc-python/virtualenv.py')},
so probably fixing that is the right first step. Note that on Ubuntu we use the system Python anyway (2.7.12), so letting mozharness use PATH is just fine.
I *think* that may be as simple as adding the remove_exe's mozharness config.
| Assignee | ||
Comment 1•9 years ago
|
||
The talos definitions appear to already have remove_executables.py in MOZHARNESS_CONFIG, but the task I was testing with did not. So I've started
https://tools.taskcluster.net/task-inspector/#Hn6ZzgLkSUGKFUtqjfj5dA/
with that added to MOZHARNESS_CONFIG, and also pushed a new try job,
https://treeherder.mozilla.org/#/jobs?repo=try&revision=8d1c6d05d1e54431ae4429d0c35edcd8386852a2
to see how that defines things.
| Assignee | ||
Comment 2•9 years ago
|
||
https://tools.taskcluster.net/task-inspector/#Hn6ZzgLkSUGKFUtqjfj5dA/ failed because it can't find tooltool. Ugh. That reminded me why I removed remove_executables.py. So I think we need to parse that out a little more precisely in mozharness. The try job didn't have `-w` so it ran on Buildbot, oops.
| Assignee | ||
Comment 3•9 years ago
|
||
08:33:43 INFO - retry: Calling run_command with args: (['tooltool.py', '--url', 'https://api.pub.build.mozilla.org/tooltool/', '--authentication-file', '/builds/relengapi.tok', 'fetch', '-m', '/home/cltbld/workspace/build/tests/talos/tp5n-pageset.manifest', '-o', '-c', '/builds/tooltool_cache'],), kwargs: {'output_timeout': 600, 'error_list': [{'substr': 'command not found', 'level': 'error'}, {'regex': <_sre.SRE_Pattern object at 0x7fb1533312c0>, 'level': 'warning'}, {'substr': 'Traceback (most recent call last)', 'level': 'error'}, {'substr': 'SyntaxError: ', 'level': 'error'}, {'substr': 'TypeError: ', 'level': 'error'}, {'substr': 'NameError: ', 'level': 'error'}, {'substr': 'ZeroDivisionError: ', 'level': 'error'}, {'regex': <_sre.SRE_Pattern object at 0x7fb155316438>, 'level': 'critical'}, {'regex': <_sre.SRE_Pattern object at 0x7fb1551b08b8>, 'level': 'critical'}, {'substr': 'ERROR - ', 'level': 'error'}], 'cwd': '/home/cltbld/workspace/build/tests/talos/talos/tests', 'privileged': False}, attempt #1
| Assignee | ||
Comment 4•9 years ago
|
||
(Dustin J. Mitchell [:dustin] from bug 1357753 comment #6)
> I suspect that's due to the presence of the remove_executables mozharness
> config, which removes
> 09:59:23 INFO - 'exes': {'python': '/tools/buildbot/bin/python',
> 09:59:23 INFO - 'tooltool.py': '/tools/tooltool.py',
> 09:59:23 INFO - 'virtualenv': ('/tools/buildbot/bin/python',
> 09:59:23 INFO -
> '/tools/misc-python/virtualenv.py')},
| Assignee | ||
Comment 5•9 years ago
|
||
I'll solve this in the stuff to land in bug 1357753
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•