]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
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, 19 Jul 2016 23:56:58 +0000 (17:56 -0600)]
Drop use of xreadlines()
Signed-off-by: Zack Cerza <zack@redhat.com>
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>
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>
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>
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()
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>
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
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>
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>
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>
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
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>
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>
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>
Dan Mick [Wed, 15 Jun 2016 04:34:59 +0000 (21:34 -0700)]
Factor "collect jobs" and "schedule jobs" from schedule_suite
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>
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
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>
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>
vasukulkarni [Tue, 21 Jun 2016 17:07:54 +0000 (10:07 -0700)]
Merge pull request #880 from ceph/wip-docs
Docs overhaul
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>