Closed Bug 939324 Opened 12 years ago Closed 12 years ago

Purge before building

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sfink, Assigned: sfink)

References

Details

Attachments

(1 file, 2 obsolete files)

Running out of disk space. Looks like I'm supposed to purge before running.
Attached patch Purge before building (obsolete) — Splinter Review
Copied from b2g_build.py. Untested, but it seems sane. :-)
Attachment #833218 - Flags: review?(aki)
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
Attached patch Purge before building (obsolete) — Splinter Review
Ok, updated the patch to purge by default, overrideable via PROPERTIES_FILE. Not requesting review yet; I'm sending it to my slave.
Attachment #833218 - Attachment is obsolete: true
Attachment #833218 - Flags: review?(aki)
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)
Attachment #833256 - Attachment is obsolete: true
Blocks: 939408
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+
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?
Severity: normal → blocker
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
Depends on: 940385
something[s] here made it to production
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: