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

6128 Коммитов

Автор SHA1 Сообщение Дата
Rob Thijssen 3263bcd624 Bug 1304354 - Add support for 32 bit Win 2012 builds (#1867)
Allows for 32 bit Windows builds to be shown by build platform rather
than test platform.
2016-09-26 11:05:30 +01:00
KWierso 5da40df112 Bug 1240211 - Disable the checkbox for the single remaining selected tier (#1841) r=camd 2016-09-21 19:11:03 +01:00
William Lachance 41058d8b08 Bug 1304091 - For job information, don't return incorrect job log links (#1864)
In the /jobs/XXXX/ endpoint, we were just keying off the job id when
trying to figure out which log information to return. This could result
in additional (incorrect) data being returned for the case that
there were jobs with the same project specific id value in multiple
repositories.
2016-09-21 14:01:42 -04:00
William Lachance 7d614d5178 Bug 1304420 - Bump treeherder python client to version 3.1.0 (#1870) 2016-09-21 13:10:33 -04:00
Rob Wood 8f62cbedbd Bug 1304362 - Don't include invalid alerts in bug and copy summaries (#1869) 2016-09-21 13:02:37 -04:00
glenn124f dc3d9474d9 Bug 1286897 - Change references of decisionTaskID to decision_task_id (#1819) 2016-09-21 10:56:58 -04:00
William Lachance 28cae8c360 Bug 1302844 - Remove redundant information from text log artifacts (#1854)
Now that they are only an intermediary format, we can remove data
that isn't required to interpret them.
2016-09-21 10:54:53 -04:00
William Lachance ceb26bba2f Bug 1303816 - Add a method for getting job details to python client (#1862) 2016-09-21 10:53:11 -04:00
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