[Buildbot-commits] [Buildbot] #2454: SiGHUP doesn't always work

Buildbot trac trac at buildbot.net
Tue May 7 01:07:09 UTC 2013


#2454: SiGHUP doesn't always work
--------------------+------------------------
Reporter:  virgilg  |       Owner:
    Type:  defect   |      Status:  new
Priority:  major    |   Milestone:  undecided
 Version:  0.8.7p1  |  Resolution:
Keywords:           |
--------------------+------------------------

Comment (by virgilg):

 > your Buildbot is behaving in ways contrary to what the code says.
 I don't think I would be opening a bug if the code would do what it should
 :-)

 > The debugging code should definitely show up.
 It doesn't. Am I looking in the right place (twistd.log)?
 How about the strace and the hanging in the xstat64 I provided? Couldn't
 those happen _before_ they reach that code?
 (I said I hit this during e.g. a reconfigure - that code could simply have
 not run yet)

 >  That suggests that maybe you have multiple copies of the code on your
 system (assuming you've restarted the master since making that change).
 No, I don't have multiple copies.
 And yes, I've restarted the master (obviously).

 {{{
 # dpkg -L buildbot|grep eventual.py
 /usr/share/pyshared/buildbot/util/eventual.py
 /usr/share/pyshared/buildbot/test/unit/test_util_eventual.py
 /usr/lib/python2.6/dist-packages/buildbot/util/eventual.py
 /usr/lib/python2.6/dist-packages/buildbot/test/unit/test_util_eventual.py
 /usr/lib/python2.7/dist-packages/buildbot/util/eventual.py <- this is the
 file I added the debug code to, since my python version is 2.7
 /usr/lib/python2.7/dist-packages/buildbot/test/unit/test_util_eventual.py

 # which python
 /usr/bin/python

 # python --version
 Python 2.7.3

 # ps ax|grep -i twi
 10194 ?        Sl     0:15 /usr/bin/python -c from twisted.scripts import
 twistd; twistd.run() --no_save --logfile=twistd.log --python=buildbot.tac

 }}}

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


More information about the Commits mailing list