Zack Cerza
|
deec86c703
|
Also catch httplib2.ServerNotFoundError
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-11-22 17:03:29 -06:00 |
|
Zack Cerza
|
88792d62e1
|
Make report_job() always return an int
|
2013-11-12 17:07:15 -06:00 |
|
Zack Cerza
|
b3e730e346
|
Also catch socket.error in try_push_job_info
|
2013-11-07 18:39:16 -06:00 |
|
Zack Cerza
|
ed81960242
|
Don't use create_run() unless necessary
Runs are created automatically now.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-11-04 14:56:13 -06:00 |
|
Zack Cerza
|
c31d747640
|
Fix broken logic in running_jobs_for_run()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-16 13:43:05 -05:00 |
|
Zack Cerza
|
bac2965af6
|
ResultsSerializer.running_jobs_for_run() and test
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-14 16:34:45 -05:00 |
|
Zack Cerza
|
494c3b1fbe
|
Make verbosity propagate correctly to modules
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-11 17:10:57 -05:00 |
|
Zack Cerza
|
3905ab993f
|
Debug output for all http requests
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-11 16:29:42 -05:00 |
|
Zack Cerza
|
7d99de72bd
|
Give reporting a verbose flag
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-11 16:24:54 -05:00 |
|
Zack Cerza
|
2e3e127e72
|
Lack of a job_id should be a warning
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-11 14:32:21 -05:00 |
|
Zack Cerza
|
636dc8676e
|
Move part of report_all_runs() into report_runs()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-11 10:48:02 -05:00 |
|
Zack Cerza
|
61606fe0fa
|
Set a default timeout of 20s for HTTP connections
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-11 10:23:00 -05:00 |
|
Zack Cerza
|
bd9cbdba03
|
Don't attempt to report if there's no job_id
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-10 19:09:35 -05:00 |
|
Zack Cerza
|
7ab9726737
|
Move teuthology-report's arg parsing to scripts/
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-10 19:09:34 -05:00 |
|
Zack Cerza
|
1c32b1b886
|
Reflect paddles API change: jobs in jobs/
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-07 10:01:48 -05:00 |
|
Zack Cerza
|
972ab1cf22
|
Tweak logic of try_push_job_info()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-04 15:01:16 -05:00 |
|
Zack Cerza
|
2270db724d
|
Add (and use) try_push_job_info() for easy pushin'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-04 11:07:33 -05:00 |
|
Zack Cerza
|
ff120d7fb5
|
Escape reserved characters in URIs
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-03 16:08:12 -05:00 |
|
Zack Cerza
|
f0b35fca70
|
Add more documentation.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-03 16:08:12 -05:00 |
|
Zack Cerza
|
058a27bf59
|
Add create_run() and push_job_info() with docs.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-02 18:34:04 -05:00 |
|
Zack Cerza
|
fe64887ec6
|
s/submit_/report_/g
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-02 18:34:04 -05:00 |
|
Zack Cerza
|
555e55ff61
|
Rename ResultsPoster to ResultsReporter
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-02 18:34:04 -05:00 |
|
Zack Cerza
|
79e27abfe9
|
Add create_run; allow passing json to submit_job
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-02 18:34:04 -05:00 |
|
Zack Cerza
|
52282fb7f4
|
Overhaul posting logic to avoid some corner cases
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-02 18:34:04 -05:00 |
|
Zack Cerza
|
4bcae4b18b
|
Add flag for refreshing already-pushed runs
Also tweak implementation of save_last_run
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-02 18:34:04 -05:00 |
|
Zack Cerza
|
da4a7b860d
|
Remove old method used for testing
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-02 18:34:04 -05:00 |
|
Zack Cerza
|
8b9a69138e
|
Add --server flag
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-02 18:34:04 -05:00 |
|
Zack Cerza
|
cf68a3ac3a
|
Reuse connection objects.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-02 18:34:04 -05:00 |
|
Zack Cerza
|
f77ee6e0ef
|
Add argument parsing to make this a proper script.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
|
2013-10-02 18:34:04 -05:00 |
|