Граф коммитов

184 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 3507cf061a Backout changeset 25420b520b68 (part of bug 1386588) for asan bustage. a=bustage. 2017-08-03 12:11:40 +09:00
Mike Hommey cf23b5a7fa Bug 1386588 - Add a toolchain job for Clang 4. r=gps 2017-08-03 08:13:07 +09:00
Mike Hommey 1e86c54102 Bug 1386588 - Add a toolchain job for GCC 6. r=gps 2017-08-03 08:13:02 +09:00
Mike Hommey 40d5896697 Bug 1386588 - Add a toolchain job for GCC 4.8, and build clang against it. r=gps
While this looks like going backwards, it is desirable to build clang
against GCC 4.8, such that it contains its libgcc. This, in turn, will
solve problems using clang 3.9 with static-analysis builds (details in
bug 1356926). Another way to fix those problems would be to build clang
3.8 but that too would require GCC 4.8. Upgrading those builds to clang
3.9 will also allow to enable stylo on them.
2017-08-03 08:12:52 +09:00
Mike Hommey 614312f061 Bug 1386588 - Change the GCC build script to be future-proof. r=gps
It becomes a library of some sort, so that multiple scripts can benefit
from it to build different versions of GCC.

The GPG key associated with GCC is also refreshed from keys.gnupg.net,
adding a new subkey, used to sign newer versions of GCC (and
postprocessed with pgpstrip to make it smaller).
2017-08-03 08:12:47 +09:00
Mike Hommey c15ef2edff Bug 1386588 - Rename the linux64-clang and linux64-gcc jobs to include a version number. r=gps
We're soon going to build multiple versions of clang and gcc for linux,
and we need to differentiate them. Furthermore, there is a need for the
base-toolchains builds to use a fixed version of clang and gcc. So
rename the clang and gcc toolchain jobs to include their version, add
aliases to satisfy all existing jobs, and adjust the base-toolchains
jobs to use the explicit version.


--HG--
rename : build/build-clang/clang-linux64.json => build/build-clang/clang-3.9-linux64.json
rename : taskcluster/scripts/misc/build-gcc-linux.sh => taskcluster/scripts/misc/build-gcc-4.9-linux.sh
2017-08-03 08:12:43 +09:00
Mike Hommey ee6de1e835 Bug 1386588 - Rename the clang build manifests. r=gps
The clang toolchains have not been static-analysis-specific for a while.


--HG--
rename : build/build-clang/clang-static-analysis-linux64.json => build/build-clang/clang-linux64.json
rename : build/build-clang/clang-static-analysis-macosx64.json => build/build-clang/clang-macosx64.json
rename : build/build-clang/clang-static-analysis-win32.json => build/build-clang/clang-win32.json
rename : build/build-clang/clang-static-analysis-win64.json => build/build-clang/clang-win64.json
2017-08-03 08:12:29 +09:00
Nick Alexander 6e4a13fad8 Bug 1376306 - Bootstrap and upload java_home.tar.xz; bump Java to 1.8. r=dustin,sebastian
MozReview-Commit-ID: 3EOsrOp924f

--HG--
rename : taskcluster/scripts/misc/repackage-jdk-centos.sh => taskcluster/docker/android-gradle-build/bin/repackage-jdk-centos.sh
extra : rebase_source : 308d03828a78036076f6cdb68587be6694ac49ae
2017-07-25 20:43:14 -07:00
Ralph Giles ca59d812e5 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

--HG--
extra : rebase_source : d4c9c18c34ab829b59b9e16ec3cd8e736c418fd3
2017-07-26 13:04:57 -07:00
Mike Hommey 0bf47537e7 Bug 1384744 - Allow toolchain tasks not to have a tooltool manifest at all. r=gps
With the support added in bug 1382564, toolchains can be downloaded
without a tooltool manifest at all, and it's desirable to get rid of
tooltool manifests on jobs that don't need one.

