Closed Bug 388223 Opened 17 years ago Closed 17 years ago

unit test CLOBBER support doesn't seem to work

Categories

(Release Engineering :: General, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Gavin, Assigned: rcampbell)

References

Details

Attachments

(1 file, 1 obsolete file)

kherron has noticed that the unit test buildbots (at least the Windows ones) don't seem to be observing changes to the CLOBBER files (on HEAD). It looks to me like this is because they scan cvsco.log for the line "U mozilla/tools/tinderbox-configs/firefox/<platform>/CLOBBER", but mozilla/tools/tinderbox-configs isn't in the default checkout for MOZ_CO_PROJECT=browser. They'd need to explicitly |cvs up| the CLOBBER file and check the output of that (look for "U" or "P", I guess).
They also need to use the "test_unit" CVS branch if they're not doing that already.
Ah, right. And it looks like |cvs up| won't work if that directory hasn't been checked out, even if you use |cvs up -d|.

Given that, it looks to me like running |cvs co -rtest_unit mozilla/tools/tinderbox-configs/firefox/<platform>/CLOBBER| from /mozilla and checking the output for "^[U|P]" would work OK.
OS: Windows XP → All
Hardware: PC → All
This is pretty important -- we keep getting into the situation of needing to clobber the unit test boxes, and if rob's not around, noone can do it.
Severity: normal → major
raising priority on this. Will get it fixed by this weekend.
Attached patch 388223.diff (obsolete) — Splinter Review
sorry for the delay. This should be fixed now. Updated the mozconfig files to pull mozilla/tools/tinderbox-configs. It got missed somehow during some configuration file shuffling.
Attachment #275970 - Flags: review?(rhelmer)
Attached patch 388223.diffSplinter Review
the python clobber script was pretty rough. It should be working now.
Assignee: nobody → rcampbell
Attachment #275970 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #275981 - Flags: review?(rhelmer)
Attachment #275970 - Flags: review?(rhelmer)
Maybe there's something I'm missing, but that doesn't seem to actually solve the problem - you're still looking for the line in cvsco.log, and as far as I know the CLOBBER file won't be in that log because it isn't part of the client.mk checkout. Even if it is, it would be HEAD and not test_unit, right?
Attachment #275981 - Flags: review?(rhelmer) → review+
gavin: I added mozilla/tools/tinderbox-configs to the .mozconfig files so they're getting checked out now and will show up in the cvsco.log. So yes, you're missing something!

(still debugging this, I think there's some path munging going on because the rmdir line isn't finding c:\\slave\\trunk\\mozilla\\objdir on winxp)
cvs commit: Examining .
Checking in killAndClobberWin.py;
/cvsroot/mozilla/tools/buildbot-configs/testing/unittest/killAndClobberWin.py,v  <--  killAndClobberWin.py
new revision: 1.2; previous revision: 1.1
done
Checking in mozconfig;
/cvsroot/mozilla/tools/buildbot-configs/testing/unittest/mozconfig,v  <--  mozconfig
new revision: 1.2; previous revision: 1.1
done
Checking in mozconfig-win2k3;
/cvsroot/mozilla/tools/buildbot-configs/testing/unittest/mozconfig-win2k3,v  <--  mozconfig-win2k3
new revision: 1.2; previous revision: 1.1
done
Checking in mozconfig-winxp;
/cvsroot/mozilla/tools/buildbot-configs/testing/unittest/mozconfig-winxp,v  <--  mozconfig-winxp
new revision: 1.2; previous revision: 1.1
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Oh, sorry, I skimmed over that part of the patch because I thought it was unrelated :(

It's still using HEAD instead of test_unit though, right? I guess that's not a big deal...
yeah, still head. We should probably start sticking clobber files in tools/buildbot-configs/testing/unittest though that would be a different bug...
Mass move of Core:Testing bugs to mozilla.org:ReleaseEngineering. Filter on RelEngMassMove to ignore.
Component: Testing → Release Engineering
Product: Core → mozilla.org
QA Contact: testing → release
Version: Trunk → other
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: