]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
9 years agoMerge pull request #927 from dachary/wip-16972-quiet
Dan Mick [Wed, 10 Aug 2016 19:35:47 +0000 (12:35 -0700)]
Merge pull request #927 from dachary/wip-16972-quiet

openstack: do not display openstack client warnings

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #928 from ceph/revert-925-wip-ovh-json
Dan Mick [Wed, 10 Aug 2016 19:26:20 +0000 (12:26 -0700)]
Merge pull request #928 from ceph/revert-925-wip-ovh-json

Revert "misc.sh(): Don't capture stderr by default"

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoRevert "misc.sh(): Don't capture stderr by default" 928/head
Zack Cerza [Wed, 10 Aug 2016 19:03:50 +0000 (13:03 -0600)]
Revert "misc.sh(): Don't capture stderr by default"

9 years agoopenstack: do not display openstack client warnings 927/head
Loic Dachary [Sat, 6 Aug 2016 08:48:14 +0000 (10:48 +0200)]
openstack: do not display openstack client warnings

Because they are concatenated with the STDOUT by the sh function despite
being output on STDERR and that breaks json parsing.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #926 from ceph/wip-beanstalkd-socketerror
Dan Mick [Tue, 9 Aug 2016 19:26:36 +0000 (12:26 -0700)]
Merge pull request #926 from ceph/wip-beanstalkd-socketerror

worker: Don't die on a beanstalkc SocketError

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoDon't die on a beanstalkc SocketError 926/head
Zack Cerza [Tue, 9 Aug 2016 18:54:56 +0000 (12:54 -0600)]
Don't die on a beanstalkc SocketError

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #925 from ceph/wip-ovh-json
Dan Mick [Mon, 8 Aug 2016 21:13:23 +0000 (14:13 -0700)]
Merge pull request #925 from ceph/wip-ovh-json

misc.sh(): Don't capture stderr by default

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agomisc.sh(): Don't capture stderr by default 925/head
Zack Cerza [Mon, 8 Aug 2016 19:45:50 +0000 (13:45 -0600)]
misc.sh(): Don't capture stderr by default

If not capturing it, log it.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #924 from smithfarm/wip-lock-centos
Zack Cerza [Thu, 4 Aug 2016 16:47:44 +0000 (10:47 -0600)]
Merge pull request #924 from smithfarm/wip-lock-centos

teuthology-lock: add centos 7.2 to downburst default table

9 years agoMerge pull request #923 from ceph/wip-14794
Zack Cerza [Thu, 4 Aug 2016 14:37:36 +0000 (08:37 -0600)]
Merge pull request #923 from ceph/wip-14794

valgrind: wildcard boost supression

9 years agoMerge pull request #916 from smithfarm/wip-python-split
Zack Cerza [Thu, 4 Aug 2016 14:36:33 +0000 (08:36 -0600)]
Merge pull request #916 from smithfarm/wip-python-split

packages.yaml: reflect python-ceph package split

9 years agoteuthology-lock: drop openSUSE 12.2 from downburst default table 924/head
Nathan Cutler [Wed, 3 Aug 2016 12:20:59 +0000 (14:20 +0200)]
teuthology-lock: drop openSUSE 12.2 from downburst default table

AFAIK Downburst does not provide any openSUSE images.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoteuthology-lock: add centos 7.2 to downburst default table
Nathan Cutler [Wed, 3 Aug 2016 12:18:14 +0000 (14:18 +0200)]
teuthology-lock: add centos 7.2 to downburst default table

When downburst is unavailable, teuthology-lock reverts to default_table and
fails because the only supported CentOS version, 7.2., is missing.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agovalgrind: wildcard boost supression 923/head
John Spray [Wed, 3 Aug 2016 11:43:22 +0000 (12:43 +0100)]
valgrind: wildcard boost supression

...so that it will match mangled names.

Fixes: http://tracker.ceph.com/issues/14794
Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #921 from ceph/wip-ansible-dead
vasukulkarni [Tue, 2 Aug 2016 03:37:27 +0000 (20:37 -0700)]
Merge pull request #921 from ceph/wip-ansible-dead

CephLab: playbook failures result in status 'dead'

9 years agoCephLab: playbook failures result in status 'dead' 921/head
Zack Cerza [Mon, 1 Aug 2016 21:47:49 +0000 (15:47 -0600)]
CephLab: playbook failures result in status 'dead'

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #914 from ceph/wip-orchestra-logging
Dan Mick [Fri, 29 Jul 2016 18:05:18 +0000 (11:05 -0700)]
Merge pull request #914 from ceph/wip-orchestra-logging

