]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
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>
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
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>
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>
Zack Cerza [Tue, 14 Jun 2016 18:20:44 +0000 (12:20 -0600)]
Fix indenting
Signed-off-by: Zack Cerza <zack@redhat.com>
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>
Zack Cerza [Tue, 14 Jun 2016 18:19:09 +0000 (12:19 -0600)]
Remove unnecessary hyphen
Signed-off-by: Zack Cerza <zack@redhat.com>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Zack Cerza [Wed, 25 May 2016 16:28:07 +0000 (10:28 -0600)]
Remove unused get_gitbuilder_url()
Its functionality is covered by config.baseurl_template anyway.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Sat, 21 May 2016 00:21:11 +0000 (18:21 -0600)]
suite: Use GitbuilderProject for more methods
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Sat, 21 May 2016 00:16:10 +0000 (18:16 -0600)]
Add OS.__eq__()
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 20 May 2016 23:18:22 +0000 (17:18 -0600)]
packaging: Don't hardcode arch
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 20 May 2016 23:10:41 +0000 (17:10 -0600)]
suite: Use opsys and packaging modules
Starting with get_distro_defaults()
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 20 May 2016 23:06:07 +0000 (17:06 -0600)]
packaging: Drop GitbuilderProject._get_codename()
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 20 May 2016 23:03:20 +0000 (17:03 -0600)]
packaging: Fix GBP._get_distro() for fedora
Gitbuilders use URLs like:
http://gitbuilder.ceph.com/ceph-rpm-fedora20-x86_64-basic/ref/hammer/sha1
Not:
http://gitbuilder.ceph.com/ceph-rpm-fc20-x86_64-basic/ref/hammer/sha1
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 20 May 2016 22:56:54 +0000 (16:56 -0600)]
OS: Don't raise if a codename isn't found
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 20 May 2016 22:56:03 +0000 (16:56 -0600)]
OS: Add more codenames
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 20 May 2016 22:44:56 +0000 (16:44 -0600)]
packaging: Mark three methods as static/class
... methods
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 20 May 2016 22:39:47 +0000 (16:39 -0600)]
packaging: use OS's new codename discovery
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 20 May 2016 21:54:00 +0000 (15:54 -0600)]
OS: Automatically determine version or codename
... using a lookup table to map one to the other
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 20 May 2016 21:42:18 +0000 (15:42 -0600)]
Move constants to opsys module
Signed-off-by: Zack Cerza <zack@redhat.com>
Dan Mick [Thu, 2 Jun 2016 18:19:12 +0000 (11:19 -0700)]
Merge pull request #868 from ceph/wip-4gb-vm
Bump downburst VMs to 4GB
Zack Cerza [Thu, 2 Jun 2016 17:55:15 +0000 (11:55 -0600)]
Bump downburst VMs to 4GB
Signed-off-by: Zack Cerza <zack@redhat.com>
Dan Mick [Tue, 31 May 2016 17:43:54 +0000 (10:43 -0700)]
Merge pull request #867 from ceph/wip-16049
pcp: Don't fail a job if graph downloading fails
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Tue, 31 May 2016 15:54:34 +0000 (09:54 -0600)]
pcp: Don't fail a job if graph downloading fails
http://tracker.ceph.com/issues/16049
Fixes: 16049
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 31 May 2016 15:45:32 +0000 (09:45 -0600)]
Fix abbreviated TestPCPTask.test_end()
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 31 May 2016 17:20:43 +0000 (11:20 -0600)]
Merge pull request #866 from ceph/wip-suite-not-found
Give a better error message for "suite not found"
Dan Mick [Fri, 27 May 2016 22:11:30 +0000 (15:11 -0700)]
test_describe_tests: remove 'manual test stubs'
Use a combined strategy: for test classes, use setup
to manage the list of patchers, also starting them
in setup because all the class-based tests use the same
fake fs data.
For the file-scope test functions, use @patch to manage them,
because the filesystem data changes with each test.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Wed, 25 May 2016 17:25:21 +0000 (10:25 -0700)]
test_suite: recode to use patch.start()
This lets us do all the setup/teardown in an organized way,
in class instance methods, so the test cases don't have to
deal with the mock arguments; all they do is pass the
fake_fs to start_patchers to get the right fake_fs data for
their particular test.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Fri, 26 Feb 2016 02:08:52 +0000 (18:08 -0800)]
suite: update tests to handle new 'exists' fs operator
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Wed, 17 Feb 2016 02:54:29 +0000 (18:54 -0800)]
suite.py: tell you that the suite you asked for doesn't exist
I know it's not in fashion to issue useful error messages, but...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Thu, 26 May 2016 17:12:34 +0000 (10:12 -0700)]
Merge pull request #865 from ceph/wip-13925
Prevent workers from becoming zombies when repo operations fail
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Tue, 24 May 2016 23:33:21 +0000 (17:33 -0600)]
When bootstrap/fetch fails, mark the job as dead
Note that this will only happen *after* all retries have failed.
http://tracker.ceph.com/issues/13925
Fixes: 13925
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 24 May 2016 23:12:23 +0000 (17:12 -0600)]
Move MaxWhileTries to the exceptions module
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 24 May 2016 22:51:05 +0000 (16:51 -0600)]
Add a test for issue 13925
It will fail - the next commit fixes it.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 24 May 2016 16:34:49 +0000 (10:34 -0600)]
Add a test for the worker's main loop
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 19 May 2016 16:22:37 +0000 (10:22 -0600)]
Move job preparation to new prep_job method
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 24 May 2016 17:30:27 +0000 (11:30 -0600)]
Merge pull request #863 from dmick/wip-suite-sha1
suite.py: allow specifying ceph sha1
Dan Mick [Mon, 23 May 2016 22:56:05 +0000 (15:56 -0700)]
test_suite: add new ceph_sha1 param, tests for same
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Mon, 23 May 2016 22:51:57 +0000 (15:51 -0700)]
suite: add '--sha1/S' to specify Ceph sha1 directly
Check that sha1 exists in the git repo if supplied. Avoid
checking that branch exists if sha1 is given (but keep it
because other things use branchname...job names,
pulpito, etc.)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Zack Cerza [Wed, 18 May 2016 23:02:28 +0000 (17:02 -0600)]
Add a unit test for a nonexistent ceph branch
This test checks whether scheduling fails when an invalid ceph branch is
specified
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 19 May 2016 16:22:23 +0000 (10:22 -0600)]
Add SkipJob
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 19 May 2016 16:09:14 +0000 (10:09 -0600)]
Store job.jid as job_id
This is a trivial commit to prepare for a refactor
Signed-off-by: Zack Cerza <zack@redhat.com>