]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
9 years agoFix slow worker startup 909/head
Zack Cerza [Fri, 15 Jul 2016 00:19:56 +0000 (18:19 -0600)]
Fix slow worker startup

We can selectively skip fetching and/or bootstrapping if either have
been completed successfully in the last 60s

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoFix regression in schedule failure emails 908/head
Zack Cerza [Thu, 14 Jul 2016 18:08:25 +0000 (12:08 -0600)]
Fix regression in schedule failure emails

Emails weren't getting sent when builds were broken

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #904 from dmick/wip-version
Zack Cerza [Wed, 13 Jul 2016 15:11:32 +0000 (09:11 -0600)]
Merge pull request #904 from dmick/wip-version

teuthology: log version number

9 years agoMerge pull request #907 from ceph/wip-16640
Zack Cerza [Wed, 13 Jul 2016 15:10:35 +0000 (09:10 -0600)]
Merge pull request #907 from ceph/wip-16640

task/packages: install libcephfs1-dev

9 years agotask/packages: install libcephfs1-dev 907/head
John Spray [Wed, 13 Jul 2016 11:55:50 +0000 (12:55 +0100)]
task/packages: install libcephfs1-dev

The way we currently build the cephfs java
bindings depends on the unversioned .so file
which is in the -dev package, not the
main one.

Fixes: http://tracker.ceph.com/issues/16640
Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoteuthology: log version number 904/head
Dan Mick [Thu, 7 Jul 2016 17:50:48 +0000 (10:50 -0700)]
teuthology: log version number

Round 2, this time with testing

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #902 from dmick/wip-schedule-suite-test
Zack Cerza [Tue, 12 Jul 2016 22:08:23 +0000 (16:08 -0600)]
Merge pull request #902 from dmick/wip-schedule-suite-test

Add tests for schedule_suite(); fix some schedule_fail arguments

9 years agoMerge pull request #906 from dmick/wip-email
Zack Cerza [Mon, 11 Jul 2016 19:47:04 +0000 (13:47 -0600)]
Merge pull request #906 from dmick/wip-email

Resume paying attention to --email

9 years agoResume paying attention to --email 906/head
Dan Mick [Mon, 11 Jul 2016 19:25:07 +0000 (12:25 -0700)]
Resume paying attention to --email

Change in 61350db caused email arg to be lost.  Fix, add test

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #903 from ceph/revert-901-wip-version
David Galloway [Thu, 7 Jul 2016 14:55:39 +0000 (10:55 -0400)]
Merge pull request #903 from ceph/revert-901-wip-version

Revert "Add teuthology git version query/logging"

9 years agoRevert "Add teuthology git version query/logging" 903/head
Zack Cerza [Thu, 7 Jul 2016 14:53:41 +0000 (08:53 -0600)]
Revert "Add teuthology git version query/logging"

9 years agoAdd tests for suite.run.schedule_suite 902/head
Dan Mick [Tue, 5 Jul 2016 22:02:58 +0000 (15:02 -0700)]
Add tests for suite.run.schedule_suite

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #901 from dmick/wip-version
Zack Cerza [Wed, 6 Jul 2016 22:49:40 +0000 (16:49 -0600)]
Merge pull request #901 from dmick/wip-version

Add teuthology git version query/logging

9 years agoAdd teuthology git version query/logging 901/head
Dan Mick [Wed, 6 Jul 2016 02:13:49 +0000 (19:13 -0700)]
Add teuthology git version query/logging

Tested exception handling by renaming /usr/bin/git

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoFix arguments to schedule_fail() again
Dan Mick [Wed, 6 Jul 2016 02:12:16 +0000 (19:12 -0700)]
Fix arguments to schedule_fail() again

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #890 from ceph/wip-fixlistindex-wusui
Zack Cerza [Wed, 6 Jul 2016 17:22:41 +0000 (11:22 -0600)]
Merge pull request #890 from ceph/wip-fixlistindex-wusui

Fix resolve_role_list in daemon.py

9 years agoMerge pull request #897 from ceph/wip-provision-subpackage
Dan Mick [Tue, 5 Jul 2016 20:52:27 +0000 (13:52 -0700)]
Merge pull request #897 from ceph/wip-provision-subpackage

