gecko-dev/testing/mozharness
Mike Shal 5974699942 Bug 1560755 - Merge Android PGO profile data in run task; r=firefox-build-system-reviewers,chmanchester
Android profile runs don't always fully write out the profile data. In
this case, the corrupted profile data is successfully uploaded, but
future profile-use PGO builds try to merge the data and fail. Retrying
the profile-use builds doesn't help, since they all pull from the same
job that published the corrupt data.

We can detect this in the run task by using llvm-profdata merge, and if
the merge fails the task can automatically be retried. Note that the
data gets redundantly merged in the profile-use build, but it may not be
possible to run the merge in the run task on all platforms (eg: OSX), so
we have to keep the merge there as well.

Differential Revision: https://phabricator.services.mozilla.com/D36294

--HG--
extra : moz-landing-system : lando
2019-07-02 21:51:23 +00:00
..
configs Bug 1557190: Update esr migration script for esr68; r=Callek 2019-06-30 20:57:00 +00:00
docs Bug 1494091: [mozharness] Remove unsued signing code; r=Callek 2018-10-02 18:27:37 +00:00
examples
external_tools Bug 1561582 - tooltool.py now supports python 3 and 2 r=rail CLOSED TREE 2019-06-27 12:54:07 +00:00
mozharness Bug 1558598 - Fix up webrender options for the firefox-ui harness. r=ato,whimboo 2019-06-29 09:50:34 +00:00
scripts Bug 1560755 - Merge Android PGO profile data in run task; r=firefox-build-system-reviewers,chmanchester 2019-07-02 21:51:23 +00:00
test Bug 1554818 - [mozlog] Update StatusHandler to support known_intermittent field r=jgraham 2019-06-11 14:09:40 +00:00
LICENSE
mach_commands.py Bug 1545147 - Run remote agent's mochitests in a distinct "remote" job. r=ahal 2019-06-17 13:57:03 +00:00
moz.build Bug 1551208 - Update obsolete bug component. r=aki 2019-05-13 20:41:07 +00:00
README.txt
requirements.txt Bug 1476001 Security updates for python r=jlund 2018-10-09 16:55:10 +00:00
setup.cfg
setup.py
tox.ini Bug 1554818 - [mozlog] Update StatusHandler to support known_intermittent field r=jgraham 2019-06-11 14:09:40 +00:00
unit.sh

# Mozharness

## Docs
* https://developer.mozilla.org/en-US/docs/Mozharness_FAQ
* https://wiki.mozilla.org/ReleaseEngineering/Mozharness
* http://moz-releng-mozharness.readthedocs.org/en/latest/mozharness.mozilla.html
* http://moz-releng-docs.readthedocs.org/en/latest/software.html#mozharness

## Submitting changes
Like any Gecko change, please create a patch or submit to Mozreview and
open a Bugzilla ticket under the Mozharness component:
https://bugzilla.mozilla.org/enter_bug.cgi?product=Release%20Engineering&component=Mozharness

This bug will get triaged by Release Engineering

## Run unit tests
To run the unit tests of mozharness the `tox` package needs to be installed:

```
pip install tox
```

There are various ways to run the unit tests. Just make sure you are within the `$gecko_repo/testing/mozharness` directory before running one of the commands below:

```
tox                            # run all unit tests
tox -- -x                      # run all unit tests but stop after first failure
tox -- test/test_base_log.py   # only run the base log unit test
```

Happy contributing! =)