Closed Bug 795776 Opened 12 years ago Closed 12 years ago

b2g builds don't check for clobber or ensure free space before starting compile

Categories

(Release Engineering :: General, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: catlee)

References

Details

(Whiteboard: [mozharness][cleanup])

Attachments

(2 files)

eg bld-linux64-ec2-051 failed a b2g_services-central_panda_dep build starting at 2012-09-30 18:57:47, running out of space while packaging. Subsequently failed 7 non-mozharness jobs in cloning build tools or setting a toolsdir property, and then magically had space free to save itself.

Buildbot factory jobs make a call to tools/buildfarm/maintenance/purge_builds.py. Looks like we don't check for a clobber either.
Depends on: 795019
(In reply to comment #1)
> *** Bug 795781 has been marked as a duplicate of this bug. ***
> 
> Referenced Bugs:
> 
> https://bugzilla.mozilla.org/show_bug.cgi?id=795781
> [Bug 795781] "No space left on device" on some builds

FWIW not all of those failures were on b2g.
Ehsan's comment that inline-history ate was trying to point out that his dupe was about things other than b2g builds, but the problem here is not just that the b2g build fails, it's that it fails by using up all available space, and then the next job on that slave, Linux desktop or Android or whatever, can't even get started far enough to purge, which only takes it a second or two, and then it takes the next Linux desktop job and breaks it, and then all the Android jobs and breaks them, letting a single slave eat every single mock job on a push in just a few seconds.
(In reply to Phil Ringnalda (:philor) from comment #3)
> Ehsan's comment that inline-history ate

Shoot!  Filed bug 796043 about that!
Attached patch purging supportSplinter Review
will attempt clobberer next
Attachment #666784 - Flags: review?(aki)
Comment on attachment 666784 [details] [diff] [review]
purging support

>+external_tools_path = os.path.join(
>+    os.path.abspath(os.path.dirname(os.path.dirname(mozharness.__file__))),
>+    'external_tools',
>+)

Nice, I was going to go by the script path, but this looks better.
Attachment #666784 - Flags: review?(aki) → review+
Attachment #666784 - Flags: checked-in+
Assignee: nobody → catlee
Priority: -- → P3
Whiteboard: [mozharness][cleanup]
Attachment #671481 - Flags: review?(aki)
Comment on attachment 671481 [details] [diff] [review]
clobberer support

>+    def clobberer(self):
>+        c = self.config
>+        assert self.buildbot_config

I'd prefer a self.fatal() here for consistency.
Attachment #671481 - Flags: review?(aki) → review+
Attachment #671481 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: