]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
9 years agodescribe-tests: add options for json or csv output
Josh Durgin [Thu, 3 Dec 2015 01:25:30 +0000 (17:25 -0800)]
describe-tests: add options for json or csv output

For simple consumption, use objects with fields in the json output,
and list the headers separately in case the original order is useful.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agodescribe-tests: add subsuite columns for combo output
Josh Durgin [Thu, 3 Dec 2015 00:36:12 +0000 (16:36 -0800)]
describe-tests: add subsuite columns for combo output

This gives more context when looking at larger suites as a whole,
e.g. rbd or rados.

Sort the rows as well, so tests within subsuites, e.g. basic, thrash,
singleton, etc. are grouped together.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agodescribe-tests: add options to show the combinations of a suite
Josh Durgin [Wed, 2 Dec 2015 08:12:18 +0000 (00:12 -0800)]
describe-tests: add options to show the combinations of a suite

Match the behavior of teuthology-suite and generate the full product
of all fragments by default. Include the same filtering and subset
options as well. Just print an asii table for now.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotest-describe-tests: remove unnecessary vars
Josh Durgin [Wed, 2 Dec 2015 08:09:29 +0000 (00:09 -0800)]
test-describe-tests: remove unnecessary vars

These tests use the class-initialized attributes instead.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agodescribe-tests: tolerate non-dict files
Josh Durgin [Wed, 2 Dec 2015 08:08:00 +0000 (00:08 -0800)]
describe-tests: tolerate non-dict files

Some yamls are empty to represent the absence of a setting, and parse
into None.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoteuthology-describe-tests: change input format to yaml
Josh Durgin [Tue, 1 Dec 2015 01:14:34 +0000 (17:14 -0800)]
teuthology-describe-tests: change input format to yaml

Rather than using comments, read description metadata from a yaml
'description' section. Make it a list so that teuthology-suite
aggregates the descriptions in order, and allow multiple fields by
making the list contain a dict.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoteuthology-describe-tests: rename from teuthology-tree
Josh Durgin [Mon, 30 Nov 2015 23:03:06 +0000 (15:03 -0800)]
teuthology-describe-tests: rename from teuthology-tree

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoteuthology-tree: show facets for each file by default
Josh Durgin [Tue, 24 Nov 2015 21:40:48 +0000 (13:40 -0800)]
teuthology-tree: show facets for each file by default

Suggested by Loic, this provides more context without
needing to remember or look back at the parent directory.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoteuthology-tree: remove whitespace from metadata
Josh Durgin [Sat, 21 Nov 2015 00:49:39 +0000 (16:49 -0800)]
teuthology-tree: remove whitespace from metadata

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoteuthology-tree: add unit tests
Josh Durgin [Sat, 21 Nov 2015 00:31:19 +0000 (16:31 -0800)]
teuthology-tree: add unit tests

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agofake_fs: add fake open() support
Josh Durgin [Fri, 20 Nov 2015 22:34:53 +0000 (14:34 -0800)]
fake_fs: add fake open() support

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotest: move fs fakes to a common file
Josh Durgin [Fri, 20 Nov 2015 22:13:07 +0000 (14:13 -0800)]
test: move fs fakes to a common file

This will be useful for other tests shortly.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoteuthology-tree: remove cruft from usage
Josh Durgin [Fri, 20 Nov 2015 21:35:42 +0000 (13:35 -0800)]
teuthology-tree: remove cruft from usage

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoteuthology-tree: support multiple lines with the same prefix
Josh Durgin [Fri, 20 Nov 2015 20:57:57 +0000 (12:57 -0800)]
teuthology-tree: support multiple lines with the same prefix

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoteuthology-tree: output in a table
Josh Durgin [Thu, 19 Nov 2015 22:45:39 +0000 (14:45 -0800)]
teuthology-tree: output in a table

This is easier to read since it aligns the metadata.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoscripts: teuthology-tree tool to examine a qa suite
Josh Durgin [Thu, 19 Nov 2015 19:15:31 +0000 (11:15 -0800)]
scripts: teuthology-tree tool to examine a qa suite

An initial prototype, with basic formatting printing out the directory
tree and comments from the yaml fragments.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #742 from ceph/wip-os-version
Dan Mick [Tue, 8 Dec 2015 22:45:46 +0000 (14:45 -0800)]
Merge pull request #742 from ceph/wip-os-version

Remote: only submit X.Y for os_version

Copying comment for future documentation:

The opsys.OS class passes the operating system's version according to
the actual host; in some cases e.g. CentOS is reporting things like
'7.1.1503'. In these cases, let's make
Remote.inventory_info['os_version'] only use the '7.1' - since we don't
care about the rest. This will allow us to continue scheduling against
CentOS smoothly.

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoRemote: only submit X.Y for os_version 742/head
Zack Cerza [Tue, 8 Dec 2015 22:27:33 +0000 (15:27 -0700)]
Remote: only submit X.Y for os_version

The opsys.OS class passes the operating system's version according to
the actual host; in some cases e.g. CentOS is reporting things like
'7.1.1503'. In these cases, let's make
Remote.inventory_info['os_version'] only use the '7.1' - since we don't
care about the rest. This will allow us to continue scheduling against
CentOS smoothly.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #727 from dachary/wip-nuke-stale-openstack
Zack Cerza [Tue, 8 Dec 2015 17:54:27 +0000 (10:54 -0700)]
Merge pull request #727 from dachary/wip-nuke-stale-openstack

nuke: --stale-openstack must cope with disappearing volumes / instances

9 years agonuke: --stale-openstack must cope with disappearing volumes / instances 727/head
Loic Dachary [Wed, 2 Dec 2015 10:19:58 +0000 (11:19 +0100)]
nuke: --stale-openstack must cope with disappearing volumes / instances

"openstack server/volume show" typically takes a few seconds to
complete due to the provider API slowness/throttling. It is possible that
a volume/instance found with "openstack server list" no longer exists when
running "openstack server show" to get more information about it.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #741 from ceph/wip-apt-mirror
Andrew Schoen [Mon, 7 Dec 2015 20:22:57 +0000 (14:22 -0600)]
Merge pull request #741 from ceph/wip-apt-mirror

Stop hardcoding apt-mirror's IP

9 years agoStop hardcoding apt-mirror's IP 741/head
Zack Cerza [Mon, 7 Dec 2015 20:15:45 +0000 (13:15 -0700)]
Stop hardcoding apt-mirror's IP

We will point to apt-mirror.sepia.ceph.com, which is
publicly-accessible.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #740 from smithfarm/wip-bootstrap-opensuse
Zack Cerza [Mon, 7 Dec 2015 19:31:26 +0000 (12:31 -0700)]
Merge pull request #740 from smithfarm/wip-bootstrap-opensuse

bootstrap: fixes for openSUSE

9 years agobootstrap: fixes for openSUSE 740/head
Nathan Cutler [Mon, 7 Dec 2015 13:17:09 +0000 (14:17 +0100)]
bootstrap: fixes for openSUSE

When a package is found not to exist, we need to also check if there
is another package installed that provides a capability of the same
name.

Also, the python-devel package must be installed, or the pip phase
fails.

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

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #737 from ceph/wip-config-port
Andrew Schoen [Thu, 3 Dec 2015 16:19:49 +0000 (10:19 -0600)]
Merge pull request #737 from ceph/wip-config-port

Use the newer config API

9 years agonuke: Use newer config API 737/head
Zack Cerza [Tue, 1 Dec 2015 18:46:40 +0000 (11:46 -0700)]
nuke: Use newer config API

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agonuke: Linter fixes
Zack Cerza [Tue, 1 Dec 2015 18:44:25 +0000 (11:44 -0700)]
nuke: Linter fixes

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agomisc: Use newer config API
Zack Cerza [Tue, 1 Dec 2015 18:44:07 +0000 (11:44 -0700)]
misc: Use newer config API

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoImplement YamlConfig.get()
Zack Cerza [Wed, 2 Dec 2015 16:58:45 +0000 (09:58 -0700)]
Implement YamlConfig.get()

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoDrop misc.read_config()
Zack Cerza [Tue, 1 Dec 2015 21:29:14 +0000 (14:29 -0700)]
Drop misc.read_config()

Replace with config.set_config_attr(). This is mainly for
backward-compatibility in tasks contained in ceph-qa-suite.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #723 from dachary/wip-nuke-stale-openstack
Zack Cerza [Tue, 1 Dec 2015 17:38:33 +0000 (10:38 -0700)]
Merge pull request #723 from dachary/wip-nuke-stale-openstack

nuke: cleanup stale OpenStack resources

9 years agoMerge pull request #709 from ceph/wip-epel-remove
Zack Cerza [Tue, 1 Dec 2015 17:18:34 +0000 (10:18 -0700)]
Merge pull request #709 from ceph/wip-epel-remove

Remove epel packages during downstream testing if present on the node

9 years agoMerge pull request #710 from dachary/wip-internal-buildpackages
Zack Cerza [Tue, 1 Dec 2015 17:16:09 +0000 (10:16 -0700)]
Merge pull request #710 from dachary/wip-internal-buildpackages

internal: the buildpackages task must come first

9 years agoMerge pull request #719 from dachary/wip-openstack-parallel-delete
Zack Cerza [Tue, 1 Dec 2015 17:01:56 +0000 (10:01 -0700)]
Merge pull request #719 from dachary/wip-openstack-parallel-delete

openstack: run 20 server/deletion at a time

9 years agoMerge pull request #720 from dachary/wip-openstack-instance-size
Zack Cerza [Tue, 1 Dec 2015 16:58:03 +0000 (09:58 -0700)]
Merge pull request #720 from dachary/wip-openstack-instance-size

openstack: teuthology for 100 or more need 32GB

9 years agoMerge pull request #722 from dachary/wip-openstack-parallel
Zack Cerza [Tue, 1 Dec 2015 16:57:32 +0000 (09:57 -0700)]
Merge pull request #722 from dachary/wip-openstack-parallel

openstack: run one job at a time by default

9 years agonuke: cleanup stale OpenStack resources 723/head
Loic Dachary [Fri, 27 Nov 2015 20:41:57 +0000 (21:41 +0100)]
nuke: cleanup stale OpenStack resources

Implement the --stale-openstack action to cleanup OpenStack resources
that are known to be stale because:

* instances or volumes have been created a long time ago
* instances or volumes with REMOVE-ME in the name
* nodes that are locked but did not get an instance

Only the instances and volumes known to belong to the teuthology cluster
because they have ownedby=IP in the name are considered, where IP is the
IP address of the machine running the teuthology clusters.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agolock: locked_since_seconds converts locked_since
Loic Dachary [Fri, 27 Nov 2015 20:39:43 +0000 (21:39 +0100)]
lock: locked_since_seconds converts locked_since

The node locked_since property is converted by locked_since_seconds
into the number of seconds since the present time, which is convenient
to compare with configured delays.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: introduce OpenStackInstance
Loic Dachary [Sun, 22 Nov 2015 22:57:30 +0000 (23:57 +0100)]
openstack: introduce OpenStackInstance

To reduce the number of redundant calls and reduce the code complexity.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agointernal: the buildpackages task must come first 710/head
Loic Dachary [Sat, 14 Nov 2015 09:00:03 +0000 (10:00 +0100)]
internal: the buildpackages task must come first

Otherwise the machines will be locked and remain idle while the packages
are building. When there are 20 jobs requiring a package, it means an
average of 40 machines locked idle while the packages are building.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: run one job at a time by default 722/head
Loic Dachary [Fri, 27 Nov 2015 19:51:31 +0000 (20:51 +0100)]
openstack: run one job at a time by default

Most jobs in rados/thrash allocate six volumes. The default tenant on
OVH has ten volumes, that's just not enough for two jobs to run in parallel.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: teuthology for 100 or more need 32GB 720/head
Loic Dachary [Tue, 10 Nov 2015 16:21:23 +0000 (17:21 +0100)]
openstack: teuthology for 100 or more need 32GB

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: run 20 server/deletion at a time 719/head
Loic Dachary [Fri, 13 Nov 2015 23:46:49 +0000 (00:46 +0100)]
openstack: run 20 server/deletion at a time

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #679 from ceph/wip-unpin-gevent
Loic Dachary [Wed, 25 Nov 2015 16:41:27 +0000 (17:41 +0100)]
Merge pull request #679 from ceph/wip-unpin-gevent

Unpin gevent

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agolibevent -> libev for newer gevent 679/head
Zack Cerza [Wed, 28 Oct 2015 16:41:52 +0000 (10:41 -0600)]
libevent -> libev for newer gevent

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoUnpin gevent version
Zack Cerza [Wed, 28 Oct 2015 16:41:43 +0000 (10:41 -0600)]
Unpin gevent version

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #716 from ceph/wip-fix-setuptools
Dan Mick [Tue, 24 Nov 2015 19:12:17 +0000 (11:12 -0800)]
Merge pull request #716 from ceph/wip-fix-setuptools

Work around setuptools 18.6 regression

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoWork around setuptools 18.6 regression 716/head
Zack Cerza [Tue, 24 Nov 2015 18:46:50 +0000 (11:46 -0700)]
Work around setuptools 18.6 regression

See
https://bitbucket.org/pypa/setuptools/issues/464/typeerror-in-install_wrapper_scripts

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #676 from dachary/wip-openstack-timeout
Zack Cerza [Fri, 20 Nov 2015 23:50:51 +0000 (16:50 -0700)]
Merge pull request #676 from dachary/wip-openstack-timeout

openstack: increase ssh timeout to 240 (part 2)

9 years agoMerge pull request #696 from dachary/wip-openstack-only-ipv4
Zack Cerza [Fri, 20 Nov 2015 23:50:36 +0000 (16:50 -0700)]
Merge pull request #696 from dachary/wip-openstack-only-ipv4

openstack: only consider IPv4 subnets

9 years agoMerge pull request #695 from dachary/wip-openstack-resolver
Zack Cerza [Fri, 20 Nov 2015 23:50:23 +0000 (16:50 -0700)]
Merge pull request #695 from dachary/wip-openstack-resolver

openstack: add 8.8.8.8 as a last resort resolver

9 years agoMerge pull request #697 from dachary/wip-openstack-neutron-private-ip
Zack Cerza [Fri, 20 Nov 2015 23:50:14 +0000 (16:50 -0700)]
Merge pull request #697 from dachary/wip-openstack-neutron-private-ip

openstack: try to get private IP from neutron

9 years agoMerge pull request #705 from dachary/wip-glance-raw
Zack Cerza [Fri, 20 Nov 2015 23:49:36 +0000 (16:49 -0700)]
Merge pull request #705 from dachary/wip-glance-raw

openstack: support glance disk-format raw

9 years agoMerge pull request #706 from dachary/wip-dreamhost-provider
Zack Cerza [Fri, 20 Nov 2015 23:49:12 +0000 (16:49 -0700)]
Merge pull request #706 from dachary/wip-dreamhost-provider

openstack: set dreamhost if OS_AUTH_URL has dream.io

9 years agoMerge pull request #707 from dachary/wip-openstack-delete-wait
Zack Cerza [Fri, 20 Nov 2015 23:48:59 +0000 (16:48 -0700)]
Merge pull request #707 from dachary/wip-openstack-delete-wait

openstack: wait for server delete to complete

9 years agoMerge pull request #693 from dachary/wip-no-roles
Zack Cerza [Fri, 20 Nov 2015 23:48:40 +0000 (16:48 -0700)]
Merge pull request #693 from dachary/wip-no-roles

run: do not lock machines if there are no roles

9 years agotests: teuthology-* --invalid-option is a sure fail 693/head
Loic Dachary [Thu, 19 Nov 2015 10:53:07 +0000 (11:53 +0100)]
tests: teuthology-* --invalid-option is a sure fail

