[Buildbot] #3070: buildbot try hangs under Windows
Buildbot trac
trac at buildbot.net
Tue Nov 25 23:21:06 UTC 2014
#3070: buildbot try hangs under Windows
-------------------+-----------------------
Reporter: VZ | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.8.9 | Keywords:
-------------------+-----------------------
I have buildbot 0.8.9-2 from Debian testing running under Linux and am
trying to submit a patch for testing to it using `buildbot try` from
Windows 7. Initially I used Cygwin Python and installed buildbot using pip
there, but this didn't work at all:
{{{
# the options are specified in a config file and are presumably good
# as they work when using buildbot try under Linux
buildbot --verbose try
2014-11-25 23:47:11+0100 [-] Log opened.
2014-11-25 23:47:11+0100 [-] using 'ssh' connect method
... nothing any more ...
}}}
Even with `--dryrun`, nothing happens. A bit of debugging shows that it
runs `git branch` but there is nothing after this, i.e. no file/network
activity at all.
Next I tried the with the native Python 2.7.8 (32 bit version), using
`easy-install`. Things were slightly better with it: with `--dryrun`
things seem to work as expected, i.e. I see the "job created" message,
followed by the job description including the diff and "job has been
delivered" at the end. However without `--dryrun` it hangs again. This
time I see that it runs ssh and, if I hack `tryclient.py` to use `ssh -v`
command, I can even see that it connects to the master successfully:
{{{
2014-11-26 00:14:24+0100 [-] Log opened.
2014-11-26 00:14:24+0100 [-] using 'ssh' connect method
2014-11-26 00:14:25+0100 [-] job created
...ssh output snipped ...
2014-11-26 00:14:25+0100 [-] debug1: Sending command: buildbot tryserver
--jobdir /var/lib/buildbot/master/jobdir
}}}
but nothing happens afterwards, there is no network traffic and the python
process just loops inside select as far as I can see under the debugger.
Finally, I tried the sources from git, but they exhibit the same
behaviour.
I have no idea what to do next, I tried following the code but got
completely lost in the twisted callback logic (I love irony as much as
anybody else but I do have to wonder if it's really such a great idea for
a framework...). I would be very grateful for any pointers, TIA!
--
Ticket URL: <http://trac.buildbot.net/ticket/3070>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list