Closed
Bug 939324
Opened 12 years ago
Closed 12 years ago
Purge before building
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sfink, Assigned: sfink)
References
Details
Attachments
(1 file, 2 obsolete files)
|
7.18 KB,
patch
|
mozilla
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
Running out of disk space. Looks like I'm supposed to purge before running.
| Assignee | ||
Comment 1•12 years ago
|
||
Copied from b2g_build.py. Untested, but it seems sane. :-)
Attachment #833218 -
Flags: review?(aki)
Comment 2•12 years ago
|
||
Comment on attachment 833218 [details] [diff] [review]
Purge before building
Hm, I think this needs better documentation, and/or command line options that give us acceptable defaults.
I think for PurgeMixin.clobber() to work for you, you need:
is_automation
clobberer_url
purge_minsize
defined in self.config, afaict at a glance.
http://hg.mozilla.org/build/mozharness/file/9dfa6c67a71e/configs/b2g/releng-beta.py#l71
| Assignee | ||
Comment 3•12 years ago
|
||
Ok, updated the patch to purge by default, overrideable via PROPERTIES_FILE. Not requesting review yet; I'm sending it to my slave.
| Assignee | ||
Updated•12 years ago
|
Attachment #833218 -
Attachment is obsolete: true
Attachment #833218 -
Flags: review?(aki)
| Assignee | ||
Comment 4•12 years ago
|
||
Ok, here's what I have that seems to work. It pulls in the needed config setting from buildbot_config, but hardcodes defaults that work so I don't have to make the buildbot changes yet.
I'm still thinking that |if self.config.get('is_automation')| could just be |if self.buildbot_config|, and then all of the needed configuration could get pulled from buildbot_config instead of going through self.config. But this'll do for now.
Attachment #833314 -
Flags: review?(aki)
| Assignee | ||
Updated•12 years ago
|
Attachment #833256 -
Attachment is obsolete: true
Comment 5•12 years ago
|
||
Comment on attachment 833314 [details] [diff] [review]
Purge before building
I'm not a big fan of the self.config munging.
I'm currently thinking PurgeMixin should become part of BuildbotMixin, and base a lot of things on the buildbot_config as you suggested. (BuildbotMixin isn't specifically buildbot-as-a-project integration, as much as buildbot-as-a-MoCo-service integration.)
However, it seems like this is causing issues, so I'm going to r+ as-is.
Attachment #833314 -
Flags: review?(aki) → review+
| Assignee | ||
Comment 6•12 years ago
|
||
I can't get through to hg.mozilla.org at the moment to land this.
(In reply to Steve Fink [:sfink] from comment #6)
> I can't get through to hg.mozilla.org at the moment to land this.
The maintenance downtime is over, try again?
Updated•12 years ago
|
Severity: normal → blocker
Comment 8•12 years ago
|
||
Comment on attachment 833314 [details] [diff] [review]
Purge before building
https://hg.mozilla.org/build/mozharness/rev/1c4035ff2536
Attachment #833314 -
Flags: checked-in+
Comment 9•12 years ago
|
||
In an alternate bugzilla db, aki said he checked it in, https://hg.mozilla.org/build/mozharness/rev/1c4035ff2536, and transplanted it to production, and since the first one I retriggered freed up 16.8GB, this smells fixed to me.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 10•12 years ago
|
||
something[s] here made it to production
You need to log in
before you can comment on or make changes to this bug.
Description
•