Zack Cerza
47087ff7fb
Fall back to master for suite_branch
...
The reason for this is that last-in-suite jobs don't have suite_branch
or branch set. We just want to use master for those.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-14 09:35:20 -06:00
Zack Cerza
0ccee81915
Don't drop the rest of os.environ
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 13:44:32 -06:00
Zack Cerza
b6c7ba2977
Fix typo
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 13:15:47 -06:00
Zack Cerza
0ad105865a
Fix lock paths
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 13:14:23 -06:00
Zack Cerza
7418de9315
Use the ceph_branch if suite_branch isn't found
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 13:06:21 -06:00
Zack Cerza
8b6e82437c
Tweak fetch_teuthology_branch()
...
Specifically, make it match fetch_qa_suite()'s behavior.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:35:37 -06:00
Zack Cerza
24b44cbe28
Clone ceph-qa-suite and add it to PYTHONPATH
...
So that teuthology runs can find their tasks
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:35:37 -06:00
Zack Cerza
46b48c9b7a
Remove unused import
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:35:18 -06:00
Zack Cerza
1a4bde2b40
Fix install_except_hook()
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:17:25 -06:00
Sage Weil
4d7c09ee46
suite: default to 9h results_timeout
...
6h isn't enough for xfstests.
Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-07 11:20:39 -07:00
Zack Cerza
4881b2ed2b
Relocate teuthology checkouts to ~/src/
...
Also use an underscore instead of a dash between 'teuthology' and the
branch name.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-03 10:12:41 -06:00
Zack Cerza
5a61f449d1
Split up repo helper into separate functions
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-30 10:10:31 -06:00
Zack Cerza
93fd6b899f
Move repo checkout code to new module repo_utils
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-27 10:14:06 -06:00
Zack Cerza
5e3c13de60
Use a more informative variable name for dest_path
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-27 10:14:06 -06:00
Zack Cerza
dbf984e9d8
Disable "fix" for corrupt repo detection
...
It's causing more problems than it's solving at this point
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-09 11:46:19 -05:00
Zack Cerza
2e5c697f1d
Use correct cwd
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-09 09:22:21 -05:00
Zack Cerza
87e7ff0e2d
Fix corrupt repo detection
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-06 12:01:33 -05:00
Zack Cerza
cadcbf3914
Remove unused import
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-04 16:29:11 -05:00
Zack Cerza
ae0d26ae71
Try a different approach to zombie prevention
...
The previous method I had committed had the unfortunate side-effect of
preventing teuthology job processes from giving their returncode to the
worker process. This method shouldn't do that.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-06-02 09:23:27 -05:00
Zack Cerza
59ee17dc19
Avoid piles of zombies
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-05-30 09:59:36 -05:00
Zack Cerza
0fcfaee726
Add comment explaining 'preexec_fn=os.setpgrp'
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-05-30 09:56:27 -05:00
Zack Cerza
b26ba60565
Check for broken repos before updating
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-05-29 13:23:23 -05:00
Zack Cerza
2363a17caa
Bump log level to info
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-05-28 23:40:48 -05:00
Zack Cerza
c4783543e3
Don't block on teuthology-results processes
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-05-28 14:56:59 -05:00
Zack Cerza
a4a9a1f22f
Correct logging when running teuthology-results
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-05-28 11:43:20 -05:00
Zack Cerza
d3c230071a
Don't crash when an invalid branch is passed
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-05-22 12:26:50 -05:00
Zack Cerza
08ace5465e
Add exception hook to teuthology-worker
...
Workers processes are dying occasionally, and this should cause the
exceptions to be logged.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-05-21 11:34:11 -05:00
Zack Cerza
29d3299497
Consolidate log file setup into shared function
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-05-10 09:10:21 -05:00
Zack Cerza
5dbce8b68f
Use Unicode format strings
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-05-10 09:10:21 -05:00
Zack Cerza
f102e4943d
Post last_in_suite jobs, but delete when run
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-04-25 15:22:30 -05:00
Zack Cerza
0e90c69fd4
watch_tube() belongs to the beanstalk module
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-04-17 16:06:32 -05:00
Zack Cerza
8a4de411a6
Rename teuthology.queue to teuthology.worker
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-04-17 12:27:41 -05:00