[Buildbot-commits] [SPAM] Re: [Buildbot] #664: sporadic connection lost problems

Buildbot buildbot-devel at lists.sourceforge.net
Mon Dec 28 00:41:57 UTC 2009


#664: sporadic connection lost problems
--------------------+-------------------------------------------------------
Reporter:  ddunbar  |        Owner:  ddunbar 
    Type:  defect   |       Status:  assigned
Priority:  major    |    Milestone:  0.8.+   
 Version:           |   Resolution:          
Keywords:           |  
--------------------+-------------------------------------------------------

Comment(by ddunbar):

 Attached a test case, its a config for a master + slave and a test script
 which will fork off a whole bunch of builds (which just print stuff to
 stdout). If I crank the number of builds high enough, this eventually
 falls over predictably.
 {{{
 (bb_test)ddunbar at giles:BB_664$ tar zxvf test_config.tgz
 x test_config/
 x test_config/master/
 x test_config/slave/
 x test_config/test.sh
 x test_config/slave/buildbot.tac
 x test_config/master/buildbot.tac
 x test_config/master/master.cfg
 x test_config/master/public_html/
 x test_config/master/public_html/buildbot.css
 x test_config/master/public_html/index.html
 x test_config/master/public_html/robots.txt
 (bb_test)ddunbar at giles:BB_664$ cd test_config
 (bb_test)ddunbar at giles:test_config$ ./test.sh 100
 2009-12-27_16-37: ./test.sh: stopping master and slave
 ...
 2009-12-27_16-37: ./test.sh: starting master
 2009-12-27_16-37: ./test.sh: starting slave
 2009-12-27_16-37: ./test.sh: starting 100 long running builds
 2009-12-27_16-37: ./test.sh: ... done
 2009-12-27_16-37: ./test.sh: downloading one build log
 ./test.sh: note: running 'time curl -o build.log
 http://localhost:8010/builders/builder_0001/builds/0/steps/shell/logs/stdio/text'
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100  838k    0  838k    0     0  1054k      0 --:--:-- --:--:-- --:--:--
 1055k

 real    0m0.802s
 user    0m0.004s
 sys     0m0.008s
 2009-12-27_16-37: ./test.sh: ... done
 2009-12-27_16-37: ./test.sh: checking build results
 ...
 2009-12-27_16-38: ./test.sh: ... done
 ./test.sh: error: 50 / 100 failed builders
 (bb_test)ddunbar at giles:test_config$
 }}}

 The example works on OS X, its not quite portable because of the use of
 'jot' and a 'timestamp' script:
 {{{
 (bb_test)ddunbar at giles:test_config$ cat ~/bin/timestamp
 #!/bin/sh
 date +"%Y-%m-%d_%H-%M"
 }}}

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


More information about the Commits mailing list