--HG--
extra : rebase_source : 340d935034133f4f6d8aec3d15154736092859fa
2017-07-27 07:56:14 +09:00
Mike Hommey 07053af0c3 Bug 1384436 - Update sccache to version 0.2.0. r=ted
--HG--
extra : rebase_source : 4ced57d5d65a421dbdf181e6607412bc2b745547
2017-07-26 15:56:56 +09:00
Mike Hommey 4b7a4dc4ce Bug 1381772 - Add taskcluster jobs to build sccache for automation. r=ted
The MinGit tooltool package used for Windows builds comes straight from
https://github.com/git-for-windows/git/releases/

This builds the version currently used on automation.

--HG--
extra : rebase_source : dbc2a36b07611e673d6661032ad53123a688d422
2017-07-14 11:07:40 +09:00
Mike Hommey b4449d7604 Bug 1383996 - Make most calls to `mach artifact toolchain` output a manifest. r=gps
And upload it as artifact.

--HG--
extra : rebase_source : b29cf6fa4527608b45050ad91b4e3248654f1657
2017-07-20 17:56:22 +09:00
Cameron McCormack b210f3946b Bug 1382964 - Part 5: Restore allowed heap write hazards to 3. r=xidorn
MozReview-Commit-ID: LEJh0Gi2ltf

--HG--
extra : rebase_source : c16e689f9824338ff3b1a233b1bfda10849649b8
2017-07-21 16:44:23 +08:00
Mike Hommey 3236fcc629 Bug 1382860 - Use docker_worker_add_public_artifacts for toolchain docker-worker jobs. r=dustin
This affects the location of the artifacts directory, so adjust the
scripts and artifact definitions as a consequence.

--HG--
extra : rebase_source : 008b8cf33957eabfcacee61de8a260b5df146ab4
2017-07-21 07:30:14 +09:00
Mike Hommey 09db7d4793 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.

--HG--
extra : rebase_source : 277daa2c83d6d197975cb4ef36ee131176afa992
2017-06-21 15:18:33 +09:00
Jeremy Chen a9f3953446 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

--HG--
extra : rebase_source : 9edaec6a50f7251e3c05d9fbc252e1385d82a1bb
2017-07-21 16:04:30 +08:00
Sebastian Hengst 67cbdbd702 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 ddf2f0c279 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 a83c0b81cd 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

--HG--
extra : rebase_source : 3632a9abf9fac3f916ed9043f30d4b6aa4abb390
2017-07-18 17:39:27 -07:00
Ryan VanderMeulen 741a7a5ea3 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 22586623b5 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

--HG--
extra : rebase_source : 3632a9abf9fac3f916ed9043f30d4b6aa4abb390
2017-07-18 17:39:27 -07:00
Mike Hommey 44f53ed5e4 Bug 1381770 - In tooltool-download.sh, automatically setup the relengapi authentication file. r=mshal
--HG--
extra : rebase_source : 2c90085cb84737787cfdb714fc5d79a07daed34e
2017-07-18 16:13:26 +09:00
Mike Hommey d66c310fb7 Bug 1381770 - In tooltool-download.sh, only use the relengapi proxy when it's configured. r=mshal
--HG--
extra : rebase_source : 971e4eab1a5a04dc68ba566b2e963e3f61f53b82
2017-07-18 16:12:58 +09:00
Mike Hommey b9707356ff Bug 1381770 - Enable multiple download retries in tooltool-download.sh. r=mshal
The scripts that use tooltool-download.sh don't run regularly, but when
they do, they might hit some download problems (the relengapi proxy
tends to be rather unreliable for some reason), and in that case, it
would be better to retry a few times, like other job types, rather than
fail directly.