Make teuthology.provision a subpackage

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #864 from jcsp/wip-nocolor
Zack Cerza [Fri, 1 Jul 2016 16:31:29 +0000 (10:31 -0600)]
Merge pull request #864 from jcsp/wip-nocolor

task/ansible: disable color output

9 years agoMerge pull request #898 from ceph/wip-gbp-dmick
Zack Cerza [Fri, 1 Jul 2016 16:27:53 +0000 (10:27 -0600)]
Merge pull request #898 from ceph/wip-gbp-dmick

Add 'tag' and 'ref' to GitbuilderProject's init, warn if more than one set, and tests

9 years agoFix resolve_role_list in daemon.py 890/head
Warren Usui [Wed, 29 Jun 2016 02:43:10 +0000 (19:43 -0700)]
Fix resolve_role_list in daemon.py

resolve_role_list did not handle cases where roles specified contained wild-cards or
were not specified.  ceph.role.a would end up being resolved as ceph.rolea.

Fixes: tracker issue 16053
Signed-off-by: Warren Usui <wusui@redhat.com>
9 years agoMerge pull request #894 from ceph/wip-newest
Zack Cerza [Thu, 30 Jun 2016 22:18:24 +0000 (16:18 -0600)]
Merge pull request #894 from ceph/wip-newest

Complete --newest feature, add some cleanups

9 years agoUse 'conf' instead of 'fn' for the processed arg YamlConfig 894/head
Dan Mick [Wed, 29 Jun 2016 03:08:23 +0000 (20:08 -0700)]
Use 'conf' instead of 'fn' for the processed arg YamlConfig

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agosuite.main: use processed args consistently
Dan Mick [Wed, 29 Jun 2016 02:50:21 +0000 (19:50 -0700)]
suite.main: use processed args consistently

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agosuite.run.collect_jobs(): deepcopy base_config
Dan Mick [Tue, 28 Jun 2016 23:50:45 +0000 (16:50 -0700)]
suite.run.collect_jobs(): deepcopy base_config

deep_merge, despite the name, doesn't do fully deep merging;
it recurses through the whole object, but does not deepcopy
component objects at the lowest level.  This meant that
self.base_config could be corrupted by the second deep_merge
(if base_config contained keys that were augmented by
parsed_yaml, which was often the case, for things like overrides).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agosuite: move config tmpfile management to Run
Dan Mick [Tue, 28 Jun 2016 06:16:40 +0000 (23:16 -0700)]
suite: move config tmpfile management to Run

base_config changes over the course of the run, and
so cannot be written to a tmpfile until it's completely
finalized.  Move the create/write/rm out of main() and into
schedule_suite().

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoGitbuilderProject tests: also test for the right log msg 898/head
Dan Mick [Wed, 29 Jun 2016 23:55:15 +0000 (16:55 -0700)]
GitbuilderProject tests: also test for the right log msg

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoGitbuilderProject: if multiple ref-selectors present, warn
Dan Mick [Wed, 29 Jun 2016 23:47:41 +0000 (16:47 -0700)]
GitbuilderProject: if multiple ref-selectors present, warn

...about which one is actually being used

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoGitbuilderProject: allow setting tag or ref in config dict
Dan Mick [Wed, 29 Jun 2016 23:47:07 +0000 (16:47 -0700)]
GitbuilderProject: allow setting tag or ref in config dict

Precedence: ref, tag, branch, sha1.  (this is debatable.)

Also change log.debug() default-to-master to log.warning()

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #899 from ceph/wip-ansible-2
Dan Mick [Thu, 30 Jun 2016 18:09:55 +0000 (11:09 -0700)]
Merge pull request #899 from ceph/wip-ansible-2

Move to ansible 2

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoUse ansible >= 2.0 899/head
Zack Cerza [Wed, 17 Feb 2016 19:32:02 +0000 (12:32 -0700)]
Use ansible >= 2.0

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #895 from ceph/wip-no-pyc
Dan Mick [Thu, 30 Jun 2016 17:32:15 +0000 (10:32 -0700)]
Merge pull request #895 from ceph/wip-no-pyc

Stop generating .pyc files

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #896 from ceph/wip-test-reqs
Dan Mick [Thu, 30 Jun 2016 17:30:02 +0000 (10:30 -0700)]
Merge pull request #896 from ceph/wip-test-reqs

Add test requirements

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoAdd test requirements 896/head
Zack Cerza [Thu, 30 Jun 2016 16:51:00 +0000 (10:51 -0600)]
Add test requirements

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRemove leftover .pyc files 895/head
Zack Cerza [Thu, 30 Jun 2016 16:25:00 +0000 (10:25 -0600)]
Remove leftover .pyc files

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoDon't write pyc files
Zack Cerza [Thu, 30 Jun 2016 16:23:07 +0000 (10:23 -0600)]
Don't write pyc files

The .pyc files that python generates can be problematic if we move
modules around; teuthology processes end up picking up the old .pyc
files instead of finding the new .py files

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMove openstack-specific code to its own module 897/head
Zack Cerza [Thu, 30 Jun 2016 16:15:04 +0000 (10:15 -0600)]
Move openstack-specific code to its own module

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMove downburst-specific code to its own module
Zack Cerza [Thu, 30 Jun 2016 15:59:09 +0000 (09:59 -0600)]
Move downburst-specific code to its own module

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMake teuthology.provision a subpackage
Zack Cerza [Thu, 30 Jun 2016 15:58:11 +0000 (09:58 -0600)]
Make teuthology.provision a subpackage

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #893 from ceph/wip-gbp
Dan Mick [Thu, 30 Jun 2016 04:20:35 +0000 (21:20 -0700)]
Merge pull request #893 from ceph/wip-gbp

GitbuilderProject: respect branch in config

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoGitbuilderProject: respect branch in config 893/head
Zack Cerza [Wed, 29 Jun 2016 22:56:26 +0000 (16:56 -0600)]
GitbuilderProject: respect branch in config

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoGitbuilderProject test: respect branch in config
Zack Cerza [Wed, 29 Jun 2016 22:55:22 +0000 (16:55 -0600)]
GitbuilderProject test: respect branch in config

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #892 from ceph/wip-10481-new
Dan Mick [Wed, 29 Jun 2016 18:54:46 +0000 (11:54 -0700)]
Merge pull request #892 from ceph/wip-10481-new

Install -release RPMs directly

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoInstall -release RPMs directly 892/head
Zack Cerza [Wed, 29 Jun 2016 16:57:45 +0000 (10:57 -0600)]
Install -release RPMs directly

This avoids having to dance around with wget and rm -f.
Fixes: 10481
http://tracker.ceph.com/issues/10481

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agovalgrind: make threadlocalptr whitelist more generic
Sage Weil [Tue, 28 Jun 2016 20:17:33 +0000 (16:17 -0400)]
valgrind: make threadlocalptr whitelist more generic

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #888 from dmick/master
Dan Mick [Tue, 28 Jun 2016 02:13:36 +0000 (19:13 -0700)]
Merge pull request #888 from dmick/master

suite.py: must pass at least once through the backtrack loop

9 years agosuite.py: must pass at least once through the backtrack loop 888/head
Dan Mick [Tue, 28 Jun 2016 02:11:22 +0000 (19:11 -0700)]
suite.py: must pass at least once through the backtrack loop

Changing the default of newest to '0' meant that the combined
loop which handles both backtrack and non-backtrack conditions
was never executing, leading to undefined variables.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #887 from dmick/master
Zack Cerza [Tue, 28 Jun 2016 00:17:33 +0000 (18:17 -0600)]
Merge pull request #887 from dmick/master

suite.py: defaulting newest to 10 means it's always enabled

9 years agosuite.py: defaulting newest to 10 means it's always enabled 887/head
Dan Mick [Tue, 28 Jun 2016 00:01:09 +0000 (17:01 -0700)]
suite.py: defaulting newest to 10 means it's always enabled

Even if --newest isn't supplied, docopts will create it and
set it to the default.  Change the default to 0.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #886 from dmick/master
Zack Cerza [Mon, 27 Jun 2016 23:07:46 +0000 (17:07 -0600)]
Merge pull request #886 from dmick/master

suite: --newest fixes: failure to rebuild base_config on sha1 backtrack, spurious log msg

