[Buildbot] #3081: buildbot.test.integration.test_try_client is flaky

Buildbot trac trac at buildbot.net
Thu Dec 25 02:39:18 UTC 2014


#3081: buildbot.test.integration.test_try_client is flaky
-------------------+-----------------------
Reporter:  Ben     |       Owner:  dustin
    Type:  defect  |      Status:  assigned
Priority:  major   |   Milestone:  0.9.0
 Version:  master  |  Resolution:
Keywords:          |
-------------------+-----------------------

Comment (by dustin):

 With a run of the whole integration suite, I got a failure (though on
 test_master1, not on this test suite).
 {{{
 Traceback (most recent call last):
 Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was
 unclean.
 Selectables:
 <<class 'twisted.internet.tcp.Port'> of twisted.spread.pb.PBServerFactory
 on 40522>
 }}}

 twistd.log:
 {{{
 2014-12-25 02:11:10+0000 [-] -->
 buildbot.test.integration.test_master.RunMaster.test_master1 <--
 2014-12-25 02:11:10+0000 [-] Loading configuration from
 '/home/ubuntu/buildbot/_trial_temp/basdir/master.cfg'
 2014-12-25 02:11:10+0000 [-] Setting up database with URL
 'sqlite:/state.sqlite'
 2014-12-25 02:11:10+0000 [-] setting database journal mode to 'wal'
 2014-12-25 02:11:10+0000 [-] using SQLAlchemy-Migrate version 0.7.2
 2014-12-25 02:11:10+0000 [-] Initializing empty database
 2014-12-25 02:11:11+0000 [-] Starting BuildMaster -- buildbot.version:
 0.9.0
 2014-12-25 02:11:11+0000 [-] Loading configuration from
 '/home/ubuntu/buildbot/_trial_temp/basdir/master.cfg'
 2014-12-25 02:11:11+0000 [-] adding 1 new changesources, removing 0
 2014-12-25 02:11:11+0000 [-] adding 1 new builders, removing 0
 2014-12-25 02:11:11+0000 [-] trying to load status pickle from
 /home/ubuntu/buildbot/_trial_temp/basdir/testy/builder
 2014-12-25 02:11:11+0000 [-] no saved status pickle, creating a new one
 2014-12-25 02:11:11+0000 [-] added builder testy with tags []
 2014-12-25 02:11:11+0000 [-] adding scheduler 'all'
 2014-12-25 02:11:11+0000 [-] adding scheduler 'force'
 2014-12-25 02:11:11+0000 [-] No web server configured on this master
 2014-12-25 02:11:11+0000 [-] adding 1 new slaves, removing 0
 2014-12-25 02:11:11+0000 [-] PBServerFactory starting on 60346
 2014-12-25 02:11:11+0000 [-] Starting factory
 <twisted.spread.pb.PBServerFactory instance at 0x7f95a97ce170>
 2014-12-25 02:11:11+0000 [-] BuildMaster is running
 2014-12-25 02:11:11+0000 [-] (TCP Port 60346 Closed)
 2014-12-25 02:11:11+0000 [-] Stopping factory
 <twisted.spread.pb.PBServerFactory instance at 0x7f95a97ce170>
 2014-12-25 02:11:11+0000 [-] PBServerFactory starting on 40522
 2014-12-25 02:11:11+0000 [-] Starting factory
 <twisted.spread.pb.PBServerFactory instance at 0x7f95a97c2170>
 2014-12-25 02:11:11+0000 [-] BuildMaster is stopped
 2014-12-25 02:11:11+0000 [-] Main loop terminated.
 }}}

 Note in particluar that the PBServerFactory started up on port 40522 after
 everything else began stopping.

 This sucks.  I wish we had a fail-safe way to test for these start/stop
 issues.

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


More information about the bugs mailing list