]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
5 years agoworker: fix crash on try_delete_jobs 1524/head
Kyr Shatskyy [Wed, 24 Jun 2020 09:27:31 +0000 (11:27 +0200)]
worker: fix crash on try_delete_jobs

In some circumstances workers try to delete a job which
is not created yet. It quits immediately with unhandled
exception error.

We do not want to allow crashes whatever error happens,
because worker can continue working and process other
jobs correctly.

Also some schedulers might not add corresponding
first in suite and last in suite jobs to the reporter,
since it is not required.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1521 from kshtsk/fix-install-repos
kyr [Wed, 24 Jun 2020 10:28:47 +0000 (12:28 +0200)]
Merge pull request #1521 from kshtsk/fix-install-repos

run: fix typo after refactor

5 years agorun: fix typo after refactor 1521/head
Kyr Shatskyy [Wed, 24 Jun 2020 09:42:29 +0000 (11:42 +0200)]
run: fix typo after refactor

This addresses issue introduced by PR 1520 commit:
b9fe404403db8f983a402ed64b85a2a292de66af

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1520 from tchaikov/wip-check-per-job-verify_ceph_hash
Kefu Chai [Wed, 24 Jun 2020 01:35:40 +0000 (09:35 +0800)]
Merge pull request #1520 from tchaikov/wip-check-per-job-verify_ceph_hash

suite/run.py: check config['verify_ceph_hash'] before verifying ceph …

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoteuthology/run: do not check ceph packages if verify_ceph_hash is disabled 1520/head
Kefu Chai [Tue, 23 Jun 2020 09:02:43 +0000 (17:02 +0800)]
teuthology/run: do not check ceph packages if verify_ceph_hash is disabled

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology/run: use default value for better readability
Kefu Chai [Tue, 23 Jun 2020 09:00:54 +0000 (17:00 +0800)]
teuthology/run: use default value for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agosuite/run.py: check config['verify_ceph_hash'] before verifying ceph packages
Kefu Chai [Tue, 23 Jun 2020 07:25:00 +0000 (15:25 +0800)]
suite/run.py: check config['verify_ceph_hash'] before verifying ceph packages

there is chance that we don't have ceph packages built for the
combination of specified os_type and os_version, for instance, in the
case of rados/thash_old_clients, older ceph clients are installed on
el7, but the ceph cluster is deployed using cephadm, which in turn pull
ceph container images built using the ceph being tested and el8.

since we've dropped the build of master on el7, there is no need to
verify if ceph package is available if cephadm is used for deploying the
cluster.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1519 from tchaikov/wip-query-packages-of-el8
Kefu Chai [Tue, 23 Jun 2020 01:45:31 +0000 (09:45 +0800)]
Merge pull request #1519 from tchaikov/wip-query-packages-of-el8

teuthology/suite: use rhel8 for querying package version

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoteuthology: use rhel8 for querying package version 1519/head
Kefu Chai [Tue, 23 Jun 2020 01:09:48 +0000 (09:09 +0800)]
teuthology: use rhel8 for querying package version

as we don't build packages for el7 on master anymore. but we do build
packages for nautilus and octopus.

* suite: use rhel8 for querying package version
* orchestra/opsys: update default OS versions
  centos/rhel 7.6 -> 8.1

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1516 from kshtsk/wip-increase-clock-timeout
kyr [Mon, 22 Jun 2020 09:03:25 +0000 (11:03 +0200)]
Merge pull request #1516 from kshtsk/wip-increase-clock-timeout

teuthology/task/clock: increase timeout

5 years agoMerge pull request #1514 from sunilkumarn417/master
Vasu Kulkarni [Fri, 19 Jun 2020 17:32:07 +0000 (10:32 -0700)]
Merge pull request #1514 from sunilkumarn417/master

Fixed empty string split issue

5 years agoteuthology/task/clock: increase timeout 1516/head
Kyr Shatskyy [Fri, 19 Jun 2020 14:31:10 +0000 (16:31 +0200)]
teuthology/task/clock: increase timeout

Increase timeout because 1 minute is not always enough
to configure ntp.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoFixed empty string split issue 1514/head
sunilkumarn417 [Fri, 19 Jun 2020 04:46:46 +0000 (10:16 +0530)]
Fixed empty string split issue