9 years agosuite/run.py: rebuild base config on sha1 backtrack 886/head
Dan Mick [Mon, 27 Jun 2016 21:45:58 +0000 (14:45 -0700)]
suite/run.py: rebuild base config on sha1 backtrack

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agosuite/run.py: refactor to reuse config substitution code
Dan Mick [Mon, 27 Jun 2016 21:45:32 +0000 (14:45 -0700)]
suite/run.py: refactor to reuse config substitution code

In --newest mode we must recreate the base config, because
the ceph sha1 has been substituted several times already.
Factor the substitution code out of create_initial_config so
that it can be called from the backtracking code (which requires
storing kernel_dict and config_input on the instance).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agosuite/run.py: don't warn about backtrack failure if not --newest
Dan Mick [Mon, 27 Jun 2016 21:41:59 +0000 (14:41 -0700)]
suite/run.py: don't warn about backtrack failure if not --newest

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #885 from dmick/master
Zack Cerza [Fri, 24 Jun 2016 19:30:48 +0000 (13:30 -0600)]
Merge pull request #885 from dmick/master

suite/run.py: fix order of args to schedule_fail()

9 years agosuite/run.py: fix order of args to schedule_fail() 885/head
Dan Mick [Fri, 24 Jun 2016 17:56:31 +0000 (10:56 -0700)]
suite/run.py: fix order of args to schedule_fail()

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #884 from dmick/master
Zack Cerza [Fri, 24 Jun 2016 17:55:23 +0000 (11:55 -0600)]
Merge pull request #884 from dmick/master

teuthology-suite: Spelling error in web API + minor test improvement

9 years agoteuthology/task/valgrind: more rocksdb suppressions
Sage Weil [Fri, 24 Jun 2016 17:49:24 +0000 (13:49 -0400)]
teuthology/task/valgrind: more rocksdb suppressions

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoCome to an agreement about how to spell "committish" 884/head
Dan Mick [Fri, 24 Jun 2016 17:38:32 +0000 (10:38 -0700)]
Come to an agreement about how to spell "committish"

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agotest_find_git_parent: Compress the Mock setup a bit
Dan Mick [Fri, 24 Jun 2016 17:35:48 +0000 (10:35 -0700)]
test_find_git_parent: Compress the Mock setup a bit

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #883 from dmick/wip-newest
Zack Cerza [Thu, 23 Jun 2016 22:07:44 +0000 (16:07 -0600)]
Merge pull request #883 from dmick/wip-newest

Add teuthology-suite --newest

9 years agoAdd test for util.find_git_parent() 883/head
Dan Mick [Tue, 21 Jun 2016 21:33:41 +0000 (14:33 -0700)]
Add test for util.find_git_parent()

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoteuthology-suite: Implement --newest
Dan Mick [Wed, 15 Jun 2016 04:41:16 +0000 (21:41 -0700)]
teuthology-suite: Implement --newest

If --newest is supplied, missing packages for one of the
required distro/versions are not fatal; instead, use a web
service to backtrack to older sha1s in an attempt to find the
newest commonly-built version.  Limit backtracking to
'--newest' commits (default 10).

See http://github.com/ceph/gitserver for the web service source.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoutil.py: use passed package_versions dict even if empty
Dan Mick [Wed, 15 Jun 2016 04:36:06 +0000 (21:36 -0700)]
util.py: use passed package_versions dict even if empty

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoFactor "collect jobs" and "schedule jobs" from schedule_suite
Dan Mick [Wed, 15 Jun 2016 04:34:59 +0000 (21:34 -0700)]
Factor "collect jobs" and "schedule jobs" from schedule_suite

9 years agopackaging.GitbuilderProject: allow more spec from config
Dan Mick [Wed, 1 Jun 2016 21:01:44 +0000 (14:01 -0700)]
packaging.GitbuilderProject: allow more spec from config

To use GbP as a build-checking resource, allow more values
to come from config rather than hardcoding or deriving.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #849 from ceph/wip-fix-overrides
vasukulkarni [Wed, 22 Jun 2016 21:54:11 +0000 (14:54 -0700)]
Merge pull request #849 from ceph/wip-fix-overrides

Fix ceph-deploy 'branch' override

9 years agoMerge pull request #882 from ceph/wip-rocksdb-leak
Samuel Just [Wed, 22 Jun 2016 17:35:31 +0000 (10:35 -0700)]
Merge pull request #882 from ceph/wip-rocksdb-leak

