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

3130 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 6eda7ef2e5
Bump coverage from 5.2 to 5.2.1 (#1731)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.2 to 5.2.1.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/coverage-5.2...coverage-5.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 13:39:23 +02:00
dependabot[bot] a112a32556
Bump numpy from 1.19.0 to 1.19.1 (#1728)
Bumps [numpy](https://github.com/numpy/numpy) from 1.19.0 to 1.19.1.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/master/doc/HOWTO_RELEASE.rst.txt)
- [Commits](https://github.com/numpy/numpy/compare/v1.19.0...v1.19.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 13:39:14 +02:00
dependabot[bot] e628bbbb49
Bump scipy from 1.5.1 to 1.5.2 (#1732)
Bumps [scipy](https://github.com/scipy/scipy) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](https://github.com/scipy/scipy/compare/v1.5.1...v1.5.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 10:34:33 +02:00
dependabot[bot] 6f83959d21
Bump boto3 from 1.14.24 to 1.14.28 (#1729)
Bumps [boto3](https://github.com/boto/boto3) from 1.14.24 to 1.14.28.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/boto/boto3/compare/1.14.24...1.14.28)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 10:34:20 +02:00
dependabot[bot] b4378cb77d
Bump taskcluster from 34.0.1 to 35.0.0 (#1730)
Bumps [taskcluster](https://github.com/taskcluster/taskcluster) from 34.0.1 to 35.0.0.
- [Release notes](https://github.com/taskcluster/taskcluster/releases)
- [Changelog](https://github.com/taskcluster/taskcluster/blob/master/CHANGELOG.md)
- [Commits](https://github.com/taskcluster/taskcluster/compare/v34.0.1...v35.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 10:34:09 +02:00
dependabot[bot] 9b03c558e0
Bump sentry-sdk from 0.16.1 to 0.16.2 (#1727)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 0.16.1 to 0.16.2.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGES.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/0.16.1...0.16.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 10:33:58 +02:00
dependabot[bot] 8be71542dc
Bump rq from 1.4.3 to 1.5.0 (#1726)
Bumps [rq](https://github.com/nvie/rq) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/nvie/rq/releases)
- [Changelog](https://github.com/rq/rq/blob/master/CHANGES.md)
- [Commits](https://github.com/nvie/rq/compare/v1.4.3...v1.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 10:33:42 +02:00
dependabot[bot] 39973635a1
Bump hypothesis from 5.20.3 to 5.23.2 (#1724)
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.20.3 to 5.23.2.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.20.3...hypothesis-python-5.23.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 10:33:17 +02:00
dependabot[bot] 90cb8d627f
Bump orjson from 3.2.2 to 3.3.0 (#1725)
Bumps [orjson](https://github.com/ijl/orjson) from 3.2.2 to 3.3.0.
- [Release notes](https://github.com/ijl/orjson/releases)
- [Changelog](https://github.com/ijl/orjson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ijl/orjson/compare/3.2.2...3.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 10:33:07 +02:00
dependabot[bot] 328f0af325
Bump python from 3.8.4-slim to 3.8.5-slim in /infra (#1723)
Bumps python from 3.8.4-slim to 3.8.5-slim.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 10:32:57 +02:00
Marco Castelluccio cdac892c2d Also ignore tasks that are starting with docker-image-
Given https://bugzilla.mozilla.org/show_bug.cgi?id=1651538.
2020-07-25 00:44:41 +02:00
Armen Zambrano 1e9877ab38
Submit logged warnings to Sentry (#1722)
Fixes #1721

Sentry by default logs `ERROR` messages as events, however, we would
like to track `WARNING` messages as well.
2020-07-25 00:34:07 +02:00
Marco Castelluccio ae4339f4b0 Version 0.0.332 2020-07-24 15:58:57 +02:00
Marco Castelluccio 8084d97ff5 Try pulling twice instead of thrice before giving up
Let another worker handle the job instead.
2020-07-24 12:05:19 +02:00
Marco Castelluccio 327c80c695 Only retry pulling when there is a timeout, not on legitimate errors 2020-07-24 12:04:53 +02:00
Marco Castelluccio 694f9fd82b Make Mercurial pull the first step of the test selection job
This way, if it fails, it fails as early as possible and another worker can pick up the job.
2020-07-24 12:02:31 +02:00
Marco Castelluccio b52e25929a Don't catch and reraise the exception on Mercurial pull, just let it propagate 2020-07-24 12:01:56 +02:00
Marco Castelluccio 8be3d347a9 Throw an exception when pull actually fails explicitly and doesn't time out 2020-07-24 12:00:20 +02:00
Armen Zambrano d10afde19c
Raise failure to pull to track in Sentry (#1716) 2020-07-24 11:54:03 +02:00
Marco Castelluccio 72d1862a61 Add job_timeout argument to our mock of the rq Queue
Fixes a regression from 256003a052
2020-07-24 11:52:57 +02:00
Armen Zambrano 5767aa856a
Fix order of assertion and logging (#1720) 2020-07-24 11:36:20 +02:00
Marco Castelluccio bbc65699d1 Fix job_timeout argument name to Queue.enqueue
Fixes a regression from 256003a052
2020-07-24 11:34:26 +02:00
Marco Castelluccio ad165ce974 bug_ids argument of classify_bug should be a Collection, not an Iterable
Since it is iterated multiple times.
2020-07-24 11:31:06 +02:00
Marco Castelluccio f375d686f4
Pull running 'hg pull' instead of using hglib to benefit from Mercurial's default transaction rollback (#1715)
Currently we use hglib, so when we send SIGTERM to the process which is doing the pull, the process is terminated
without error handling and the repository is left in a bad state.
Instead, by using 'hg pull', we benefit from Mercurial's handling of SIGTERM: transaction rollback.

Might help with #1673
2020-07-24 00:20:52 +02:00
Marco Castelluccio 256003a052 Use a shorter timeout for Bugzilla jobs
Fixes #1717
2020-07-23 17:55:36 +02:00
Marco Castelluccio 9e271deb7f Set default job timeout to 12 minutes instead of 21
First step for #1717
2020-07-23 17:42:58 +02:00
Marco Castelluccio fc30be48ef Remove jobs from the queue if they haven't started within 7 minutes 2020-07-23 17:42:15 +02:00
Marco Castelluccio cc8f1ac8e2 While training the test selection models, assert we have commits in the DB for all pushes 2020-07-23 12:57:07 +02:00
Marco Castelluccio 72659c4e38 Version 0.0.331 2020-07-22 20:20:10 +02:00
Armen Zambrano 28481e70d8
Set up Sentry for bugbug's background worker (#1713)
Fixes #1698
2020-07-22 20:16:32 +02:00
Marco Castelluccio d0d922fb46
Try to pull a few times, with a timeout of 3 minutes, before giving up (#1714)
Instead of relying on robustcheckout, which performs a full reclone after a failure.

Might help with #1673
2020-07-22 20:08:22 +02:00
Marco Castelluccio a0cbb1694b Bump to latest revision of version-control-tools 2020-07-21 16:49:44 +02:00
dependabot[bot] 85700915df
Bump hypothesis from 5.19.2 to 5.20.3 (#1708)
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.19.2 to 5.20.3.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.19.2...hypothesis-python-5.20.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marco Castelluccio <mcastelluccio@mozilla.com>
2020-07-21 16:47:14 +02:00
dependabot[bot] 9ba8cf2bc6
Bump matplotlib from 3.2.2 to 3.3.0 (#1709)
Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.2.2 to 3.3.0.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.2.2...v3.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-21 16:47:03 +02:00
dependabot[bot] 33bc0f6f08
Bump tqdm from 4.47.0 to 4.48.0 (#1707)
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.47.0 to 4.48.0.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](https://github.com/tqdm/tqdm/compare/v4.47.0...v4.48.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-21 16:46:46 +02:00
dependabot[bot] f587238ebe
Bump psutil from 5.7.0 to 5.7.2 (#1706)
Bumps [psutil](https://github.com/giampaolo/psutil) from 5.7.0 to 5.7.2.
- [Release notes](https://github.com/giampaolo/psutil/releases)
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](https://github.com/giampaolo/psutil/compare/release-5.7.0...release-5.7.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-21 16:46:31 +02:00
dependabot[bot] c5d0740650
Bump json-e from 4.1.0 to 4.2.0 (#1705)
Bumps [json-e](https://taskcluster.github.io/json-e/) from 4.1.0 to 4.2.0.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-21 16:46:18 +02:00
dependabot[bot] 621ee78270
Bump mercurial from 5.3.2 to 5.4.2 (#1701)
Bumps [mercurial](https://mercurial-scm.org/) from 5.3.2 to 5.4.2.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-21 16:46:06 +02:00
dependabot[bot] 4b5658ad91
Bump boto3 from 1.14.20 to 1.14.24 (#1704)
Bumps [boto3](https://github.com/boto/boto3) from 1.14.20 to 1.14.24.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/boto/boto3/compare/1.14.20...1.14.24)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-21 16:45:55 +02:00
dependabot[bot] 32721404db
Bump marshmallow from 3.7.0 to 3.7.1 (#1700)
Bumps [marshmallow](https://github.com/marshmallow-code/marshmallow) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/marshmallow-code/marshmallow/releases)
- [Changelog](https://github.com/marshmallow-code/marshmallow/blob/dev/CHANGELOG.rst)
- [Commits](https://github.com/marshmallow-code/marshmallow/compare/3.7.0...3.7.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-21 16:45:38 +02:00
Marco Castelluccio 7323c8fe2d Version 0.0.330 2020-07-17 16:23:54 +02:00
Marco Castelluccio e2ce631ddf Bump version of the commits DB 2020-07-17 16:07:36 +02:00
Marco Castelluccio a355125673 Stop storing commits' dates
We are only using push dates.
2020-07-17 16:07:16 +02:00
Marco Castelluccio 5c61636ffc Stop relying on push date to calculate experiences 2020-07-17 15:29:17 +02:00
Marco Castelluccio b5df154c67 Version 0.0.329 2020-07-17 01:13:43 +02:00
Marco Castelluccio 8ae193ea2b No need to try to recover with robustcheckout, as it has its own recovery strategy 2020-07-17 01:13:28 +02:00
Marco Castelluccio 0c818c0502 Allow re-running jobs after 3 minutes from their failure 2020-07-17 00:28:59 +02:00
Marco Castelluccio bd68f03e3e Temporarily allow a longer timeout for jobs
While #1673 is investigated.
2020-07-17 00:28:09 +02:00
Marco Castelluccio 69773ebaae Version 0.0.328 2020-07-15 16:13:29 +02:00
Marco Castelluccio 0be296781e
To pull, use the robustcheckout command instead of the pull command (#1692)
This might help with #1673
2020-07-15 16:12:27 +02:00