Signed-off-by: sunilkumarn417 <sunnagar@redhat.com>
5 years agoMerge pull request #1510 from tchaikov/wip-drop-py2
Kefu Chai [Wed, 17 Jun 2020 22:11:04 +0000 (06:11 +0800)]
Merge pull request #1510 from tchaikov/wip-drop-py2

drop python2 support

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agorename requirements3.txt to requirements.txt 1510/head
Kefu Chai [Wed, 17 Jun 2020 13:39:11 +0000 (21:39 +0800)]
rename requirements3.txt to requirements.txt

since there is no need to differentiate requirements3.txt from
requirements2.txt.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoAdded comment explaining the usage of the unpatched kill
Shubham Mishra [Thu, 21 May 2020 14:24:15 +0000 (19:54 +0530)]
Added comment explaining the usage of the unpatched kill

Signed-off-by: Shubham Mishra <smishra99.iitkgp@gmail.com>
5 years agoUsed unpatched os.kill with test_basic in test_exit.py
Shubham Mishra [Thu, 21 May 2020 13:49:17 +0000 (19:19 +0530)]
Used unpatched os.kill with test_basic in test_exit.py

Signed-off-by: Shubham Mishra <smishra99.iitkgp@gmail.com>
5 years agoChanged the import of mock to unittest.mock
Shubham Mishra [Thu, 21 May 2020 07:10:19 +0000 (12:40 +0530)]
Changed the import of mock to unittest.mock

Signed-off-by: Shubham Mishra <smishra99.iitkgp@gmail.com>
5 years agoteuthology/orchestra/run: drop code handling py2
Kefu Chai [Wed, 17 Jun 2020 11:06:00 +0000 (19:06 +0800)]
teuthology/orchestra/run: drop code handling py2

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology/suite: drop six.moves.input()
Kefu Chai [Wed, 17 Jun 2020 10:25:06 +0000 (18:25 +0800)]
teuthology/suite: drop six.moves.input()

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology/provision: drop six/string_types
Kefu Chai [Wed, 17 Jun 2020 10:22:43 +0000 (18:22 +0800)]
teuthology/provision: drop six/string_types

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology/run_tasks.py: drop six.ensure_str()
Kefu Chai [Wed, 17 Jun 2020 10:19:56 +0000 (18:19 +0800)]
teuthology/run_tasks.py: drop six.ensure_str()

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology/orchestra: drop six.StringIO
Kefu Chai [Wed, 17 Jun 2020 10:19:31 +0000 (18:19 +0800)]
teuthology/orchestra: drop six.StringIO

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology/provision: drop six.ensure_str()
Kefu Chai [Wed, 17 Jun 2020 10:11:57 +0000 (18:11 +0800)]
teuthology/provision: drop six.ensure_str()

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agomisc, repo_utils: drop six.ensure_str()
Kefu Chai [Wed, 17 Jun 2020 10:11:00 +0000 (18:11 +0800)]
misc, repo_utils: drop six.ensure_str()

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology/suite: drop six.ensure_str()
Kefu Chai [Wed, 17 Jun 2020 10:03:22 +0000 (18:03 +0800)]
teuthology/suite: drop six.ensure_str()

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology/orchestra: drop six
Kefu Chai [Wed, 17 Jun 2020 09:57:26 +0000 (17:57 +0800)]
teuthology/orchestra: drop six

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology: drop six.ensure_str()
Kefu Chai [Wed, 17 Jun 2020 09:44:37 +0000 (17:44 +0800)]
teuthology: drop six.ensure_str()