valgrind: add supporession for rocksdb thread local leaks

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoFix ceph-deploy 'branch' override 849/head
Vasu Kulkarni [Tue, 21 Jun 2016 21:10:01 +0000 (14:10 -0700)]
Fix ceph-deploy 'branch' override

Default ceph-deploy override template defines devcommit which makes
'branch' overrides in the qa-suite useless since it only picksup one option
Remove the devcommit overrides from the template and use that as
default in case no other 'branch' override exist.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoMerge pull request #880 from ceph/wip-docs
vasukulkarni [Tue, 21 Jun 2016 17:07:54 +0000 (10:07 -0700)]
Merge pull request #880 from ceph/wip-docs

Docs overhaul

9 years agoSeveral clarifications and removals 880/head
Zack Cerza [Mon, 20 Jun 2016 23:07:56 +0000 (17:07 -0600)]
Several clarifications and removals

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agovalgrind: add supporession for rocksdb thread local leaks 882/head
Sage Weil [Fri, 17 Jun 2016 20:30:53 +0000 (16:30 -0400)]
valgrind: add supporession for rocksdb thread local leaks

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #881 from ceph/wip-downburst-wait
Dan Mick [Fri, 17 Jun 2016 00:23:15 +0000 (17:23 -0700)]
Merge pull request #881 from ceph/wip-downburst-wait

Pass --wait to downburst

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoPass --wait to downburst 881/head
Zack Cerza [Thu, 16 Jun 2016 21:08:34 +0000 (15:08 -0600)]
Pass --wait to downburst

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMove downburst section to its own doc
Zack Cerza [Thu, 16 Jun 2016 14:48:16 +0000 (08:48 -0600)]
Move downburst section to its own doc

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoFix reference to lab_setup
Zack Cerza [Thu, 9 Jun 2016 21:46:29 +0000 (15:46 -0600)]
Fix reference to lab_setup

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMove detailed test config info to its own doc
Zack Cerza [Thu, 9 Jun 2016 21:39:23 +0000 (15:39 -0600)]
Move detailed test config info to its own doc

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd intro for testers
Zack Cerza [Thu, 9 Jun 2016 21:05:12 +0000 (15:05 -0600)]
Add intro for testers

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd new README.rst specifically for GitHub
Zack Cerza [Thu, 9 Jun 2016 19:53:33 +0000 (13:53 -0600)]
Add new README.rst specifically for GitHub

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRename 'contents' to 'index'
Zack Cerza [Thu, 9 Jun 2016 19:47:25 +0000 (13:47 -0600)]
Rename 'contents' to 'index'

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMove OpenStack backend section to its own file
Zack Cerza [Thu, 9 Jun 2016 19:43:02 +0000 (13:43 -0600)]
Move OpenStack backend section to its own file

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #879 from ceph/wip-16335
Dan Mick [Wed, 15 Jun 2016 20:22:00 +0000 (13:22 -0700)]
Merge pull request #879 from ceph/wip-16335

Fix regression in --subset

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #878 from ceph/wip-16302
Dan Mick [Wed, 15 Jun 2016 20:13:00 +0000 (13:13 -0700)]
Merge pull request #878 from ceph/wip-16302

Install python 2.7 on ubuntu downburst VMs

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoFix regression in --subset 879/head
Zack Cerza [Wed, 15 Jun 2016 19:15:39 +0000 (13:15 -0600)]
Fix regression in --subset

We were processing the --subset arg well after it was necessary :-/
http://tracker.ceph.com/issues/16335
Fixes: 16335
Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoInstall python 2.7 on ubuntu downburst VMs 878/head
Zack Cerza [Wed, 15 Jun 2016 17:44:47 +0000 (11:44 -0600)]
Install python 2.7 on ubuntu downburst VMs

http://tracker.ceph.com/issues/16302
Fixes: 16302
Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #877 from ceph/wip-suite-fix
Yuri Weinstein [Wed, 15 Jun 2016 15:22:10 +0000 (08:22 -0700)]
Merge pull request #877 from ceph/wip-suite-fix

get_gitbuilder_hash: use default distro if needed

9 years agoget_gitbuilder_hash: use default distro if needed 877/head
Zack Cerza [Wed, 15 Jun 2016 14:54:34 +0000 (08:54 -0600)]
get_gitbuilder_hash: use default distro if needed

