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

6693 Коммитов

Автор SHA1 Сообщение Дата
Ed Morley a88108fa19 Bug 1354484 - Report request User Agent to New Relic
This is required since the New Relic Python agent only submits the User
Agent to APM (which only handles certain transactions) and not also to
Insights:
https://support.newrelic.com/tickets/172627

The attributes of requests are documented here:
https://docs.djangoproject.com/en/1.10/ref/request-response/#django.http.HttpRequest.META
2017-04-07 15:03:46 +01:00
Ed Morley 80492905ba Bug 1354484 - Rename whitenoise_custom.py to middleware.py
Since we're about to add more Treeherder-specific middleware. Also moves
it outside of `config/` to a more usual location for Django projects.
2017-04-07 15:03:46 +01:00
Brian Stack b22616a461 Bug 1353066 - Make jsyaml available as a service (#2314)
This fixes exceptions when using the "add new jobs" feature.
2017-04-07 14:53:32 +01:00
Ed Morley ae74d14c51 Bug 1353555 - Update Django from 1.10.5 to 1.10.7
https://docs.djangoproject.com/en/1.11/releases/1.10.6/
https://docs.djangoproject.com/en/1.11/releases/1.10.7/
https://github.com/django/django/compare/1.10.5...1.10.7
2017-04-05 20:17:30 +01:00
Ed Morley f82f1f5f24 Bug 1353014 - Move contribute.json to ui/ to simplify build config
contribute.json is intended for consumption via the deployed site, so
does not need to be in the repo root. Everything in `ui/` will be copied
to `dist/` so once moved, `contribute.json` no longer needs to be listed
explicitly - and with Neutrino v5 this will allow for even more
simplification later.
2017-04-05 18:54:13 +01:00
Ed Morley 90c73f6cbe Convert Windows line endings to Unix 2017-04-05 18:15:45 +01:00
camd dd0f01687c Bug 1352184 - Document adding a Github repo to Treeherder (#2304) 2017-04-04 15:23:03 -07:00
Rob Wood 9d8093a577 Bug 1346852 - Update default talos bug template cc list (#2317) 2017-04-04 15:37:45 -04:00
Dave Hunt ea90972662 Bug 1352403 - Replace invalid "url" format with "uri" (#2307) 2017-04-04 11:56:32 -07:00
KWierso f19be77e07 Bug 1353209 - Add a spinner when searching sources for product/component pairs (#2316) r=emorley 2017-04-03 18:49:58 -07:00
KWierso 7b77a68faa Bug 1353203 - Generalize the reftest failure path stripping to hopefully catch all variations (#2315) r=emorley 2017-04-03 18:49:21 -07:00
KWierso 21e41a38c2 Bug 1351880 - Stop using thBugzillaProductObject to find bug component suggestions (#2306) r=emorley 2017-04-03 18:48:46 -07:00
KWierso b2c1d690c1 Bug 1336556 - followup to fix active-filters-bar (#2311) r=emorley 2017-04-03 09:57:07 -07:00
jgraham 9332b6a770 Bug 1352987 - Ensure a valid severity is sest when filing bugs (#2310) 2017-04-03 15:20:15 +01:00
camd e45bae819b Bug 1352244 - Fix queries for broken GraphQL objects (#2305)
Only Jobs and BuildPlatform had the right ORM query matching their
Graph.  The rest were all BuildPlatform, which gave an error.
2017-03-31 17:18:50 -07:00
jgraham 3fb5362ef6 Bug 1350353 - Link error lines to the corresponding line in the logs. (#2290)
Also make the "l" shortcut open the log viewer on the first selected
line, if any.
2017-03-31 22:31:15 +01:00
KWierso 87bb54f94b Bug 1289333 - Set crash signature and related fields (#2294) r=camd 2017-03-31 12:20:03 -07:00
KWierso 835c90b6ee Bug 1348135 - Fix how the performance tab gets enabled (#2303) r=wlach 2017-03-30 08:57:33 -07:00
Casey Williams 5a1c8c6af3 Bug 1336556 - Add a standalone eslint task
Installs eslint explicitly to avoid warning messages on initial
node_modules install.  Adds a standalone eslint task via `yarn run
lint`.
2017-03-29 22:07:24 +01:00
Casey Williams c19bfb2da9 Bug 1336556 - Cache angular partials with webpack
Load the contents of the various angular partials into the template
cache at build time so that they don't need to be built separately.
2017-03-29 22:07:24 +01:00
Casey Williams 2f728b6ea4 Bug 1336556 - Remove unused vendor files in UI
Most libraries are provided by npm now
2017-03-29 22:07:24 +01:00
Casey Williams afa7d63d1d Bug 1336556 - Replace grunt build system with neutrino/webpack 2017-03-29 22:07:24 +01:00
Casey Williams 11ca87fb34 Bug 1336556 - Update eslint to v3.17.1
Updates eslint in advance of grunt -> webpack switch; Fixes some
resulting newly detected indentation issues.
2017-03-29 22:07:24 +01:00
Dave Hunt 6efa854791 Bug 1351644 - Add repositories for Firefox Test Engineering automated tests (#2301) 2017-03-29 13:45:21 +01:00
Kim Moir 2f7d8cda76 Bug 1351420 - Add support for linux64-stylo talos jobs (#2300) 2017-03-29 13:21:19 +01:00
KWierso 3061d5bc59 Bug 1351162 - Add 'REFTEST ERROR' as an omitted lead (#2298) r=camd 2017-03-28 16:57:59 -07:00
jgraham 64c67b258a Bug 1351408 - Skip unmatchable failure_line entries when trying to crossreference lines (#2299) 2017-03-28 21:36:26 +01:00
camd 2f05e5ff48 Bug 1351092 - Add link to the test-centric UI from resultsets (#2296) 2017-03-28 10:57:41 -07:00
Ed Morley c94586ab6d Bug 1343108 - Clean up obsolete $httpProvider defaults
`useXDomain` never actually did anything since the PR that proposed it
was never merged:
https://github.com/angular/angular.js/issues/2956#issuecomment-19493940

And deleting the 'X-Requested-With' header isn't required as of
Angular >1.1.x :
https://github.com/angular/angular.js/issues/11008
3a75b1124d
2017-03-28 14:09:33 +01:00
Ed Morley 42f240dbf8 Bug 1349405 - Delete .heroku/yarn/ during post_compile
Since it avoids including 4500 unused files (28MB) in the slug, now that
we're using the yarn support added to newer versions of the nodejs
buildpack.
2017-03-28 13:55:50 +01:00
Sebastin Santy 74b727a2e8 Bug 1349237 - Tweaks to the graphql integration (#2275) 2017-03-28 07:49:39 -04:00
jgraham 6d50ed6c82 Bug 1350705 - Exclude ignored lines when adding job annotations from failure summary (#2295) 2017-03-26 19:07:29 +01:00
James Graham 4848c4a061 Bug 1350590 - Only update job once we have added all the bugs. 2017-03-26 09:16:39 +01:00
James Graham 98b0fc90ee Fixup message for no error lines.
This was displaying on fully verified jobs as well as jobs with no
error lines becase we used pendingLines rather than errorLines.
2017-03-24 17:08:09 +00:00
William Lachance cfaabdbaab Bug 1344358 - Fix accidental breakage of data sorting algorithm (#2292) 2017-03-24 12:52:45 -04:00
James Graham d1b8a3b0f5 Bug 1347946 - Add pinboard integration to the Failure Classification panel
Currently non-sheriffs cannot classify through the Failure
Classification panel. It turns out that there are a few peoeple who
want to do that. The simplest approach is to add the pinboard icons
analogous to the old UI so that they can mark jobs as classified but
not affect the autoclassification data. For sheriffs the pinboard is
also important for non-intermittents, so add a bustage button to the
toolbar and show the pinboard icons when the job is pinned.
2017-03-23 21:02:35 +00:00
KWierso bf00ba540d Bug 1349740 - Fix up file paths for spidermonkey tests (#2283) rs=camd 2017-03-23 13:09:17 -07:00
KWierso ba1bee8f90 Bug 1349449 - Trim some more bits of reftest file paths (#2281) rs=camd 2017-03-23 13:08:58 -07:00
James Graham e90f762de1 Bug 1349932 - Be more conservative showing Failure Classification lines.
When moving between jobs it was possible to see significant lag in the
UI, with the spinner disappearing, but the panel showing stale
data. Try to show the spinner earlier and hide it later so that it is
displayed until the latest data is available.
2017-03-23 18:57:22 +00:00
James Graham ac04d5ab8c Bug 1349617 - Handle process output lines in the log parser.
Process output lines start with a prefix like GECKO(1234) or PID 1234
and then a pipe. This is an extra pipe symbol compared to other lines,
so our code that splits on | and assumes specific data in specific
positions is broken. Try to detect the process output case and discard
the first token so that we have the same fields as other
pipe-delimited data.
2017-03-23 14:39:10 +00:00
James Graham bd1a3f28b8 Bug 1348013 - Don't show a logs parsing message when the job is incomplete
Before a job is complete we should show a message indicating that
rather than one claiming that the logs are not fully parsed.
2017-03-23 14:38:56 +00:00
William Lachance 7ef4f32631 Bug 1344358 - Make perf regression detection work better w/ retriggers
Retriggering performance jobs to generate better performance numbers
is becoming increasingly common, but our old regression detection
code didn't really account for that case -- in particular, it
had a bug that would allow for a regression to be generated *inside*
the data for a particular revision (if there were enough).

This commit fixes that bug and also changes the behaviour of the
linear weighting function so that retriggers on a particular revision
will be weighted the same (rather than declining in importance)
2017-03-23 10:32:48 -04:00
William Lachance cacbe72bc1 Bug 1344358 - Move alerting math code to pytest style tests 2017-03-23 10:32:48 -04:00
KWierso 9abb507d4d Bug 1349464 - Deal with jobs that don't have _json-ending logs (#2282) r=jgraham 2017-03-22 17:26:35 -07:00
KWierso e92d58e410 Bug 1349693 - Fix some typos to fix backfilling jobs (#2285) r=wlach 2017-03-22 15:36:27 -07:00
James Graham db52abfdac Bug 1349283 - Update job status after saving final line in autoclassify panel
Emit the event that causes the job status to update after saving and
ending up with 0 pending lines, as well as after save all.
2017-03-22 19:29:55 +00:00
Ed Morley 15d9e77688 Bug 1313221 - Disable the unused gaia and gaia-master repositories 2017-03-22 02:19:16 +00:00
KWierso 6dc39d6bf9 Bug 1348276 - Fix getting revision comments for title strings (#2264) r=emorley 2017-03-21 18:05:36 -07:00
Ed Morley aff2152a81 Bug 1165356 - Log parser: Remove tests workaround for file:// log URLs
Now that we're using requests, the log URL being used to access the file
is consistent across environments (since it doesn't reference the local
directory structure), so we don't need to exclude it from comparisons.
2017-03-22 00:50:02 +00:00
Ed Morley 6717d9f5fc Bug 1165356 - Log parser: Fetch logs using requests instead of urllib2
Doing so also fixes incorrect line numbers in logs that have Windows
line endings (bug 1328880), hence having to update the expected logview
output.

The tests have to be adjusted to use responses, since requests doesn't
support `file://` URLs.
2017-03-22 00:50:02 +00:00