--HG--
extra : rebase_source : d85797f8eebff9be5b8bfc45fc14dfaf8d5a59f3
2017-07-18 14:51:04 +09:00
Mike Hommey f9e501f5c6 Bug 1381770 - Use $WORKSPACE instead of $HOME/workspace in tooltool-download.sh. r=mshal
All the current users of tooltool-download.sh set $WORKSPACE. This will
allow to reuse the script on different types of workers, that don't have
$WORKSPACE set to $HOME/workspace, but still have the source in
$WORKSPACE/build/src.

--HG--
extra : rebase_source : c91542da70109e5708a009542a0f588e30b541a9
2017-07-18 14:49:05 +09:00
Wes Kocher 62d8e4f4fa Backed out changeset f8a62747c51c (bug 1338651) for valgrind issues a=backout 2017-06-30 14:45:26 -07:00
Wander Lairson Costa c0abc737f5 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

--HG--
extra : source : feedcde68c2a54da210f03eb287ab5c862fc982b
extra : intermediate-source : 485d1af7805ad9fa0e701c3571fc1291fbfc6850
2017-06-29 15:45:01 -07:00
Manish Goregaokar 5f46f56cb9 Bug 1370734 - Fix hazards ; r=bustage
MozReview-Commit-ID: 1H4VwQ3Jdg6
2017-06-08 08:25:10 -07:00
Wes Kocher baffccc880 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 098482a936 Bug 1356952 - Move tooltool manifests defined in toolchain build scripts to taskcluster job definitions. r=mshal
The toolchain build scripts are currently defining the tooltool
manifest they use on their own. We move the definitions to the
taskcluster job definitions to normalize on everything using that.

--HG--
extra : rebase_source : cbab2e32d78d711fcb595763d0c2600c7c0c423e
2017-06-06 16:33:36 +09:00
Mike Hommey 18dc0c0659 Bug 1356952 - Use environment variable to define tooltool manifest in spidermonkey builds. r=mshal
Like hazard jobs.

--HG--
extra : rebase_source : b63d94efdc3f99171f458994e932b8303baab131
2017-06-06 16:55:28 +09:00
Mike Hommey 06ad247787 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.

--HG--
extra : rebase_source : bd619024bde051424a2d811a1996caaf0f853247
2017-06-06 16:20:09 +09:00
Dustin J. Mitchell 0edcecb78f Bug 1357753: create (correct) artifact directories with native-engine; r=wcosta
The mozharness_test job was using the wrong artifact path for native-engine.
Native-engine also enforces that artifact directories exist, so include some
mkdir calls to keep it happy.

MozReview-Commit-ID: Evw34gzzLev

--HG--
extra : rebase_source : 6ecf21e7d3516b8995f73e027666b39df31b0256
2017-05-12 19:24:24 +00:00
Dustin J. Mitchell 3fdb2573d7 Bug 1357753: optionally run linux Talos on native-engine; r=wcosta
This makes talos obey the `-w` try syntax flag.

MozReview-Commit-ID: 2v6X3ko2t9K

--HG--
extra : rebase_source : 6d155ae390a4e3afc6499e8cd2f6a7f5459b12b7
extra : source : 6a561e8a5c2619fa4809dab1d7a90898e551b599
2017-05-10 21:12:02 +00:00
Dustin J. Mitchell 39c08ba1d9 Bug 1357753: rename test-ubuntu.sh to test-linux.sh; r=wcosta
It was previously renamed in the Dockerfile, and that's unnecssarily confusing
when looking for the file in hg.

MozReview-Commit-ID: 7bwD4cjk4Pj

