[Buildbot-commits] [Buildbot] #1805: build end_time can become "True"

Buildbot nobody at buildbot.net
Mon Feb 14 17:16:47 UTC 2011

#1805: build end_time can become "True"
Reporter:  ddunbar  |       Owner:
    Type:  defect   |      Status:  new
Priority:  major    |   Milestone:  0.8.4
 Version:  0.8.3p1  |  Resolution:
Keywords:           |
Changes (by dustin):

 * type:  undecided => defect
 * milestone:  undecided => 0.8.4


 Ah, here's the problem, in the !BuildStatus class:

     def __getstate__(self):
         d = styles.Versioned.__getstate__(self)
         # for now, a serialized Build is always "finished". We will never
         # save unfinished builds.
         if not self.finished:
             d['finished'] = True

 I'm not sure how you're pickling a running build, but there you are.  The
 fix is straightforward.

Ticket URL: <http://trac.buildbot.net/ticket/1805#comment:4>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation

More information about the Commits mailing list