Ed Morley
4e4ef16df5
Bug 1114785 - Limit the total length of comments submitted to Bugzilla
...
Bugzilla comments can be no more than 65535 characters in length. To
both avoid hitting this limit (and the comment being rejected) and to
reduce the spam left on bugs, truncate the comment body at 40000
characters.
2015-02-13 23:06:54 +00:00
Cameron Dawson
698fd05519
Bug 1119479 - Upgrade to Django 1.7
2015-02-10 11:34:07 -08:00
Mauro Doglio
88fc50e267
Merge pull request #369 from mozilla/add-ref-data-name-to-jobs-endpoints
...
Bug 1097090 - Re-add ref_data_name to jobs endpoints
2015-02-09 11:17:59 +00:00
Cameron Dawson
38ccdb9c31
Bug 1097090 - Re-add ref_data_name to jobs endpoints
...
This field is required to filter in the ui by buildername.
2015-02-06 13:27:52 -08:00
mdoglio
fbb52f1dc8
Bug 1097090 - fix jobs pagination
...
This is to cover those cases where we have more than 2000 jobs either on
a single push or on a periodic update; it also sync the number of jobs
requested to the limit imposed by the service (again, 2000)
2015-02-05 16:32:16 +00:00
Ed Morley
e61738b5a9
Bug 1127940 - Remove the now unused get_bug_job_map_detail()
...
BugzillaBugRequest was the only consumer, so we can now remove it.
2015-02-05 01:48:54 +00:00
Ed Morley
4437066892
Bug 1127940 - Pass 'who' directly to BugzillaBugRequest to avoid DB race
...
We did not previously pass the username of the person who made a failure
classification to BugzillaBugRequest. As a result, BugzillaBugRequest
has to fetch the bug mapping again to find it out. After the fix for our
master-read DB setup, this fetch of the bug mapping was being performed
against the read host, which occasionally did not yet have the requested
mapping (due to replication delay) causing an ObjectNotFoundException.
The 'get_bug_job_map_detail' query could have been switched to use the
master host to avoid the race, however the more efficient fix is just to
pass the username to BugzillaBugRequest directly, like we already do for
OrangeFactorBugRequest, avoiding the query entirely.
2015-02-05 01:48:53 +00:00
mdoglio
808de144d7
Bug 1097090 - jobs endpoint refactoring
2015-01-30 11:30:34 +00:00
mdoglio
119407ad8e
Bug 1097090 - jobs endpoint refactoring
...
Main changes:
- removed the full parameter on the jobs endpoint, since in both cases the data returned had similar shape/size but slightly different set of attributes.
- removed the exclusion_state parameter in favour of exclusion_profile. The latter allows to specify which profile to apply to the jobs; by default it will use the default profile and can be disabled using exclusion_profile=false
- the data is now returned as a flat list instead of a triple nested structure. As a result the jobs endpoint is now much faster to return data and it allows to easily do basic operations like filtering, sorting, and pagination. Also, it will allow to implement attribute selection with a minimal effort.
- removed the debug parameter in favour of a more explicit return_type (dict|list) that allows a consumer to specify the type of structure expected for the results (dict by default)
- the resultset endpoint doesn't return jobs anymore but only resultsets.
2015-01-30 11:27:05 +00:00
Ed Morley
20dbcf8545
Merge pull request #353 from Seinlin/bug-1126137
...
Bug 1126137 - Add dolphin-512 to treeherder-service.
2015-01-28 02:40:08 +00:00
Kai-Zhen Li
a4e4c78991
Bug 1126137 - Add dolphin-512 to treeherder-service.
2015-01-28 09:54:57 +08:00
Ed Morley
de6a0557bc
Bug 1059811 - Fix remaining pyflakes warnings
2015-01-27 15:21:07 +00:00
Ed Morley
c8b1c70f30
Bug 1125464 - Set host_type for test_bugscache correctly
2015-01-24 21:38:37 +00:00
Ed Morley
c96f3af904
Bug 1125464 - Fix key name for specifying master vs read-only DB host
...
The 'host' property is unrecognised (and ignored) by Datasource, causing
it to silently fall back to the default of 'master_host'. The property
we needed to have set is in fact called 'host_type'.
As a result, we never use the read-only host!
An issue has been filed against Datasource for making this less silent:
https://github.com/jeads/datasource/issues/20
2015-01-24 19:30:18 +00:00
Ed Morley
280c687159
Bug 1125464 - Always set read_only_host when creating job/OS Datasources
...
read_only_host was previously only ever set when using the
init_datasources script, and not via any other means.
2015-01-24 19:30:17 +00:00
Ed Morley
539a5ef807
Bug 1124737 - Add support for 10.6-specific Talos other
2015-01-22 21:36:07 +00:00
Ed Morley
452af2e45a
Bug 1121670 - Use search() instead of match() for search term leak regex
...
Since we were missing leak failure messages that were prefixed with the
process name, eg:
"... | leakcheck | tab process: 42114 bytes leaked (...)"
Using .search() is quicker than using .match() with '.*' prefixed to the
regex - see https://bugzilla.mozilla.org/show_bug.cgi?id=1076770#c1
2015-01-22 13:18:40 +00:00
Cameron Dawson
da4d0361a7
Bug 1124270 - fix parsing step dates without decimal
...
sometimes the dates in the buildbot steps are not quite the format we
expect. Massage them to match so we don’t fail log parsing.
2015-01-21 10:57:57 -08:00
Ed Morley
9350fc3368
Bug 1086663 - Make the TinderboxPrint regex less strict about whitespace
...
So that we don't miss "Built from revision X" and other TinderboxPrints.
2015-01-16 20:00:15 +00:00
Ed Morley
33475f12d3
Bug 1085100 - Use start_time instead of classification time in bug comments
...
Previously classifying failures with a bug number would add a comment to
the bug that listed the datetime of classification. However this is
redundant, since it's virtually the same as the datetime of the bug
comment itself. Instead, it's more useful to list the job start time.
Only classifications for completed jobs are submitted to Bugzilla, so we
do not need to add handling for pending jobs, that do not have a start
time.
2015-01-16 12:38:26 +00:00
Ed Morley
6bf711fb4a
Bug 1059811 - pyflakes: Remove unused variables
2015-01-16 12:33:32 +00:00
Ed Morley
b0d1c0c168
Bug 1059811 - pyflakes: Remove unused imports
2015-01-16 12:33:32 +00:00
Ed Morley
debe98d0da
Bug 1121003 - Add support for 10.6-specific Talos tests
2015-01-16 00:23:13 +00:00
Chris Manchester
9a15853f73
Bug 1121125 - Add marionette e10s tests to treeherder.
2015-01-13 16:00:08 -05:00
Kim Moir
1a7ef01e45
Bug 1119412 - Add support for OS X 10.10
2015-01-12 17:29:48 +00:00
Ed Morley
912d4f3fb0
Bug 1069502 - Submit OrangeFactor data to ES directly
...
Mappings of bug IDs to failures are currently mirrored to ElasticSearch
for use by OrangeFactor, until OrangeFactor is rewritten to use
Treeherder's DB directly. This patch makes Treeherder submit these
mappings directly to the ElasticSearch instance, rather than doing so
via TBPL's starcomment.php - so that TBPL can be switched off. For
TBPL's implementation, see:
https://hg.mozilla.org/webtools/tbpl/file/eb654a2734c3/php/starcomment.php
2015-01-07 18:23:58 +00:00
Ed Morley
bc8be62ef5
Bug 1118266 - Remove '/ui' from logviewer URLs in TBPLbot comments
...
Leftover from bug 1063411.
2015-01-07 12:33:21 +00:00
Mauro Doglio
cfaae9f724
Merge pull request #312 from mozilla/bug-1117807-requests-throttling
...
Bug 1117807 - Setup requests throttling
2015-01-07 12:21:58 +00:00
mdoglio
f5aa1d3a9f
Bug 1101040 - filter jobs by last_modified
2015-01-06 15:39:24 +00:00
Ed Morley
7240662a05
Bug 1096765 - Prevent 32bit talos other_nol64 being categorised as 64bit
2015-01-06 09:24:58 +00:00
mdoglio
34b627847c
Bug 1117807 - Setup requests throttling
2015-01-05 18:34:59 +00:00
Ed Morley
839091632e
Bug 1069560 - Submit comments directly to Bugzilla rather than via TBPL
2015-01-05 16:03:41 +00:00
mdoglio
18bf5bf5fd
Bug 1112554 - set thServiceDomain to current host
2014-12-17 16:41:40 +00:00
Ed Morley
84a9f8c1a7
Merge pull request #297 from ahal/code_coverage_platform_name
...
Bug 1056236 - Add a new code coverage build type
2014-12-10 22:21:39 +00:00
Andrew Halberstadt
b8d9084b61
Bug 1056236 - Add a new code coverage build type
2014-12-10 16:59:24 -05:00
Jordan Lund
c7a7ad50ed
Bug 1078265 - Add support for split Android APK - splits off api-11 now
2014-12-10 12:20:57 -08:00
William Lachance
b0fa2c063e
Bug 1108831 - Make sure we ingest all talos data
...
We were ignoring all but the first suite before
2014-12-09 18:11:25 -05:00
mdoglio
06f62d21f6
Bug 1102228 - Improve the data cycling routine
...
Added several parameters to the cycle_data shell command: cycle-interval (in days),
chunk-size (in number of result sets), sleep-time (in seconds).
I made the cycle_data task a very thin wrapper around the shell command,
there is no more logic in it.
All the queries for data cycling are executed with the retry logic to
handle db deadlocks
2014-11-26 16:38:18 +00:00
mdoglio
0e19a402ca
Bug 1102257 - Store the data cycle interval in the settings file
2014-11-21 15:38:32 +00:00
Ed Morley
5f0c9f7e05
Bug 1095624 - Support mochitest-gl-N
2014-11-13 01:29:11 +00:00
William Lachance
063310ee11
Bug 1090484 - Provide max perf artifact id in project api endpoint
2014-11-11 18:12:11 -05:00
Ed Morley
05cf876d4a
Bug 1078239 - Fix bug suggestions for recently modified, resolved bugs
...
We divide bug suggestions for a search term into 'open_recent' and
'all_others'. The former is supposed to be group #1 below, and the
latter groups 2-4, with the summation of the two groups corresponding
to every bug whose summary matches the search term.
1) Open + recently modified
2) Open + not recently modified
3) Resolved + recently modified
4) Resolved + not recently modified
However prior to this patch group #3 was not being returned at all, when
it should have been included in all_others.
2014-11-10 15:51:06 +00:00
mdoglio
0611b880ff
Bug 1090284 - Add a test to verify that the last push is cached
2014-11-10 14:50:25 +00:00
Mauro Doglio
0d5b02daf5
Merge pull request #279 from tojonmz/add-headers
...
Bug 1090689 - Add MPL2.0 headers to the repo
2014-11-10 14:46:25 +00:00
Ed Morley
0d586fd2f1
Bug 1072377 - Add another test for truncated test name bug searches
2014-11-10 13:50:02 +00:00
Ed Morley
93e0c98999
Bug 1091643 - Add tests for SQL LIKE escaping of search_term
...
Test that we are treating the search term literally in the LIKE
statement, and so have correctly escaped any underscores, percent signs
or escape symbols.
2014-11-10 13:50:02 +00:00
Ed Morley
b2ffa4d61f
Bug 1091643 - Add test for truncated test name bug searches
2014-11-10 13:50:01 +00:00
William Lachance
fed30e6e62
Merge pull request #277 from wlach/1092232
...
Add minimal unit test for talos perf artifact ingestion
2014-11-07 15:05:10 -05:00
Jonathan French
dbb4d11e09
Bug 1090689 - Add MPL2.0 headers to the repo
2014-11-03 13:06:03 -05:00
William Lachance
8fae856593
Bug 1092317 - Minor performance log parsing fixes (with tests)
2014-10-31 15:59:05 -04:00
Jonathan French
c93f507e81
Bug 1090689 - Add MPL2.0 headers to the repo
2014-10-31 14:31:25 -04:00
William Lachance
bec5d48486
Bug 1092232 - Add minimal unit test for talos perf artifact ingestion
2014-10-31 13:55:40 -04:00
Mauro Doglio
23ee49570d
Merge pull request #268 from mozilla/mysql-retry
...
Mysql retry
2014-10-30 15:07:33 +00:00
Ed Morley
d7f9350560
Bug 1091579 - Rename SEARCH_TERMS to BUG_SEARCHES
2014-10-30 13:07:07 +00:00
Ed Morley
0c8318eb51
Bug 1091579 - Remove the now redundant test_get_all_other_bugs_wrong_term()
2014-10-30 13:07:06 +00:00
Ed Morley
33e6ca8906
Bug 1091579 - test_get_all_other_bugs() should check the bug IDs
...
...rather than just whether the count of bugs is greater than zero.
2014-10-30 13:07:05 +00:00
Ed Morley
513d3d0c55
Bug 1091579 - Parametrize test_get_all_other_bugs()
2014-10-30 13:07:05 +00:00
Ed Morley
6cb45262e7
Bug 1091579 - Combine the tests for correct and incorrect search terms
2014-10-30 13:07:04 +00:00
Ed Morley
8b803b10f3
Bug 1091579 - test_get_open_recent_bug_right_term() should check the bug IDs found
...
...rather than just whether the count of bugs is greater than zero.
2014-10-30 13:07:04 +00:00
Ed Morley
110c5fe619
Bug 1091579 - Parametrize test_get_open_recent_bug_right_term()
2014-10-30 13:07:03 +00:00
Ed Morley
c1faeda8a7
Bug 1091579 - Correct & reformat comments in test_refdata.py
2014-10-30 13:07:02 +00:00
Ed Morley
e33a76081a
Bug 1059686 - Add test for truncating test name style search terms
2014-10-29 22:08:39 +00:00
Ed Morley
0d32390b97
Bug 1059686 - Add tests for the search term full error line fall-back
...
Test that the full error line is used as a fall-back search term if no
test name was found, or the name found was in the blacklist.
2014-10-29 21:57:04 +00:00
Ed Morley
bfd26e60be
Bug 1059686 - Add tests for the search term blacklist
2014-10-29 21:57:03 +00:00
Ed Morley
817263d30b
Bug 1059686 - Add search term tests for pipe-delimited log error lines
2014-10-29 21:57:03 +00:00
Ed Morley
e1308fec8b
Bug 1059686 - Correct the name of the leak error search term test
...
The current test is checking the extraction of the search term for the
leak case, not the standard test error case.
2014-10-29 21:57:02 +00:00
Ed Morley
233764c02b
Bug 1059686 - Remove excess newlines in test_utils.py
2014-10-29 21:57:02 +00:00
camd
19c7ad81d1
Merge pull request #270 from wlach/max-job-id
...
Bug 1090484 - Add support for getting maximum job id for a project
2014-10-29 13:56:45 -07:00
William Lachance
a04bd564ab
Bug 1090484 - Add support for getting maximum job id for a project
2014-10-29 15:08:54 -04:00
Ed Morley
74e9f9b669
Fix comment typo in test_tasks.py
2014-10-29 17:15:27 +00:00
Cameron Dawson
9d098e8ade
bug 1089782 - fix retry limit and add test
2014-10-28 14:54:26 -07:00
camd
f4e979a248
Merge pull request #261 from mozilla/bug-1076769-parse-log-on-demand
...
Bug 1076769 parse log on demand
2014-10-27 10:41:56 -07:00
Ed Morley
8b995f931a
Bug 1075527 - Add support for Mochitest content sandbox tests
2014-10-27 14:07:40 +00:00
Ed Morley
194fc73492
Bug 1080250 - Add support for Windows 8 x64
...
Treeherder equivalent of:
https://hg.mozilla.org/webtools/tbpl/rev/547a7de112ac
plus the followup bug 1085549.
2014-10-22 14:26:02 +01:00
Ed Morley
816989f56f
Bug 1078265 - Add support for split Android APK jobs
...
Treeherder equivalent of:
https://hg.mozilla.org/webtools/tbpl/rev/c60baf450cde
2014-10-22 14:24:01 +01:00
Cameron Dawson
5dcc50b6de
Bug 1085531 - fix typo in tests
2014-10-20 12:36:44 -07:00
Cameron Dawson
d70efd4e7f
Bug 1085531 - fix test for builds4h missing.
2014-10-20 12:31:44 -07:00
Cameron Dawson
87ed7eac86
Bug 1085531 - Fix case of missing branch param on builds4hr, with test
2014-10-20 11:46:17 -07:00
camd
b1adcd4a55
Merge pull request #246 from mozilla/queue-missing-resultsets2
...
Bug 1077136 - Queue missing resultsets2
2014-10-20 08:48:19 -07:00
camd
d4bbb0475d
Merge pull request #253 from mozilla/bug-1081600-investgate-job-group-update
...
Bug 1081600 - add a test to confirm the behaviour of job type/job group ...
2014-10-20 08:36:11 -07:00
Cameron Dawson
205e1f03fd
Bug 1084608 - removed unused js libraries from karma.conf.js
2014-10-17 17:22:48 -07:00
Cameron Dawson
57a6fb8486
Bug 1084608 - fixed karma tests by removing angular-scenario
2014-10-17 17:19:05 -07:00
Cameron Dawson
9e414b8a61
bug 1077136 - added test and fixed when RS didn't get set to 'onhold'
2014-10-17 14:02:30 -07:00
mdoglio
b03b332099
Bug 1076769 - setup lock strategy for the log parser
...
During a log parser run, the same log cannot be parsed by another
worker. This is done using a memcached-based lock mechanism.
2014-10-16 15:30:40 +01:00
mdoglio
70c85484cd
Bug 1081600 - add a test to confirm the behaviour of job type/job group associations
2014-10-16 12:16:15 +01:00
Cameron Dawson
bb84435786
Merge branch 'master' into queue-missing-resultsets2
2014-10-15 11:29:29 -07:00
jeads
8177591cfe
Merge pull request #248 from mozilla/bug-1080219-consolidate-load-job-artifacts
...
Bug 1080219 - Refactor job artifact ingestion and fix performance data i...
2014-10-14 13:19:18 -07:00
Jonathan Eads
2ab901bb97
Bug 1080219 - Added performance data log parsing tests
2014-10-13 16:45:10 -07:00
Cameron Dawson
914ef7c7f1
Bug 1077136 - fix resultset with missing revisions on ingestion
...
also fix broken tests
2014-10-13 16:38:38 -07:00
Jonathan Eads
ab1bd6a3c0
Bug 1080219 - Fix broken tests, add comments
2014-10-13 13:38:29 -07:00
Mauro Doglio
ec6f20d588
Merge pull request #239 from mozilla/bug-1016117-vendor-updates
...
Bug 1016117 - Added/updated vendor libs to support publishing to pulse
2014-10-13 11:51:14 +01:00
Ed Morley
bd3a7f85e5
Merge pull request #245 from mozilla/bug-1076752
...
Bug 1076752 - Add test for pushlog ingestion
2014-10-13 11:46:35 +01:00
Jonathan Eads
94bbbfb183
Bug 1016117 - Added/updated vendor libs to support publishing to pulse
2014-10-10 18:08:45 +01:00
Cameron Dawson
89639f96ae
Bug 1077136 - fix builds4hr tests and improve tasks per feedback
2014-10-08 12:32:38 -07:00
Cameron Dawson
9cf09d8372
bug 1077136 - test passing for ingestion
2014-10-08 12:26:08 -07:00
Cameron Dawson
3a1ae7df29
Bug 1077136 - fix urlencode params for changesets
2014-10-08 12:26:08 -07:00
Cameron Dawson
4cad93d0a7
Bug 1077136 - test for new missing resultset task
2014-10-08 12:26:08 -07:00
mdoglio
926df47e62
Bug 1076752 -add test for pushlog ingestion
2014-10-08 18:54:36 +01:00
Ed Morley
c370f477e2
Bug 1078670 - Add support for Win32 Mulet builds
...
The regex for the windows jobs was pre-emptively added by bug 1016448,
but the job names changed slightly since then. Also adds missing tests
for Mulet platforms.
2014-10-07 14:44:16 +01:00
KWierso
68acafed7e
Bug 1067482 - Add support for Android Instrumentation tests
2014-09-29 11:15:18 -07:00
Ed Morley
519fc1e49e
Bug 1067892 - Support the new style Gaia JS/Python integration test names
...
* Add support for the new job names, now that the suites have been split
into smaller parts.
* Displays the JS & Python integration tests in groups.
* Adds tests for a handful of existing Gaia jobs that were missing them
2014-09-27 17:34:06 +01:00
Ed Morley
f976b93b1b
Bug 1071876 - Add support for e10s Talos jobs
...
Treeherder equivalent of:
https://hg.mozilla.org/webtools/tbpl/rev/952e7347779f
2014-09-27 17:34:06 +01:00
Ed Morley
d725cae68a
Bug 1072447 - Display the web platform tests in a group
...
Treeherder equivalent of:
https://hg.mozilla.org/webtools/tbpl/rev/e3eaf4aecaa5
2014-09-27 17:34:05 +01:00
Cameron Dawson
e402df22f4
bug 1069389 - remove socket.io usage completely
2014-09-26 12:54:38 -07:00
mdoglio
cb3d46df36
Bug 1072291 - handle 404 responses from json-pushes
2014-09-26 17:08:28 +01:00
mdoglio
8f9a686fde
(bug 1072291) revert pushlog caching strategy
...
The pushlog cache now uses the top revision of the last push.
Also, increase the time limit to fetch the pushlog to 3 minutes
2014-09-25 21:02:40 +01:00
Jonathan Eads
d7908793a5
Bug 1071577 - Cache revision hashes to reduce pushlog load
2014-09-24 15:46:33 -07:00
Ed Morley
a387c59720
Bug 1067481 - Adjust build type & VM regex to fix jetpack asan jobs
...
Jetpack (addon-sdk) asan jobs have the buildername:
"jetpack-fx-team-ubuntu64-asan_vm-opt"
Both the build type of asan and the VM status of the job were not
caught by the previous regex, due to the word separators differing
from those seen on other repositories.
2014-09-23 14:16:49 +01:00
Ed Morley
38f88ccfd5
Bug 1068765 - Add support for mochitest-jetpack & tweak WebGL regex
...
This adds support for the new Jetpack job which makes use of the
Mochitest harness & adds support for the desktop Web GL jobs
that have a job name that is different from their Android variants.
Treeherder equivalent of:
https://hg.mozilla.org/webtools/tbpl/rev/cac32f935b5d
2014-09-23 14:13:37 +01:00
Cameron Dawson
7e87577ecd
fix tests
2014-09-11 11:42:20 -07:00
jeads
e596782254
Merge pull request #208 from mozilla/bug-1048354-submit-bug-comments-to-tbpl
...
Bug 1048354 - send bug association to bugzilla via tbpl
2014-09-10 16:43:25 -07:00
mdoglio
a44c6c7cfb
Bug 1048354 - send bug association to bugzilla
2014-09-10 12:07:13 -07:00
KWierso
e35938277a
Bug 1059788 - Limit search_term to 100 characters and add a test to confirm it happens
2014-09-09 17:59:53 -07:00
Cameron Dawson
1cf0d10495
bug 1059315 - reload on repo change in url.
...
Page reload whenever repo changes to cleanly switch.
Also update filters without a reload when changed on URL
2014-09-09 11:20:59 -07:00
Ed Morley
a623a1fa32
Bug 1060339 - Parse logs for error lines even if the job was successful
...
In an ideal world, we would never have a successful job that contained
errors which our log parser regex matched against. Unfortunately this is
not the case in practice, since:
1) There is sometimes spammy log output that isn't intended to make the
job fail, but which false-positive matches against our log regex.
2) Sometimes the test/harness/buildbot/... is broken and the log error
is real, and it should have caused the run to fail.
In the case of #1 , hiding these errors in successful runs means that
when someone looks at the error summary for a failed run, they don't
realise that a proportion of the failures they can see are actually
present in _every_ job, not just the failed ones.
In the case of #2 , hiding the errors means we don't realise <foo> is
broken and needs fixing.
As such, we now parse for error lines in all jobs, including successful.
2014-09-08 13:59:55 -07:00
jeads
d8c423f92d
Merge pull request #200 from mozilla/parse-step-result
...
Add step result to structured log artefact (bug 1043741)
2014-09-05 11:14:16 -07:00
Ed Morley
554b233fb3
Bug 1062579 - Ensure get_symbol() cannot return an empty job symbol
...
In the case where 'n' wasn't found for jobs whose symbol letter was
suppressed (eg: a mochitest job that isn't split into multiple parts),
get_symbol() could have previously returned an empty symbol.
The suppression now only takes place if 'n' was found.
2014-09-05 17:13:17 +01:00
Ed Morley
086820ff20
Bug 1061758 - Suppress the job name from Mochitest-OOP symbols too
...
Treeherder equivalent of:
https://hg.mozilla.org/webtools/tbpl/rev/718d944e6511#l3.13
2014-09-05 17:13:16 +01:00
Ed Morley
40483fb036
Bug 1043741 - Add step result to structured log artefact
2014-09-05 09:35:31 +01:00
Ed Morley
3559ae26e1
Bug 1062228 - Set re.IGNORECASE correctly for the build_type regex
...
Only the re module function .search() accepts the flags argument, for
the regexobject search() method it actually gets interpreted as the
'pos' parameter, since |re.IGNORECASE == 2|.
With this change we now correctly identify tests run on ASAN builds as
buildtype 'asan'.
2014-09-05 09:19:19 +01:00
Ed Morley
6a1402d239
Bug 1062250 - Use correct get_resultset_jobs endpoint to avoid 301 redirects
2014-09-04 18:53:45 +01:00
Ed Morley
5d032e25bf
Bug 1060763 - Sync job names, symbols & groups with TBPL
2014-08-30 20:42:49 +01:00
Cameron Dawson
b05c507b46
fix bug 1043320 - ingest start_timestamp on running jobs
2014-08-29 15:36:28 -07:00
Jonathan Eads
6de8501c13
Merge branch 'master' of ssh://github.com/mozilla/treeherder-service into get-insert-ids
2014-08-26 14:05:39 -07:00
Jonathan Eads
1a97cfa944
modified detection of new result sets strategy
2014-08-26 14:05:17 -07:00
Ed Morley
d952168857
Bug 1057377 - Always create a bug_suggestions artefact; r=mdoglio
...
The UI expects there to be one bugs_suggestions item per log error
line. Previously if there was no valid search term extracted from a log
error line, an item would not be added to the bugs_suggestion artefact.
2014-08-26 10:42:08 +01:00
Ed Morley
0ae443a35b
Bug 1040418 - Correct architecture for Android & B2G; r=camd
2014-08-26 10:21:28 +01:00
Jonathan Eads
85d6df89ee
Merge branch 'master' of ssh://github.com/mozilla/treeherder-service into get-insert-ids
2014-08-25 16:03:45 -07:00
Jonathan Eads
cd9f658d81
Added task/operations to report new result sets to pulse
2014-08-25 16:03:26 -07:00
mdoglio
0c1deced7e
(Bug 1035129) Fix missing job signatures
...
I changed the unique key on the reference data signatures table to
(signature, name, build_system_type, repository). I also added the
device_name information to the payload submitted by
fetch_buildapi_pending and fetch_buildapi_running. That was the main
cause for the repeated signatures in the reference data signatures
table.
2014-08-22 17:04:45 +01:00
mdoglio
dc3ff814ba
Bug 1046642 - fix handling of socketio notifications of new jobs
2014-08-15 20:28:25 +01:00
Mauro Doglio
5b1eacfd77
Merge pull request #187 from mozilla/bug-1032643-tweak-bug-suggestions
...
Bug 1032643 tweak bug suggestions
2014-08-11 18:37:48 +01:00
mdoglio
4759ea614b
fix bug suggestions for crash and leak lines
2014-08-11 14:44:20 +01:00
Cameron Dawson
6496e9ad1d
fix tests
2014-08-07 17:24:58 -07:00
mdoglio
06473c208e
retrieve bug suggestions with an all words search
2014-08-07 15:37:07 +01:00
mdoglio
f910e93962
remove the is_staff requirement to be able to do bug association;
...
Also the author of a bug association is always taken from the user
credentials and not from the data POSTED as it used to be
2014-08-07 15:02:28 +01:00
mdoglio
b9262f367a
fix delete_bugscache method in RefDataManager
2014-08-05 18:21:18 +01:00
mdoglio
db64a83d82
(Bug 1032643) Tweak bug suggestions retrieval
2014-08-05 11:55:41 +01:00
Cameron Dawson
89db95c9c8
fix the tests
2014-08-01 15:42:46 -07:00
mdoglio
2826a33c83
fix parsing of talos results lines
2014-07-31 15:45:30 +01:00
mdoglio
fcb9f4945a
fixup! fix tinderbox line parsing (Bug 1023871)
2014-07-31 13:30:18 +01:00
mdoglio
130b76a347
fix tinderbox line parsing (Bug 1023871)
2014-07-31 13:30:18 +01:00
Jonathan Eads
61096db379
Modified mock test data to work with the job property key structure
2014-07-25 15:18:07 -07:00
Jonathan Eads
3a349b8d04
Remove job property names from resultset web service data to improve page load performance (Bugs 1032437 1032216 1032448 1042621)
2014-07-25 12:57:37 -07:00
Cameron Dawson
8ff1be5cb1
add fixtures to automatically update bug suggestions cache
...
updates to log parser error regexes to match tbpl
2014-07-18 07:48:55 -07:00
Cameron Dawson
1ee5a68273
Fixed bug suggestions to match all error lines from the log
2014-07-16 14:14:23 -07:00
Cameron Dawson
74d8e08e2a
fixing test mocking
2014-07-16 10:30:23 -07:00
Cameron Dawson
8fa03016c1
fix bug suggestions
2014-07-16 10:30:23 -07:00
Cameron Dawson
6a8f032921
convert bug suggestions to list, rather than object
2014-07-16 10:30:23 -07:00
Cameron Dawson
a596a7ab1c
fix bug 1035212: fix regex errors.
2014-07-11 17:28:51 -07:00
Cameron Dawson
a04d2a7ba0
fix tests
2014-07-11 13:45:28 -07:00
Mauro Doglio
c8710cb5d6
Merge pull request #173 from mozilla/log-parsing-status
...
add log parsing status handling
2014-07-11 16:45:45 +01:00
Cameron Dawson
56efef1a6b
fixed tests
2014-07-08 08:43:30 -07:00
mdoglio
a8ee0a44fe
Merge branch 'master' into log-parsing-status
2014-07-04 12:53:21 +02:00
Cameron Dawson
ac5f1c33c2
Merge branch 'master' into log-parser-gt-1hr
2014-07-03 14:01:29 -07:00
Cameron Dawson
a476dcba0a
more test updates
2014-07-03 13:45:08 -07:00
Cameron Dawson
2fd58c2bff
More robust regex for steps so we don't miss any
2014-07-03 13:36:56 -07:00
Cameron Dawson
0e773dca02
test fixes for auth changes on notes
2014-07-03 12:03:15 -07:00
Cameron Dawson
38699bcd30
adding test with step > 1hour long
2014-07-03 11:59:21 -07:00
mdoglio
8e0c47068c
add log parsing status handling
2014-07-03 15:58:04 +02:00
Jonathan French
8876c17f9e
Update sample config to point to production by default
2014-07-02 16:40:20 -04:00
Cameron Dawson
76d448fdf2
fixed tests
2014-07-01 14:39:42 -07:00
Cameron Dawson
e9966e9459
fix tests
2014-06-27 09:54:59 -07:00
Cameron Dawson
5f8a9d8c31
fixed tests
2014-06-26 17:08:42 -07:00
Cameron Dawson
6dfa699c88
fixed merge conflicts
2014-06-26 16:27:20 -07:00
Cameron Dawson
f7d8218de1
fixed tests
2014-06-26 10:12:47 -07:00
Cameron Dawson
209a029592
fixing tests. rework on code slightly
2014-06-25 17:21:54 -07:00
Jonathan Eads
5a50d13862
removed print statements
2014-06-24 12:09:18 -07:00
Jonathan Eads
12385f143b
fixed conditional talos data load
2014-06-24 12:03:55 -07:00
Jonathan Eads
1987e6fcd7
removed bad talos perf tests
2014-06-23 17:38:36 -07:00
Jonathan Eads
eba52934ee
added populate performance series
2014-06-20 11:32:20 -07:00
Jonathan Eads
26963edbba
merged master
2014-06-18 14:01:32 -07:00
Jonathan Eads
a059b6c912
changed 'None' to null in json
2014-06-13 15:29:45 -07:00
Jonathan Eads
1f59f9cf5e
fixing merge conflicts
2014-06-13 15:02:02 -07:00
Jonathan Eads
06b256733d
merged with master
2014-06-13 14:10:55 -07:00
Jonathan Eads
1c340db7ed
fixed tests
2014-06-13 14:05:16 -07:00
Jonathan Eads
4058c245f8
fixed tests
2014-06-13 13:56:49 -07:00
Cameron Dawson
3def7ff30e
fixed merge conflicts
2014-06-13 09:22:51 -07:00
mdoglio
499477040d
remove references to tinderbox print lines
2014-06-13 12:28:54 +02:00
Cameron Dawson
82648e2a65
test updates
2014-06-12 18:26:46 -07:00
Jonathan Eads
ed58b1cb90
re-structured performance data storage
2014-06-12 17:48:41 -07:00
Cameron Dawson
599e40df05
fixed bug and added test.
2014-06-12 17:42:37 -07:00
Jonathan Eads
8e3a96bf40
merged pnispel performance-schema
2014-06-12 11:31:02 -07:00
Jonathan Eads
eb30882062
merged master
2014-06-12 10:45:37 -07:00
pnispel
c8d45eb2f9
fixed a failing test
2014-06-11 16:49:01 -07:00
pnispel
8d271aba67
tests passing for jobs. updating to be reviewed before polish
2014-06-11 16:18:46 -07:00
mdoglio
5c22521311
transform tinderbox lines to structured artifacts
2014-06-11 15:02:56 +02:00
vagrant
3b3bd855f6
pushing for jeads, will squash later
2014-06-11 00:03:21 +00:00
jeads
a0d82137cc
Merge pull request #161 from mozilla/tbpl-classification-proxy
...
send classification data to tbpl
2014-06-09 15:32:22 -07:00
pnispel
16763b9d50
commit for jeads to view
2014-06-06 17:29:41 -07:00
pnispel
472a0658c5
pushing for jeads
2014-06-05 16:51:00 -07:00
Jonathan Eads
0042aec91a
removed localhost
2014-06-05 14:40:36 -07:00
Jonathan Eads
6b5a5e8310
removed localhost reference, added treeherder-service to sys.path
2014-06-05 13:39:05 -07:00
pnispel
4e3906d5e2
fixed merge conflicts
2014-06-04 13:22:25 -07:00
Jonathan Eads
a00b7fd314
perf data adapter classes
2014-06-04 09:17:37 -07:00
mdoglio
8579005d43
fixup! fixup! send classification data to tbpl
2014-06-03 23:38:20 +02:00
mdoglio
7b11ec408d
send classification data to tbpl
2014-06-03 18:46:20 +02:00
Jonathan Eads
1168c6c821
Merge branch 'master' of ssh://github.com/mozilla/treeherder-service into performance-schema
2014-06-03 08:52:33 -07:00
Jonathan Eads
d4fd6826d0
added request.addfinalizer call to register fin() methods
2014-06-03 08:51:15 -07:00
Jonathan Eads
5ee8880971
added explicit disconnect
2014-06-02 13:48:58 -07:00
Jonathan Eads
a8d0d10e50
added scope for model fixtures
2014-06-02 12:15:13 -07:00
Jonathan Eads
d313b86522
added disconnects
2014-06-01 20:00:52 -07:00
Jonathan Eads
342fecec9f
add explicit disconnect
2014-05-30 15:25:15 -07:00
Jonathan Eads
5676ff2ee8
new vendor lib
2014-05-30 14:49:41 -07:00
Jonathan Eads
f57a31715e
added additional structure
2014-05-28 13:52:35 -07:00
Jonathan Eads
8f741f760c
added talos/b2g sample json
2014-05-28 13:48:33 -07:00
pnispel
fbd70064be
updated tests for parsing TALOSDATA out of log
2014-05-28 09:10:25 -07:00
Cameron Dawson
600fcae710
added canceling all jobs and removed bad test. BAD TEST!
2014-05-23 17:58:29 -07:00
Mauro Doglio
3d832094f4
Merge pull request #146 from mozilla/buildapi-artifact
...
store two buildapi artifacts on ingestion
2014-05-19 15:36:09 +01:00
Jonathan Eads
831e135556
Merge branch 'master' of ssh://github.com/mozilla/treeherder-service
2014-05-16 08:43:32 -07:00
Jonathan Eads
8f86d28dbe
added pending/running eta columns to returned job structures
2014-05-16 08:43:09 -07:00
Cameron Dawson
9a30ab6453
fix tests
2014-05-15 11:53:12 -07:00
mdoglio
3d08281967
fixup! rename message attribute to detail on oauth failures
2014-05-15 13:17:58 +02:00
vagrant
adfd3cff49
made more changes
2014-05-15 13:17:58 +02:00
Jonathan Eads
3bd1f659f8
made lots of changes
2014-05-15 13:17:58 +02:00
Jonathan Eads
75fcdf1781
made changes
2014-05-15 13:17:57 +02:00
mdoglio
6bd452de6f
rename message attribute to detail on oauth failures
2014-05-14 19:29:39 +02:00
vagrant
773e8fbf8b
made more changes
2014-05-14 04:34:01 +00:00
Jonathan Eads
970c362bce
made lots of changes
2014-05-11 22:17:57 -07:00
mdoglio
52700b1a90
Remove unsafe methods form swagger ui
...
Also add custom exception handling to the api, uniforming how failures
are reported to the consumer
2014-05-09 15:59:40 +02:00
Jonathan Eads
a71e4b65af
made changes
2014-05-07 09:27:33 -07:00
Cameron Dawson
22336d0995
fix tests
2014-05-01 10:35:15 -07:00
Cameron Dawson
67debc5af6
filter by failure_classification_id. upgraded angular
2014-04-28 16:05:02 -07:00
Cameron Dawson
96a6cb53e8
Merge branch 'master' into unclassified-counts
2014-04-25 13:34:38 -07:00
Cameron Dawson
39e9336751
test fixes
2014-04-25 12:41:27 -07:00
Cameron Dawson
d24c93e87b
fixed merge conflicts
2014-04-25 12:06:52 -07:00
camd
662a66865b
Merge pull request #135 from mozilla/resultset-endpoint-no-jobs
...
Resultset endpoint no jobs
2014-04-25 09:53:27 -07:00
Cameron Dawson
af3cb621bd
test fix
2014-04-25 09:12:56 -07:00
mdoglio
a7d9858d5b
fixup! fixup! fix test mocks
2014-04-24 16:01:07 +02:00
mdoglio
810b5127a2
fixup! fix test mocks
2014-04-24 14:31:06 +02:00
mdoglio
fd5653b3b8
fix test mocks
2014-04-24 14:14:01 +02:00
mdoglio
4cb8f64851
add test for resultset list without jobs
2014-04-23 18:08:11 +02:00
Cameron Dawson
6f051daa03
another test fix
2014-04-22 14:58:59 -07:00
Cameron Dawson
548d19ec10
fix tests
2014-04-22 14:55:04 -07:00
Cameron Dawson
94cf17b07b
fix for ``revisions`` field in resultsets full=true
2014-04-22 12:48:20 -07:00
Jonathan Eads
7a8c1d90de
added disconnect calls
2014-04-18 13:57:23 -07:00
Jonathan Eads
cc152027db
Merge branch 'master' of ssh://github.com/mozilla/treeherder-service into cycle-data
2014-04-18 13:08:58 -07:00
Jonathan Eads
5394adfd25
removed deprecated comment
2014-04-16 17:52:57 -07:00
Jonathan Eads
9610ba8569
Merge branch 'master' of ssh://github.com/mozilla/treeherder-service into cycle-data
2014-04-16 17:51:32 -07:00
Jonathan Eads
a227e0672a
made changes
2014-04-16 17:48:35 -07:00
Jonathan Eads
040164c77f
made changes
2014-04-16 15:06:30 -07:00
Cameron Dawson
b020bbd7b0
Merge branch 'master' into resultset-date-range
2014-04-16 11:42:59 -07:00
camd
c4ff8981e1
Merge pull request #130 from mozilla/bug-suggestions-relevance
...
Bug suggestions relevance
2014-04-16 11:42:03 -07:00
mdoglio
e50244cc47
fix lexical typos
2014-04-16 18:09:52 +01:00
Cameron Dawson
d297109ed6
fix unit tests for change in /resultsets/ api
2014-04-16 09:45:47 -07:00
mdoglio
e10b1a6d70
mimic tbpl logic for bugs suggestions
2014-04-16 13:40:14 +01:00
Cameron Dawson
d0ef5ec709
delete unused test files
2014-04-15 16:25:58 -07:00
Cameron Dawson
22cc514c5a
fix unit tests and a bug in clonejobs wrt updating background repo
2014-04-15 16:25:41 -07:00
Jonathan Eads
ff5486ee9c
added data cycling
2014-04-14 13:33:52 -07:00
Cameron Dawson
ae6640f3e0
Merge branch 'master' into resultset-date-range
2014-04-14 13:23:34 -07:00
Cameron Dawson
b6fe5cbc79
re-fixed the test. all is well.
2014-04-10 15:56:52 -07:00
Cameron Dawson
996f6cf62a
test a failing test
2014-04-10 15:45:14 -07:00
Cameron Dawson
c1ccab4b44
resultset model fixes and passing unit tests
2014-04-10 15:01:00 -07:00
mdoglio
3c6c018232
fix test setup to allow model migrations
2014-04-10 15:05:39 +01:00
Cameron Dawson
05f2189283
node 10
2014-04-08 18:03:41 -07:00
Cameron Dawson
df71255dd4
remove file
2014-04-08 17:44:13 -07:00
Cameron Dawson
d374e902e9
some tests passing locally now
2014-04-08 17:44:01 -07:00
Cameron Dawson
8734a47c63
another
2014-04-08 11:37:08 -07:00
Cameron Dawson
92b8396955
another
2014-04-08 11:21:55 -07:00
Cameron Dawson
78a45cb9c4
another travis fix
2014-04-08 10:45:31 -07:00
Cameron Dawson
b8a212fe40
bad test as a test
2014-04-08 09:07:33 -07:00
Cameron Dawson
2965a31428
fix updates from socket.io for jobs and resultsets
2014-04-08 09:00:26 -07:00
Cameron Dawson
0bb6b73b67
support for date and revision ranges
2014-04-02 11:03:32 -07:00
Cameron Dawson
c747a52102
move views into individual files
2014-03-31 13:14:50 -07:00
Cameron Dawson
f001fcf80c
fixing ``platform_opt`` to ``platform_option``
2014-03-27 16:58:17 -07:00
mdoglio
a3ebefef98
add new line at the end of file
2014-03-13 18:50:48 +00:00
mdoglio
bef7bafde7
add notes deletion endpoint
2014-03-13 18:49:23 +00:00
mdoglio
5066348c43
add job classification socketio event
2014-03-13 14:17:34 +00:00
Cameron Dawson
02f1975236
test fix
2014-03-11 14:00:14 -07:00
mdoglio
193bb252b0
fixup! remove db access from the parse_log task
2014-03-10 20:09:37 +01:00
mdoglio
9df5e5b108
remove db access from the parse_log task
2014-03-10 19:38:03 +01:00
mdoglio
5cc866fbf2
separate oauth credentials from OAuthLoaderMixin
2014-03-10 19:36:01 +01:00
jeads
2ad4bb608b
Merge pull request #117 from mozilla/api-session-authentication
...
add session authentication to notes and bug_job_map creation
2014-03-10 11:27:57 -07:00
mdoglio
45fdb47f0c
add session authentication to notes and bug_job_map creation
2014-03-06 11:08:29 +01:00
Cameron Dawson
0713400b67
fixes to tests
2014-02-28 16:54:07 -08:00
Cameron Dawson
c33f116c31
fixed tests, added ``job_coalesced_to_guid``
2014-02-27 13:28:51 -08:00
mdoglio
b86e88fde7
add basic filtering on the job_artifact endpoint
2014-02-07 15:05:42 +00:00
mdoglio
e8ca1dcdea
fix a bug in UrlQueryFilter and split limit into two separate parameters (count and offset)
2014-02-05 17:47:28 +00:00
mdoglio
78d46f1505
add bug_job_map endpoints and model methods
2014-02-05 17:47:28 +00:00
Jonathan Eads
044217b997
removed manage.py command to write out credentials
2014-02-04 15:23:01 -08:00
Jonathan Eads
efcff53d2d
fixed stuff
2014-02-04 13:31:34 -08:00
Jonathan Eads
ce17bbfab4
merged
2014-02-03 17:56:19 -08:00
Jonathan Eads
35d1a21c23
fixed tests
2014-02-03 17:13:13 -08:00
Jonathan Eads
abd2c37bef
fixed tests
2014-01-31 18:24:43 -08:00
Jonathan Eads
80e2c4d111
merged
2014-01-31 12:44:05 -08:00
Jonathan Eads
a5e1925174
made changes
2014-01-31 11:37:30 -08:00
Cameron Dawson
f8f4aa3e32
fix tests
2014-01-31 11:36:33 -08:00
vagrant
35be73269c
made changes
2014-01-31 19:35:46 +00:00
Cameron Dawson
d787175340
update for results and statuses in jobsmodel. remove update_state endpoint
2014-01-31 10:37:48 -08:00
Cameron Dawson
8ecde732a3
code cleanup
2014-01-30 15:43:51 -08:00
Cameron Dawson
c6ec4cf7c5
fix for unexpected job state
2014-01-30 13:33:34 -08:00
Cameron Dawson
00df9bf6fc
test fixes
2014-01-30 13:24:02 -08:00
Cameron Dawson
bd92ec6675
test fix
2014-01-28 18:06:37 -08:00
mdoglio
dc17acb9f8
add dynamic filters to the jobs list endpoint
2014-01-28 20:16:27 +00:00
Cameron Dawson
30adbd6d04
bad order on imports for js files in tests
2014-01-23 08:28:23 -08:00
Cameron Dawson
58c318046d
more color/sizing tweaks
2014-01-23 08:28:23 -08:00
Cameron Dawson
5c2efc4cf3
fixed tests
2014-01-20 17:57:29 -08:00
Cameron Dawson
8f82ee8f3f
test config fixes
2014-01-20 17:08:12 -08:00
Cameron Dawson
b5d4a4299e
yet more regex updates with tests
2014-01-16 16:30:44 -08:00
Cameron Dawson
ce15891614
more regex updates
2014-01-16 15:26:38 -08:00