Commit Graph
23 Commits
Author SHA1 Message Date
Mike Hommey b84a960641 Bug 1597903 - When a build differs, check if the generated-files differ. r=froydnj
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
2019-12-04 22:27:35 +00:00
Mike Hommey aff05cb894 Bug 1597903 - Improve error reporting on diffoscope tasks. r=froydnj
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
2019-12-04 22:27:33 +00:00
Mike Hommey eda0e8f2a9 Bug 1598186 - Upgrade diffoscope to a more recent version. r=froydnj
This has the side effect of updating all debian10-based docker images
(except the ones based on debian10-test)

Differential Revision: https://phabricator.services.mozilla.com/D54069
2019-11-21 15:03:56 +00:00
Mike Hommey 5666566d82 Bug 1597903 - Add an error message when differences are found in diffoscope. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54068
2019-11-21 15:03:00 +00:00
Mike Hommey 0b6b869181 Bug 1573435 - Use toolchain fetches for diffoscope tasks. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D41736
2019-08-15 11:21:47 +09:00
Mike Hommey b68f7cd3c2 Bug 1566730 - Switch the diffoscope docker image to Debian 10. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38274
2019-07-17 21:54:25 +00:00
Mike Hommey b12632d7a5 Bug 1565157 - Fix diffoscope use of lipo and otool after bug 1551690. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D37685
2019-07-11 14:39:43 +00:00
Mike Hommey fc89242f83 Bug 1548701 - Do no silence curl in get_and_diffoscope. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D30137
2019-05-10 21:32:23 +00:00
Mike Hommey 5b2b3d4c2d Bug 1534500 - Run get_and_diffoscope with bash. r=dustin
This will allow to use bash constructs in pre-diff-commands, like
`{a,b}`.

Depends on D23075

Differential Revision: https://phabricator.services.mozilla.com/D23076
2019-03-12 20:19:14 +00:00
Mike Hommey 2e395d99ff Bug 1534500 - Allow diffoscope tasks to run commands before running the diff. r=dustin
Depends on D23074

Differential Revision: https://phabricator.services.mozilla.com/D23075
2019-03-12 20:21:14 +00:00
Mike Hommey 83e092e661 Bug 1534500 - Allow diffoscope tasks to work on unpacked builds. r=dustin
Depends on D23073

Differential Revision: https://phabricator.services.mozilla.com/D23074
2019-03-12 20:21:20 +00:00
Mike Hommey e0c60c184f Bug 1534500 - Allow to configure diffoscope tasks that fail when they detect differences. r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D23073
2019-03-12 20:27:34 +00:00
Mike Hommey ead9ac67b9 Bug 1532878 - Install diffoscope from stretch-backports. r=dustin
As of the update snapshot, stretch-backports contains version 112.

Depends on D22264

Differential Revision: https://phabricator.services.mozilla.com/D22265
2019-03-07 11:59:08 +00:00
Mike Hommey c809dc1a8e Bug 1532878 - Unbreak mach-o diffs after bug 1513798. r=dustin
Depends on D22262

Differential Revision: https://phabricator.services.mozilla.com/D22455
2019-03-07 15:55:11 +00:00
Mike Hommey a546695a98 Bug 1532878 - Derive the diffoscope docker image from debian9-base. r=dustin
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
2019-03-07 21:58:18 +00:00
Dustin J. Mitchell 356f9d5aa3 Bug 1492664 - update diffoscope tasks to use TASKCLUSTER_ROOT_URL; r=glandium 2018-10-02 15:52:28 +00:00
Sebastian Hengst e6609388b4 Backed out 21 changesets (bug 1492664) for breaking cron task for nightlies. a=backout
Backed out changeset a7d50dbb2c8e (bug 1492664)
Backed out changeset 2d876c4ece8b (bug 1492664)
Backed out changeset c82285d253de (bug 1492664)
Backed out changeset bf6d089640eb (bug 1492664)
Backed out changeset d9a7f2ce49c3 (bug 1492664)
Backed out changeset 06c466ab4323 (bug 1492664)
Backed out changeset c1ea4a10cc8d (bug 1492664)
Backed out changeset 4c63a04fdd47 (bug 1492664)
Backed out changeset 742b038bb1dd (bug 1492664)
Backed out changeset 911b4b0fb683 (bug 1492664)
Backed out changeset 870c8cec99e5 (bug 1492664)
Backed out changeset 77699b51336b (bug 1492664)
Backed out changeset 29f33f22fd8b (bug 1492664)
Backed out changeset e7f305408708 (bug 1492664)
Backed out changeset 335a92b1f424 (bug 1492664)
Backed out changeset c566f1c8dcdf (bug 1492664)
Backed out changeset c77ae59aba41 (bug 1492664)
Backed out changeset 9c35dd209c6b (bug 1492664)
Backed out changeset a972d6b4434e (bug 1492664)
Backed out changeset 5ea6f03f845e (bug 1492664)
Backed out changeset 0699d3873e44 (bug 1492664)
2018-12-20 12:43:22 +02:00
Dustin J. Mitchell 6b61b782a2 Bug 1492664 - update diffoscope tasks to use TASKCLUSTER_ROOT_URL; r=glandium 2018-10-02 15:52:28 +00:00
Margareta Eliza Balazs c18ee639c6 Backed out 16 changesets (bug 1492664) for breaking developer artifact builds, requested by standard8 a=backout
Backed out changeset 31e500489665 (bug 1492664)
Backed out changeset f4945658d45f (bug 1492664)
Backed out changeset 6d17291b8b92 (bug 1492664)
Backed out changeset 90f3faa36137 (bug 1492664)
Backed out changeset 0b229b00818a (bug 1492664)
Backed out changeset 5eb2c77d70a9 (bug 1492664)
Backed out changeset e1ebad5d89c5 (bug 1492664)
Backed out changeset 3017e5890739 (bug 1492664)
Backed out changeset c8b7e620eabf (bug 1492664)
Backed out changeset d3dfbd848236 (bug 1492664)
Backed out changeset 5c92bb5ac895 (bug 1492664)
Backed out changeset fb7cfca6ebc3 (bug 1492664)
Backed out changeset 0c4101230d4d (bug 1492664)
Backed out changeset b93a0fcc86f3 (bug 1492664)
Backed out changeset 6dc9522ee0bf (bug 1492664)
Backed out changeset 85d7f8b330eb (bug 1492664)
2018-12-19 11:45:29 +02:00
Dustin J. Mitchell 0a7524ce72 Bug 1492664 - update diffoscope tasks to use TASKCLUSTER_ROOT_URL; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D14211
2018-12-18 17:26:41 +00:00
Geoff Brown 4ca176bbb9 Bug 1460411 - Follow-up - diffoscope repo moved; updated url; r=me on a CLOSED TREE 2018-05-15 11:36:28 -06:00
Gregory Szorc 7e947fd801 Bug 1459737 - Move run-task into taskcluster/scripts; r=dustin
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
2018-05-04 17:23:31 -07:00
Mike Hommey ae3d424d62 Bug 1427312 - Add mechanism to create tasks to compare Firefox builds. r=dustin
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.
2017-12-28 12:14:34 +09:00