Commit Graph

139 Commits

Author SHA1 Message Date
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
Mike Hommey
10f260de3c Bug 1356933 - Use tooltool-download.sh helper in cctools build scripts. r=chmanchester
While here, since the tooltool call from the cctools build scripts was
verbose, make the one in tooltool-download.sh verbose. It will benefit
the other things using tooltool-download.sh, making debugging easier
when one needs to look at the tooltool download logs...
2017-04-17 08:34:24 +09:00
Iris Hsiao
2cc99b0fa6 Backed out changeset 14010d77d56a (bug 1356933) for invisible bustage 2017-04-18 13:33:00 +08:00
Mike Hommey
627ec3c433 Bug 1356994 - Add a top-level directory to the libdmg-hfsplus source tarball. r=ted
Also change the README of the dmg tarball to point to the artifact url
directly.
2017-04-17 17:24:40 +09:00
Mike Hommey
79e8c7f662 Bug 1356933 - Use tooltool-download.sh helper in cctools build scripts. r=chmanchester 2017-04-17 08:34:24 +09: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
c13ee02c11 Bug 1356993 - Build libdmg-hfsplus based on a git commit, not a branch name. r=mshal 2017-04-17 17:14:11 +09:00
Mike Hommey
f118b3f0fa Bug 1356951 - Build mac cross toolchains with clang 3.9. r=ted
Also use the same cctools as cross-mac builds of Firefox.

Do dummy changes to the corresponding build scripts so that the builds
are force triggered (toolchain builds are not triggered automatically
when the tooltool manifest they use changes yet).
2017-04-17 14:33:09 +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
Steve Fink
ad13f5d9e8 Bug 1294915 - Unexpected heap write hazards should cause the hazard job to fail, r=jonco
MozReview-Commit-ID: 1jqx42HM47A
2017-04-12 15:44:18 -07:00
Steve Fink
e83265773f Bug 1294915 - Rewrite locations to URLs, r=jonco
MozReview-Commit-ID: ag7GgVmpxE
2017-04-13 15:51:25 -07:00
Ted Mielczarek
a0fd6080e8 bug 1354216 - fix cctools-port build scripts. r=mshal
The cctools-port build scripts were pulling and building the master branch
of the cctools-port repo, which means they'd build whatever was there
when they get triggered. I think this was copied from my build-cctools
script which did the same thing, so it's my fault in the end! This patch
pins a revision in the script so we'll build the same thing until we
explicitly update.

I also fixed the scripts to use git instead of tc-vcs, since tc-vcs prints
misleading error messages, and nothing else uses that anymore.

Finally, I removed the build-cctools script, since all the builds are using
cctools-port now so it doesn't serve any useful purpose.

MozReview-Commit-ID: 5myqHS4duor
2017-04-10 15:38:24 -04:00
Ted Mielczarek
5feea40f5a bug 1350093 - fix sccache configuration to handle changes in the format of TASKCLUSTER_WORKER_GROUP. r=froydnj
The TASKCLUSTER_WORKER_GROUP environment variable used to contain the full
AWS availability zone, but a recent docker-worker change changed it to
be simply the AWS region, which broke sccache in taskcluster because we
were using it as part of the S3 bucket name.

MozReview-Commit-ID: 1KsfWpB4PoY
2017-04-06 12:03:14 -04:00
Mike Shal
678a5af378 Bug 1351474 - use Mozilla fork of libdmg-hfsplus; r=ted
The latest upstream version produces .dmg files that have fsck errors,
and some versions of OSX complain that the image is corrupted. The
previous version of libdmg-hfsplus that we were using (1d72dd62a)
doesn't have fsck errors, but it also doesn't preserve file permissions.
Our fork is based on the older version and backports the file permission
commits.

MozReview-Commit-ID: Bjwy6MJ98Ud
2017-03-30 16:30:59 -04:00
Justin Wood
46cb4c8a47 Bug 1347579 - Add mozharness script (and docker build shell script) to allow running mach repackage. r=aki
(For "Integrate and fully support OSX Signing in taskcluster")

Written as a mozharness script rather than using bare ./mach command because we need to download the upstream artifact
and because we need to download artifacts from tooltool to do the packing back into a .dmg. Future ideal would be to get
rid of the mozharness script and use JUST ./mach.

This is using the ./mach repackage code being created in Bug 1347576. Taking a signed tarball from a dmg supported with
Bug 1346015, and the taskgraph work to schedule this is in Bug 1318505.

MozReview-Commit-ID: rv9l285HKC
2017-03-28 10:41:38 -04:00
William Lachance
f2808a4d7d Bug 1347177 - When doing custom retrigger, job should fail when custom mach command fails r=dustin
MozReview-Commit-ID: A9A0yNkFFma
2017-03-14 11:23:06 -04:00
William Lachance
19efcddfc5 Bug 1343327 - Add taskcluster mochitest retrigger action r=ahal,jonasfj
MozReview-Commit-ID: A1SOeVo6eu4
2017-02-22 22:11:46 -05:00
Andrew Halberstadt
aac4585624 Bug 1335873 - Convert marionette harness unittests to standard python unittests, r=maja_zf
This formats the marionette-harness python tests to be a regular |mach python-test| suite. Though
we add subsuite=marionette, this is just for automation purposes. The new preferred way to run the
marionette harness tests locally is:
./mach python-test testing/marionette

They will also run if running the full suite.

The mozbase packages.txt file modifies mozlog to use 'setup.py' instead of 'pth'. The reason for
this is that the marionette-harness tests use the pytest_mozlog pytest plugin for formatting
their results (converts pytest format into something resembling the standard tbpl logging format).
In order for this plugin to get picked up however, mozlog's setup.py file needs to be processed.

MozReview-Commit-ID: Ata99evHxbd
2017-02-15 16:38:45 -05:00
Sebastian Hengst
26ea5b9d14 Backed out changeset 3c0a7527608a (bug 1335873) 2017-03-01 17:35:06 +01:00
Andrew Halberstadt
d08b8a2c05 Bug 1335873 - Convert marionette harness unittests to standard python unittests, r=maja_zf
This formats the marionette-harness python tests to be a regular |mach python-test| suite. Though
we add subsuite=marionette, this is just for automation purposes. The new preferred way to run the
marionette harness tests locally is:
./mach python-test testing/marionette

They will also run if running the full suite.

The mozbase packages.txt file modifies mozlog to use 'setup.py' instead of 'pth'. The reason for
this is that the marionette-harness tests use the pytest_mozlog pytest plugin for formatting
their results (converts pytest format into something resembling the standard tbpl logging format).
In order for this plugin to get picked up however, mozlog's setup.py file needs to be processed.

MozReview-Commit-ID: Ata99evHxbd
2017-02-15 16:38:45 -05:00
Andrew Halberstadt
65f1879f32 Bug 1337827 - [one-click-loaner] Always set up mach environment when calling 'run-mozharness' (if possible) r=maja_zf
This is a minor refactor that aims to always attempt to set up 'mach' after running the 'run-mozharness' script.
We put it in a 'finally' block so we'll even do this if the user presses Ctrl-C or there was an exception
in the test harness. Importantly, this will be set up regardless of whether the user chooses "Option 1" or
"Option 2" at the wizard prompt.

The reason for this change is mostly 'might as well'. If it can save some users confusion, then it is worthwhile.

MozReview-Commit-ID: Dx3rV17FOoJ
2017-02-10 12:07:44 -05:00
Andrew Halberstadt
e096759602 Bug 1337827 - [one-click-loaner] Print error message if mach binary wasn't found r=maja_zf
MozReview-Commit-ID: Dx3rV17FOoJ
2017-02-10 12:07:38 -05:00
Andrew Halberstadt
dbff6d3c3b Bug 1337827 - [one-click-loaner] Refactor mach environment setup into a standalone function r=maja_zf
MozReview-Commit-ID: CuxSwkp0Uuk
2017-02-10 11:39:03 -05:00
Wes Kocher
dd70933f86 Merge m-c to autoland, a=merge
MozReview-Commit-ID: D76dMYwFRUQ
2017-02-09 17:06:59 -08:00
Ted Mielczarek
878c07715e bug 1337393 - add a toolchain task for building libdmg-hfsplus tools, build them from a newer branch r=callek
There's not a single well-maintained fork of libdmg-hfsplus, but there are
scattered forks with various fixes. The fork + branch I've chosen here
seems to have collected the most fixes, including a specific fix we need
for repacking DMG files on Linux:
5c92af354b

MozReview-Commit-ID: 3RB6gfgQmCA
2017-02-07 10:57:23 -05:00
Wes Kocher
a64f15cdaf Merge inbound to central, a=merge
MozReview-Commit-ID: 4mN7daXzULJ
2017-02-08 16:08:42 -08:00
Justin Wood
1c93b9e148 Bug 1197325 - Generate mkfs.hfsplus. r=ted
MozReview-Commit-ID: Dl0eBQR8XFR
2017-01-30 13:12:57 -05:00
Mike Hommey
8bd0ca5655 Bug 1338016 - Use clang from tooltool to build hfsplus. r=mshal 2017-02-09 11:37:28 +09:00
Mike Hommey
692db07c3d Bug 1338008 - Avoid creating a lipo symlink in /usr/bin for clang macosx builds. r=mshal 2017-02-09 10:40:16 +09:00
Phil Ringnalda
dc6ead507c Backed out 3 changesets (bug 1197325) for adding a burning Cc(hfsplus) job
CLOSED TREE

Backed out changeset 158233bce738 (bug 1197325)
Backed out changeset b5ac3fa0bbe7 (bug 1197325)
Backed out changeset 55a8ad127517 (bug 1197325)
2017-02-06 20:04:55 -08:00
Justin Wood
30441812e6 Bug 1197325 - Generate mkfs.hfsplus. r=ted
MozReview-Commit-ID: Dl0eBQR8XFR
2017-01-30 13:12:57 -05:00
Ehsan Akhgari
6e00601f68 Bug 1331957 - Part 9: Upgrade cctools used for building clang on OS X for ld 264.3.102; r=froydnj 2017-02-03 10:19:33 -05:00
Ehsan Akhgari
d5784b3ad6 Bug 1331957 - Part 8: Build cctools-port in the infrastructure; r=froydnj,dustin 2017-02-03 10:19:28 -05:00
Ehsan Akhgari
5a52243158 Bug 1331957 - Part 2: Add cross compile jobs for clang 3.9 OSX builds; r=dustin 2017-02-03 10:18:55 -05:00
Iris Hsiao
1f83a308ef Backed out 14 changesets (bug 1331957, bug 1336149) for OS X 10.7 debug static analysis build bustage
Backed out changeset a01bead75258 (bug 1336149)
Backed out changeset 9a64d3102f6b (bug 1331957)
Backed out changeset a10f7732a754 (bug 1331957)
Backed out changeset 82c98214febe (bug 1331957)
Backed out changeset f74c7a543525 (bug 1331957)
Backed out changeset 6631f3582920 (bug 1331957)
Backed out changeset ccefeba51cf6 (bug 1331957)
Backed out changeset a84b26a07369 (bug 1331957)
Backed out changeset fc0b3a0ad1e5 (bug 1331957)
Backed out changeset bbcae89fd7c2 (bug 1331957)
Backed out changeset ffd70d960b9f (bug 1331957)
Backed out changeset a53ecc295eae (bug 1331957)
Backed out changeset d44a0be29686 (bug 1331957)
Backed out changeset a01a373da6a8 (bug 1331957)
2017-02-03 11:16:08 +08:00
Ehsan Akhgari
5eeda759b8 Bug 1331957 - Part 9: Upgrade cctools used for building clang on OS X for ld 264.3.102; r=froydnj 2017-02-02 20:20:56 -05:00
Ehsan Akhgari
ba96dbcfac Bug 1331957 - Part 8: Build cctools-port in the infrastructure; r=froydnj,dustin 2017-02-02 20:20:54 -05:00
Ehsan Akhgari
9f95a3b495 Bug 1331957 - Part 2: Add cross compile jobs for clang 3.9 OSX builds; r=dustin 2017-02-02 20:20:46 -05:00
Andrew Halberstadt
83bc098b2b Bug 1334209 - Activate mozharness virtualenv in-process from one click loaner mach commands, r=jmaher
Previously the run-wizard script would add a command to source the virtualenv in ~/.bashrc after
mozharness finished setting things up. This is fragile, assumes people are using bash, etc. Plus
it appeared to intermittently fail for some users.

Instead, this activates the virtualenv directly from individual mach commands that need it. This
guarantees we will always be using the virtualenv if required (and won't be using it if not). The
'activate_this.py' script is invoked the same way that we do it for in-tree mach commands:
https://dxr.mozilla.org/mozilla-central/rev/9c06e744b1befb3a2e2fdac7414ce18220774a1d/python/mozbuild/mozbuild/virtualenv.py#456

MozReview-Commit-ID: CfcoiVJXQTl
2017-01-31 11:53:36 -05:00
Andrew Halberstadt
c0699b3044 Bug 1285550 - Increase timeout to 60s while waiting for run-mozharness in a one-click loaner, r=maja_zf
MozReview-Commit-ID: KCmnxZkStqw
2017-01-26 16:11:43 -05:00
Ehsan Akhgari
f6cb6a37c6 Bug 1337233 - Part 1: Add llvm-dsymutil to cctools; r=froydnj
cctools-port doesn't include dsymutil.  Since llvm-dsymutil is a
drop-in replacement for dsymutil, let's use that here.
2017-02-08 09:48:24 -05:00
Ehsan Akhgari
b5474aa66c Bug 1332022 - Part 1: Use the libc++ headers from the libc++ project being built; r=mystor
LLVM relies on new libc++ features that may not be present in
the system headers.
2017-01-18 23:04:10 -05:00
Dustin J. Mitchell
f9b3168c3a Bug 1321876: remove unused builder scripts; r=gps
MozReview-Commit-ID: GILSlgn0JLq
2016-12-30 20:54:52 -05:00