[Buildbot-devel] buildbot from git hangs during setup until slave connects?

Dan Kegel dank at kegel.com
Fri Sep 28 17:37:46 UTC 2012


I have some more data.  Here's a small script to start a
buildmaster for the Gnu Hello project with a web status listener
and a slave listener, and then seeing if both ports are accepting
connections:

#!/bin/sh
i=0
gcc connect.c -o connect
sh master.sh stop hello > /dev/null
while true
do
   i=`expr $i + 1`
   time sh master.sh start hello | tail -n 3
   time ./connect 60020 60999
   time sh master.sh stop hello > /dev/null
   sleep 1
done

Running this for a minute or so and piping its output to "grep -i
connect | sort | uniq -c" yields:
     31 Connected to all 2 ports successfully
      7 Wanted to connect to 2 ports, but only connected to 1

So it's quite reproducible.  I'll try to work up a more portable test case.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: connect.c
Type: text/x-csrc
Size: 4532 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20120928/f6976772/attachment.bin>


More information about the devel mailing list