[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2378: the test-from-egg buildstep has started failing on all builders
Tahoe-LAFS
trac at tahoe-lafs.org
Thu Feb 26 01:56:25 UTC 2015
#2378: the test-from-egg buildstep has started failing on all builders
-------------------------+-------------------------------------------------
Reporter: daira | Owner: daira
Type: defect | Status: assigned
Priority: major | Milestone: 1.10.1
Component: | Version: 1.10.0
packaging | Keywords: buildbot test-from-egg blocks-
Resolution: | release
Launchpad Bug: |
-------------------------+-------------------------------------------------
Comment (by warner):
Cool. I'm hesitant to change our setup.py too much right now, but after
the release let's remove that stuff and see what happens.
I've experimented some more, and I don't know why easy_install isn't
putting a Twisted egg into the egginstdir. It might have to do with the
buildslave using distribute-0.6.10 (I'm using setuptools-12.1 here and it
installs a twisted egg when Twisted isn't already installed in /usr/lib).
It might be that running easy_install from the source directory, where
there's a twisted.egg sitting, might trick it into thinking that twisted
is generally available. It might also involve an apparent bug in buildbot,
since I see the `InstallToEgg` buildstep is using:
{{{
kwargs['env'] = {"PYTHONPATH": egginstalldir}
}}}
but easy_install sees `PYTHONPATH=egginstalldir:` (probably the result of
a lazy join.. `egginstalldir+":"+os.environ.get("PYTHONPATH","")`). The
extra colon (or, rather, the empty component once you `pp.split(":")`)
causes the current directory to be added to the PYTHONPATH. And maybe it's
somehow seeing the twisted .egg there, so not bothering to install a new
one into the install dir.
I'm going to try doing the install from a temporary directory, to see if
that helps.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2378#comment:10>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list