Closed Bug 359323 Opened 19 years ago Closed 19 years ago

static pages on tinderbox-stage are busted

Categories

(Webtools Graveyard :: Tinderbox, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dbaron, Assigned: cls)

References

()

Details

Attachments

(1 file, 2 obsolete files)

The static pages on tinderbox-stage (which we've often encouraged people to link to because they're less load on the server and they tend to load faster) are quite busted. The following four pages should all look the same: http://tinderbox-stage.mozilla.org/SeaMonkey/ http://tinderbox-stage.mozilla.org/showbuilds.cgi?tree=SeaMonkey http://tinderbox.mozilla.org/SeaMonkey/ http://tinderbox.mozilla.org/showbuilds.cgi?tree=SeaMonkey However, the first one is: * missing the header at the top * has *tons* of extra columns with seemingly everything ever associated with that tinderbox page Sorry I didn't notice this earlier -- these pages are bookmarked / linked to a bit, but they're not easily accessible through the UI. I think this probably should block the migration to the tinderbox-stage server. (There are also slight differences between which columns are present on the showbuilds.cgi versions between tinderbox and tinderbox-stage, but I'd hope that's an issue that would be fixed in a final data sync -- although I'd have thought we'd be syncing that with reasonable frequency.)
I'm guessing justdave would know more about this, but I'll take a look.
Not sure from where this is being generated. Assigning to Dave.
Assignee: server-ops → justdave
Assignee: justdave → justdave
OS: Other → All
ok, this is a regression on the trunk, per discussion on #mozwebtools. Something about $max_date not being set.
Assignee: justdave → morgamic
Component: Server Operations → Tinderbox
Product: mozilla.org → Webtools
QA Contact: justin → timeless
Assignee: morgamic → cls
Attached patch v1.0 (obsolete) — Splinter Review
The routines that generate the static pages expect certain globals to be set to control how much info to display. For the cgis, these values are controlled via the form inputs. When static pages are created from processbuild.pl, we'll just hardcode the time values.
Attachment #244547 - Flags: review?(justdave)
Attached patch v1.1 (obsolete) — Splinter Review
We now reset a few global variables (pass-by-reference anyone?) when populating the build data. This avoids having columns from other trees bleed into the current tree. I also cache the value of make_tree_list() since it gets called repeatedly when building static pages.
Attachment #244547 - Attachment is obsolete: true
Attachment #244551 - Flags: review?(justdave)
Attachment #244547 - Flags: review?(justdave)
What's currently deployed (the 09:23 copy of http://tinderbox.mozilla.org/Firefox/ ) seems to fix the extra columns problem, but not the missing header problem.
In fact, I think it made the missing header problem worse -- the open/closed state isn't showing up anymore either.
It's also showing a whole bunch of bogus names in the guilty column at a few points.
Attached patch v1.2Splinter Review
This should fix the guilty column issue. It might fix the intermittent header issue (Mozilla1.8 has it, SeaMonkey did and now doesn't).
Attachment #244551 - Attachment is obsolete: true
Attachment #244551 - Flags: review?(justdave)
(I think justdave already did something to fix the guilty column issue. Not sure if it's the same thing, though.)
dbaron: what I did for the guilty-column was a locally-applied version of just the chunk of this patch that fixed that, based on the IRC discussion. cls: v1.2 is live in production. open/closed state is back, but is WRONG. (/Firefox/ is showing the tree is open, but showbuilds.cgi?tree=Firefox says it's closed). The rules still aren't showing up.
And we have the phantom columns from other trees in there again, too. :(
er, ignore all that, I backed out v1.1 and forgot to applied v1.2 before typing make install. oops. it's live now, let's see what it does.
Seems to work pretty well now. Hopefully this'll get checked in soon and we'll update to avoid having local patches that will confuse people later...
Comment on attachment 244597 [details] [diff] [review] v1.2 yup, seems good. commit at will. :)
Attachment #244597 - Flags: review+
/cvsroot/mozilla/webtools/tinderbox/processbuild.pl,v <-- processbuild.pl new revision: 1.61; previous revision: 1.60 done Checking in webtools/tinderbox/showbuilds.pl; /cvsroot/mozilla/webtools/tinderbox/showbuilds.pl,v <-- showbuilds.pl new revision: 1.10; previous revision: 1.9 done Checking in webtools/tinderbox/tbglobals.pl; /cvsroot/mozilla/webtools/tinderbox/tbglobals.pl,v <-- tbglobals.pl new revision: 1.46; previous revision: 1.45 done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Depends on: 354462
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: