Page MenuHomePhabricator

Fix "Entry point ('console_scripts', 'tox') not found" on new slaves running Ubuntu Precise
Closed, ResolvedPublic

Description

https://integration.wikimedia.org/ci/job/operations-puppet-tox-data_admin_lint/13443/console

17:07:23 Building remotely on integration-slave1201
..
17:07:43 [operations-puppet-tox-data_admin_lint] $ /bin/bash -xe /tmp/hudson2206027044678368832.sh
17:07:43 + rm -fR log
17:07:43 + mkdir -p log
17:07:43 + set -o pipefail
17:07:43 + tee log/data_admin_lint.log
17:07:43 + PY_COLORS=1
17:07:43 + tox -v -e data_admin_lint
17:07:43 Traceback (most recent call last):
17:07:43   File "/usr/local/bin/tox", line 9, in <module>
17:07:43     load_entry_point('tox==1.9.0', 'console_scripts', 'tox')()
17:07:43   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 337, in load_entry_point
17:07:43     return get_distribution(dist).load_entry_point(group, name)
17:07:43   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2278, in load_entry_point
17:07:43     raise ImportError("Entry point %r not found" % ((group,name),))
17:07:43 ImportError: Entry point ('console_scripts', 'tox') not found
17:07:43 Build step 'Execute shell' marked build as failure

Event Timeline

Krinkle claimed this task.
Krinkle raised the priority of this task from to High.
Krinkle updated the task description. (Show Details)
Krinkle added subscribers: Krinkle, Aklapper.
Krinkle set Security to None.
Krinkle renamed this task from Fix "ImportError: Entry point ('console_scripts', 'tox') not found" on integration-slave12xx instances to Fix "Entry point ('console_scripts', 'tox') not found" on new slaves running Ubuntu Precise.Mar 11 2015, 3:19 PM

Should be tried again on a fresh Precise instance. I am pretty sure that was caused by tox installation to be readable only by root (due to uname)

Krinkle claimed this task.