http://tracker.ceph.com/issues/16328
Fixes: 16328
Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #872 from ceph/wip-suite-gbp
Dan Mick [Tue, 14 Jun 2016 22:19:00 +0000 (15:19 -0700)]
Merge pull request #872 from ceph/wip-suite-gbp

Suite refactor

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoFix indenting 872/head
Zack Cerza [Tue, 14 Jun 2016 18:20:44 +0000 (12:20 -0600)]
Fix indenting

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRemove duplicate deep_copy call and no-op assert
Zack Cerza [Tue, 14 Jun 2016 18:19:55 +0000 (12:19 -0600)]
Remove duplicate deep_copy call and no-op assert

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRemove unnecessary hyphen
Zack Cerza [Tue, 14 Jun 2016 18:19:09 +0000 (12:19 -0600)]
Remove unnecessary hyphen

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #876 from batrick/bash-syntax-error
Zack Cerza [Fri, 10 Jun 2016 23:51:00 +0000 (17:51 -0600)]
Merge pull request #876 from batrick/bash-syntax-error

nuke.py: remove trailing fi token

9 years agonuke.py: remove trailing fi token 876/head
Patrick Donnelly [Fri, 10 Jun 2016 19:53:01 +0000 (15:53 -0400)]
nuke.py: remove trailing fi token

This caused a syntax error in one of the teuthology runs:

    2016-06-10T02:30:39.291 INFO:teuthology.nuke:clearing kernel mount from all nodes
    2016-06-10T02:30:39.292 INFO:teuthology.orchestra.run:Running command with timeout 60
    2016-06-10T02:30:39.292 INFO:teuthology.orchestra.run.mira069:Running: "grep ceph /etc/mtab | grep -o 'on /.* type' | grep -o '/.* ' | xargs -r sudo umount -f ; fi"
    2016-06-10T02:30:39.363 INFO:teuthology.orchestra.run.mira069.stderr:bash: -c: line 0: syntax error near unexpected token `fi'
    2016-06-10T02:30:39.364 INFO:teuthology.orchestra.run.mira069.stderr:bash: -c: line 0: `grep ceph /etc/mtab | grep -o 'on /.* type' | grep -o '/.* ' | xargs -r sudo umount -f ; fi'

Signed-off-by: Patrick Donnelly <batrick@batbytes.com>
9 years agoMove README.rst to docs/
Zack Cerza [Thu, 9 Jun 2016 19:40:13 +0000 (13:40 -0600)]
Move README.rst to docs/

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRemove generated API docs on 'make clean'
Zack Cerza [Tue, 7 Jun 2016 20:30:24 +0000 (14:30 -0600)]
Remove generated API docs on 'make clean'

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoExplain the return value of m_time
Zack Cerza [Tue, 7 Jun 2016 23:39:53 +0000 (17:39 -0600)]
Explain the return value of m_time

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd generated openstack API docs
Zack Cerza [Tue, 7 Jun 2016 20:27:32 +0000 (14:27 -0600)]
Add generated openstack API docs

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #873 from ceph/wip-pcp-archive
Dan Mick [Tue, 7 Jun 2016 20:07:02 +0000 (13:07 -0700)]
Merge pull request #873 from ceph/wip-pcp-archive

pcp: Use a smarter check for archive presence

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agopcp: Use a smarter check for archive presence 873/head
Zack Cerza [Tue, 7 Jun 2016 15:40:00 +0000 (09:40 -0600)]
pcp: Use a smarter check for archive presence

If ctx.archive was set, but to None, we were failing.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMake teuthology.suite a subpackage
Zack Cerza [Wed, 1 Jun 2016 21:49:32 +0000 (15:49 -0600)]
Make teuthology.suite a subpackage

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRefactor parts of suite into new Run class
Zack Cerza [Fri, 27 May 2016 15:43:48 +0000 (09:43 -0600)]
Refactor parts of suite into new Run class

Including smaller, more purposeful methods. This is for readability,
testability and to facilitate making future changes.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoSpeed up test_wait_*
Zack Cerza [Wed, 25 May 2016 23:12:53 +0000 (17:12 -0600)]
Speed up test_wait_*

They weren't patching sleep(). Now they do :)

Signed-off-by: Zack Cerza <zack@redhat.com>