use get_file(...).decode() instead

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology/kill: drop six.ensure_str
Kefu Chai [Wed, 17 Jun 2020 09:36:59 +0000 (17:36 +0800)]
teuthology/kill: drop six.ensure_str

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agotasks: drop six.StringIO
Kefu Chai [Wed, 17 Jun 2020 09:22:00 +0000 (17:22 +0800)]
tasks: drop six.StringIO

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology/task: drop six.string_types
Kefu Chai [Wed, 17 Jun 2020 09:21:41 +0000 (17:21 +0800)]
teuthology/task: drop six.string_types

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology/task: drop six.ensure_str()
Kefu Chai [Wed, 17 Jun 2020 09:21:17 +0000 (17:21 +0800)]
teuthology/task: drop six.ensure_str()

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology: drop six.reraise()
Kefu Chai [Wed, 17 Jun 2020 09:20:51 +0000 (17:20 +0800)]
teuthology: drop six.reraise()

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agosetup.py: update pacakge metadata to support python3
Kefu Chai [Wed, 17 Jun 2020 09:20:11 +0000 (17:20 +0800)]
setup.py: update pacakge metadata to support python3

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoscripts/test: drop six.ensure_str()
Kefu Chai [Wed, 17 Jun 2020 09:19:38 +0000 (17:19 +0800)]
scripts/test: drop six.ensure_str()

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agodrop python2 support
Kefu Chai [Wed, 17 Jun 2020 08:54:34 +0000 (16:54 +0800)]
drop python2 support

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1509 from tchaikov/wip-secure-yaml-load
Kefu Chai [Wed, 17 Jun 2020 10:45:56 +0000 (18:45 +0800)]
Merge pull request #1509 from tchaikov/wip-secure-yaml-load

nuke: s/yaml.load/yaml.safe_load/

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agotox.ini: use python3 for testing openstack tests
Kefu Chai [Wed, 17 Jun 2020 08:55:45 +0000 (16:55 +0800)]
tox.ini: use python3 for testing openstack tests

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agonuke: s/yaml.load/yaml.safe_load/ 1509/head
Kefu Chai [Wed, 17 Jun 2020 08:48:15 +0000 (16:48 +0800)]
nuke: s/yaml.load/yaml.safe_load/

to silence following warning:

YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1508 from lxbsz/ulimit
Kefu Chai [Wed, 17 Jun 2020 07:38:38 +0000 (15:38 +0800)]
Merge pull request #1508 from lxbsz/ulimit

task/install/adjust-ulimits: use a larger numbers for open files

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoadjust-ulimits: use a larger numbers for open files 1508/head
Xiubo Li [Wed, 17 Jun 2020 07:02:43 +0000 (03:02 -0400)]
adjust-ulimits: use a larger numbers for open files

For some cephfs test case it will run handreds of threads and with
some mounts in each, we need a larger limit on the number of open
file descriptors.

Fixes: https://tracker.ceph.com/issues/45829
Signed-off-by: Xiubo Li <xiubli@redhat.com>
5 years agoMerge pull request #1507 from tchaikov/wip-docs-virtualenv-py2
Kefu Chai [Mon, 15 Jun 2020 10:01:20 +0000 (18:01 +0800)]
Merge pull request #1507 from tchaikov/wip-docs-virtualenv-py2

docs: create a python3 virtualenv instead a py2 one

Reviewed-by: Jos Collin <jcollin@redhat.com>
5 years agodocs: create a python3 virtualenv instead a py2 one 1507/head
Kefu Chai [Mon, 15 Jun 2020 09:39:20 +0000 (17:39 +0800)]
docs: create a python3 virtualenv instead a py2 one

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1506 from sunilkumarn417/master
Vasu Kulkarni [Thu, 11 Jun 2020 14:08:17 +0000 (07:08 -0700)]
Merge pull request #1506 from sunilkumarn417/master

eliminating kernel task duplication

5 years agoMerge pull request #1505 from ceph/bootstrap-fedora-rhel
Vasu Kulkarni [Tue, 9 Jun 2020 15:05:22 +0000 (08:05 -0700)]
Merge pull request #1505 from ceph/bootstrap-fedora-rhel

bootstrap: python3 packages for fedora and redhat based systems

5 years agopython3 packages for fedora and redhat based systems 1505/head
rakeshgm [Mon, 8 Jun 2020 11:48:42 +0000 (17:18 +0530)]
python3 packages for fedora and redhat based systems

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
5 years agoeliminating kernel task duplication 1506/head
sunilkumarn417 [Mon, 8 Jun 2020 14:12:21 +0000 (19:42 +0530)]
eliminating kernel task duplication

Signed-off-by: sunilkumarn417 <sunnagar@redhat.com>
5 years agoMerge pull request #1503 from ceph/wip-valgrind-exits-on-error
Josh Durgin [Fri, 5 Jun 2020 15:51:48 +0000 (08:51 -0700)]
Merge pull request #1503 from ceph/wip-valgrind-exits-on-error

teuthology/misc: Valgrind exits on first detected error.

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoteuthology/misc: Valgrind exits on first detected error. 1503/head
Radoslaw Zarzynski [Wed, 3 Jun 2020 13:44:26 +0000 (15:44 +0200)]
teuthology/misc: Valgrind exits on first detected error.

Valgrind v3.14 brought the `--exit-on-first-error` option
which causes termination of the process on first encountered
error. Although it does nothing for memory leaks, it should
help with pin-pointing e.g. `UninitValue` without imposing
the costly `--track-origins=yes`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge pull request #1502 from ceph/fix-darwin
Kefu Chai [Thu, 4 Jun 2020 04:52:40 +0000 (12:52 +0800)]
Merge pull request #1502 from ceph/fix-darwin

tox: Avoid system site-packages

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1490 from kshtsk/wip-auto-t
Josh Durgin [Tue, 2 Jun 2020 15:24:13 +0000 (08:24 -0700)]
Merge pull request #1490 from kshtsk/wip-auto-t

teuthology-suite: automate -t argument default value

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agotox: Avoid system site-packages 1502/head
Zack Cerza [Thu, 14 May 2020 21:27:43 +0000 (15:27 -0600)]
tox: Avoid system site-packages

Signed-off-by: Zack Cerza <zack@redhat.com>
5 years agoteuthology-suite: automate -t argument default value 1490/head
Kyr Shatskyy [Sun, 24 May 2020 06:01:41 +0000 (08:01 +0200)]
teuthology-suite: automate -t argument default value

This change is required to determine which teuthology branch should
be used for scheduling a run for the given ceph branch.

Drop the code using --ceph-branch and when --teuthology-branch is not
supplied, since this mechanism is not used and not supported anymore.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1499 from sebastian-philipp/write-file-unicode
kshtsk [Sat, 30 May 2020 09:28:36 +0000 (11:28 +0200)]
Merge pull request #1499 from sebastian-philipp/write-file-unicode

orchestra/run: py2 fix for copy_and_close

5 years agoMerge pull request #1497 from ceph/drop-mysql-dep
Zack Cerza [Thu, 28 May 2020 22:10:48 +0000 (16:10 -0600)]
Merge pull request #1497 from ceph/drop-mysql-dep

Drop MySQL dependency

5 years agoDrop results.generate_coverage() 1497/head
Zack Cerza [Thu, 28 May 2020 16:56:54 +0000 (10:56 -0600)]
Drop results.generate_coverage()

This was just an oversight from #1419

Signed-off-by: Zack Cerza <zack@redhat.com>
5 years agoDrop MySQL dependency
Zack Cerza [Thu, 14 May 2020 19:39:51 +0000 (13:39 -0600)]
Drop MySQL dependency

I think it's been years since anything in the project used the
mysqlclient package, so let's stop making everyone install it and everything it requires.

Signed-off-by: Zack Cerza <zack@redhat.com>
5 years agoorchestra/run: py2 fix for copy_and_close 1499/head
Sebastian Wagner [Thu, 28 May 2020 11:10:28 +0000 (13:10 +0200)]
orchestra/run: py2 fix for copy_and_close

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #1495 from kshtsk/plgs-logs
kshtsk [Thu, 28 May 2020 13:17:53 +0000 (15:17 +0200)]
Merge pull request #1495 from kshtsk/plgs-logs

provision/pelagos: improve logging

5 years agoprovision/pelagos: improve logging 1495/head
Kyr Shatskyy [Tue, 26 May 2020 22:36:31 +0000 (00:36 +0200)]
provision/pelagos: improve logging

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1496 from tchaikov/wip-bootstrap-py3
Kefu Chai [Wed, 27 May 2020 23:37:53 +0000 (07:37 +0800)]
Merge pull request #1496 from tchaikov/wip-bootstrap-py3

bootstrap: s/python-pip/python3-pip/ for python3 on debian derivatives

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1498 from ceph/wip-waitlonger
Zack Cerza [Wed, 27 May 2020 22:08:06 +0000 (16:08 -0600)]
Merge pull request #1498 from ceph/wip-waitlonger

console.py: Wait longer for IPMI timeouts

5 years agoconsole.py: Wait longer for IPMI timeouts 1498/head
David Galloway [Wed, 27 May 2020 21:42:02 +0000 (17:42 -0400)]
console.py: Wait longer for IPMI timeouts

The smithi have really crappy/flaky BMCs.  I occasionally see `'wait for power on' reached maximum tries (5) after waiting for 20.0 seconds` but when I go to check the BMC, it just needed some more time.  So let's give it more time.

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agobootstrap: s/python-pip/python3-pip/ for python3 on debian derivatives 1496/head
Kefu Chai [Wed, 27 May 2020 12:10:44 +0000 (20:10 +0800)]
bootstrap: s/python-pip/python3-pip/ for python3 on debian derivatives

python-pip was removed in debian/bullseye and ubuntu/focal, so let's
replace it with python3-pip. and more importantly, for python3 support
we should install python3-pip instead.

Fixes: https://tracker.ceph.com/issues/45384
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1491 from ShraddhaAg/update-docs
kshtsk [Wed, 27 May 2020 05:44:28 +0000 (07:44 +0200)]
Merge pull request #1491 from ShraddhaAg/update-docs

docs: add docs.ceph.com link in README.rst

5 years agoMerge pull request #1486 from kshtsk/wip-sbtd-email
kshtsk [Tue, 26 May 2020 14:31:38 +0000 (16:31 +0200)]
Merge pull request #1486 from kshtsk/wip-sbtd-email

run_tasks: add email notification for sleep-before-teardown

5 years agoMerge pull request #1492 from toabctl/fix-opensuse-py3-bootstrap
kshtsk [Tue, 26 May 2020 14:30:41 +0000 (16:30 +0200)]
Merge pull request #1492 from toabctl/fix-opensuse-py3-bootstrap

Fix opensuse py3 bootstrap

5 years agoMerge pull request #1493 from sebastian-philipp/toml
Kefu Chai [Tue, 26 May 2020 14:28:30 +0000 (22:28 +0800)]
Merge pull request #1493 from sebastian-philipp/toml

setup.py: add toml for qa/tasks/cephadm.py

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agosetup.py: add toml for qa/tasks/cephadm.py 1493/head
Sebastian Wagner [Tue, 26 May 2020 10:56:23 +0000 (12:56 +0200)]
setup.py: add toml for qa/tasks/cephadm.py

podman's /etc/containers/registries.conf is written
in toml. In order to modify it, we need to parse the
config.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #1482 from kshtsk/wip-desc-without-yaml
kshtsk [Tue, 26 May 2020 09:55:33 +0000 (11:55 +0200)]
Merge pull request #1482 from kshtsk/wip-desc-without-yaml

suite/build_matrix: get rid of '.yaml' in descriptions

5 years agorun_tasks: add email notification for sleep-before-teardown 1486/head
Kyr Shatskyy [Wed, 20 May 2020 16:06:01 +0000 (18:06 +0200)]
run_tasks: add email notification for sleep-before-teardown

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agobootstap: Drop --setuptools from virtualenv installation 1492/head
Thomas Bechtold [Mon, 25 May 2020 09:44:42 +0000 (11:44 +0200)]
bootstap: Drop --setuptools from virtualenv installation

--setuptools is a no-op since ~2013 so drop the switch.

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
5 years agobootstrap: Support python3 on openSUSE/SLES
Thomas Bechtold [Mon, 25 May 2020 09:44:01 +0000 (11:44 +0200)]
bootstrap: Support python3 on openSUSE/SLES

Install the correct system packages when using a python3 env. Similar
to what is done in the ubuntu/debian case.

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
5 years agodocs: add docs.ceph.com link in README.rst 1491/head
Shraddha Agrawal [Mon, 25 May 2020 00:38:30 +0000 (06:08 +0530)]
docs: add docs.ceph.com link in README.rst

This commit adds a hyperlink to Running Integration Tests Using
Teuthology in docs/README.rst under the section Test Suites.

Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>
5 years agoMerge pull request #1489 from ceph/ignore-package-check
Vasu Kulkarni [Fri, 22 May 2020 17:52:30 +0000 (10:52 -0700)]
Merge pull request #1489 from ceph/ignore-package-check

run: exclude internal check_packages and buildpackages_prep for redhat

5 years agoskip internal check_packages and buildpackages_prep for redhat config 1489/head
rakeshgm [Fri, 22 May 2020 15:08:42 +0000 (20:38 +0530)]
skip internal check_packages and buildpackages_prep for redhat config

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
5 years agoMerge pull request #1474 from tchaikov/wip-no-clear-exec-py3
Kefu Chai [Wed, 20 May 2020 04:12:25 +0000 (12:12 +0800)]
Merge pull request #1474 from tchaikov/wip-no-clear-exec-py3

teuthology/run_tasks: do not call sys.exc_clear() for clearing exception

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #1473 from kshtsk/wip-schedule-once
Kefu Chai [Tue, 19 May 2020 11:01:07 +0000 (19:01 +0800)]
Merge pull request #1473 from kshtsk/wip-schedule-once

suite: schedule first and last in suite jobs once

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1483 from kshtsk/wip-rename-describe-tests
kshtsk [Mon, 18 May 2020 19:17:12 +0000 (21:17 +0200)]
Merge pull request #1483 from kshtsk/wip-rename-describe-tests

rename teuthology-describe-tests to teuthology-describe

5 years agodescribe_tests: improve summary output 1483/head
Kyr Shatskyy [Sat, 16 May 2020 00:50:13 +0000 (02:50 +0200)]
describe_tests: improve summary output

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoteuthology-describe-tests: rename to teuthology-describe
Kyr Shatskyy [Sat, 16 May 2020 00:22:17 +0000 (02:22 +0200)]
teuthology-describe-tests: rename to teuthology-describe

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agodescribe-tests: rename short options for better usability
Kyr Shatskyy [Sat, 16 May 2020 00:15:44 +0000 (02:15 +0200)]
describe-tests: rename short options for better usability

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agosuite/build_matrix: get rid of '.yaml' in descriptions 1482/head
Kyr Shatskyy [Fri, 15 May 2020 20:48:47 +0000 (22:48 +0200)]
suite/build_matrix: get rid of '.yaml' in descriptions

Test descriptions have structured representation
fragments the test config is composed from.
It's worth noticing that no other files except yaml
are used for description composition.
Although having the .yaml extentions in the description
looks redundant and has no use in the code.

This change removes many '.yaml' sufixes from
descriptions which make it more compact and easy
to read.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1479 from ceph/rh-internal-tasks
Vasu Kulkarni [Fri, 15 May 2020 18:39:09 +0000 (11:39 -0700)]
Merge pull request #1479 from ceph/rh-internal-tasks

fixes for redhat internal tasks

5 years agoadded todo for support of submodules 1479/head
rakeshgm [Fri, 15 May 2020 17:46:57 +0000 (23:16 +0530)]
added todo for support of submodules

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
5 years agofixes for redhat internal tasks
rakeshgm [Wed, 13 May 2020 14:51:40 +0000 (20:21 +0530)]
fixes for redhat internal tasks

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
5 years agoMerge pull request #1480 from ceph/fog-sentinel
David Galloway [Fri, 15 May 2020 16:26:30 +0000 (12:26 -0400)]
Merge pull request #1480 from ceph/fog-sentinel

provision.fog: Add optional sentinel file

5 years agoMerge pull request #1248 from kshtsk/wip-calc
kshtsk [Fri, 15 May 2020 10:34:47 +0000 (12:34 +0200)]
Merge pull request #1248 from kshtsk/wip-calc

teuthology-describe-tests: add --summary command

5 years agoprovision.fog: Add optional sentinel file 1480/head
Zack Cerza [Thu, 14 May 2020 21:55:27 +0000 (15:55 -0600)]
provision.fog: Add optional sentinel file

Similar to how provision.cloud.openstack works, wait for a particular
file to be created before considering provisioning to be finished.

