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

Chris Withers chris at simplistix.co.uk
Tue Jul 3 07:57:31 PDT 2012

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:


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:


...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>
cmdargs=['<jenkins home>/shiningpanda/jobs/227e69c0/tools/bin/python', 
'--distribute', '<tox label>']
'PATH': '/Users/Shared/Jenkins/Home/workspace/checker-tox/PYTHON/<python 

Using real prefix 
'/System/Library/Frameworks/Python.framework/Versions/<python label>'
New python executable in <tox label>/bin/python
Overwriting <tox label>/lib/python<python label>/distutils/__init__.py 
with new content
Traceback (most recent call last):
IOError: [Errno 13] Permission denied: '<tox label>/lib/python<python 

I'm still left wondering why on earth (at a guess) distribute wants to 
overwrite distutils/__init__.py?! (but please bear in mind my answers 
about symlinks in my previous mail).

Also, this never used to happen, so what changed? Tox? Distribute?
I don't think the problem is actually ShiningPanda code since it started 
happening before I upgraded ShiningPanda, but I'm hoping you can help, 
or at least reproduce, as I'm at a loss...



Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk

More information about the testing-in-python mailing list