Closed Bug 498671 Opened 17 years ago Closed 17 years ago

Pooled slaves don't lie properly

Categories

(Release Engineering :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: catlee)

Details

Attachments

(2 files)

There are two cases where the pooled slaves aren't lying about their start times properly: - Builds triggered from the ftp poller are having their change time set via the poller, so we don't have a chance to record the time the new build was detected, which is required for reporting on wait times - Builds triggered via sendchange aren't updating their change time until after the build has started, which means the start time is changing as far as Tinderbox is concerned. This is resulting in lots of yellow builds that never complete.
Why don't we just TinderboxPrint the changeset and stop lying about the start time altogether?
We do Tinderboxprint the changeset, but this doesn't show up on Tinderbox until the build is finished. We need to lie about the start time so that the incomplete builds line up on the waterfall - which is currently how mstange's dashboard associates all the incomplete builds with each other.
We don't need to set 'when' in the change object in the ftp poller; it will get set when the build starts.
Attachment #383744 - Flags: review?(anodelman)
This is a modification to the DownloadFile step that changes when the url parsing function is run. The Talos code uses the url parsing code to update the build's change time. By doing it in setBuild rather than in start, the build's change time is set correctly when the initial notification to tinderbox is sent.
Attachment #383747 - Flags: review?(bhearsum)
Comment on attachment 383747 [details] [diff] [review] Run DownloadFile.url_fn on setBuild() rather than on start() I should also mention this code is also used by the packaged unittests. I ran the new code through staging-master, and it didn't have an impact there. The risk is that the order in which properties are defined has changed, so could potentially impact how a build progresses. It looks ok to me though.
Attachment #383747 - Flags: review?(anodelman)
Attachment #383744 - Flags: review?(anodelman) → review+
Attachment #383747 - Flags: review?(anodelman) → review+
Attachment #383747 - Flags: review?(bhearsum) → review+
Comment on attachment 383747 [details] [diff] [review] Run DownloadFile.url_fn on setBuild() rather than on start() Yeah, this seems fine. Probably goes without saying, but please update production-master too when landing this.
Comment on attachment 383744 [details] [diff] [review] Fix change date in pooled ftp pollers changeset: 1215:14f6b612d175
Attachment #383744 - Flags: checked‑in+
Comment on attachment 383747 [details] [diff] [review] Run DownloadFile.url_fn on setBuild() rather than on start() changeset: 340:041c26f6b159
Attachment #383747 - Flags: checked‑in+
These two changes should fix this.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: