Closed Bug 589607 Opened 14 years ago Closed 14 years ago

Zombie tests building up for WINNT 5.2 opt tests

Categories

(Release Engineering :: General, defect, P2)

x86
Windows Server 2003
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: catlee)

References

Details

Bug 557918 disabled the opt tests on the Win2k3 machines in favor of the minis. The builder masters were reconfig'd but not the scheduler, so we've been accumulating jobs we don't want to run in the db. I've now reconfig'd the scheduler master to prevent more being added but we should clean up the db so that http://build.mozilla.org/builds/pending.html isn't full of bogus information. 

To prevent distorting the waittime metrics I think we'd want to remove those jobs completely. Since there's a non-trivial chance I'll delete something (the whole dB!) accidentally I'm deferring to catlee.
"select * from buildrequests where buildername like 'WINNT 5.2 % opt %' and complete=0 and claimed_at=0;" finds 1875 rows.

I propose running "update buildrequests set complete=1, results=2, complete_at = unix_timestamp(now()) where buildername like 'WINNT 5.2 % opt %' and complete=0 and claimed_at=0;"

This is basically what cancellator.py does.
Sounds fine, only using the time we turned off the tests for complete_at as we discussed.
The change was pushed at Thu 19 Aug 2010 01:28:25 PM EDT == 1282238905 epoch time.  I'll run the query with that.

update buildrequests set complete=1, results=2, complete_at = 1282238905 where buildername like 'WINNT 5.2 % opt %' and complete=0 and claimed_at=0;
Query OK, 1875 rows affected (0.07 sec)
Rows matched: 1875  Changed: 1875  Warnings: 0
Status: NEW → RESOLVED
Closed: 14 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.