Commit Graph

91 Commits

Author SHA1 Message Date
David Major
2c86a9ff2a Bug 1409044 - Pass the tooltool authentication file in Spidermonkey builds. r=Callek 2017-10-16 11:43:34 -04:00
Nick Alexander
6f7d566a28 Bug 1405413 - Migrate Gradle dependency fetching to toolchain dependencies. r=dustin
MozReview-Commit-ID: 6OOD4mhICG1
2017-10-13 12:59:04 -07:00
Sebastian Hengst
76caff3b45 merge mozilla-central to autoland. r=merge a=merge 2017-10-14 00:02:17 +02:00
Steve Fink
6acf92722e Bug 1339989 - Create a sixgill compilation toolchain job, r=glandium 2017-10-09 17:49:29 -07:00
Nick Alexander
98fc1233c6 Bug 1405412 - Post: Remove JDK repackaging script. r=dustin
I don't think (the output of) this script is used anywhere.

MozReview-Commit-ID: DwMFtpozjNL
2017-10-05 16:57:40 -07:00
Nick Alexander
d50cf143cc Bug 1405412 - Migrate Android SDK to android-sdk-linux toolchain task. r=dustin
The only tricky piece here is that the resulting toolchain archive is
private, and uses a newly allocated Task Cluster scope
(queue:get-artifact:project/gecko/android-sdk/*) to restrict access to
the archive.  All SCM levels (1, 2, 3) have been given the new scope:
see https://tools.taskcluster.net/auth/roles/moz-tree:level:1 and
friends.

MozReview-Commit-ID: CcDqDOHODpe
2017-10-03 11:45:27 -07:00
Sebastian Hengst
db116567c6 Backed out changeset 5f4ff0de7242 (bug 1405412) 2017-10-12 23:41:30 +02:00
Sebastian Hengst
5b5f2ba3e5 Backed out changeset 44f885bc7c22 (bug 1405412) 2017-10-12 23:41:25 +02:00
Nick Alexander
35bbf01a45 Bug 1405412 - Post: Remove JDK repackaging script. r=dustin
I don't think (the output of) this script is used anywhere.

MozReview-Commit-ID: DwMFtpozjNL
2017-10-05 16:57:40 -07:00
Nick Alexander
22be20eec2 Bug 1405412 - Migrate Android SDK to android-sdk-linux toolchain task. r=dustin
The only tricky piece here is that the resulting toolchain archive is
private, and uses a newly allocated Task Cluster scope
(queue:get-artifact:project/gecko/android-sdk/*) to restrict access to
the archive.  All SCM levels (1, 2, 3) have been given the new scope:
see https://tools.taskcluster.net/auth/roles/moz-tree:level:1 and
friends.

MozReview-Commit-ID: CcDqDOHODpe
2017-10-03 11:45:27 -07:00
Nick Alexander
020608bac5 Bug 1396098 - part 1 - base android-build on Debian instead of CentOS; r=glandium,dustin
CentOS 6 is pinned to glibc 2.12, but newer Android build-tools (like
aapt) require glibc 2.14.  It's not possible to safely upgrade CentOS
6 distributions to glibc 2.14.

CentOS 7 is pinned to glibc 2.17, which is new enough for newer
Android build-tools. However, I had great difficulty bringing forward
our existing centos:6 Docker image to centos:7.  In particular,
installing recent enough Mercurial, git, Python, and pip versions was
difficult enough that I elected to not pursue this approach.

Instead, I've elected to follow glandium's suggestion from
https://bugzilla.mozilla.org/show_bug.cgi?id=1370119#c5: base on
Debian with snapshots.debian.org for reproducibility.

The most significant changes here:

- using Debian's snapshots repository
- using Python and related tools provided by Debian and baked into the
  build image
- using the JDK and JRE provided by Debian and baked into the build
  image, rather than versions from tooltool (or eventually a toolchain
  build)

Moving the builds over to use this image will follow in the patches
ahead.
2017-09-18 15:38:22 -04:00
Steve Fink
c5e8fb5f1f Bug 1400442 - Trim down whitelists to only what is required, and mark all known issues with bug numbers, r=jonco
I also snuck in some last-minute assertions and minor fixes into this patch:

- don't stop reporting for a callee if we've seen it already (or rather, make the reachable set local to a root rather than global to all roots). This slows down runs with hundreds of hazards, but results in every problematic root being reported, for a more accurate count.

- annotate away some thread assertions

- special-case annotation for bug 1400435 since it's a whole family of hazards
2017-09-15 17:18:13 -07:00
Gregory Szorc
7495229000 Backed out changesets ef813898b5d3, ce228388aaf6, and c798f482b2c5 (bug 1396098) for violating TC cache constraints
CLOSED TREE
2017-09-18 13:30:43 -07:00
Nick Alexander
80be0903de Bug 1396098 - part 1 - base android-build on Debian instead of CentOS; r=glandium,dustin
CentOS 6 is pinned to glibc 2.12, but newer Android build-tools (like
aapt) require glibc 2.14.  It's not possible to safely upgrade CentOS
6 distributions to glibc 2.14.

CentOS 7 is pinned to glibc 2.17, which is new enough for newer
Android build-tools. However, I had great difficulty bringing forward
our existing centos:6 Docker image to centos:7.  In particular,
installing recent enough Mercurial, git, Python, and pip versions was
difficult enough that I elected to not pursue this approach.

Instead, I've elected to follow glandium's suggestion from
https://bugzilla.mozilla.org/show_bug.cgi?id=1370119#c5: base on
Debian with snapshots.debian.org for reproducibility.

The most significant changes here:

- using Debian's snapshots repository
- using Python and related tools provided by Debian and baked into the
  build image
- using the JDK and JRE provided by Debian and baked into the build
  image, rather than versions from tooltool (or eventually a toolchain
  build)

Moving the builds over to use this image will follow in the patches
ahead.
2017-09-18 15:38:22 -04:00
Nick Alexander
92fec070b6 Bug 1396098 - part 0a - only source xvfb.sh if we need xvfb; r=glandium
No sense doing unnecessary work.
2017-09-15 14:52:24 -04:00
Nick Fitzgerald
6af810fd84 Bug 1277338 - Part 10: Add the SM-tc(rust) taskcluster task; r=sfink
This adds a new SpiderMonkey taskcluster test task that builds and tests the
js/rust crate.
2017-09-05 09:26:21 -07:00
Wander Lairson Costa
6b7f9ef0d1 Bug 1338651 part 1: Change docker image home dir to /build. r=dustin,mshal
Using /home/worker is the build directory has a 30% talos performance
loss, because test machines has a /home mount directory.

MozReview-Commit-ID: 554IPMRWgzK
2017-08-28 08:44:51 -03:00
Gregory Szorc
13fbc64bc2 Bug 1391476 - Don't install nexus.xml in a Docker volume; r=mshal
We're about to ban files in Docker volumes so they behave almost
identically to caches (which start empty).

We move the install of nexus.xml from Docker image time to
task time. This also means that changes to nexus.xml don't result
in having to rebuild the Docker image.

MozReview-Commit-ID: JIjeJN4mt2
2017-08-23 10:34:14 -07:00
Rok Garbas
9d7ac6a8ed Bug 1284475 - migrate ToolTool blueprint to new codebase of relengapi r=KWierso
UPGRADE_NSS_RELEASE a=kaie
MozReview-Commit-ID: 7CB1VYb8OJP
2017-08-08 10:55:52 +02:00
Nick Alexander
9128ef6ae1 Bug 1383973 - Introduce single build script for run: using: mozharness. r=dustin
The old process ran "before" and "after" steps as root.  The
mozharness script doesn't run as root, which required some small
changes to not run Sonatype Nexus as root.  Everything else is a
straight-forward move of the scripts out of the `android-gradle-build`
image and into `taskcluster/scripts`.

MozReview-Commit-ID: CqnNI33OKmb
2017-08-02 16:41:15 -07:00
Ralph Giles
1d7030c926 Bug 1384258 - Ease the hazard tolerance for stylo. r=xidorn
Allow an extra heap write hazard introduced by enabling stylo
in default builds until it can be addressed. See bug 1384625.

MozReview-Commit-ID: 2N3z6FVHa0G
2017-07-26 13:04:57 -07:00
Cameron McCormack
5beeab7932 Bug 1382964 - Part 5: Restore allowed heap write hazards to 3. r=xidorn
MozReview-Commit-ID: LEJh0Gi2ltf
2017-07-21 16:44:23 +08:00
Mike Hommey
3e2fbffd22 Bug 1382564 - Use the information from bug 1374940 with mach artifact toolchain. r=gps
Bug 1374940 adds a MOZ_TOOLCHAINS environment variable with a list of
path@task-id strings, where task-id is corresponding to the (possibly
optimized) toolchain job, and path corresponding to the
toolchain-artifact defined for that toolchain job.

We want to use that to pull artifacts instead of tooltool packages.
2017-06-21 15:18:33 +09:00
Jeremy Chen
f6b0707c7e Bug 1382956 - ease the hazard tolerance number for Bug 1380133. r=jeremychen
This is a quick work around for not blocking the progress of Bug 1380133.
We should definely investigate the real root cause sooner than later.

MozReview-Commit-ID: 8X1FH6f2GyN
2017-07-21 16:04:30 +08:00
Sebastian Hengst
11418adb03 Backed out changeset 498c1859cee1 (bug 1382956) for containing unrelated changes. r=backout on request from jeremychen 2017-07-21 10:16:49 +02:00
Jeremy Chen
0d1cf47d68 Bug 1382956 - ease the hazard tolerance number for Bug 1380133. r=jeremychen
This is a quick work around for not blocking the progress of Bug 1380133.
We should definely investigate the real root cause sooner than later.

MozReview-Commit-ID: 8X1FH6f2GyN
2017-07-21 16:07:50 +08:00
Gregory Szorc
6346b71471 Bug 1377216 - Unset MOZ_AUTOMATION when building SpiderMonkey from package; r=glandium
We're about to make MOZ_AUTOMATION more strict about things like having
a source checkout.

The whole point of build-sm-package.sh is to verify that SpiderMonkey
can be built outside of Mozilla's source repo and automation from a
standalone package. Since the presence of MOZ_AUTOMATION can influence
so much behavior in the build system, unset it so that the job
tests a !Mozilla environment more accurately.

MozReview-Commit-ID: EMfyLKfY0uU
2017-07-18 17:39:27 -07:00
Ryan VanderMeulen
a97112e33f Backed out 6 changesets (bug 1377216) for SM(pkg) bustage on a CLOSED TREE.
Backed out changeset b5701f3ce506 (bug 1377216)
Backed out changeset 1f37aebe0f43 (bug 1377216)
Backed out changeset c8931588f674 (bug 1377216)
Backed out changeset ded5328ba74c (bug 1377216)
Backed out changeset 6cb234539746 (bug 1377216)
Backed out changeset ce836965fd58 (bug 1377216)
2017-07-19 22:14:03 -04:00
Gregory Szorc
ff3d3d8547 Bug 1377216 - Unset MOZ_AUTOMATION when building SpiderMonkey from package; r=glandium
We're about to make MOZ_AUTOMATION more strict about things like having
a source checkout.

The whole point of build-sm-package.sh is to verify that SpiderMonkey
can be built outside of Mozilla's source repo and automation from a
standalone package. Since the presence of MOZ_AUTOMATION can influence
so much behavior in the build system, unset it so that the job
tests a !Mozilla environment more accurately.

MozReview-Commit-ID: EMfyLKfY0uU
2017-07-18 17:39:27 -07:00
Wes Kocher
87809bff97 Backed out changeset f8a62747c51c (bug 1338651) for valgrind issues a=backout 2017-06-30 14:45:26 -07:00
Wander Lairson Costa
484b2f6d33 Bug 1338651: Change docker image home dir to /build. r=dustin,mshal a=hopefullyavoidingmergebustagelater
Using /home/worker is the build directory has a 30% talos performance
loss, because test machines has a /home mount directory.

MozReview-Commit-ID: zehcGJrUQX
2017-06-29 15:45:01 -07:00
Manish Goregaokar
5e9838b6e3 Bug 1370734 - Fix hazards ; r=bustage
MozReview-Commit-ID: 1H4VwQ3Jdg6
2017-06-08 08:25:10 -07:00
Wes Kocher
6933057ee2 Bug 1370734 - Temporarily increase the number of allowed write hazards until issues can be sorted out a=me
MozReview-Commit-ID: EmfQim9kpIw
2017-06-07 17:53:50 -07:00
Mike Hommey
efa0ed2395 Bug 1356952 - Use environment variable to define tooltool manifest in spidermonkey builds. r=mshal
Like hazard jobs.
2017-06-06 16:55:28 +09:00
Mike Hommey
caf3d96cf6 Bug 1356952 - Use environment variable to define tooltool manifest in hazard builds. r=mshal
Hazard jobs use a specific tooltool-manifest field in their definition.
Since there is no post-processing happening on those definitions, and
since generalizing it would require adding the field to a bunch of
validation schemas, and the same code to various transforms, it's just
simpler to move to use environment variable definitions here too.

Eventually, tooltool manifests won't be necessary anyways, and those
environment variables will go away.
2017-06-06 16:20:09 +09:00
Mike Hommey
80da25fe04 Bug 1356683 - Use new tooltool wrapper in Linux Spidermonkey builds. r=chmanchester 2017-04-12 17:52:25 +09:00
Mike Hommey
3dffd334f7 Bug 1356683 - Use new tooltool wrapper in Linux hazard builds. r=chmanchester 2017-04-12 17:51:01 +09:00
Wes Kocher
a05bc5e206 Bug 1362599 - Bump number of allowed hazards until it can be sorted out a=bustage
MozReview-Commit-ID: LmGmsNWBaDC
2017-05-05 16:20:05 -07:00
Mike Hommey
f6865516d6 Bug 1356700 - Don't set MOZ_AUTOMATION individually for hazard and l10n builds. r=mshal 2017-04-15 07:36:59 +09:00
Steve Fink
1129839bab Bug 1356659 - Cut down the number of uploaded files for the hazard analysis, for clarity in Job Details, r=jonco
MozReview-Commit-ID: 333JhB3qSmX
2017-02-10 15:23:21 -08:00
Jeremy Chen
5dd2fef7d7 Bug 1359313 - whitelist -moz-border-*-colors related bindings to satisfy heap write analysis. r=bholley,heycam
A quick fix for hazard bustage by increase the NUM_ALLOWED_WRITE_HAZARDS
from 3 to 7 is pushed in bug 1348173 comment 37. In this bug, we shall do
the actual fix and restore the NUM_ALLOWED_WRITE_HAZARDS.

The -moz-border-*-colors bindings trigger errors because they're using
outparams (nsStyleBorder) which further manipulate its member (mBorderColors)
which is a double raw pointers. Since we don't have the ability to
whitelist the indirect access to mBorderColors[x] list, we can only add
them to the ignoreContents for now.

We might be able to move these bindings to the whitelist of the above
treatAsSafeArgument function, if we could refactor mBorderColors to use
nsTArray directly.

MozReview-Commit-ID: 2cQz58K2A10
2017-04-27 12:06:05 +08:00
Jeremy Chen
9ab87ca0e7 Bug 1348173 - fix stylo bustage. r=heycam
MozReview-Commit-ID: KW6AddyoxwR
2017-04-25 14:50:44 +08:00
Manish Goregaokar
13ccd860d8 Bug 1356275 - Decrease allowed write hazard threshhold; r=bholley
MozReview-Commit-ID: 9cGPj1Hahed
2017-04-21 18:27:47 -07:00
Manish Goregaokar
2eae3a4e0b Bug 1358362- stylo: Whitelist ShapeSource outparams in bindings to satisfy heap write analysis; r=bholley
MozReview-Commit-ID: BzJg6b8DDxB
2017-04-20 14:49:53 -07:00
Manish Goregaokar
65b3d72640 Bug 1356276: stylo: Assert that Gecko_CSSFontFaceRule_GetCssText is on the main thread to satisfy heap write analysis; r=bholley
MozReview-Commit-ID: 3m4fX8eUXe4
2017-04-20 13:33:12 -07:00
Manish Goregaokar
59c91e3b16 Bug 1356305 - stylo: Initialize system metrics before traversing; r=bholley
MozReview-Commit-ID: IOeT4qSHTy5
2017-04-14 09:28:25 +08:00
Sebastian Hengst
e2bbb89ccf Backed out changeset 8b43c62ad836 (bug 1356700) 2017-04-18 00:50:15 +02:00
Mike Hommey
82ec9daa23 Bug 1356700 - Don't set MOZ_AUTOMATION individually for hazard and l10n builds. r=mshal 2017-04-15 07:36:59 +09:00
Mike Hommey
187e7f6ebc Bug 1355731 - Move tooltool to mozbuild.action. r=gps 2017-02-22 17:20:41 +09:00
Wes Kocher
977060a374 Bug 1294915 - Bump number of allowed write hazards r=bholley CLOSED TREE 2017-04-13 19:55:56 -07:00