orchestra.run logging

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #920 from ceph/wip-worker-sentinel
Dan Mick [Fri, 29 Jul 2016 17:10:49 +0000 (10:10 -0700)]
Merge pull request #920 from ceph/wip-worker-sentinel

Fix an obvious bug in sentinel()

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoFix an obvious bug in sentinel() 920/head
Zack Cerza [Fri, 29 Jul 2016 16:53:04 +0000 (10:53 -0600)]
Fix an obvious bug in sentinel()

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #917 from ceph/wip-dv-broken
Dan Mick [Wed, 27 Jul 2016 22:22:04 +0000 (15:22 -0700)]
Merge pull request #917 from ceph/wip-dv-broken

Fix regression when using teuthology-suite with --kernel

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agochoose_kernel(): fix call to get_gitbuilder_hash 917/head
Zack Cerza [Wed, 27 Jul 2016 18:52:20 +0000 (12:52 -0600)]
choose_kernel(): fix call to get_gitbuilder_hash

http://tracker.ceph.com/issues/16838
Fixes: 16838
Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRemove defaults for get_gitbuilder_hash args
Zack Cerza [Wed, 27 Jul 2016 18:40:25 +0000 (12:40 -0600)]
Remove defaults for get_gitbuilder_hash args

http://tracker.ceph.com/issues/16838
Fixes: 16838
Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd reproducer for teuthology-suite regression
Zack Cerza [Wed, 27 Jul 2016 18:38:05 +0000 (12:38 -0600)]
Add reproducer for teuthology-suite regression

http://tracker.ceph.com/issues/16838

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoUpdate tests to reflect internal changes 914/head
Zack Cerza [Tue, 19 Jul 2016 23:56:58 +0000 (17:56 -0600)]
Update tests to reflect internal changes

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoInstead of StreamHandler, rework copy_file_to()
Zack Cerza [Tue, 26 Jul 2016 19:58:34 +0000 (13:58 -0600)]
Instead of StreamHandler, rework copy_file_to()

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #913 from dmick/wip-os-version
Zack Cerza [Tue, 26 Jul 2016 18:29:30 +0000 (12:29 -0600)]
Merge pull request #913 from dmick/wip-os-version

teuthology-suite: add --D/--distroversion

9 years agoDrop use of xreadlines()
Zack Cerza [Tue, 19 Jul 2016 23:56:58 +0000 (17:56 -0600)]
Drop use of xreadlines()

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoGitbuilderProject: fix/improve warning about multiple refs 913/head
Dan Mick [Tue, 19 Jul 2016 21:12:24 +0000 (14:12 -0700)]
GitbuilderProject: fix/improve warning about multiple refs

warn() tries to warn you when you overspecify a commit (by
giving more than one of ref, tag, branch, or sha1).

1) fix it to actually work (it was always warning)
2) Improve the warning to indicate not only which is taking
precedence but what was supplied for the others.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agosuite: Allow distroversion to contain either codename or version
Dan Mick [Tue, 19 Jul 2016 05:42:39 +0000 (22:42 -0700)]
suite: Allow distroversion to contain either codename or version

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agosuite/tests: add distroversion
Dan Mick [Tue, 19 Jul 2016 05:21:01 +0000 (22:21 -0700)]
suite/tests: add distroversion

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agosuite: Add distroversion
Dan Mick [Tue, 19 Jul 2016 05:20:31 +0000 (22:20 -0700)]
suite: Add distroversion

Allow -D/--distroversion to select version of distro to schedule.
Arg can be either numeric version or codename.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoAdd OS class method 'version_codename' to infer one from the other
Dan Mick [Tue, 19 Jul 2016 03:27:16 +0000 (20:27 -0700)]
Add OS class method 'version_codename' to infer one from the other

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agopackages.yaml: reflect python-ceph package split 916/head
Nathan Cutler [Mon, 25 Jul 2016 17:34:03 +0000 (19:34 +0200)]
packages.yaml: reflect python-ceph package split

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #915 from dachary/wip-14799-valgrind
Zack Cerza [Thu, 21 Jul 2016 15:12:47 +0000 (09:12 -0600)]
Merge pull request #915 from dachary/wip-14799-valgrind

valgrind: add suppression for tcmalloc in libboost_thread-mt.so.1.53.0

9 years agovalgrind: add suppression for tcmalloc in libboost_thread-mt.so.1.53.0 915/head
Loic Dachary [Thu, 21 Jul 2016 09:13:04 +0000 (11:13 +0200)]
valgrind: add suppression for tcmalloc in libboost_thread-mt.so.1.53.0

Use regular expression to catch:

tcmalloc::ThreadCache::FetchFromCentralCache(unsigned long, unsigned long)

Fixes: http://tracker.ceph.com/issues/14799
Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMove some stream management into RemoteProcess
Zack Cerza [Tue, 19 Jul 2016 16:25:05 +0000 (10:25 -0600)]
Move some stream management into RemoteProcess

For better organization and less copypasta.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoLog stderr and stdout as long as they aren't pipes
Zack Cerza [Tue, 19 Jul 2016 16:11:27 +0000 (10:11 -0600)]
Log stderr and stdout as long as they aren't pipes

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRewrite orchestra.run tests using mock
Zack Cerza [Tue, 19 Jul 2016 21:25:48 +0000 (15:25 -0600)]
Rewrite orchestra.run tests using mock

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #912 from smithfarm/wip-drop-ceph-devel
Zack Cerza [Wed, 20 Jul 2016 22:05:35 +0000 (16:05 -0600)]
Merge pull request #912 from smithfarm/wip-drop-ceph-devel

packages.yaml: drop ceph-devel from rpm section

9 years agopackages.yaml: drop ceph-devel from rpm section 912/head
Nathan Cutler [Wed, 20 Jul 2016 08:55:43 +0000 (10:55 +0200)]
packages.yaml: drop ceph-devel from rpm section

Upgrade tests on https://github.com/ceph/ceph/9744 (which drops the ceph-devel
package after a long period of deprecation) are currently failing
because teuthology tries to install ceph-devel, even though it is not needed
for any tests.

See also https://github.com/ceph/ceph-qa-suite/pull/1068

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #905 from lande1234/wip-lan-testing
Dan Mick [Tue, 19 Jul 2016 17:17:46 +0000 (10:17 -0700)]
Merge pull request #905 from lande1234/wip-lan-testing

fix wrong words

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #910 from ceph/wip-worker-startup
Dan Mick [Tue, 19 Jul 2016 17:13:46 +0000 (10:13 -0700)]
Merge pull request #910 from ceph/wip-worker-startup

Stop workers on demand

Dan Mick <dmick@redhat.com>

9 years agoMerge pull request #911 from ceph/wip-queue-status
Dan Mick [Tue, 19 Jul 2016 03:34:14 +0000 (20:34 -0700)]
Merge pull request #911 from ceph/wip-queue-status

teuthology-queue: add --status

9 years agoteuthology-queue: add --status 911/head
Zack Cerza [Fri, 15 Jul 2016 22:40:37 +0000 (16:40 -0600)]
teuthology-queue: add --status

Prints queue status, e.g.:

    $ teuthology-queue -m smithi --status
    {'paused': False, 'count': 2900, 'name': 'smithi'}

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoStop workers on demand 910/head
Zack Cerza [Fri, 15 Jul 2016 16:05:54 +0000 (10:05 -0600)]
Stop workers on demand

9 years agoGeneralize need_restart()
Zack Cerza [Fri, 15 Jul 2016 16:03:21 +0000 (10:03 -0600)]
Generalize need_restart()

So that we can also use it to tell the workers to stop

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRevert "task/packages: install libcephfs1-dev"
John Spray [Fri, 15 Jul 2016 16:14:22 +0000 (17:14 +0100)]
Revert "task/packages: install libcephfs1-dev"

This reverts commit 48be9e89df559dce13731fcdf59153181ffd2646.

Fixes: http://tracker.ceph.com/issues/16703
Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #909 from ceph/wip-worker-startup
Dan Mick [Fri, 15 Jul 2016 01:45:01 +0000 (18:45 -0700)]
Merge pull request #909 from ceph/wip-worker-startup

Fix slow worker startup

Reviewed-by: Dan Mick <dmick@redhat.com>
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 agoMerge pull request #908 from ceph/wip-sched-fail-ceph-ver
Dan Mick [Thu, 14 Jul 2016 20:56:42 +0000 (13:56 -0700)]
Merge pull request #908 from ceph/wip-sched-fail-ceph-ver

Fix regression in schedule failure emails

Reviewed-by: Dan Mick <dmick@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 agofix wrong words 905/head
lande1234 [Fri, 8 Jul 2016 05:53:16 +0000 (13:53 +0800)]
fix wrong words

Signed-off-by: lande1234 <lan.de3@zte.com.cn>
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>