]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
10 years agokernel: add rpm: key
Ilya Dryomov [Wed, 10 Dec 2014 10:37:20 +0000 (13:37 +0300)]
kernel: add rpm: key

Add 'rpm:' key to not confuse people with stuff like

  kernel:
    deb: /path/to/foo.rpm

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
10 years agokernel: maybe_generate_initrd_rpm()
Ilya Dryomov [Wed, 10 Dec 2014 06:10:12 +0000 (09:10 +0300)]
kernel: maybe_generate_initrd_rpm()

gitbuilder and local packages may not have initrd hooks in them,
depending on how old is the kernel - an appropriate %post section was
added to upstream spec only in 3.12.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
10 years agokernel: get_latest_image_version_{rpm, deb}()
Ilya Dryomov [Wed, 10 Dec 2014 10:01:23 +0000 (13:01 +0300)]
kernel: get_latest_image_version_{rpm, deb}()

A bit of refactoring to make things more clear and align distro case
with the rest of the code.  get_version_from_pkg() is renamed to
get_latest_image_version_deb() and get_latest_image_version_rpm() is
introduced to match it.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
10 years agokernel: local rpm support
Ilya Dryomov [Tue, 9 Dec 2014 16:44:07 +0000 (19:44 +0300)]
kernel: local rpm support

install_kernel() now takes a path to a package in /tmp and can use
get_image_version() to obtain image version.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
10 years agokernel: get_image_version()
Ilya Dryomov [Tue, 9 Dec 2014 12:30:08 +0000 (15:30 +0300)]
kernel: get_image_version()

Use 'dpkg-deb -c' for debs instead of rolling our own.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
10 years agokernel: download_kernel() shouldn't install kernels
Ilya Dryomov [Tue, 9 Dec 2014 09:32:41 +0000 (12:32 +0300)]
kernel: download_kernel() shouldn't install kernels

Stop using rpm http url capabilities and download packages ourselves.
This keeps the structure the same for both rpms and debs and makes it
possible to fit in local rpm support.  Drop the "rpm already installed"
check for the same reasons.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
10 years agokernel: fix 'sha1: distro' vs per role configs
Ilya Dryomov [Mon, 8 Dec 2014 15:53:43 +0000 (18:53 +0300)]
kernel: fix 'sha1: distro' vs per role configs

We may want to setup different kernels for different roles (as long as
all roles on the same node agree on their choice), so returning as soon
as 'distro' is seen is not right.  Also, no need to use find() as
'distro' is always an exact match.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
10 years agokernel: gitbuilder_pkg_name(), remote_pkg_path()
Ilya Dryomov [Mon, 8 Dec 2014 15:07:55 +0000 (18:07 +0300)]
kernel: gitbuilder_pkg_name(), remote_pkg_path()

In preparation for local rpm support, encapsulate package naming.
Using sudo to rm copied/downloaded package is not necessary.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
10 years agokernel: get_sha1_from_pkg_name()
Ilya Dryomov [Mon, 8 Dec 2014 14:25:11 +0000 (17:25 +0300)]
kernel: get_sha1_from_pkg_name()

Move package name parsing into its own routine and make the regex more
robust:
  - match only hex chars
  - don't limit ourselves to 7 chars, match up to 40 chars
  - accept 'g' prefixed with either _ (rpm) or - (deb)

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
10 years agokernel: fix commit hash matching in need_to_install(), take 2
Ilya Dryomov [Fri, 5 Dec 2014 17:26:30 +0000 (20:26 +0300)]
kernel: fix commit hash matching in need_to_install(), take 2

