Chris Withers | 2 Jul 2012 21:00
Picon

Re: Weird problem with Jenkins: ShiningPanda plugin and Tox, but not tox on its own...

Hi Olivier,

(re-sent to keep TIP in the loop)

On 02/07/2012 09:05, Olivier Mansion wrote:
> I checked with tox 1.4 on shiningpanda.com <http://shiningpanda.com> and
> it works pretty well.

Have you tried using virtualenvs for the underlying pythons?

I have to, for various arcane reasons...
(Mac OS X shipping with broken system Pythons, Debian likewise needing 
massaging)

Here's my Python Home for each Python on the linux box:

/virtualenvs/py25
/virtualenvs/py26
/virtualenvs/py27

They live in the same place on Mac OS X.

> This is strange that distutils/__init__.py owns to root if your Jenkins
> slave does not run as root. Could you check if this is not a symbolic
> link (or its parent folder).

Indeed it is:

jenkins <at> server2:~/slave/workspace/checker-tox/PYTHON/2.7/label/linux/.tox/py2.7$ 
ls -lah lib/python2.7/distutils
(Continue reading)

Chris Withers | 3 Jul 2012 16:57
Picon

Re: Weird problem with Jenkins: ShiningPanda plugin and Tox, but not tox on its own...

Olivier (and Holger since its Tox that's actually having the issue, but 
only in the context of a ShiningPanda run),

One quick followup, but all the other questions/comments in my previous 
mail still apply:

On 02/07/2012 20:00, Chris Withers wrote:
> - trying to re-order the Pythons on the master as you describe above
> resulted in the following stack trace when I hit the "Save" button:

Actually, this is a bug with another plugin that I've worked around:

https://issues.jenkins-ci.org/browse/JENKINS-13114?focusedCommentId=164850#comment-164850

So, having changed the order of the Pythons in
Manage Jenkins->Configure System so that 2.7 is first, things change a 
little, but not much:

http://jenkins.simplistix.co.uk/job/checker-tox/19/
http://jenkins.simplistix.co.uk/job/testfixtures-tox/63/

...the Python 2.6 on Linux runs are now working, but all the runs on Mac 
OS X and Py 2.5/Py 2.7 on Linux all still fail with the error:

[mac] $ <jenkins home>/shiningpanda/jobs/227e69c0/tools/bin/python -c 
"import tox; tox.cmdline();" -c tox.ini --recreate
<tox label> create: <jenkins 
home>/workspace/checker-tox/PYTHON/≤version>/label/mac/.tox/<tox label>
<snip>
cmdargs=['<jenkins home>/shiningpanda/jobs/227e69c0/tools/bin/python', 
(Continue reading)


Gmane