Providing the INVALID argument may succeed, depending on how the script
interprets arguments.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoRemove epel packages during downstream testing if present on the node 709/head
Vasu Kulkarni [Wed, 18 Nov 2015 19:03:35 +0000 (14:03 -0500)]
Remove epel packages during downstream testing if present on the node

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoMerge pull request #708 from ceph/wip-tolerate-giterror
Andrew Schoen [Tue, 17 Nov 2015 18:14:01 +0000 (12:14 -0600)]
Merge pull request #708 from ceph/wip-tolerate-giterror

Be more tolerant of GitErrors in repo_utils

9 years agofetch_repo(): Call rmtree() when all attempts fail 708/head
Zack Cerza [Tue, 17 Nov 2015 17:46:22 +0000 (10:46 -0700)]
fetch_repo(): Call rmtree() when all attempts fail

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoDon't call rmtree() on GitErrors
Zack Cerza [Tue, 17 Nov 2015 17:44:34 +0000 (10:44 -0700)]
Don't call rmtree() on GitErrors

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoopenstack: wait for server delete to complete 707/head
Loic Dachary [Wed, 4 Nov 2015 12:20:06 +0000 (13:20 +0100)]
openstack: wait for server delete to complete

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agorun: do not lock machines if there are no roles
Loic Dachary [Thu, 29 Oct 2015 18:58:35 +0000 (03:58 +0900)]
run: do not lock machines if there are no roles

The worker runs the job, even if there are no roles: it is legitimate to
run a job that does not need machines.

Run only locks machines if there are roles and init_tasks is only
populated with tasks that make sense depending on the presence of roles
or not.

Move the internal task added in suite.py to run.py : there is no reason
to not have them with teuthology-run or teuthology-schedule (ansible +
clock).

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoopenstack: set dreamhost if OS_AUTH_URL has dream.io 706/head
Loic Dachary [Tue, 3 Nov 2015 18:15:55 +0000 (19:15 +0100)]
openstack: set dreamhost if OS_AUTH_URL has dream.io

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoopenstack: support glance disk-format raw 705/head
Loic Dachary [Tue, 3 Nov 2015 16:53:26 +0000 (17:53 +0100)]
openstack: support glance disk-format raw

For providers such as dreamcompute that only support the glance image
format raw, convert the qcow2 image to raw prior to uploading.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoopenstack: add 8.8.8.8 as a last resort resolver 695/head
Loic Dachary [Tue, 3 Nov 2015 19:37:38 +0000 (20:37 +0100)]
openstack: add 8.8.8.8 as a last resort resolver

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoopenstack: only consider IPv4 subnets 696/head
Loic Dachary [Tue, 3 Nov 2015 20:46:46 +0000 (21:46 +0100)]
openstack: only consider IPv4 subnets

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoopenstack: try to get private IP from neutron 697/head
Loic Dachary [Tue, 3 Nov 2015 22:45:13 +0000 (23:45 +0100)]
openstack: try to get private IP from neutron

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoceph.conf: filstore {ondisk,apply} finisher threads = 3
Sage Weil [Wed, 11 Nov 2015 14:23:15 +0000 (09:23 -0500)]
ceph.conf: filstore {ondisk,apply} finisher threads = 3

Exercise new finisher sharding in qa.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #698 from dachary/wip-openstack-instance-creation-poll
Zack Cerza [Tue, 10 Nov 2015 22:03:32 +0000 (15:03 -0700)]
Merge pull request #698 from dachary/wip-openstack-instance-creation-poll

openstack: poll every 30 seconds instead of 2

9 years agoMerge pull request #703 from dachary/wip-os-client-config
Zack Cerza [Tue, 10 Nov 2015 22:02:47 +0000 (15:02 -0700)]
Merge pull request #703 from dachary/wip-os-client-config

Unpin os-client-config

9 years agoUnpin os-client-config 703/head
Loic Dachary [Tue, 10 Nov 2015 06:23:21 +0000 (07:23 +0100)]
Unpin os-client-config

The bug found in 1.10.1 was fixed and version 1.10.2 is now current.

https://bugs.launchpad.net/os-client-config/+bug/1513919

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #702 from ceph/wip-empty-roles
Dan Mick [Tue, 10 Nov 2015 00:01:14 +0000 (16:01 -0800)]
Merge pull request #702 from ceph/wip-empty-roles