Commit 10d7f9095fbb ("kernel: fix commit hash matching in
need_to_install()") switched startswith() around to accommodate
a shorter "want" version.  That however broke the opposite case: when
installing from gitbuilders "want" is actually a full 40-char hash.
Do away with starswith() and just compare substrings.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
10 years agoMinor change for distro kernel bug.
Sandon Van Ness [Fri, 5 Dec 2014 19:18:54 +0000 (11:18 -0800)]
Minor change for distro kernel bug.

forgot to break from the loop. I guess I was mainly testing git
kernels and not distro when I did this before.

Signed-off-by: Sandon Van Ness <sandon@redhat.com>
10 years agoMerge pull request #380 from ceph/wip-kernel-fixes-rebase
Zack Cerza [Fri, 5 Dec 2014 00:10:06 +0000 (17:10 -0700)]
Merge pull request #380 from ceph/wip-kernel-fixes-rebase

Various bug-fixes with kernel installs.

10 years agoVarious bug-fixes with kernel installs. 380/head
Sandon Van Ness [Thu, 4 Dec 2014 23:23:35 +0000 (15:23 -0800)]
Various bug-fixes with kernel installs.

Fixed a typo causing grub list to not incrament and other issues
with finding a reliable uname string via inspecting RPM directly.

Signed-off-by: Sandon Van Ness <sandon@redhat.com>
10 years agoMerge pull request #378 from ceph/wip-opsys
Zack Cerza [Thu, 4 Dec 2014 22:56:29 +0000 (15:56 -0700)]
Merge pull request #378 from ceph/wip-opsys

Add OS.codename

10 years agoMerge pull request #379 from andrewschoen/worker-tests
Zack Cerza [Thu, 4 Dec 2014 22:31:08 +0000 (15:31 -0700)]
Merge pull request #379 from andrewschoen/worker-tests

increases test coverage on teuthology.worker

10 years agoadds 50% test coverage to teuthology.worker without any changes to teuthology.worker... 379/head
Andrew Schoen [Thu, 4 Dec 2014 21:30:25 +0000 (15:30 -0600)]
adds 50% test coverage to teuthology.worker without any changes to teuthology.worker itself

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoAdd OS.codename 378/head
Zack Cerza [Thu, 4 Dec 2014 20:55:42 +0000 (13:55 -0700)]
Add OS.codename

The codename can be reliably set by parsing
platform.linux_distribution() or lsb_release -a. We now default to
trying the former first.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #375 from ceph/wip-dmick
Zack Cerza [Thu, 4 Dec 2014 20:03:24 +0000 (13:03 -0700)]
Merge pull request #375 from ceph/wip-dmick

A bunch of little fixes found during addition of calamari_nosetest task

10 years agoMerge pull request #376 from ceph/wip-sha-compare-fix
Zack Cerza [Thu, 4 Dec 2014 20:02:46 +0000 (13:02 -0700)]
Merge pull request #376 from ceph/wip-sha-compare-fix

kernel: fix commit hash matching in need_to_install()

10 years agoMerge pull request #377 from ceph/wip-kill-fixes
Zack Cerza [Thu, 4 Dec 2014 20:01:53 +0000 (13:01 -0700)]
Merge pull request #377 from ceph/wip-kill-fixes

Two minor teuthology-kill fixes

10 years agoNo need to invoke teuthology-nuke if there is nothing to nuke 377/head
Ilya Dryomov [Wed, 3 Dec 2014 10:47:09 +0000 (13:47 +0300)]
No need to invoke teuthology-nuke if there is nothing to nuke

Slipped in with 26803da18d1b ("Rewrite portions of teuthology.kill").

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
10 years agoDon't fetch owner info from job_info when --owner given
Ilya Dryomov [Wed, 3 Dec 2014 10:10:17 +0000 (13:10 +0300)]
Don't fetch owner info from job_info when --owner given

Commit 293c2bd49c0d ("Be more informative if owner info is missing")
introduced --owner but it is still pulled from job_info no matter what.
Fix it.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
10 years agokernel: fix commit hash matching in need_to_install() 376/head
Ilya Dryomov [Thu, 4 Dec 2014 06:49:56 +0000 (09:49 +0300)]
kernel: fix commit hash matching in need_to_install()

We don't need to install a new kernel if the "want" (version) commit
hash and the "have" (cur_sha1) commit hash match but the former is
shorter than the latter.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
10 years agomisc.append_lines_to_file: respect sudo 375/head
Dan Mick [Wed, 3 Dec 2014 03:38:53 +0000 (19:38 -0800)]
misc.append_lines_to_file: respect sudo

Fixes: #10239
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agomisc.create_file: if sudo, must sudo for chmod as well.
Dan Mick [Wed, 3 Dec 2014 03:21:16 +0000 (19:21 -0800)]
misc.create_file: if sudo, must sudo for chmod as well.

Fixes: #10238
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agomisc.get_system_type(): fix distro=False version=True, add comments
Dan Mick [Wed, 3 Dec 2014 03:07:01 +0000 (19:07 -0800)]
misc.get_system_type(): fix distro=False version=True, add comments

Fixes: #10237
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoorchestra/run.py: document use of Raw()
Dan Mick [Wed, 3 Dec 2014 03:06:33 +0000 (19:06 -0800)]
orchestra/run.py: document use of Raw()

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agopackaging.py: Use misc.get_system_type()
Dan Mick [Wed, 3 Dec 2014 23:41:13 +0000 (15:41 -0800)]
packaging.py: Use misc.get_system_type()

Dump _get_relmap() and _RELEASE_MAP in favor of common code.
Also remove the repo management stuff; it was only used by the
now-obsolete calamari task.

Fixes: #10236
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoRemove obsolete calamari task
Dan Mick [Wed, 3 Dec 2014 23:39:42 +0000 (15:39 -0800)]
Remove obsolete calamari task

Fixes: #10235
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agopackaging.py: import misc as misc, not teuthology
Dan Mick [Thu, 20 Nov 2014 02:08:12 +0000 (18:08 -0800)]
packaging.py: import misc as misc, not teuthology

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #374 from andrewschoen/orchestra-test
Zack Cerza [Wed, 3 Dec 2014 20:47:30 +0000 (13:47 -0700)]
Merge pull request #374 from andrewschoen/orchestra-test

test improvements

10 years agomoved all the cluster.write_file tests into their own class; rewrote the existing... 374/head
Andrew Schoen [Wed, 3 Dec 2014 20:26:34 +0000 (14:26 -0600)]
moved all the cluster.write_file tests into their own class; rewrote the existing test to have one assertion per test case

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #373 from andrewschoen/orchestra-test
Zack Cerza [Wed, 3 Dec 2014 20:19:35 +0000 (13:19 -0700)]
Merge pull request #373 from andrewschoen/orchestra-test

added a test for teuthology.orchestra.cluster.write_file

10 years agoRefuse to schedule against missing suite branches
Zack Cerza [Wed, 3 Dec 2014 20:12:14 +0000 (13:12 -0700)]
Refuse to schedule against missing suite branches

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoremoved fudge and unneeded asserts 373/head
Andrew Schoen [Wed, 3 Dec 2014 19:16:23 +0000 (13:16 -0600)]
removed fudge and unneeded asserts

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoadded a test for teuthology.orchestra.cluster.write_file
Andrew Schoen [Wed, 3 Dec 2014 19:06:30 +0000 (13:06 -0600)]
added a test for teuthology.orchestra.cluster.write_file

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #372 from ceph/wip-10034-wusui
Andrew Schoen [Wed, 3 Dec 2014 18:20:56 +0000 (12:20 -0600)]
Merge pull request #372 from ceph/wip-10034-wusui

Added calamari-server

10 years agoMerge pull request #366 from dachary/wip-10170-write-file
Zack Cerza [Wed, 3 Dec 2014 17:37:13 +0000 (10:37 -0700)]
Merge pull request #366 from dachary/wip-10170-write-file

fix Cluster::write_file extra argument & support owner

10 years agoAdded calamari-server 372/head
Warren Usui [Wed, 3 Dec 2014 17:16:02 +0000 (09:16 -0800)]
Added calamari-server

Calamari-server has been added to the list of installed packages
to be removed.  Also added salt-common and salt-minion to the list
of rpms to be removed.

Fixes #10034
Signed-off-by: Warren Usui <warren.usui@inktank.com>
10 years agoMerge pull request #371 from ceph/docs
Zack Cerza [Tue, 2 Dec 2014 22:12:19 +0000 (15:12 -0700)]
Merge pull request #371 from ceph/docs

Add autogenerated API docs to Sphinx output

10 years agoAdd autogenerated API docs to Sphinx output 371/head
Zack Cerza [Tue, 2 Dec 2014 21:57:44 +0000 (14:57 -0700)]
Add autogenerated API docs to Sphinx output

Also drop -W for now. We'll have to focus on PEP-257 stuff later.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #369 from ceph/docs
Zack Cerza [Tue, 2 Dec 2014 21:07:45 +0000 (14:07 -0700)]
Merge pull request #369 from ceph/docs

Add lab setup docs

10 years agoReorganize documentation and Sphinx files 369/head
Zack Cerza [Tue, 2 Dec 2014 16:03:53 +0000 (09:03 -0700)]
Reorganize documentation and Sphinx files

This should allow a more consistent experience between reading
Sphinx-generated HTML docs and just using GitHub's renderer.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd docs to tox envlist
Zack Cerza [Mon, 1 Dec 2014 21:15:02 +0000 (14:15 -0700)]
Add docs to tox envlist

So PRs don't break documentation

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoRemove fancy source file handling
Zack Cerza [Mon, 1 Dec 2014 21:11:46 +0000 (14:11 -0700)]
Remove fancy source file handling

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd stub source files linking to canonical documents
Zack Cerza [Mon, 1 Dec 2014 21:01:25 +0000 (14:01 -0700)]
Add stub source files linking to canonical documents

Now we can drop the Makefile magic.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #360 from andrewschoen/docopt-ls
Zack Cerza [Tue, 25 Nov 2014 22:32:57 +0000 (15:32 -0700)]
Merge pull request #360 from andrewschoen/docopt-ls

port teuthology-ls to use docopt instead of argparse

10 years agoadding tests for teuthology.ls, coverage now at 88% 360/head
Andrew Schoen [Tue, 25 Nov 2014 22:22:20 +0000 (16:22 -0600)]
adding tests for teuthology.ls, coverage now at 88%

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoAdd LAB_SETUP.rst to Sphinx build
Zack Cerza [Tue, 25 Nov 2014 22:09:56 +0000 (15:09 -0700)]
Add LAB_SETUP.rst to Sphinx build

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd reference configs
Zack Cerza [Tue, 25 Nov 2014 21:44:30 +0000 (14:44 -0700)]
Add reference configs

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd lab setup doc
Zack Cerza [Tue, 25 Nov 2014 21:44:07 +0000 (14:44 -0700)]
Add lab setup doc

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoport teuthology-ls to use docopt instead of argparse
Andrew Schoen [Mon, 17 Nov 2014 22:46:16 +0000 (16:46 -0600)]
port teuthology-ls to use docopt instead of argparse

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoCheck individual jobs for packages
Zack Cerza [Mon, 24 Nov 2014 20:51:43 +0000 (13:51 -0700)]
Check individual jobs for packages

Previously we were just checking one time per run to see if packages had
been built. Now, let's check each job since os_type values can differ.
Fail if any are missing. Results are cached to avoid hugging the
archive to death.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoRevert "ceph.conf: filestore fiemap = true"
Sage Weil [Mon, 24 Nov 2014 20:51:07 +0000 (12:51 -0800)]
Revert "ceph.conf: filestore fiemap = true"

This reverts commit 0f97481ce44e0487ac6cffa051a05590f907a081.

Until we fix #10166

10 years agoMerge pull request #367 from ceph/wip-rgw-swift
Sage Weil [Mon, 24 Nov 2014 18:23:59 +0000 (10:23 -0800)]
Merge pull request #367 from ceph/wip-rgw-swift

swift: set full access to subusers creation

10 years agoswift: set full access to subusers creation 367/head
Yehuda Sadeh [Mon, 24 Nov 2014 17:59:30 +0000 (09:59 -0800)]
swift: set full access to subusers creation

Default subuser permissions are 'none'.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agocluster: add owner argument to write_file 366/head
Loic Dachary [Sat, 22 Nov 2014 13:51:56 +0000 (14:51 +0100)]
cluster: add owner argument to write_file

The misc.sudo_write_file now supports the optional owner argument, add
support for it.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agocluster: remove extra write_file argument
Loic Dachary [Sat, 22 Nov 2014 13:48:28 +0000 (14:48 +0100)]
cluster: remove extra write_file argument

http://tracker.ceph.com/issues/10170 Fixes: #10170

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #365 from ceph/wip-kill-pid-check
Warren Usui [Fri, 21 Nov 2014 00:59:00 +0000 (16:59 -0800)]
Merge pull request #365 from ceph/wip-kill-pid-check

Verify running pid before passing it to be killed.

10 years agoVerify running pid before passing it to be killed. 365/head
Sandon Van Ness [Fri, 21 Nov 2014 00:52:05 +0000 (16:52 -0800)]
Verify running pid before passing it to be killed.

So we don't kill other processes that have taken jobs pid since
job has been no longer running.

Signed-off-by: Sandon Van Ness <sandon@redhat.com>
10 years agoceph.conf: filestore fiemap = true
Sage Weil [Fri, 21 Nov 2014 00:20:20 +0000 (16:20 -0800)]
ceph.conf: filestore fiemap = true

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #364 from ceph/wip-scheduling
Zack Cerza [Thu, 20 Nov 2014 22:28:05 +0000 (15:28 -0700)]
Merge pull request #364 from ceph/wip-scheduling

Fix / work around gitbuilder problems

10 years agoChoose SHA1 sums more intelligently 364/head
Zack Cerza [Fri, 14 Nov 2014 20:32:25 +0000 (13:32 -0700)]
Choose SHA1 sums more intelligently

By checking the actual gitbuilder archive that we care about, if
--distro is passed. If it is not, tweak the default to 'rhel' instead of
'ubuntu' since that seems to produce better results. To be clear, this
is a workaround I'm putting in place since our gitbuilders never seem to
be in sync.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMore useful logging when unlocking single nodes
Zack Cerza [Wed, 19 Nov 2014 20:48:19 +0000 (13:48 -0700)]
More useful logging when unlocking single nodes

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMention test name when failing to schedule
Zack Cerza [Fri, 14 Nov 2014 21:51:19 +0000 (14:51 -0700)]
Mention test name when failing to schedule

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd a default results_sending_email
Zack Cerza [Fri, 14 Nov 2014 21:37:40 +0000 (14:37 -0700)]
Add a default results_sending_email

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #363 from ceph/wip-10089
Zack Cerza [Wed, 19 Nov 2014 17:53:57 +0000 (10:53 -0700)]
Merge pull request #363 from ceph/wip-10089

drop default os_type of 'ubuntu' in teuthology-suite

10 years agoDrop null values in placeholders 363/head
Zack Cerza [Tue, 18 Nov 2014 23:19:11 +0000 (16:19 -0700)]
Drop null values in placeholders

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #358 from andrewschoen/docopt-porting
Zack Cerza [Tue, 18 Nov 2014 23:45:46 +0000 (16:45 -0700)]
Merge pull request #358 from andrewschoen/docopt-porting

porting teuthology-coverage to docopt

10 years agoadded a simple test for teuthology.coverage.main 358/head
Andrew Schoen [Mon, 17 Nov 2014 17:33:52 +0000 (11:33 -0600)]
added a simple test for teuthology.coverage.main

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoadded a simple test for teuthology.coverage.main
Andrew Schoen [Mon, 17 Nov 2014 17:33:52 +0000 (11:33 -0600)]
added a simple test for teuthology.coverage.main

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agorefactored teuthology.coverage to use an dict from docopt instead of a namespace...
Andrew Schoen [Mon, 17 Nov 2014 16:14:36 +0000 (10:14 -0600)]
refactored teuthology.coverage to use an dict from docopt instead of a namespace from argparse

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoDrop ubuntu as default distro for scheduled runs
Zack Cerza [Fri, 14 Nov 2014 20:31:17 +0000 (13:31 -0700)]
Drop ubuntu as default distro for scheduled runs

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoadded a test to make sure docopt was parsing things correctly for teuthology-coverage
Andrew Schoen [Fri, 14 Nov 2014 16:07:18 +0000 (10:07 -0600)]
added a test to make sure docopt was parsing things correctly for teuthology-coverage

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agocleaning up usage for teuthology-coverage
Andrew Schoen [Thu, 13 Nov 2014 21:24:41 +0000 (15:24 -0600)]
cleaning up usage for teuthology-coverage

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoporting teuthology-coverage to docopt
Andrew Schoen [Thu, 13 Nov 2014 20:33:32 +0000 (14:33 -0600)]
porting teuthology-coverage to docopt

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoceph.conf: mon pg warn max object skew = 0 (disable warning)
Sage Weil [Thu, 13 Nov 2014 16:23:58 +0000 (08:23 -0800)]
ceph.conf: mon pg warn max object skew = 0 (disable warning)

Make the 'too few pgs' warnings go away from qa runs.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #357 from andrewschoen/tox-integration-tests
Zack Cerza [Wed, 12 Nov 2014 21:43:30 +0000 (14:43 -0700)]
Merge pull request #357 from andrewschoen/tox-integration-tests

Moves all integration tests to an integration folder and provides a new ...

10 years agoMerge pull request #356 from ceph/wip-default-machine-type
Zack Cerza [Wed, 12 Nov 2014 21:30:55 +0000 (14:30 -0700)]
Merge pull request #356 from ceph/wip-default-machine-type

Allow setting default machine_type per-lab

10 years agoMoves all integration tests to an integration folder and provides a new tox env to... 357/head
Andrew Schoen [Wed, 12 Nov 2014 21:21:27 +0000 (15:21 -0600)]
Moves all integration tests to an integration folder and provides a new tox env to run only those tests

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoAllow setting default machine_type per-lab 356/head
Zack Cerza [Wed, 12 Nov 2014 20:46:01 +0000 (13:46 -0700)]
Allow setting default machine_type per-lab

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #355 from ceph/wip-email
Zack Cerza [Wed, 12 Nov 2014 20:20:46 +0000 (13:20 -0700)]
Merge pull request #355 from ceph/wip-email

teuthology_results: add --dry-run

10 years agoIf timeout is None or zero, don't log 355/head
Zack Cerza [Tue, 11 Nov 2014 18:26:54 +0000 (11:26 -0700)]
If timeout is None or zero, don't log

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd dry-run option
Zack Cerza [Tue, 11 Nov 2014 17:41:14 +0000 (10:41 -0700)]
Add dry-run option

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoUse docopt instead of argparse
Zack Cerza [Tue, 11 Nov 2014 17:36:29 +0000 (10:36 -0700)]
Use docopt instead of argparse

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoUse new config API
Zack Cerza [Tue, 11 Nov 2014 17:07:08 +0000 (10:07 -0700)]
Use new config API

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #354 from andrewschoen/tox-cov-report
Zack Cerza [Tue, 11 Nov 2014 23:20:36 +0000 (16:20 -0700)]
Merge pull request #354 from andrewschoen/tox-cov-report

Adds a coverage report when running the tox tests

10 years agoAdds a coverage report when running the tox tests 354/head
Andrew Schoen [Tue, 11 Nov 2014 22:10:27 +0000 (16:10 -0600)]
Adds a coverage report when running the tox tests

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #351 from ceph/wip-9925-wusui
Zack Cerza [Fri, 7 Nov 2014 17:17:08 +0000 (10:17 -0700)]
Merge pull request #351 from ceph/wip-9925-wusui

Allow more strings in filters

10 years agoMention hostnames in ConnectionLostErrors
Zack Cerza [Fri, 7 Nov 2014 17:13:50 +0000 (10:13 -0700)]
Mention hostnames in ConnectionLostErrors

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoMore suite filter changes. 351/head
Warren Usui [Fri, 7 Nov 2014 00:31:04 +0000 (16:31 -0800)]
More suite filter changes.

Comment change, and update help message to reflect the ability to
use a comma separated list as a filter.

10 years agoMerge pull request #352 from ceph/wip-update-vm-hostkeys
Zack Cerza [Thu, 6 Nov 2014 20:22:12 +0000 (13:22 -0700)]
Merge pull request #352 from ceph/wip-update-vm-hostkeys

Continue fix for 9871

10 years agoMerge pull request #353 from ceph/wip-9975
Zack Cerza [Thu, 6 Nov 2014 19:36:57 +0000 (12:36 -0700)]
Merge pull request #353 from ceph/wip-9975

remove configuration files when nuking

10 years agouse ctx instead of remotes 353/head
Alfredo Deza [Thu, 6 Nov 2014 17:53:18 +0000 (12:53 -0500)]
use ctx instead of remotes

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
10 years agoAlso look for /etc/teuthology.yaml
Zack Cerza [Wed, 5 Nov 2014 21:43:35 +0000 (14:43 -0700)]
Also look for /etc/teuthology.yaml

First we look for ~/.teuthology.yaml - if that is not found, we look for
a system-wide configuration in /etc/teuthology.yaml

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoFix duplicate test name
Zack Cerza [Wed, 5 Nov 2014 16:33:13 +0000 (09:33 -0700)]
Fix duplicate test name

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agocall the new helper in nuke_helper
Alfredo Deza [Wed, 5 Nov 2014 14:43:12 +0000 (09:43 -0500)]
call the new helper in nuke_helper

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
10 years agocreate a configuration removal function in nuke.py
Alfredo Deza [Wed, 5 Nov 2014 14:37:59 +0000 (09:37 -0500)]
create a configuration removal function in nuke.py

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
10 years agoDon't explode if results_sending_email isn't set
Zack Cerza [Wed, 5 Nov 2014 00:53:07 +0000 (17:53 -0700)]
Don't explode if results_sending_email isn't set

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoSuppress tracebacks when coverage isn't configured
Zack Cerza [Tue, 4 Nov 2014 23:39:30 +0000 (16:39 -0700)]
Suppress tracebacks when coverage isn't configured

Signed-off-by: Zack Cerza <zack@cerza.org>