Closed
Bug 585682
Opened 15 years ago
Closed 15 years ago
TBPL should take advantage of builds-running.js
Categories
(Tree Management Graveyard :: TBPL, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sdwilsh, Assigned: Swatinem)
References
Details
Attachments
(2 files, 1 obsolete file)
9.20 KB,
patch
|
mstange
:
review+
|
Details | Diff | Splinter Review |
16.81 KB,
patch
|
mstange
:
review+
|
Details | Diff | Splinter Review |
We have a handy little json file that tells what builds are currently running:
http://build.mozilla.org/builds/builds-running.js
TBPL should use it instead of trying to guess what a build is for.
There's code within my work on bug 586539 that does this, though it's not especially separable.
Assignee | ||
Comment 2•15 years ago
|
||
Assignee | ||
Comment 3•15 years ago
|
||
Yay, no more guessedRev :)
But I noticed that the running json does not include Nightly builds.
Attachment #480080 -
Flags: review?(mstange)
Assignee | ||
Comment 4•15 years ago
|
||
catlee, nthomas: re comment 3: why are nightly builds not included in the running json? Also, It would be cool to generate the json files more often, I guess every 2 minutes should work well.
Updated•15 years ago
|
Attachment #480079 -
Flags: review?(mstange) → review+
Updated•15 years ago
|
Attachment #480080 -
Flags: review?(mstange) → review+
Assignee | ||
Comment 5•15 years ago
|
||
(In reply to comment #4)
> catlee, nthomas: re comment 3: why are nightly builds not included in the
> running json? Also, It would be cool to generate the json files more often, I
> guess every 2 minutes should work well.
The different refresh intervals can lead to running jobs still being displayed while the tinderbox data already contains the finished results.
Comment 6•15 years ago
|
||
(In reply to comment #4)
> catlee, nthomas: re comment 3: why are nightly builds not included in the
> running json? Also, It would be cool to generate the json files more often, I
> guess every 2 minutes should work well.
I don't know why they wouldn't be included....But they won't indicate which revision they're building, since we don't know what revision it's got until the build finishes.
Assignee | ||
Comment 7•15 years ago
|
||
(In reply to comment #6)
> (In reply to comment #4)
> > catlee, nthomas: re comment 3: why are nightly builds not included in the
> > running json? Also, It would be cool to generate the json files more often, I
> > guess every 2 minutes should work well.
>
> I don't know why they wouldn't be included....But they won't indicate which
> revision they're building, since we don't know what revision it's got until the
> build finishes.
Then that is the reason. I guess we can live with not displaying running N though.
Assignee | ||
Comment 8•15 years ago
|
||
>+++ b/js/Data.js
>+ var key = job.number;
Per discussion with catlee, "number" is not unique and thus not a good key for the running jobs. I was seeing some running jobs not being cleared correctly, and I suspect that to be the cause.
I’m using another key now and added a comment explaining why that is needed.
Attachment #480080 -
Attachment is obsolete: true
Attachment #480106 -
Flags: review?(mstange)
Comment 9•15 years ago
|
||
Not the end of the world, but it's a bit odd to have hidden builds like R2D and R3D show while they are running and disappear when they finish.
Assignee | ||
Comment 10•15 years ago
|
||
(In reply to comment #9)
> Not the end of the world, but it's a bit odd to have hidden builds like R2D and
> R3D show while they are running and disappear when they finish.
What blocks us from just enabling scraping for these builds? D2D and D3D are now enabled by default, we should have the tests show up on tinderbox as well.
Comment 11•15 years ago
|
||
I think they are hidden because they're pointless: as you say, the things they pref on are also on by default, so they've become the same test as R. They just happened to be the two hidden builds that were still running when I looked at a push. If you prefer, s/R2D/RGL/, or 10.6 xpcshell, or anything else that's hidden because we want it to run, but we don't yet have the permaorange cleared up.
Comment 12•15 years ago
|
||
The only other problem I noticed after running it for a while is the (relatively) long period when a build is shown as both completed and still running. I presume that's mostly obvious because builds-running.js doesn't refresh often enough, but it's always going to happen unless both running and finished are coming from the same data source. Can we recognize that something which shows up as both finished and running is the same build, and remove the running one?
Assignee | ||
Comment 13•15 years ago
|
||
We will track builds through all their different states sometime when we completely restructure tbpl to use a builddb-derived db. For now I think this is the best we wan do for the time being without too much hassle.
Updated•15 years ago
|
Attachment #480106 -
Flags: review?(mstange) → review+
Comment 14•15 years ago
|
||
http://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/rev/fb83dd464be0
http://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/rev/20b06fa7105c
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 15•15 years ago
|
||
Yay!
Updated•11 years ago
|
Product: Webtools → Tree Management
Updated•10 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•