]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
Zack Cerza [Tue, 1 Jul 2014 18:21:45 +0000 (12:21 -0600)]
Rename suite_base to suite_dir
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 1 Jul 2014 17:45:10 +0000 (11:45 -0600)]
Add --suite-branch and --suite-base
The former lets you specify a specific ceph-qa-suite branch to use for
testing. The latter lets you specify an as-is directory to use, for
example if you want ro run tests that you don't want to commit yet.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 1 Jul 2014 16:56:41 +0000 (10:56 -0600)]
Use a test-specific name/email for the git calls
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 1 Jul 2014 16:42:16 +0000 (10:42 -0600)]
Add more unit tests
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 30 Jun 2014 23:35:11 +0000 (17:35 -0600)]
Add a basic validation of the branch value
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 30 Jun 2014 23:23:20 +0000 (17:23 -0600)]
Run unit tests offline
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 30 Jun 2014 16:10:31 +0000 (10:10 -0600)]
Split up repo helper into separate functions
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 27 Jun 2014 16:21:53 +0000 (10:21 -0600)]
Document checkout_repo()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 27 Jun 2014 16:18:05 +0000 (10:18 -0600)]
Drop a "fix" for a bug that probably never existed
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 27 Jun 2014 16:12:45 +0000 (10:12 -0600)]
Add a note about teuthology scheduling
Specifically, that we always schedule using the master branch.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 26 Jun 2014 19:37:24 +0000 (13:37 -0600)]
Improve missing branch detection and logging
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 26 Jun 2014 19:37:07 +0000 (13:37 -0600)]
Add unit tests for repo_utils
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 21:24:05 +0000 (15:24 -0600)]
Use 'ceph-qa-suite.git' for the repo name
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 21:10:37 +0000 (15:10 -0600)]
Also handle teuthology repo checkouts
Our shell script did this also.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 20:59:38 +0000 (14:59 -0600)]
Handle ceph-qa-suite checkouts
Previously we had an internally-maintained shell script that did this.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 20:40:44 +0000 (14:40 -0600)]
Generalize error message
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 20:24:19 +0000 (14:24 -0600)]
Fix linter errors
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 20:20:18 +0000 (14:20 -0600)]
Move repo checkout code to new module repo_utils
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 19:23:54 +0000 (13:23 -0600)]
Use a more informative variable name for dest_path
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 27 Jun 2014 16:07:04 +0000 (10:07 -0600)]
Merge pull request #274 from dachary/wip-facet
document how to specify a facet in teuthology-suite
Loic Dachary [Fri, 27 Jun 2014 16:04:05 +0000 (18:04 +0200)]
document how to specify a facet in teuthology-suite
Signed-off-by: Loic Dachary <loic@dachary.org>
Zack Cerza [Wed, 25 Jun 2014 16:38:38 +0000 (10:38 -0600)]
Only delete jobs that match the pattern
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 16:34:37 +0000 (10:34 -0600)]
Swap order of job_id and run_name when deleting
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 16:02:59 +0000 (10:02 -0600)]
Skip the kernel stanza if the branch passed is '-'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 25 Jun 2014 15:32:56 +0000 (09:32 -0600)]
Add more docstrings
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 24 Jun 2014 15:43:41 +0000 (09:43 -0600)]
No need to explicitly return None here
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 24 Jun 2014 15:40:36 +0000 (09:40 -0600)]
Update unit tests to reflect renamed function
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 24 Jun 2014 15:38:13 +0000 (09:38 -0600)]
Add a few more docstrings and a debug statement
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 24 Jun 2014 15:13:30 +0000 (09:13 -0600)]
Fix a couple linter errors
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 24 Jun 2014 14:49:39 +0000 (08:49 -0600)]
Remove schedule_suite.sh
Its entire functionality is now provided by teuthology-schedule.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 23 Jun 2014 22:53:03 +0000 (16:53 -0600)]
Fix bug where the base yaml wasn't being merged
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 19 Jun 2014 19:54:05 +0000 (15:54 -0400)]
With dry_run, quote any individual args
So that individual commands can be copied and pasted
in order to execute them individually.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 19 Jun 2014 19:16:45 +0000 (15:16 -0400)]
Add lots of unit tests for teuthology.suite
More to come...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 19 Jun 2014 19:06:21 +0000 (15:06 -0400)]
Raise ScheduleFailError even if not sending email
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 19 Jun 2014 17:41:51 +0000 (13:41 -0400)]
Do everything that schedule_suite.sh does
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 19 Jun 2014 17:40:52 +0000 (13:40 -0400)]
Add default results_email
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 16 Jun 2014 18:29:03 +0000 (12:29 -0600)]
Don't schedule an email job if email isn't set
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 16 Jun 2014 18:26:50 +0000 (12:26 -0600)]
Split prepare_and_schedule() out of main()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 13 Jun 2014 19:48:18 +0000 (14:48 -0500)]
Use the return value of schedule_suite()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 13 Jun 2014 19:37:25 +0000 (14:37 -0500)]
Organize arguments into logical sections
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 13 Jun 2014 19:05:53 +0000 (14:05 -0500)]
Tweak usage formatting
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 17:50:41 +0000 (12:50 -0500)]
Don't reread the entire yaml file...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 17:48:46 +0000 (12:48 -0500)]
Remove unused functions
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 17:45:22 +0000 (12:45 -0500)]
'and' is a thing
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 17:43:49 +0000 (12:43 -0500)]
Take machine_type instead of worker
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 17:30:34 +0000 (12:30 -0500)]
Add functions for querying gitbuilder repos
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 16:47:28 +0000 (11:47 -0500)]
Silence connection pool logging
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 16:30:12 +0000 (11:30 -0500)]
Remove 'template' feature
Neither Sage nor I could find anything that used it
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 16:25:30 +0000 (11:25 -0500)]
Only allow scheduling one suite per call.
Also remove all traces of the extra and confusing term 'collection'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 11 Jun 2014 20:13:45 +0000 (15:13 -0500)]
Port to docopt
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 10 Jun 2014 20:50:59 +0000 (15:50 -0500)]
Refactor collection scheduling out of main()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 24 Jun 2014 17:07:02 +0000 (11:07 -0600)]
If archive_base is None, use config's
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Mon, 23 Jun 2014 15:09:01 +0000 (11:09 -0400)]
Merge pull request #272 from ceph/release
Create a python package for teuthology
Zack Cerza [Thu, 24 Apr 2014 19:45:13 +0000 (14:45 -0500)]
Update setup.py
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 20 Jun 2014 15:36:55 +0000 (11:36 -0400)]
Allow killing jobs by passing a 'jobspec'.
See teuthology-kill --help
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 19 Jun 2014 18:11:56 +0000 (14:11 -0400)]
Add a couple tests for teuthology.schedule
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 16 Jun 2014 16:19:54 +0000 (10:19 -0600)]
Make conf_file optional
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 13 Jun 2014 18:47:56 +0000 (13:47 -0500)]
Add .ropeproject to .gitignore
I use a vim plugin that creates lots of directories with that name
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 18:23:19 +0000 (13:23 -0500)]
Add [--] to usage statement
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 10 Jun 2014 19:40:37 +0000 (14:40 -0500)]
Automatically watch 'multi' tube if tube_name
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Tue, 10 Jun 2014 12:18:23 +0000 (08:18 -0400)]
Merge pull request #270 from ceph/wip-schedule-suite
Refactor teuthology.schedule...
Zack Cerza [Mon, 9 Jun 2014 18:31:11 +0000 (13:31 -0500)]
Refactor teuthology.schedule...
... to separate the assembling of the job config from the scheduling of
the job. Also port its argument parsing to docopt.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 9 Jun 2014 17:42:34 +0000 (12:42 -0500)]
Remote 'delete' and 'show' features
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 9 Jun 2014 23:30:37 +0000 (18:30 -0500)]
Remove unused import
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 9 Jun 2014 21:41:10 +0000 (16:41 -0500)]
Merge pull request #268 from ceph/wip-5400
Support installing ceph kernels from gitbuilder on rpm machines.
Sandon Van Ness [Mon, 9 Jun 2014 20:43:45 +0000 (13:43 -0700)]
Better variable names.
As suggested by review.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Zack Cerza [Mon, 9 Jun 2014 16:46:19 +0000 (11:46 -0500)]
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>
Zack Cerza [Mon, 9 Jun 2014 14:22:21 +0000 (09:22 -0500)]
Use correct cwd
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Sat, 7 Jun 2014 14:48:44 +0000 (09:48 -0500)]
Merge pull request #269 from ceph/wip-radosfix
rados: Add hit_set_list missing from possible op weights
Zack Cerza [Sat, 7 Jun 2014 14:45:50 +0000 (09:45 -0500)]
Update to reflect relocated get_jobs()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
David Zafman [Fri, 6 Jun 2014 01:26:47 +0000 (18:26 -0700)]
rados: Add hit_set_list missing from possible op weights
For the future help keep in sync with test/osd/TestRados.cc by listing
in order of op_types in that code.
Signed-off-by: David Zafman <david.zafman@inktank.com>
Zack Cerza [Fri, 6 Jun 2014 21:12:35 +0000 (16:12 -0500)]
Move teuthology-ls's implementation to ls.py
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 6 Jun 2014 17:01:33 +0000 (12:01 -0500)]
Fix corrupt repo detection
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sandon Van Ness [Thu, 5 Jun 2014 19:07:47 +0000 (12:07 -0700)]
Added requested comment.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Sandon Van Ness [Thu, 5 Jun 2014 19:04:49 +0000 (12:04 -0700)]
Remove unused variables and functions.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Zack Cerza [Wed, 4 Jun 2014 21:29:11 +0000 (16:29 -0500)]
Remove unused import
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 4 Jun 2014 17:42:43 +0000 (12:42 -0500)]
Update --help output
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sandon Van Ness [Wed, 4 Jun 2014 01:36:40 +0000 (18:36 -0700)]
Support installing ceph kernels from gitbuilder on rpm machines.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Josh Durgin [Tue, 3 Jun 2014 22:56:44 +0000 (15:56 -0700)]
Merge pull request #267 from ceph/wip-runxfstests
wip-runxfstests
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Zack Cerza [Tue, 3 Jun 2014 17:39:38 +0000 (12:39 -0500)]
Add a timeout for unmounting
Ten minutes seems like it might be longer than necessary, but I doubt
it's too short.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Tue, 3 Jun 2014 13:12:21 +0000 (09:12 -0400)]
Merge pull request #265 from ceph/wip-orchestra
Refactor teuthology.orchestra.run
Zack Cerza [Mon, 2 Jun 2014 23:29:55 +0000 (18:29 -0500)]
Remove some duplicate code.
Well, not exactly duplicate, but functionally compatible. No sense in
maintaining two "walk the filesystem to assemble job information"
utilities.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 2 Jun 2014 14:18:31 +0000 (09:18 -0500)]
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>
Yehuda Sadeh [Fri, 30 May 2014 20:31:38 +0000 (13:31 -0700)]
radosgw-admin: adjust bucket link interface
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Ilya Dryomov [Thu, 29 May 2014 13:55:09 +0000 (17:55 +0400)]
rbd: change test_script to run_xfstests_krbd.sh
Invoke run_xfstests.sh through a wrapper, which supplies an exclusion
list, in order to skip tests we don't want to run.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Ilya Dryomov [Thu, 29 May 2014 13:55:08 +0000 (17:55 +0400)]
rbd: recognize 'randomize' parameter
randomize (default: false) randomizes xfstests test order.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Sage Weil [Fri, 30 May 2014 23:28:40 +0000 (16:28 -0700)]
Merge pull request #266 from ceph/wip-8489
Give daemons a five-minute timeout for stopping
Reviewed-by: Sage Weil <sage@inktank.com>
Zack Cerza [Fri, 30 May 2014 21:23:49 +0000 (16:23 -0500)]
Give daemons a five-minute timeout for stopping
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 30 May 2014 21:36:03 +0000 (16:36 -0500)]
Add RemoteProcess.__repr__()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 30 May 2014 19:32:38 +0000 (14:32 -0500)]
Update users of the teuthology.orchestra.run APIs
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 30 May 2014 16:59:09 +0000 (11:59 -0500)]
Refactor teuthology.orchestra.run
RemoteProcess behaves more like subprocess.Popen, with some important
differences.
A summary of the API changes:
* RemoteProcess.exitstatus is either an int or None; it is never a callable
nor a gevent.AsyncResult.
* New method: RemoteProcess.execute()
* New method: RemoteProcess.poll()
* New method: RemoteProcess.wait()
* New attribute: RemoteProcess.returncode - alias to exitstatus
* New property: RemoteProcess.finished - added because returncode can be None
if the connection was interrupted
* run.execute() is removed.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 30 May 2014 14:59:36 +0000 (09:59 -0500)]
Avoid piles of zombies
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 30 May 2014 14:56:27 +0000 (09:56 -0500)]
Add comment explaining 'preexec_fn=os.setpgrp'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 29 May 2014 18:23:23 +0000 (13:23 -0500)]
Check for broken repos before updating
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 29 May 2014 05:37:27 +0000 (00:37 -0500)]
More verbose logging for daemon restarts
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 29 May 2014 04:40:48 +0000 (23:40 -0500)]
Bump log level to info
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 28 May 2014 19:56:59 +0000 (14:56 -0500)]
Don't block on teuthology-results processes
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 28 May 2014 16:43:20 +0000 (11:43 -0500)]
Correct logging when running teuthology-results
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 28 May 2014 14:34:47 +0000 (09:34 -0500)]
Merge pull request #263 from qakapil/patch-two
updated the get_system_type function
ksharma [Fri, 23 May 2014 13:57:07 +0000 (15:57 +0200)]
updated the get_system_type function
updated the get_system_type function
to add the rpm condition for SUSE.
Signed-off-by: ksharma@suse.com