bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

Backing out a cppunittest and its moz.build required a clobber



Firefox Build System
5 years ago
5 months ago


(Reporter: philor, Unassigned)


(Blocks: 1 bug)

Dependency tree / graph

Firefox Tracking Flags

(Not tracked)




5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/8526c7a38761 from bug 951354 created TestCertDB. It failed on Win8 debug and 10.6/10.8 debug Cpp runs. It was backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/41a0bf080410.

Then it kept failing after the backout, on test runs against builds created on slaves that had built while it was in (and if you look at tbpl through Friday night/Saturday, you'll see foolish me creating a situation that deeply confused me, by setting a clobber, then retriggering on the pushes while it was in, thus creating even more slaves which would need to be clobbered to notice the backout).
my theory, without looking at the code or the logs, is that we're not creating test zips, we're updating existing ones. So while dist/bin doesn't have the test after the backout, the zip still has.

Comment 2

5 years ago
cd dist/test-package-stage && \
	  zip -rq9D '/builds/slave/m-in-osx64-d-00000000000000000/build/obj-firefox/dist/firefox-29.0a1.en-US.mac64.tests.zip' \
	  * -x \*/.mkdir.done

so yeah, unless we rm dist/ at some point earlier, we would be. Do we want to add -FS to that, so we can actually remove cpp and jit tests?
We do have:

Which rm's the package stage dir before staging. I suspect the problem is actually here:

We copy the CPP_UNIT_TEST binaries to dist/cppunittests during the build:

but there's no facility for removing things from that directory. This probably wants to get hooked into an install manifest from moz.build instead.


3 years ago
Duplicate of this bug: 1193334
This is likely still a bug. testsuite-target.mk still does horrible things for cppunittests.

Please leave comments about clobber issues when you encounter them so we can prioritize accordingly.
Severity: major → normal


5 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.