[Buildbot] #2420: buildbot web status loses links to triggered builds when master is restarted

Buildbot trac trac at buildbot.net
Sat Aug 2 20:45:10 UTC 2014


#2420: buildbot web status loses links to triggered builds when master is
restarted
---------------------+--------------------
Reporter:  hushp1pt  |       Owner:
    Type:  defect    |      Status:  new
Priority:  minor     |   Milestone:  0.8.x
 Version:  0.8.7p1   |  Resolution:
Keywords:            |
---------------------+--------------------
Changes (by dustin):

 * type:  undecided => defect
 * milestone:  undecided => 0.8.x


Old description:

> One super-build (A-0) triggers three triggerable builds (B-0,C-0,D-0).
> One of those builds (C-0) triggers yet another triggerable build (E-0).
> All triggers are waitForFinish=True.
>
> When all builds are finished, the web status display of the super-build
> (builders/A/builds/0) includes links (URLS) pointing to the web status
> displays of the three builds that it triggered (builders/B/builds/0,
> etc).  The web status display of build C-0 includes a link pointing to
> the web status display of its triggered build (E-0). The Waterfall also
> shows all these links.
>
> If I restart the buildbot master, the links to triggered builds B-0, C-0,
> and D-0 all disappear from super-build A-0's web status display. But,
> build C-0's web status display still shows the link pointing to E-0, as
> it should.  The Waterfall display matches this.
>
> After the master is restarted, if I run another super-build (A-1) and
> wait until that series is all finished, the links to those three
> triggered builds (B-1, C-1, D-1) do appear, as they should.
>
> If I restart the buildbot master a second time, the links to triggered
> builds B-1, C-1, and D-1 all disappear from super-build A-1's web status
> display. Build C-1's web status display still shows the link pointing to
> E-1, and build C-0's web status display still shows the link pointing to
> E-0.  The Waterfall display matches this.
>
> This is a bad problem for me, I was counting on those links to help users
> comprehend a complex series of related builds.
>
> Same result using either mysql or sqlite.

New description:

 One super-build (A-0) triggers three triggerable builds (B-0,C-0,D-0). One
 of those builds (C-0) triggers yet another triggerable build (E-0). All
 triggers are waitForFinish=True.

 When all builds are finished, the web status display of the super-build
 (builders/A/builds/0) includes links (URLS) pointing to the web status
 displays of the three builds that it triggered (builders/B/builds/0, etc).
 The web status display of build C-0 includes a link pointing to the web
 status display of its triggered build (E-0). The Waterfall also shows all
 these links.

 If I restart the buildbot master, the links to triggered builds B-0, C-0,
 and D-0 all disappear from super-build A-0's web status display. But,
 build C-0's web status display still shows the link pointing to E-0, as it
 should.  The Waterfall display matches this.

 After the master is restarted, if I run another super-build (A-1) and wait
 until that series is all finished, the links to those three triggered
 builds (B-1, C-1, D-1) do appear, as they should.

 If I restart the buildbot master a second time, the links to triggered
 builds B-1, C-1, and D-1 all disappear from super-build A-1's web status
 display. Build C-1's web status display still shows the link pointing to
 E-1, and build C-0's web status display still shows the link pointing to
 E-0.  The Waterfall display matches this.

 This is a bad problem for me, I was counting on those links to help users
 comprehend a complex series of related builds.

 Same result using either mysql or sqlite.

--

Comment:

 I expect this to not be an error in 0.9.0.

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


More information about the bugs mailing list