Closed
Bug 431657
Opened 17 years ago
Closed 17 years ago
in the name of saving disk space, mozilla2 buildbot nightlies should delete their trees at the end of a build
Categories
(Release Engineering :: General, defect, P2)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: bhearsum)
Details
(Whiteboard: [scheduled for may 5])
Attachments
(1 file)
As we add more branches to the Mozilla2 Buildbot disk space on the slaves is going to become a larger issue. Currently, we keep 2 trees for each branch, one for dep builds, one for nightlies. (At some point we should look at having nightly builds done off of the dep builder, but that's a much bigger issue.) We can easily save a bunch of disk space by simply having the nightly builder clobber its build directory (tree + symbol directories) after uploading the build, symbols, etc.
IIRC it used to be a big deal to keep thy symbol directories around on fx-win32-tbox but I'm not sure if this has changed with the symbol server. CC'ing folks in case there's objections.
Comment 1•17 years ago
|
||
The reason the tinderboxes kept builds/symbols around was in case network problems (or some other issue) caused the upload to fail, it would be fairly easy to go back and re-upload the bits. The bits were stored outside of the objdir though, so you could still blow away the source/objdir without problems.
Comment 2•17 years ago
|
||
As long as we result-check the symbol upload process (something tinderbox never did) I think we're fine to blow everything away. If we wanted to be paranoid, we could archive the symbols in a separate package and ship them with the nightly... ted, how big would that package be?
Comment 3•17 years ago
|
||
Looks like for a Windows build the zip package is about 35Mb, the Linux/Mac archives should be smaller.
Comment 4•17 years ago
|
||
The zip file of Fx3 symbols is 6.3/10/35 MB for linux/mac/win32.
Tinderbox also keeps the packages separately from the objdir. The required space per clobber is then it's 24/43/61 MB.
| Assignee | ||
Comment 5•17 years ago
|
||
If people feel like it's important to keep the symbols around we may as well just continue doing that. We'd have to setup a cron job or go around and cleanup the symbols manually from time to time if we go that route.
Comment 6•17 years ago
|
||
Currently tinderbox saves something like one week of packages. I definitely think it's important to cache the symbols/build locally if the upload fails, as otherwise they'll get lost.
| Assignee | ||
Comment 7•17 years ago
|
||
OK. How about this:
* Add a BuildStep that deletes 7+ day old symbols (this way we can't forget to add a cronjob on new machines)
* Clobber only the tree (src+objdir) at the end of a build
| Assignee | ||
Comment 8•17 years ago
|
||
I haven't heard any objections to this plan so I will plan to do this on Monday, May 5th with some other maintenance. If anyone *does* have an objection please speak up before then.
Attachment #319006 -
Flags: review?(ccooper)
| Assignee | ||
Updated•17 years ago
|
Whiteboard: [scheduled for may 5]
Updated•17 years ago
|
Attachment #319006 -
Flags: review?(ccooper) → review+
| Assignee | ||
Comment 9•17 years ago
|
||
Comment on attachment 319006 [details] [diff] [review]
[checked in] delete old symbols at the start of a nightly & delete src+objdir at the end
changeset: 44:70fc3dc84c08
Attachment #319006 -
Attachment description: delete old symbols at the start of a nightly & delete src+objdir at the end → [checked in] delete old symbols at the start of a nightly & delete src+objdir at the end
| Assignee | ||
Comment 10•17 years ago
|
||
Triggered a nightly to give it one last test.
| Assignee | ||
Updated•17 years ago
|
Priority: -- → P2
| Assignee | ||
Updated•17 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 17 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
•