Unlike the cloud.openstack module, teuthology doesn't control the entire
process, so to avoid breaking any labs that aren't using a sentinel
file, make the feature optional and default to being inoperative.

Signed-off-by: Zack Cerza <zack@redhat.com>
5 years agoMerge pull request #1478 from kshtsk/wip-revert-add-retry-exc
kshtsk [Thu, 14 May 2020 17:13:21 +0000 (19:13 +0200)]
Merge pull request #1478 from kshtsk/wip-revert-add-retry-exc

Revert "teuthology/orchestra/connection: add retry exceptions"

5 years agoRevert "teuthology/orchestra/connection: add retry exceptions" 1478/head
Kyr Shatskyy [Thu, 14 May 2020 14:37:11 +0000 (16:37 +0200)]
Revert "teuthology/orchestra/connection: add retry exceptions"

This reverts commit 1e30d6f624921ae98c27981d55e06c29d1b0fdd0.

5 years agoteuthology-describe-tests: add --summary command 1248/head
Kyr Shatskyy [Wed, 13 May 2020 07:54:06 +0000 (09:54 +0200)]
teuthology-describe-tests: add --summary command

Add --summary argument to teuthology-describe-tests for estimating
run capacity, printing descriptions, dumping matrix, yaml fragments.

Refactor get_combinations code to use the same code that
is used by teuthology-suite for filtering.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1476 from ShraddhaAg/update-requirements
kshtsk [Thu, 14 May 2020 00:27:06 +0000 (02:27 +0200)]
Merge pull request #1476 from ShraddhaAg/update-requirements

docs: acknowledge py2 and py3 where requirements.txt is mentioned

5 years agodocs: acknowledge py2 and py3 where requirements.txt is mentioned 1476/head
Shraddha Agrawal [Wed, 13 May 2020 22:20:33 +0000 (03:50 +0530)]
docs: acknowledge py2 and py3 where requirements.txt is mentioned

This commit removes mention of deleted file requirements.txt and
acknowledges the two separate requirements files, requirements2.txt
and requirements3.txt, for python2 and python3 respectively, in the
following files:

1. MANIFEST.in
2. docs/INSTALL.rst

5 years agosuite/run: isolate description filter code
Kyr Shatskyy [Mon, 21 Jan 2019 15:35:06 +0000 (16:35 +0100)]
suite/run: isolate description filter code

Refactor collect_jobs in order to isolate descriptions filter code
in order to make it possible to reuse it and test better.

Introduce --filter-fragment option defaults to False, to align code
logic with --filter help and documentation.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.de>
5 years agoMerge pull request #1466 from batrick/i45438
Kefu Chai [Wed, 13 May 2020 15:52:24 +0000 (23:52 +0800)]
Merge pull request #1466 from batrick/i45438

teuthology/orchestra/connection: add retry exceptions

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology-suite: improve help for --suite-dir arg
Kyr Shatskyy [Sun, 10 May 2020 15:09:23 +0000 (17:09 +0200)]
teuthology-suite: improve help for --suite-dir arg

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agosuite: schedule first and last in suite jobs once 1473/head
Kyr Shatskyy [Sun, 10 May 2020 14:36:46 +0000 (16:36 +0200)]
suite: schedule first and last in suite jobs once

Only schedule --first-in-suite and --last-in-suite jobs
once per run when --num is provided for a suite.

Fixes: https://tracker.ceph.com/issues/45520
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoteuthology/run_tasks: do not call sys.exc_clear() for clearing exception 1474/head
Kefu Chai [Wed, 13 May 2020 06:24:33 +0000 (14:24 +0800)]
teuthology/run_tasks: do not call sys.exc_clear() for clearing exception

sys.exc_clear() was removed in Python3, see
https://docs.python.org/3/whatsnew/3.0.html#index-22. so we should not
call it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology/orchestra/connection: add retry exceptions 1466/head
Patrick Donnelly [Thu, 7 May 2020 22:10:46 +0000 (15:10 -0700)]
teuthology/orchestra/connection: add retry exceptions

Typical connection errors would cause a command to fail.

Fixes: https://tracker.ceph.com/issues/45438
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>