--HG--
rename : taskcluster/scripts/tester/test-ubuntu.sh => taskcluster/scripts/tester/test-linux.sh
extra : rebase_source : f22cd0f69c21e92126cc90ea3a4355e5c3db4205
2017-04-26 21:36:45 +00:00
Mike Hommey 63f96098ea Bug 1356140 - Enable tooltool cache on jobs that define one but don't use it. r=chmanchester
--HG--
extra : rebase_source : 085fe8ff6ac368624054bef1f171c8d24c8ecff1
2017-04-13 16:26:33 +09:00
Mike Hommey 9f5f3fa3b7 Bug 1356683 - Use new tooltool wrapper in Linux and OSX clang toolchain builds. r=chmanchester
--HG--
extra : rebase_source : e8be01f6e351f7e7d9cf091348f9beeccf4a91a1
2017-04-12 17:59:21 +09:00
Mike Hommey 972e97d9d7 Bug 1356683 - Use new tooltool wrapper in Windows clang toolchain builds. r=chmanchester
--HG--
extra : rebase_source : aa11388dce18cd1f16ebae0a2745d2929be717dc
2017-04-12 17:55:56 +09:00
Mike Hommey 1e68b6c8ee Bug 1356683 - Use new tooltool wrapper in Linux Spidermonkey builds. r=chmanchester
--HG--
extra : rebase_source : b522690ee3f48db7849f1ac557a2650750b9c3c4
2017-04-12 17:52:25 +09:00
Mike Hommey 6e9679163d Bug 1356683 - Use new tooltool wrapper in Linux hazard builds. r=chmanchester
--HG--
extra : rebase_source : fbfc9fc6cfe75c3817d09a31d812fac8ada64500
2017-04-12 17:51:01 +09:00
Wes Kocher be6648cab0 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 8e811ce9b6 Bug 1356700 - Don't set MOZ_AUTOMATION individually for hazard and l10n builds. r=mshal
--HG--
extra : rebase_source : 06b5e16e7c142878296699a4aa6bc17a4f1ab4c7
2017-04-15 07:36:59 +09:00
Dustin J. Mitchell 9cb2299144 Bug 1346361: remove unused script r=garndt,gps
MozReview-Commit-ID: 6nxO59wbLwF

--HG--
extra : rebase_source : d5c2af4cb5e7923d80a6be88911120ea324525a6
2017-04-28 10:44:07 -04:00
Steve Fink faa85c1b79 Bug 1356659 - Cut down the number of uploaded files for the hazard analysis, for clarity in Job Details, r=jonco
MozReview-Commit-ID: 333JhB3qSmX

--HG--
extra : rebase_source : 00a1b0d10cada91e74592886c5d93dab90eea01b
extra : histedit_source : 4e7c0a8ddfd145f51b1440dc10a3dda931b31c30
2017-02-10 15:23:21 -08:00
Jeremy Chen 79f145e226 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

--HG--
extra : rebase_source : af2b5b944fb9d19fe28f57eaa37f77174d48bfa4
2017-04-27 12:06:05 +08:00
Jeremy Chen 4f2d12389f Bug 1348173 - fix stylo bustage. r=heycam
MozReview-Commit-ID: KW6AddyoxwR

--HG--
extra : rebase_source : 07575025570390b0bba54a28faf67d854f8113ea
2017-04-25 14:50:44 +08:00
Manish Goregaokar 419b142c52 Bug 1356275 - Decrease allowed write hazard threshhold; r=bholley
MozReview-Commit-ID: 9cGPj1Hahed
2017-04-21 18:27:47 -07:00
Manish Goregaokar 88d831586c Bug 1358362- stylo: Whitelist ShapeSource outparams in bindings to satisfy heap write analysis; r=bholley
MozReview-Commit-ID: BzJg6b8DDxB

--HG--
extra : rebase_source : 58dfa278d3f9a7a7361b11bc56558de2cc957253
2017-04-20 14:49:53 -07:00
Manish Goregaokar d8a9796f8f Bug 1356276: stylo: Assert that Gecko_CSSFontFaceRule_GetCssText is on the main thread to satisfy heap write analysis; r=bholley
MozReview-Commit-ID: 3m4fX8eUXe4

--HG--
extra : rebase_source : ef0eeb244511b61e2495d8dc82565139dd6a6b19
2017-04-20 13:33:12 -07:00