Closed Bug 1173507 Opened 9 years ago Closed 9 years ago

Emulator b2g-tests.zip bustage

Categories

(Taskcluster :: General, defect, P1)

All
Unspecified
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wcosta, Assigned: wcosta)

Details

Attachments

(1 file)

Bug 1173507: Avoid cache bustage. r=garndt

As we cache binaries, this might end up resulting wildcard copies
expanding to more than one file, causing the task to fail.
Attachment #8620855 - Flags: review?(garndt)
Attachment #8620855 - Flags: review?(garndt) → review+
Comment on attachment 8620855 [details]
MozReview Request: Bug 1173507: Avoid cache bustage. r=garndt

https://reviewboard.mozilla.org/r/10863/#review9495

Ship It!

::: testing/taskcluster/scripts/builder/build-emulator.sh:67
(Diff revision 1)
> -mv $WORKSPACE/B2G/out/target/product/generic/tests/b2g-*.zip $HOME/artifacts/b2g-tests.zip
> +mv $WORKSPACE/B2G/out/target/product/generic/tests/b2g-*tests.zip $HOME/artifacts/b2g-tests.zip

This will not really resolve the problem when there are multiple test zip files...

For instance:
home/worker/workspace/B2G/out/target/product/generic/tests/b2g-41.0a1.en-US.android-arm.mochitest.tests.zip

::: testing/taskcluster/scripts/builder/build-emulator.sh:45
(Diff revision 1)
> +rm -rf $WORKSPACE/B2G/out/target/product/generic/tests/

So is there anything in out that we want to keep?  We would want to find the highest level directory that we could remove and not just the test zips it creates.
(In reply to Greg Arndt [:garndt] from comment #3)
> Comment on attachment 8620855 [details]
> MozReview Request: Bug 1173507: Avoid cache bustage. r=garndt
> 
> https://reviewboard.mozilla.org/r/10863/#review9495
> 
> Ship It!
> 
> ::: testing/taskcluster/scripts/builder/build-emulator.sh:67
> (Diff revision 1)
> > -mv $WORKSPACE/B2G/out/target/product/generic/tests/b2g-*.zip $HOME/artifacts/b2g-tests.zip
> > +mv $WORKSPACE/B2G/out/target/product/generic/tests/b2g-*tests.zip $HOME/artifacts/b2g-tests.zip
> 
> This will not really resolve the problem when there are multiple test zip
> files...
> 

Yeah, just a trying to restrict the files name pattern as much as I can. If we end up having another b2g* file there in the future, probability of build breaking is lower.

> For instance:
> home/worker/workspace/B2G/out/target/product/generic/tests/b2g-41.0a1.en-US.
> android-arm.mochitest.tests.zip
> 
> ::: testing/taskcluster/scripts/builder/build-emulator.sh:45
> (Diff revision 1)
> > +rm -rf $WORKSPACE/B2G/out/target/product/generic/tests/
> 
> So is there anything in out that we want to keep?  We would want to find the
> highest level directory that we could remove and not just the test zips it
> creates.

There are more than 3GB of files inside the obj directory (no, I didn't dare to investigate what all those file are).
> There are more than 3GB of files inside the obj directory (no, I didn't dare
> to investigate what all those file are).

I just didn't know if we could bring this back up to $WORKSPACE/B2G/out/ or something and get all the artifacts it creates for distribution, but not blow away obj dirs and such.
https://hg.mozilla.org/mozilla-central/rev/98701faeaa21
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Component: TaskCluster → General
Product: Testing → Taskcluster
Version: unspecified → Trunk
Resetting Version and Target Milestone that accidentally got changed...
Target Milestone: mozilla41 → ---
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: