]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
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>
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>
Zack Cerza [Wed, 10 Aug 2016 19:03:50 +0000 (13:03 -0600)]
Revert "misc.sh(): Don't capture stderr by default"
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>
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>
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>
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>
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>
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
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
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
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>
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>
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>
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'
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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
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>
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>
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>
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
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>
Zack Cerza [Fri, 15 Jul 2016 16:05:54 +0000 (10:05 -0600)]
Stop workers on demand
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>
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>
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>
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>
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>
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>
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
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
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>
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>
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
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
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>
lande1234 [Fri, 8 Jul 2016 05:53:16 +0000 (13:53 +0800)]
fix wrong words
Signed-off-by: lande1234 <lan.de3@zte.com.cn>
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"
Zack Cerza [Thu, 7 Jul 2016 14:53:41 +0000 (08:53 -0600)]
Revert "Add teuthology git version query/logging"
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>
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
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>
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>
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
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>
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
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
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Zack Cerza [Thu, 30 Jun 2016 16:51:00 +0000 (10:51 -0600)]
Add test requirements
Signed-off-by: Zack Cerza <zack@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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
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>
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
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>