Cameron Dawson
942e314361
Revert "Bug 1151806 - Implement chunking for job ingestion"
...
This reverts commit e71e781565
.
This commit caused pending and running jobs to be put into the objectstore.
This causes their completed versions not to be ingested.
2015-05-21 11:46:38 -07:00
Cameron Dawson
e71e781565
Bug 1151806 - Implement chunking for job ingestion
2015-05-20 15:09:17 -07:00
William Lachance
dc084310f6
Bug 1163674 - Update treeherder client to be more generic
...
* Create a generic TreeherderClient class
* Add a single method called `post_collection` which takes care of all
details of validation, submitting stuff and raising errors
* Also add a new update_parse_status method, for updating status (replaces
manual calls to post information on raw TreeherderRequest)
2015-05-19 17:32:22 -04:00
William Lachance
0e6e61fbbe
Bug 1159831 - Make treeherder use in-tree copy of treeherder-client
2015-05-01 13:34:29 -04:00
Cameron Dawson
44511e4518
Bug 1154470 - refactor artifact handling into its own model
2015-04-17 10:56:44 -07:00
Ed Morley
bddfcfed70
Bug 1153186 - s/TBPL_BUGS_TRANSFER_ENABLED/MIRROR_CLASSIFICATIONS/
2015-04-13 18:55:35 +01:00
Ed Morley
533a656b49
Bug 1137278 - Defer import of thclient until vendor/ is in sys.path
...
The treeherder client is in the vendor directory, however that doesn't
get added to the sys.path until settings/base.py is loaded, so defer the
import until we need it.
2015-03-03 18:47:48 +00:00
Ed Morley
30ad99c7c0
Bug 1059814 - Non-whitespace pep8 fixes using autopep8 aggressive mode
...
Generated using:
autopep8 --in-place --recursive --aggressive --aggressive
--max-line-length 999 --exclude='.git,__pycache__,.vagrant,build,vendor,
0001_initial.py,models.py,test_note_api.py,test_bug_job_map_api.py' .
autopep8's aggressive mode, unlike standard mode, makes non-whitespace
changes. It also uses lib2to3 to correct deprecated code (W690), some of
which aren't pep8 failures. Some of these changes are more dubious, but
rather than disable W690 completely, I've just excluded the files where
the unwanted changes would have been made, so we can benefit from the
rest.
2015-03-03 02:34:37 +00:00
James Lal
38e0669187
Bug 1113281 - Add pulse messages when after cancel/retrigger r=maurodoglio
...
- Rename configs to make it easier to run tests without pulse
- Fix scoping bug (all messages used to be published under same exchange!)
2015-02-19 13:49:11 -08:00
Ed Morley
f5c0b53e0c
Bug 1059814 - Whitespace pep8 fixes
...
Generated using:
autopep8 --in-place --recursive .
Before:
$ pep8 | wc -l
1686
After:
$ pep8 | wc -l
57
A later autopep8 run will be performed using --aggressive, which makes
non-whitespace changes too.
2015-02-15 14:52:31 +00:00
Cameron Dawson
698fd05519
Bug 1119479 - Upgrade to Django 1.7
2015-02-10 11:34:07 -08: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
6bf711fb4a
Bug 1059811 - pyflakes: Remove unused variables
2015-01-16 12:33:32 +00:00
Jonathan French
dbb4d11e09
Bug 1090689 - Add MPL2.0 headers to the repo
2014-11-03 13:06:03 -05: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
926df47e62
Bug 1076752 -add test for pushlog ingestion
2014-10-08 18:54:36 +01:00
mdoglio
cb3d46df36
Bug 1072291 - handle 404 responses from json-pushes
2014-09-26 17:08:28 +01:00
Jonathan Eads
1a97cfa944
modified detection of new result sets strategy
2014-08-26 14:05:17 -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
mdoglio
8e0c47068c
add log parsing status handling
2014-07-03 15:58:04 +02: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
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
mdoglio
7b11ec408d
send classification data to tbpl
2014-06-03 18:46:20 +02:00
Jonathan Eads
d4fd6826d0
added request.addfinalizer call to register fin() methods
2014-06-03 08:51:15 -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
mdoglio
3c6c018232
fix test setup to allow model migrations
2014-04-10 15:05:39 +01:00
mdoglio
5066348c43
add job classification socketio event
2014-03-13 14:17:34 +00:00
mdoglio
45fdb47f0c
add session authentication to notes and bug_job_map creation
2014-03-06 11:08:29 +01: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
abd2c37bef
fixed tests
2014-01-31 18:24:43 -08:00
vagrant
35be73269c
made changes
2014-01-31 19:35:46 +00:00
jeads
b6324455d0
Merge pull request #72 from mozilla/job-names
...
Job names
2013-11-22 11:28:20 -08:00
Jonathan Eads
e090da8597
removed duplicate refdata fixture
2013-11-21 16:46:28 -08:00
mdoglio
5eea00d5b8
add bugscache ingestion and bugs suggestions artifacts
2013-11-21 14:31:57 +00:00
mdoglio
c48ba29d06
merging updates
2013-11-21 14:29:19 +00:00
Cameron Dawson
f9c9fa0aec
tests now passing. seeing if they'll pass on the server.
2013-11-13 17:24:24 -08:00
mdoglio
ab9a2e7268
optimized revisions lookups
2013-11-07 21:00:15 +00:00
Jonathan Eads
55caeafa6e
webapp/api test changes
2013-11-05 09:09:26 -08:00
Jonathan Eads
5ef0f73327
adding handling for lists of data for all model methods
2013-10-25 17:17:01 -07:00
mdoglio
8fc8199675
make the tests pass and conditional job state update
2013-09-16 15:58:03 +02:00
mdoglio
e48904c95e
add resultset ingestion api endpoint
2013-09-04 15:38:59 +01:00
mdoglio
edc52fd271
remove unuseful comment
2013-06-28 18:26:50 +02:00
mdoglio
b7cf4d0b13
merge from master
2013-06-18 15:15:40 +02:00
mdoglio
1f0b3380e6
code cleaning
2013-05-15 13:54:42 +01:00
mdoglio
17d98479e2
add celery ecosystem
2013-05-13 19:19:19 +02:00
mdoglio
5de21fbc1d
Merge branch 'master' into fix-test-isolation
2013-05-07 16:15:10 +01:00
mdoglio
d4c17ea6db
fix test isolation recreating db tables at every test setup
2013-05-01 11:50:55 +01:00
Cameron Dawson
ce466a578d
adding artifact test code and job model creation test code
2013-04-30 14:07:13 -07:00
Jonathan Eads
b5f0c026c0
merged stuff
2013-04-26 15:42:16 -07:00
Jonathan Eads
1de79d9a2a
merged
2013-04-26 14:34:20 -07:00
Cameron Dawson
08b4c24833
made the long test only run if '--runslow' option is used
2013-04-26 11:18:18 -07:00
Cameron Dawson
6e417c7831
removed bad function, merge from latest master
2013-04-25 17:41:24 -07:00
Jonathan Eads
eaccfecd00
merged conftest.py
2013-04-25 16:13:06 -07:00
Cameron Dawson
c86771e05b
added test to ingest all sample jobs
2013-04-23 17:24:06 -07:00
Cameron Dawson
e542309e02
fix merge conflicts
2013-04-19 18:06:00 -07:00
Cameron Dawson
1f0fb9a9b5
objectstore tests are now passing
2013-04-19 18:04:00 -07:00
Cameron Dawson
58d3591315
fixed fixture updates for JobsModel and most objectstore tests passing
2013-04-19 17:35:59 -07:00
Cameron Dawson
1a54dc6b26
fixed job fixture for tests
2013-04-19 10:58:46 -07:00
mdoglio
6d43a2fccb
remove session scope from datasource test fixtures
2013-04-19 14:02:18 +02:00
Cameron Dawson
1290f6c646
base model generic to datasource now
2013-04-18 22:26:30 -07:00
Jonathan Eads
eb1cbc90de
changed fixture scope to session
2013-04-18 16:47:10 -07:00
vagrant
90b548da9a
added fixture for sample data
2013-04-18 23:23:58 +00:00
Cameron Dawson
a025220123
merge updates and test changes
2013-04-18 08:49:19 -07:00
Cameron Dawson
bef1cbab6b
merged from refdata
2013-04-17 09:38:40 -07:00
mdoglio
dcb703dcf5
fix RefDataManager and add firts working test on it
2013-04-17 17:13:24 +01:00
Cameron Dawson
f94c0d2796
fixed lots of datasource issues. still not working with the jobs model, however
2013-04-16 16:45:51 -07:00
Cameron Dawson
ce6c095690
fixed circular reference in datasource.py by renaming it to sql_datasource.py
2013-04-16 16:08:06 -07:00
Cameron Dawson
d1c0058a4e
adding jobsmodel funcarg for pytests
2013-04-16 11:00:34 -07:00
mdoglio
6cf291cf1f
merge changes from master into sql-datasource
2013-04-02 18:53:04 +01:00
mdoglio
3c77ab5f43
move webapp/models.py to model/models.py.
2013-04-02 18:16:13 +01:00
mdoglio
321a7c8cf3
remove unused import
2013-04-02 18:16:13 +01:00
mdoglio
78e9623098
remove cache.clear() from tests setup/teardown
2013-04-02 18:16:13 +01:00
mdoglio
9fd2f64542
tests use cache versioning to keep isolation
2013-04-02 18:16:13 +01:00
mdoglio
41116af5bb
remove unused import
2013-03-28 00:49:11 +00:00
mdoglio
ac44d1bc10
remove cache.clear() from tests setup/teardown
2013-03-28 00:45:34 +00:00
mdoglio
8546748bc5
tests use cache versioning to keep isolation
2013-03-28 00:40:42 +00:00
mdoglio
5b8063cef8
add memcached setup
2013-03-26 16:24:38 +00:00
mdoglio
03b239de23
move db settings to env variables; set env variables for db settings in vagrant
2013-03-20 13:59:48 +00:00
mdoglio
eb11feeace
add db setup/teardown to py.test suite
2013-03-19 19:05:04 +00:00
mdoglio
a2b0a00fcb
add py.test setup with support for coverage
2013-03-11 20:01:17 +00:00