Run jobs even if 'roles' is empty

This was the original behavior pre-181256f3, and still seems better; the job will fail, but
this way worker won't keep it behind

Reviewd-by: Dan Mick <dmick@redhat.com>
9 years agoRun jobs even if 'roles' is empty 702/head
Zack Cerza [Mon, 9 Nov 2015 23:41:02 +0000 (16:41 -0700)]
Run jobs even if 'roles' is empty

They will fail immediately, but at least we'll know about them.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #701 from ceph/wip-suite-tests
Andrew Schoen [Fri, 6 Nov 2015 21:05:07 +0000 (15:05 -0600)]
Merge pull request #701 from ceph/wip-suite-tests

TestSuiteMain.test_main(): don't hit the network

9 years agoTestSuiteMain.test_main(): don't hit the network 701/head
Zack Cerza [Fri, 6 Nov 2015 20:35:37 +0000 (13:35 -0700)]
TestSuiteMain.test_main(): don't hit the network

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #700 from ceph/wip-pin-occ
Loic Dachary [Fri, 6 Nov 2015 18:54:13 +0000 (19:54 +0100)]
Merge pull request #700 from ceph/wip-pin-occ

Pin os-client-config to 1.9.0

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoPin os-client-config to 1.9.0 700/head
Zack Cerza [Fri, 6 Nov 2015 18:17:29 +0000 (11:17 -0700)]
Pin os-client-config to 1.9.0

This is to fix 'openstack image list --json' acting as if --debug were
passed. This was breaking things.

https://bugs.launchpad.net/os-client-config/+bug/1513919

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #649 from dachary/wip-install-doc
Zack Cerza [Fri, 6 Nov 2015 16:33:48 +0000 (09:33 -0700)]
Merge pull request #649 from dachary/wip-install-doc

install: document tag, branch and sha1 precedence

9 years agoMerge pull request #699 from ceph/wip-results
Andrew Schoen [Thu, 5 Nov 2015 20:59:33 +0000 (14:59 -0600)]
Merge pull request #699 from ceph/wip-results

teuthology-results: Be aware of all job statuses

9 years agoMore consistent spacing between sections 699/head
Zack Cerza [Thu, 5 Nov 2015 20:04:10 +0000 (13:04 -0700)]
More consistent spacing between sections

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoFormat durations as HH:MM:SS
Zack Cerza [Thu, 5 Nov 2015 19:56:14 +0000 (12:56 -0700)]
Format durations as HH:MM:SS

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoIncrease polling interval
Zack Cerza [Thu, 5 Nov 2015 17:43:13 +0000 (10:43 -0700)]
Increase polling interval

When we used the filesystem, we polled for a run's status every 10s;
that was more aggressive than necessary. Increase to 60s to avoid
overloading paddles.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRefactor teuthology.results to remove copypasta
Zack Cerza [Thu, 5 Nov 2015 16:36:53 +0000 (09:36 -0700)]
Refactor teuthology.results to remove copypasta

And also stop mixing tenses in the email subject/body.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoHandle all possible job states
Zack Cerza [Thu, 5 Nov 2015 15:40:53 +0000 (08:40 -0700)]
Handle all possible job states

Instead of lumping jobs into a made-up 'hung' state, express that they
are in one of the following: dead, running, waiting, queued

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoUpdate unit tests for teuthology.results
Zack Cerza [Thu, 5 Nov 2015 00:36:06 +0000 (17:36 -0700)]
Update unit tests for teuthology.results

This commit updates the existing unit tests to match the new
paddles-based behavior.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoUse paddles instead of the filesystem
Zack Cerza [Wed, 4 Nov 2015 16:01:44 +0000 (09:01 -0700)]
Use paddles instead of the filesystem

We do still need the filesystem to generate coverage reports.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoProvide a default for --timeout
Zack Cerza [Wed, 4 Nov 2015 16:01:16 +0000 (09:01 -0700)]
Provide a default for --timeout

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoopenstack: poll every 30 seconds instead of 2 698/head
Loic Dachary [Wed, 4 Nov 2015 08:58:56 +0000 (09:58 +0100)]
openstack: poll every 30 seconds instead of 2

