With this change, the error for bug 1601150 becomes:
TEST-UNEXPECTED-FAIL | i686-unknown-linux-gnu/release/build/cranelift-codegen-37dab135a3db8b7a/out/inst_builder.rs differs. See the generated-files.diff.html or generated-files.diff.txt artifact
TEST-UNEXPECTED-FAIL | i686-unknown-linux-gnu/release/build/cranelift-codegen-37dab135a3db8b7a/out/opcodes.rs differs. See the generated-files.diff.html or generated-files.diff.txt artifact
TEST-UNEXPECTED-FAIL | i686-unknown-linux-gnu/release/build/cranelift-codegen-e483dcad1bdf8c4a/out/inst_builder.rs differs. See the generated-files.diff.html or generated-files.diff.txt artifact
TEST-UNEXPECTED-FAIL | i686-unknown-linux-gnu/release/build/cranelift-codegen-e483dcad1bdf8c4a/out/opcodes.rs differs. See the generated-files.diff.html or generated-files.diff.txt artifact
Differential Revision: https://phabricator.services.mozilla.com/D55771
Somehow parse the diff output to print out slightly more unique error messages.
With this change, the error for bug 1597901 becomes:
TEST-UNEXPECTED-FAIL | firefox/libmozavutil.so differs. See the diff.html or diff.txt artifact
And the error for bug 1601150 becomes:
TEST-UNEXPECTED-FAIL | firefox/libxul.so differs. See the diff.html or diff.txt artifact
Which is not great, but better than the status quo.
Differential Revision: https://phabricator.services.mozilla.com/D55770
Because the debian9-base apt configuration doesn't install recommended
packages, we end up needing to install more packages than before. We
could pass --install-recommended to apt-get, but that would make the
image larger than it already was after the upcoming changes, because
new versions of diffoscope come with more recommended dependencies.
The side effect is that this makes the image much smaller than it used
to be, while preserving all the useful recommended packages (we don't
actually need all of them).
Differential Revision: https://phabricator.services.mozilla.com/D22262
In preparation for making it usable on Windows, after which point
having it in a directory with "docker" in it doesn't make much sense.
MozReview-Commit-ID: Hgu0buFyJwF
There are e.g. some build infrastructure changes that we want to have a
controlled impact on the Firefox builds we produce. We have, in multiple
occasions, gone through manual work to compare Firefox builds, most of
the time using the diffoscope tool (https://diffoscope.org/).
This change introduces a new task kind that takes two Firefox builds as
input, either by name (reference to a build from the current task graph)
or by index (reference to a build from a previous push), and compares
them.
In order to get a Firefox build by index, we rely on dummy tasks with
an optimization we expect to always hit, so we add the necessary bits
to ensure those dummy tasks can go through up to the optimization phase
and be optimized out there.