Closed Bug 1641369 Opened 4 years ago Closed 4 years ago

SM(pkg) runs tests which don't exist for that revision

Categories

(Firefox Build System :: Task Configuration, defect)

defect

Tracking

(firefox79 fixed)

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: aryx, Assigned: arai)

References

Details

Attachments

(5 files)

Treeherder with push and ancestors and descendants

https://hg.mozilla.org/integration/autoland/rev/9a6631a07b7552cd81314c955c38d1f1f2276dee backed out bug 1640479 and removed the file js/src/jit-test/tests/regexp/bug1640479.js.

The SM(pkg) task shows the file being run as part of the tests (together with bug 1640475 which got backed out before). The files are as expected not part of the test folder.

The task looks sane (Gecko decision task is the one for that push, revision in payload is correct) and the log doesn't list these test files as part of the package.

Does an old artifact get pulled in?

it's possible that the temporary directory is shared across multiple runs.
I'll make the script to remove the temporary directory if exists.

Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED

(In reply to Tooru Fujisawa [:arai] from comment #2)

it's possible that the temporary directory is shared across multiple runs.

looks like this isn't the case here.
the output of tar -xjvf /builds/worker/artifacts/mozjs-78.0a1.0.tar.bz2 in the log doesn't contain the file (js/src/jit-test/tests/regexp/bug1640475.js).
also, warning for reusing target directory isn't shown in the log https://searchfox.org/mozilla-central/rev/5e4d4827aa005d031580d2d17a01bae1af138b2e/js/src/make-source-package.py#247

This should be the case that ~/workspace/sm-package wasn't clean.

Attachment #9153090 - Attachment description: Bug 1641369 - Part 1: Remove temporary directory before creating SM package. r?sfink! → Bug 1641369 - Part 2: Stop caching workspace directory in SpiderMonkey jobs. r?tomprince
Attachment #9153091 - Attachment description: Bug 1641369 - Part 2: Makre sure the workspace is clean in SM package build. r?sfink! → Bug 1641369 - Part 5: Make sure the workspace is clean in SM package build. r?sfink!
Blocks: 1644849
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/8bfd5ebe307f
Part 1: Use GECKO_PATH instead of SRCDIR in SpiderMonkey jobs. r=tomprince
https://hg.mozilla.org/integration/autoland/rev/0f3fe83ef886
Part 2: Stop caching workspace directory in SpiderMonkey jobs. r=tomprince
https://hg.mozilla.org/integration/autoland/rev/9f777f1d5da0
Part 3: Move objdir of SpiderMonkey jobs outside of checkouts directory. r=tomprince
https://hg.mozilla.org/integration/autoland/rev/84fac4666ef1
Part 4: Make clean command more robust. r=sfink
https://hg.mozilla.org/integration/autoland/rev/df775aa81367
Part 5: Make sure the workspace is clean in SM package build. r=sfink
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: