Apparently ubuntu3 doesn't have 'pip' installed, so our jenkin's script can't 
pull down tox and run the python-tox-test.

Assuming ubuntu3 is really old, it probably doesn't have python3 installed 
either (just a guess).  So even if we had pip/tox installed, the tests would 
only run under python2 anyways.


-K

----- Original Message -----
> From: "Robbie Gemmell" <[email protected]>
> To: [email protected]
> Sent: Thursday, July 9, 2015 9:45:10 AM
> Subject: Re: Proton Devs using Linux: please run the python-tox-test unit 
> tests!!
> 
> One thing that may or may not come up is that the job on the ASF
> Jenkins is tied to run only on the 'legacy-ubuntu' label currently,
> which only includes the old ubuntu3 node. All the other Ubuntu nodes
> are newer but the build was failing on many of them due to needing
> packages installed, so it isnt running on those currently.
> 
> Robbie
> 
> On 8 July 2015 at 18:30, Dominic Evans <[email protected]> wrote:
> >
> > I do have an unpushed change that partially enables it for travis. I'll
> > push later tonight.
> >
> >> On 8 Jul 2015, at 18:27, Ken Giusti <[email protected]> wrote:
> >>
> >> Good point, I'll see what I can do on that front.
> >>
> >>
> >> ----- Original Message -----
> >>> From: "Robbie Gemmell" <[email protected]>
> >>> To: [email protected]
> >>> Sent: Wednesday, July 8, 2015 12:21:57 PM
> >>> Subject: Re: Proton Devs using Linux: please run the python-tox-test
> > unit tests!!
> >>>
> >>>> On 8 July 2015 at 15:48, Ken Giusti <[email protected]> wrote:
> >>>>
> >>>> Devs,
> >>>>
> >>>> As you probably know, I've pushed changes to the proton python bindings
> >>>> that make proton compatible with python3.
> >>>>
> >>>> Since then, I've hit bugs in the python3 stuff that could've been
> > caught by
> >>>> running the above unit test on a linux system that has python3
> > installed.
> >>>>
> >>>> This test currently only runs on linux, and requires both python3 and
> > extra
> >>>> python tools be installed in order to run it.  I suspect most devs
> > don't
> >>>> have these tools installed by default.   If the tools are not available
> > -
> >>>> or are not current - ctest will skip running these tests.
> >>>>
> >>>> Most current linux distros - I'm running Fedora 21 btw - support
> > installing
> >>>> both python2.x and python3.x in parallel.  Most default to just having
> >>>> python 2.x installed - you usually have to install python3 manually.
> >>>>
> >>>> Once you have python3 installed, you will also need to have an
> > up-to-date
> >>>> version of the 'tox' and 'virtualenv' tools installed.
> >>>>
> >>>> For example, on my F21 box:  "sudo yum install python-tox
> >>>> python-virtualenv"  does the trick.
> >>>>
> >>>> Note: the unit tests require version 1.7+ of python-tox.  If that isn't
> >>>> available to you, you can use 'python-pip' to either overwrite the
> >>>> installed version of tox with a newer one, or install a local copy of
> > tox
> >>>> in your home directory:
> >>>>
> >>>> $ sudo pip install -U tox   # this overwrites
> >>>> or
> >>>> $ pip install --user -U tox  # will put tox in ~/.local - you'll have
> > to
> >>>> update your PATH/PYTHONPATH to look there
> >>>>
> >>>> Once all that is done, a simple 'make test' should run the
> > python-tox-test.
> >>>>
> >>>>
> >>>> Doing all this is optional, and will increase the time it takes to run
> > the
> >>>> unit tests, but it prevent inadvertent regressions to the python3
> > support.
> >>>> And it will greatly appreciated by yours truly!
> >>>>
> >>>> thanks all,
> >>>>
> >>>> -K
> >>>
> >>>
> >>> It would probably help if some or all of the CI environments (ASF
> >>> Jenkins, Travis CI, Appveyor) we have checking thing over were set up
> >>> to do this.
> >>>
> >>> Robbie
> >>
> >> --
> >> -K
> >>
> >
> 

-- 
-K

Reply via email to