[Buildbot] #3198: Tests fail while building Buildbot package for CentOS 6.6

Buildbot trac trac at buildbot.net
Fri Feb 13 19:23:42 UTC 2015


#3198: Tests fail while building Buildbot package for CentOS 6.6
-----------------------------+--------------------
Reporter:  sa2ajj            |       Owner:
    Type:  defect            |      Status:  new
Priority:  patches-accepted  |   Milestone:  0.9.+
 Version:  0.8.10            |  Resolution:
Keywords:                    |
-----------------------------+--------------------
Changes (by sa2ajj):

 * priority:  major => patches-accepted
 * milestone:  0.8.x => 0.9.+


Comment:

 After the investigation, the problem turned out to be the result of how
 [http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IReactorProcess.html
 reactor.spawnProcess] handles the `env` parameter.

 The way how SCL "enables" the python is by updating `PATH` and
 `LD_LIBRARY_PATH` environment variables, which are not passed to the child
 processes that actually require them to be present (more specifically,
 `LD_LIBRARY_PATH` is required to find proper dynamic libraries).

 The proper fix for this problem seems to be:

 * to create a Buildbot function to spawn processes with very well
 documented semantics of environment handling
 * make sure that this function is used through out the code
 * make sure that this function is used by test cases

 Any other approach will not be a "proper" fix.

 Since this would require a rather substantial changes (and these changes
 are not exactly the same for master and eight branches), I change the
 milestone to 0.9.0+ and priority to "patches-accepted" (and these are very
 welcome).

--
Ticket URL: <http://trac.buildbot.net/ticket/3198#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list