No cloud provider boots an instance within 30 seconds, no need to poll
aggressively. Also wait more than a total of 1200 seconds (3000 seconds)
because some providers may take more than 20 minutes to complete the
boot sequence.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #692 from dachary/wip-upload-order
Zack Cerza [Tue, 3 Nov 2015 23:29:55 +0000 (16:29 -0700)]
Merge pull request #692 from dachary/wip-upload-order

run: upload must happen after archive

9 years agoMerge pull request #691 from dachary/wip-suite-sha1
Zack Cerza [Tue, 3 Nov 2015 23:29:37 +0000 (16:29 -0700)]
Merge pull request #691 from dachary/wip-suite-sha1

suite: add the ceph-qa-suite hash to the job config

9 years agoMerge pull request #689 from dachary/wip-openstack-user-data
Zack Cerza [Tue, 3 Nov 2015 23:29:03 +0000 (16:29 -0700)]
Merge pull request #689 from dachary/wip-openstack-user-data

openstack: get user-data path relative to the sources

9 years agoMerge pull request #688 from dachary/wip-tests-openstack-resources
Zack Cerza [Tue, 3 Nov 2015 23:28:32 +0000 (16:28 -0700)]
Merge pull request #688 from dachary/wip-tests-openstack-resources

openstack: tests: use new resources hint style

9 years agoMerge pull request #690 from dachary/wip-openstack-sha1
Zack Cerza [Tue, 3 Nov 2015 23:25:38 +0000 (16:25 -0700)]
Merge pull request #690 from dachary/wip-openstack-sha1

openstack: disable teuthology-suite sha1 verification

9 years agorun: upload must happen after archive 692/head
Loic Dachary [Thu, 29 Oct 2015 08:36:03 +0000 (17:36 +0900)]
run: upload must happen after archive

The unwinding order is in reverse: internal.archive must be after
archive_upload so that it actually happens *before*.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agosuite: add the ceph-qa-suite hash to the job config 691/head
Loic Dachary [Thu, 29 Oct 2015 03:01:49 +0000 (12:01 +0900)]
suite: add the ceph-qa-suite hash to the job config

To be able to re-run a job we need:

* the ceph repository and hash
* the ceph-qa-suite repository and hash
* the job description

When reading the job log from the archive directory, we currently only
have the ceph-qa-suite branch name. If and when the branch name moves
on, the job description may cease to be valid and re-running the job
may no longer be possible.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoopenstack: disable teuthology-suite sha1 verification 690/head
Loic Dachary [Wed, 28 Oct 2015 03:15:20 +0000 (12:15 +0900)]
openstack: disable teuthology-suite sha1 verification

By default teuthology-openstack builds packages dynamically and does not
rely on gitbuilder.ceph.com

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoopenstack: get user-data path relative to the sources 689/head
Loic Dachary [Wed, 28 Oct 2015 01:34:52 +0000 (10:34 +0900)]
openstack: get user-data path relative to the sources

The user-data files are in the sources, in the teuthology/openstack
directory. By default the template path being used is
teuthology/openstack/openstack-{os_type}-{os_version}-user-data.txt and
assumes teuthology-suite / teuthology-openstack is run from the root of
the source directory.

If the user-data path is relative, make it absolute based on the
directory in which the openstack module is found.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoopenstack: tests: use new resources hint style 688/head
Loic Dachary [Mon, 26 Oct 2015 23:14:46 +0000 (08:14 +0900)]
openstack: tests: use new resources hint style

The memory cannot be lowered by the hint: test that it increases to 10GB
instead of testing that it was lowered under a given limit.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #637 from dachary/wip-suite-sha1
Zack Cerza [Mon, 2 Nov 2015 21:57:13 +0000 (14:57 -0700)]
Merge pull request #637 from dachary/wip-suite-sha1

suite: add config.suite_verify_ceph_hash when no gitbuilder