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

6170 Коммитов

Автор SHA1 Сообщение Дата
Ed Morley 62d2c72aba Bug 1304253 - Pass the repository name to the API when retriggering
Since after bug 1280039, retriggers error with:
"Unable to send retrigger: Must also filter on repository if filtering
on job id".
2016-09-21 12:42:40 +01:00
akhileshpillai 69b81c772f Bug 1301129 - Ignore reassigned and downstream alerts if acknowledged (#1856)
The tests are passing locally.

	modified:   tests/perfalert/test_alert_modification.py
	modified:   treeherder/perf/models.py
2016-09-20 17:51:16 -04:00
William Lachance b57688d774 Bug 1303928 - Only the owner or superusers should be able to delete credentials 2016-09-20 17:41:22 -04:00
William Lachance f31bb44443 Bug 1280039 - Enforce the presence of a suitable filter on the jobdetail endpoint (#1866)
If not present, the server could be forced to process some really slow
queries.
2016-09-20 17:40:56 -04:00
William Lachance 60101a563c Merge pull request #1865 from wlach/1304148
Bug 1304148 - Fixes / improvements to job-log-url endpoint
2016-09-20 15:41:49 -04:00
William Lachance c62db8c0d5 Bug 1304148 - Support viewing the job-log-url endpoint from a browser
Django rest framework can't handle model view sets which don't have a model
for this case. Since the job-log-url endpoint isn't really a model viewset,
let's give it the correct class name.
2016-09-20 15:28:34 -04:00
William Lachance 3b3e55ab66 Bug 1304148 - Simplify the code in the job-log-url endpoint
Reduce the number of SQL queries from 3 to just 1
2016-09-20 15:28:31 -04:00
William Lachance 8fdf0f36d2 Bug 1304148 - Add unit test for job-log-url api 2016-09-20 15:28:31 -04:00
Wes Kocher 20ccbbb118 Bug 1240211 - Disable the checkbox for the single remaining selected tier 2016-09-19 17:35:23 -07:00
KWierso 41d9a83851 Bug 1302545 - Remove the Ctrl-Enter bypass for not fully classifying failures (#1849) r=camd 2016-09-20 01:16:10 +01:00
William Lachance a4cf29f966 Bug 1303433 - Fix cancelling a single job from the UI (#1861)
The /jobdetail/ endpoint doesn't currently support filtering by job id,
we need to pass the guid instead.
2016-09-19 15:47:25 -04:00
Ed Morley c8802ef7ef Bug 1303102 - Use autocommit for the run_sql command
This prevents changes from being discarded if the DB connection timed
out between the `.execute()` call being made, and it completing.
2016-09-16 17:37:02 +01:00
William Lachance 9d7102c854 Bug 1185039 - Remove JobData* classes (#1858)
The only one that was actually used was JobDataError, which doesn't have any
advantage over the more generic ValueError.
2016-09-16 11:32:43 -04:00
camd 03675d8b82 Bug 1303215 - Fix UI test failure due to lack of es6 support (#1860)
The admin.js file has es6 templating syntax which is not considered
valid in our Karma tests.  This moves the admin controller to the
/admin folder where it should be anyway, so that the UI tests stop
failing.
2016-09-15 18:01:06 -07:00
Cameron Dawson fb435816b0 Bug 1266116 - Add the Admin page: Full-page exclusion editor
This moves the Sheriff panel out to a full-page app.  The functionality
is basically the same, however.  Much of the logic and HTML were just
copied from the Sheriff panel.

This also introduces ReactJS to the repo.  This was used to speed up
the rendering of the reference data lists in the Exclusions detail
editor.  The ``reactselect`` component is defined as normal JavaScript.
We decided not to introduce using JSX at this time.
2016-09-15 14:28:42 -07:00
Cameron Dawson de9868d613 Bug 1266116 - Use wildcard in grunt usemin instead of listing file 2016-09-15 14:28:42 -07:00
William Lachance 0300fb69ba Bug 1303055 - Increase the number of log processing workers (#1857)
This should increase throughput, especially in cases where we are backlogged
due to network latency.
2016-09-15 11:51:34 -04:00
William Lachance b6558c822d Merge pull request #1855 from wlach/1301729-followup
Bug 1301729 - Followups to buildapi artifact deprecation
2016-09-15 10:12:24 -04:00
William Lachance 246e11b11d Bug 1301729 - Remove buildapi migration script 2016-09-15 10:02:51 -04:00
William Lachance e4b30bf43a Bug 1301729 - Stop storing buildapi artifacts 2016-09-14 16:56:18 -04:00
William Lachance 06035b4545 Merge pull request #1853 from wlach/1258861-followups
Bug 1258661 - Text log db migration followups
2016-09-14 16:14:49 -04:00
William Lachance 2b65fa5ee4 Bug 1302224 - Make sure raw log link in logviewer works (#1850)
We need to update the template value on angular digest cycles, because
we can't count on the "raw log url" being available when we first render the
template (the job may still be loading).
2016-09-14 15:23:57 -04:00
William Lachance 04d9541f62 Bug 1301702 - Fix race when creating a performance alert (server side) (#1846) 2016-09-14 15:07:39 -04:00
William Lachance a1f115e2dd Bug 1258861 - Remove script for migrating text log artifacts 2016-09-14 14:08:22 -04:00
William Lachance 9ffb8c49b5 Bug 1258861 - Stop creating text log summary artifacts
We only kept creating them so we could revert, but things are looking
happy on stage and production so I don't think we'll need to do that.
2016-09-14 14:06:15 -04:00
Jonathan French 3397407dba Bug 1302754 - Update the docs copyright (#1852)
* Update the docs copyright to 2016
* Add "other contributors"
2016-09-14 11:30:37 -04:00
Cameron Dawson 9c508817fd Bug 1302529 - Add store_pulse_resultsets to bin script 2016-09-13 13:15:17 -07:00
Cameron Dawson 5408342cd2 Bug 1302529 - Make pulse ingestion tasks retryable 2016-09-13 13:15:17 -07:00
William Lachance 2b3ebbcfa9 Bug 1301729 - Fix up migration script for some edge cases 2016-09-13 15:05:31 -04:00
William Lachance 58681ac38d Merge pull request #1840 from wlach/1301729
Bug 1301729 - Store buildbot request id as a job detail
2016-09-13 12:59:33 -04:00
William Lachance 303007d9ad Bug 1302224 - Fix link to raw log in logviewer (#1845) 2016-09-13 00:15:24 -04:00
KWierso ff10e7bd15 Bug 1301906 - Make sure linkifyClassifications filter gives proper results (#1843) r=camd 2016-09-12 23:59:20 +01:00
Gregory Szorc d65979dc9b Bug 1297184 - Strip TaskCluster log prefix when parsing logs (#1842)
Upcoming changes in bug 1295380 will change log output for many tests
in TaskCluster resulting in lines being prefixed with a timestamp and
the task step name. Unless these line prefixes are handled, it
confuses the error parser.

This commit detects logs as coming from TaskCluster and strips their
line prefix accordingly.
2016-09-12 16:47:59 -04:00
William Lachance 7e4ec3423e Bug 1301729 - Store buildbot request id as a job detail 2016-09-12 13:07:29 -04:00
William Lachance d29527e96a Bug 1301729 - Add a migration script for moving buildapi artifacts -> job details 2016-09-12 13:06:37 -04:00
William Lachance 546b971ad2 Bug 1301729 - Allow filtering job details by title through API 2016-09-12 12:53:33 -04:00
William Lachance f0105d47f5 Bug 1258861 - Move text log steps and errors into main database (#1696)
This changes ingestion, the API endpoints, and the frontend to match
the new structure. For now we continue to store text_log_summary artifacts,
though they don't do anything anymore.
2016-09-12 12:30:36 -04:00
Ed Morley 2c1ed9df54 Bug 1301700 - Don't retry tasks that fail due to UnicodeDecodeError
Since the task will fail every time.
2016-09-12 16:08:45 +01:00
Ed Morley 96b08cd8e7 Bug 1301434 - Disable the detect-intermittents task by default
Since it occasionally causes queue backlogs and needs tweaking to be
useful for the sheriffs.
2016-09-12 11:55:09 +01:00
Cameron Dawson 023f1ad53a Bug 1301739 - Fix Github repo urls so pulse data ingestion will work 2016-09-09 10:58:21 -07:00
Ed Morley 7d5bf5144c Revert "Bug 1297184 - Strip TaskCluster log prefix when parsing logs (#1836)"
Since it breaks detection of error lines like `[taskcluster:error]`.

This reverts commit df658a2666.
2016-09-09 10:28:10 +01:00
William Lachance e5a19c182f Bug 1258861 - Preparatory work for storing text log steps / errors in main db (#1822)
* Model updates, new db tables, migration script for text log db
2016-09-08 14:51:44 -04:00
KWierso 7ed4f79d65 Bug 1299946 - Add some tests for filters.js (#1828) r=camd 2016-09-08 01:48:03 +01:00
Gregory Szorc df658a2666 Bug 1297184 - Strip TaskCluster log prefix when parsing logs (#1836)
Upcoming changes in bug 1295380 will change log output for many tests
in TaskCluster resulting in lines being prefixed with a timestamp and
the task step name. Unless these line prefixes are handled, it
confuses the error parser.

This commit detects logs as coming from TaskCluster and strips their
line prefix accordingly.
2016-09-07 17:24:49 -04:00
Rob Wood 4fa0599d71 Bug 1288007 - Allow perf series and data apis to accept date range (#1831) 2016-09-07 17:20:42 -04:00
William Lachance ab845c27ed Bug 1330795 - Remove unnecessary else 2016-09-07 11:24:51 -04:00
William Lachance 2f8ffca016 Bug 1330795 - Skip taskcluster jobs without treeherder metadata in runnable jobs (#1834) 2016-09-07 10:52:10 -04:00
KWierso 19e16e0f87 Bug 1298539 - Make sure canceling a single job only works from the same push (#1814) r=wlach
When you select a single job and then press the cancel all jobs button,
the behavior of the cancel all jobs button so it cancels just the selected
job.

Prior to this patch, the selected job can be canceled no matter which
cancel all jobs button is clicked, even if the selected job is from a
different push. This push only activates the selected job behavior when
the selected job is from the push where the cancel all jobs button was
pressed.
2016-09-07 03:17:17 +01:00
Ed Morley 0a0a0b78f0 Bug 1299443 - Fix revision.txt on Heroku when SERVE_MINIFIED_UI is unset
Previously `<site-root>/revision.txt` would 404 if `SERVE_MINIFIED_UI`
was unset on Heroku, which would then cause the next deploy to fail.

It's now made available in both the `ui/` and `dist/` directories, so
it can be found regardless of the value of `SERVE_MINIFIED_UI`.
2016-09-06 19:25:08 +01:00
KWierso 8ef82f44dc Bug 1278746 - Add the ability to set block,depends on,see also fields (#1662) r=emorley 2016-09-06 18:46:36 +01:00