Closed
Bug 377911
Opened 18 years ago
Closed 18 years ago
Tinderboxes don't remove old packages when talkback disabled
Categories
(Release Engineering :: General, defect, P2)
Release Engineering
General
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: ssitter, Assigned: nthomas)
References
()
Details
Attachments
(1 file, 2 obsolete files)
|
841 bytes,
patch
|
coop
:
review+
|
Details | Diff | Splinter Review |
Since several days the 'Linux lt18-linux-tbox Dep Sb-Release' tinderbox [http://tinderbox.mozilla.org/Sunbird-Mozilla1.8/] fails on hourly builds while the nightly builds seem to work fine. The error messages in the log files look like:
cvs [checkout aborted]: cannot close
mozilla/content/xml/document/test/CVS/Root: No space left on device
or
ranlib: libgklayout.a: No space left on device
gmake[4]: *** [libgklayout.a] Error 1
This also makes some l10n tinderboxen fail, e.g. 'Linux lt18-linux-tbox Clbr Sb-Moz1.8-l10n de' tinderbox [http://tinderbox.mozilla.org/Mozilla1.8-l10n-de/].
Expected Results:
Have enough device space on tinderbox to make all the builds succeed.
Since we are short before release of Sunbird 0.5 every tinderbox is needed.
| Assignee | ||
Comment 1•18 years ago
|
||
Looks like this directory
/builds/tinderbox/Lt-Mozilla1.8/Linux_2.4.21-37.EL_Depend
is filling up with old builds (YYYYMMDDHH/packages). There is 4.9 GB used by dirs going back to 2006030712.
Tinderbox should be autocleaning that. I'll remove all but the directories from April, and investigate.
Assignee: server-ops → build
Component: Server Operations: Tinderbox Maintenance → Build & Release
QA Contact: justin → preed
| Assignee | ||
Comment 2•18 years ago
|
||
This accumulation problem seems to be happening with a number of other boxes:
* solaria - win32 lightning moz1.8 & xulrunner 1.8.0
* sb-linux-tbox - linux lightning trunk
* sb-win32-tbox - win32 lightning trunk
These either have larger drives or less builds so it's not been a problem yet.
The Sunbird builds on the same boxes aren't showing the same buildup, so it must be a config issue. This is the code that isn't being hit
http://lxr.mozilla.org/mozilla/source/tools/tinderbox/post-mozilla-rel.pl#1352
Assignee: build → nrthomas
Summary: Sunbird Linux lt18-linux-tbox fails due to device space shortage → Lightning tinderboxes don't remove old packages, leading to full disks
| Assignee | ||
Comment 3•18 years ago
|
||
There's not much point conditionally removing the builds if we always save them. Not sure about the side affects here, although it looks like we're already removing packages and symbols on the release tbox with this code.
For the record, Chase changed this in rev 1.83
Attachment #262031 -
Flags: review?(rhelmer)
Updated•18 years ago
|
Attachment #262031 -
Attachment is patch: true
Attachment #262031 -
Attachment mime type: application/octet-stream → text/plain
Comment 4•18 years ago
|
||
Since *all* the Sunbird VMs seem to be affected, can we establish why $cachebuild isn't being set correctly (or being set to 0) and hence not triggering this code for only this product?
| Assignee | ||
Comment 5•18 years ago
|
||
Comment on attachment 262031 [details] [diff] [review]
patch
It turns out that cachebuild is being set, and the find call is being made. Eg:
sb-win32-tbox Depend Lt-Nightly
http://tinderbox.mozilla.org/showlog.cgi?log=Sunbird/1180605840.32256.gz&fulltext=1
...
find d:/builds/tinderbox/Lightning-Trunk/WINNT_5.2_Depend -type d -name "200*-*" -maxdepth 1 -prune -mtime +7 -print | xargs rm -rf
...
It just doesn't do anything useful. I get warning when I try it on the prompt, complaining about the order of arguments/options, so this could be an issue with newer versions of find.
Attachment #262031 -
Attachment is obsolete: true
Attachment #262031 -
Flags: review?(rhelmer)
| Assignee | ||
Comment 6•18 years ago
|
||
It all depends on Talkback, yay! If it's enabled, then this happens: (Firefox Mozilla1.8 win32 log)
Symbol transfer completed.
Cleaning up...
Remove any folders older than 7 days...
/bin/find `cygpath -u /cygdrive/c/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/..` -type d -name "200???????" -prune -mtime +7 -maxdepth 1 -print | xargs rm -rf
/bin/find `cygpath -u /cygdrive/c/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/..` -type f -name "200???????.tar.bz2" -prune -mtime +7 -maxdepth 1 -print | xargs rm -rf
make: Leaving directory `/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/fullsoft'
It's the first call to find doing the work.
If talkback isn't enabled then there is only the call in comment #5, and the name argument isn't going to match the dirs we'd like to remove (no - in the name). Should we tweak that argument to fix this ?
| Assignee | ||
Updated•18 years ago
|
Summary: Lightning tinderboxes don't remove old packages, leading to full disks → Tinderboxes don't remove old packages when talkback disabled
| Assignee | ||
Updated•18 years ago
|
Priority: -- → P1
| Assignee | ||
Comment 7•18 years ago
|
||
I really hope we aren't using tinderbox in 2010, but just in case.
Attachment #268510 -
Flags: review?(ccooper)
| Assignee | ||
Comment 8•18 years ago
|
||
I meant to say that I can't find any directories in the 200*-* style in the likes of pacifica-vm:/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend ($mozilla_build_dir), and checked about half a dozen tinderboxes of varying age.
Comment 9•18 years ago
|
||
Sorry for the bugspam; these are now P2 in the New View of the World (tm).
Priority: P1 → P2
| Assignee | ||
Comment 10•18 years ago
|
||
This is the same find command as the previous patch, but the argument order is shuffled to avoid this warning from Cygwin find 4.2.27:
find: warning: you have specified -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
So now they are in the order
options (maxdepth), tests (type, name, mtime), actions (prune, print).
I'd like to fix this bug soon, as it affects the Firefox trunk since Talkback was disabled, and other apps are moving that way too.
Attachment #268510 -
Attachment is obsolete: true
Attachment #271521 -
Flags: review?(ccooper)
Attachment #268510 -
Flags: review?(ccooper)
Updated•18 years ago
|
Attachment #271521 -
Flags: review?(ccooper) → review+
| Assignee | ||
Comment 11•18 years ago
|
||
Checking in post-mozilla-rel.pl;
/cvsroot/mozilla/tools/tinderbox/post-mozilla-rel.pl,v <-- post-mozilla-rel.pl
new revision: 1.124; previous revision: 1.123
done
Will verify after tomorrow's nightlies (fx-linux-tbox has packages going back to 20070624).
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 12•18 years ago
|
||
Verified on fx-linux-tbox and lt-linux-tbox that only a weeks worth of packages are present. The latter has 5.8 GB in use & 5.3 GB free on the /builds partition.
Status: RESOLVED → VERIFIED
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
•