Closed
Bug 488099
Opened 16 years ago
Closed 16 years ago
Expose build properties of l10n repacks via TinderboxPrint for scraping
Categories
(Release Engineering :: General, defect, P2)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Pike, Assigned: coop)
References
Details
(Whiteboard: [l10n])
Attachments
(3 files, 2 obsolete files)
|
6.66 KB,
patch
|
Pike
:
review+
coop
:
checked-in+
|
Details | Diff | Splinter Review |
|
6.36 KB,
patch
|
Pike
:
review+
coop
:
checked-in+
|
Details | Diff | Splinter Review |
|
1.10 KB,
patch
|
Pike
:
review+
coop
:
checked-in+
|
Details | Diff | Splinter Review |
We should expose a few build properties to scraping via TinderboxPrint for l10n builds:
locale, tree, buildnumber, repo revisions (l10n_revision and en_revision for fx, plus toolkit_revision for fennec).
It smells a bit over the top to call echo on the slave, but the other builders do that, so could probably do l10n. A custom step just on the master would do, too.
| Reporter | ||
Updated•16 years ago
|
Whiteboard: [l10n]
Comment 1•16 years ago
|
||
Covered in l10n meeting this morning; coop will deal with this later this week.
Assignee: nobody → ccooper
Priority: -- → P3
| Assignee | ||
Comment 2•16 years ago
|
||
I assume we'd want these output at the front end of the build to make diagnosing failures a little easier?
Status: NEW → ASSIGNED
Priority: P3 → P2
| Reporter | ||
Comment 3•16 years ago
|
||
Yeah. We have locale, tree, buildnumber as soon as we start the build, but we won't have the en-US repo revisions until we configured, wgot, unpacked and idented.
Might make sense to split that up into two.
| Assignee | ||
Comment 4•16 years ago
|
||
(In reply to comment #3)
> Yeah. We have locale, tree, buildnumber as soon as we start the build, but we
> won't have the en-US repo revisions until we configured, wgot, unpacked and
> idented.
Axel: what piece of data does "tree" correspond to? Do you mean branch, or something else?
| Reporter | ||
Comment 5•16 years ago
|
||
tree would be fx31x or fx35x, aka, the title of the section in l10nbuilds.ini. That should already be a build property.
We should rename the fx31x and fx32x to 35 and 36, too.
| Assignee | ||
Comment 6•16 years ago
|
||
(In reply to comment #5)
> tree would be fx31x or fx35x, aka, the title of the section in l10nbuilds.ini.
> That should already be a build property.
OK, I was looking at a 1.9.0 CVS build which doesn't seem to have that property, but I see it now on m-c/1.9.1/fennec.
| Assignee | ||
Comment 7•16 years ago
|
||
Attachment #374287 -
Flags: review?(l10n)
| Reporter | ||
Updated•16 years ago
|
Attachment #374287 -
Flags: review?(l10n) → review+
| Reporter | ||
Comment 8•16 years ago
|
||
Comment on attachment 374287 [details] [diff] [review]
Rename fx31x and fx32x to 35 and 36
r=me. For deployment, I'm pretty sure a reconfig should be good enough.
| Assignee | ||
Comment 9•16 years ago
|
||
I have a TinderboxPrint patch running on staging-master right now.
| Assignee | ||
Comment 10•16 years ago
|
||
Axel: running into a little problem here with 'tree' again. It appears that m-c builds have the property set but 1.9. builds do not, e.g.:
http://production-master.build.mozilla.org:8010/builders/Linux%20mozilla-1.9.1%20l10n/builds/2417
vs.
http://production-master.build.mozilla.org:8010/builders/Linux%20mozilla-central%20l10n/builds/2230
This is happening on all three platforms.
| Assignee | ||
Comment 11•16 years ago
|
||
(In reply to comment #10)
> Axel: running into a little problem here with 'tree' again. It appears that m-c
> builds have the property set but 1.9. builds do not, e.g.:
My bad. Builds triggered by the nightly scheduler don't include the tree property, but builds triggered via locale changes do have the tree property.
Axel: how do you want me to proceed here re: displaying the tree info?
| Reporter | ||
Comment 12•16 years ago
|
||
I expect us to get the tree back when we move over to triggering the nightlies, at least that's how it's wired up in my head.
Does the lack of a tree property error on WithProperties, or does it just come across empty? I don't recall.
If it doesn't error, I'd rather have it, but if we don't get that in, it's not a big deal either. It would just require that I hardcode downstream which builders correspond to which tree when incorporating the builds with the l10n dashboard.
| Assignee | ||
Comment 13•16 years ago
|
||
(In reply to comment #12)
> If it doesn't error, I'd rather have it, but if we don't get that in, it's not
> a big deal either. It would just require that I hardcode downstream which
> builders correspond to which tree when incorporating the builds with the l10n
> dashboard.
I'd prefer not to have you do a remote mapping. That's bound to get out of sync at some point.
How about I look at the l10nbuild.ini file (via ConfigParser) to match the buildername and pull out the tree for you?
| Assignee | ||
Comment 14•16 years ago
|
||
Decided that the easiest way to get tree info for all the builds was to add the tree info to config.py and set it for all factories at creation time.
Axel: is there a reason why you need to maintain a separate l10nbuilds.ini file? This could be the first step towards folding the contents of l10nbuilds.ini into config.py. We wouldn't have to sync builder names, etc. if we had a single source.
config.py patch coming shortly.
Attachment #377419 -
Flags: review?(l10n)
| Assignee | ||
Comment 15•16 years ago
|
||
Attachment #374287 -
Attachment is obsolete: true
Attachment #377422 -
Flags: review?(l10n)
| Reporter | ||
Comment 16•16 years ago
|
||
Comment on attachment 377422 [details] [diff] [review]
Add l10n_tree var to config.py
This patch looks incomplete. I'd expect a second chunk for the l10nbuilds.ini in mozilla2, and changes in both master.cfg to actually pass the tree over to the NightlyRepackFactory.
Regarding dropping l10n_builds.ini in favour of config.py, not sure. I find config.py hard, and wouldn't know how to map that to my setup. I'm not so fond of the resulting code with all details passed down in every call and constructor one by one. Not that I wouldn't see how to incrementally get into that situation.
| Assignee | ||
Comment 17•16 years ago
|
||
(In reply to comment #16)
> (From update of attachment 377422 [details] [diff] [review])
> This patch looks incomplete. I'd expect a second chunk for the l10nbuilds.ini
> in mozilla2, and changes in both master.cfg to actually pass the tree over to
> the NightlyRepackFactory.
Yeah, my mistake. I'm working with some local copies and some symlinks here and the local copies didn't get picked up in the diff. I'll report shortly.
| Assignee | ||
Comment 18•16 years ago
|
||
Attachment #377422 -
Attachment is obsolete: true
Attachment #377445 -
Flags: review?(l10n)
Attachment #377422 -
Flags: review?(l10n)
| Reporter | ||
Updated•16 years ago
|
Attachment #377445 -
Flags: review?(l10n) → review+
| Reporter | ||
Updated•16 years ago
|
Attachment #377419 -
Flags: review?(l10n) → review+
| Assignee | ||
Comment 19•16 years ago
|
||
Comment on attachment 377419 [details] [diff] [review]
Expose build properties via TinderboxPrint
changeset: 307:36736618d5bc
Attachment #377419 -
Flags: checked‑in+
| Assignee | ||
Comment 20•16 years ago
|
||
Comment on attachment 377445 [details] [diff] [review]
Add l10n_tree var to config.py, v2
changeset: 1158:41313c7b6207
Attachment #377445 -
Flags: checked‑in+
| Assignee | ||
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 21•16 years ago
|
||
Reopening, we shouldn't default tree to None when it hangs slaves.
Comment 22•16 years ago
|
||
One attempt to fix the default behaviour is attachment 379382 [details] [diff] [review], but that has some issues, see bug 494582 comment 3.
Comment 23•16 years ago
|
||
From bug 494582 comment 6:
PS: The right place to set the default would have been in DependentL10n,
setting it to "notset" or something instead of None.
| Assignee | ||
Updated•16 years ago
|
Status: REOPENED → ASSIGNED
| Assignee | ||
Comment 24•16 years ago
|
||
Attachment #379571 -
Flags: review?(nthomas)
| Reporter | ||
Updated•16 years ago
|
Attachment #379571 -
Flags: review+
| Assignee | ||
Updated•16 years ago
|
Attachment #379571 -
Flags: review?(nthomas)
| Assignee | ||
Comment 25•16 years ago
|
||
Comment on attachment 379571 [details] [diff] [review]
Use "notset" as the default for the tree property.
changeset: 313:3acbbda0603b
Attachment #379571 -
Flags: checked‑in+
| Assignee | ||
Comment 26•16 years ago
|
||
production-master reconfig-ed.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•