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

19 Коммитов

Автор SHA1 Сообщение Дата
Joel Maher 93938771fe Bug 1547238 - SETA - mark new jobs as low priority. r=camd (#4917) 2019-04-26 09:06:35 -07:00
Ed Morley 9c3985a2e7 Bug 1513486 - Flatten list_runnable_jobs() return value
None of the callers use anything but the `results` property, so the other
properties have been removed.
2019-02-08 18:53:58 +00:00
Ed Morley 6483b387c8 Bug 1513486 - Remove RunnableJobsClient
Since it's never called with the `task_id` parameter, and when the task ID
is not set, the return value is identical to calling `list_runnable_jobs`
directly.
2019-02-08 18:53:58 +00:00
Tom Prince 7bb04c879f Bug 1455448 - Use new index for decision tasks (#3510) 2018-05-02 21:41:47 +01:00
Alisha Aneja be4a7e3d91 Bug 1326247 - Fix BaseException.message deprecation warnings (#2703) 2017-08-14 12:05:12 +01:00
Rob Wood 9fdf5d367e Bug 1341501 - Combine duplicate _query_latest_gecko_decision_task_id functions (#2272) 2017-03-20 17:19:52 -04:00
Ed Morley 4c66f383ef Bug 1348375 - Remove unused imports
Fixes:

tests/autoclassify/test_classify_failures.py:7:1: F401 'treeherder.model.models.TextLogErrorMetadata' imported but unused
tests/etl/test_job_loader.py:7:1: F401 'treeherder.model.models.Repository' imported but unused
tests/model/test_classified_failure.py:6:1: F401 'treeherder.model.models.FailureLine' imported but unused
tests/seta/conftest.py:2:1: F401 'django.utils.timezone' imported but unused
tests/seta/test_job_priorities.py:8:1: F401 'treeherder.seta.settings.SETA_LOW_VALUE_PRIORITY' imported but unused
tests/webapp/api/test_text_log_summary_lines.py:4:1: F401 'treeherder.model.models.TextLogError' imported but unused
treeherder/auth/backends.py:13:5: F401 'django.utils.encoding.smart_str as smart_bytes' imported but unused
treeherder/autoclassify/tasks.py:4:1: F401 'django.conf.settings' imported but unused
treeherder/autoclassify/tasks.py:6:1: F401 'treeherder.celery_app' imported but unused
treeherder/perfalert/__init__.py:1:1: F401 '.perfalert.*' imported but unused
treeherder/seta/analyze_failures.py:7:1: F401 'treeherder.etl.seta.valid_platform' imported but unused
treeherder/seta/job_priorities.py:10:1: F401 'treeherder.model.models.Repository' imported but unused
treeherder/seta/models.py:7:1: F401 'treeherder.model.models.Repository' imported but unused

The seta migrations file change is due to the seta models no longer
depending on `model` (since the unnecessary `Repository` import has
been removed).
2017-03-20 13:18:14 +00:00
Rob Wood 76fc09fd1e Bug 1339829 - Refactor of SETA job-priorities API (#2221) 2017-03-03 15:03:12 -05:00
Rob Wood 544fc47175 Bug 1342451 - SETA: Fix test_analyze_failures (#2209) 2017-02-28 12:26:19 -05:00
William Lachance de5e188a5a Bug 1323110 - Skip SETA test that started failing after ingestion logic fixed 2017-02-24 11:39:22 -05:00
Rob Wood 945277f092 Bug 1339141 - SETA: Add a settings file to filter out platforms/jobs/testtypes (#2181) 2017-02-17 08:26:59 -05:00
Rob Wood 42ee3c1ce8 Bug 1330354 - Use select_related in get_failures_fixed_by_commit() (#2162)
To prevent thousands of MySQL requests that cause both the API endpoint
and seta-analyse-failures task to time out.
2017-02-14 09:44:20 -05:00
Joel Maher 5294fe1f6a Bug 1338334 - fix analyze_failures.py when we have empty fixed_by_com… (#2153)
* Bug 1338334 - fix analyze_failures.py when we have empty fixed_by_commit arrays

* Bug 1338334 - fix analyze_failures.py when we have empty fixed_by_commit arrays
2017-02-11 06:31:57 -05:00
Rob Wood f6ac262dd0 Bug 1330652 - fix job priorities endpoint so it returns data from correct repo (#2128)
* Bug 1330677 - Allow calling runnable jobs API without having to pass the Gecko decision task id.

This is useful if all you care about is to determine what is most up-to-date list of tasks that can be scheduled.

In the future, this will allow for determining the "current set of runnable jobs" on a schedule
(caching the latest values) rather on per API call.

* Bug 1330652 - SETA - Fix job priorities endpoint

We were not passing the project name down to the functionality that
retrieves runnable jobs, thus, using 'mozilla-inbound' by default.

This change starts using the simplified ref_data_names() method which also
takes the project name.

This also paves the way to drop Treecodes from the code.
2017-02-08 08:50:52 -05:00
Rob Wood 6d6f904317 Bug 1332448 - Remove taskrequest counter and timeout from seta (#2103) 2017-01-25 13:14:57 -05:00
Armen Zambrano edc3d7ad11 Bug 1328618 - TaskCluster jobs define their task labels as job type name
ref_data_name is a calculated value rather than a value defined by the
TaskCluster task. If ref_data_name cannot be calculated it fallsback to
a signature. Switching to job type name avois this issue.

Also add TaskCluster jobs to the list of jobs with notes
2017-01-09 11:14:03 -05:00
Armen Zambrano a71106395a Bug 1328618 - Use new tasklabels naming for test jobs 2017-01-09 11:14:03 -05:00
William Lachance a4a19007c0 Bug 1318474 - Fix SETA tests to not rely on datasource 2017-01-05 16:09:51 -05:00
Armen Zambrano G ed8e39221d Bug 1306709 - Add SETA to Treeherder 2017-01-05 14:33:55 -05:00