[Buildbot-devel] changes.pck getting corrupted?

Brian Warner warner-buildbot at lothar.com
Wed Apr 13 19:46:31 UTC 2005


> I'm running a buildbot with two slaves, 'Linux x86 - radiant trunk' and 
> 'OSX 10.3 - radiant trunk'. Sometimes the two waterfall just stop 
> showing each slave, and show the first one twice instead. The only fix 
> seems to be to stop the master, remove changes.pck and start again clean.

That's really odd. changes.pck shouldn't affect the builder columns at all.
It is only used to populate the Changes column. If the same builder column is
shown twice, that points to a problem with the config file parsing.

The behavior should be:

 parse master.cfg, that defines the set of builders
 to build the waterfall display:
  get events from the ChangeMaster (serialized in changes.pck)
  get events from each builder (serialized in BUILDDIR/builder)
   each build/buildstep is serialized in BUILDDIR/NN

Add some debug prints in master.py (or use the Manhole console to get an
interactive interpreter inside the buildmaster) to look at the various places
that the list of Builders is kept, to make sure they're all correct:

 master.botmaster.builderNames
 master.botmaster.builders.keys()

In addition, master.status.getBuilderNames() should return the correct list:
it is this list that the waterfall page uses to create the columns.
master.status.getBuilder(name) must return the correct objects too.

What version of the buildmaster are you running? Could you send me your
master.cfg file (privately if you prefer)?

cheers,
 -Brian




More information about the devel mailing list