]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
5 years agoroles/overrides, placeholder.py: add log-ignorelist 1545/head
Neha Ojha [Fri, 7 Aug 2020 16:04:55 +0000 (16:04 +0000)]
roles/overrides, placeholder.py: add log-ignorelist

Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #1531 from kshtsk/wip-autonomous
kyr [Wed, 29 Jul 2020 08:11:16 +0000 (10:11 +0200)]
Merge pull request #1531 from kshtsk/wip-autonomous

teuthology-suite: allow dump job configs to a file instead of beanstalkd

5 years agoMerge pull request #1529 from tchaikov/wip-requirements-cliff
Kefu Chai [Tue, 21 Jul 2020 11:55:58 +0000 (19:55 +0800)]
Merge pull request #1529 from tchaikov/wip-requirements-cliff

requirements.txt: bump up cliff and other packages.

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agorequirements: bump up python-openstackclient 1529/head
Kefu Chai [Wed, 15 Jul 2020 14:13:48 +0000 (22:13 +0800)]
requirements: bump up python-openstackclient

please note, some packages not related to python-openstackclient are
also updated. the reason is that, because before this change, all
packages are pin'ed to a certain version, but after this change
only the direct dependencies are pin'ed using requirements.txt,
so, if any of the direct dependencies does not pin its own dependencies
to a certain version, pip-compile will pick the latest available version
from pypi to fulfill the requirement, and generated requirements.txt
accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agorequirements.in: add requirements.in back for tracking pinned direct requirements
Kefu Chai [Wed, 15 Jul 2020 14:02:02 +0000 (22:02 +0800)]
requirements.in: add requirements.in back for tracking pinned direct requirements

and update `update-requirements.sh` to use requirements.in for building
requirements.txt

for some install_requires versus requirements.txt, see
https://packaging.python.org/discussions/install-requires-vs-requirements/.
in an ideal world, we should have not put those non-essential dependencies in
``setup.py``.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agotox.ini: force pytest to add a formatter to logger
Kefu Chai [Thu, 2 Jul 2020 10:05:25 +0000 (18:05 +0800)]
tox.ini: force pytest to add a formatter to logger

as `test_sh_progress` in `teuthology/test/test_misc.py` tries to access
LogRecord.asctime for verifying the behavior of `misc.sh()`

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoupdate-requirements.sh: pass params to pip-compile
Kefu Chai [Wed, 1 Jul 2020 08:46:17 +0000 (16:46 +0800)]
update-requirements.sh: pass params to pip-compile

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1539 from batrick/i46300
Kefu Chai [Sat, 18 Jul 2020 16:23:43 +0000 (00:23 +0800)]
Merge pull request #1539 from batrick/i46300

ignore selinux errors from ksmtuned

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoignore selinux errors from ksmtuned 1539/head
Patrick Donnelly [Fri, 17 Jul 2020 22:33:53 +0000 (15:33 -0700)]
ignore selinux errors from ksmtuned

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #1528 from kshtsk/wip-up-status
David Galloway [Thu, 16 Jul 2020 14:28:44 +0000 (10:28 -0400)]
Merge pull request #1528 from kshtsk/wip-up-status

lock/cli: show up/down status when --brief

5 years agolock/cli: show up/down status when --brief 1528/head
Kyr Shatskyy [Tue, 30 Jun 2020 17:51:45 +0000 (19:51 +0200)]
lock/cli: show up/down status when --brief

This change makes --brief option to display 'up' and 'down' statuses.

Fixes: https://tracker.ceph.com/issues/45569
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1536 from kshtsk/wip-py3-downburst
Kefu Chai [Thu, 16 Jul 2020 04:11:38 +0000 (12:11 +0800)]
Merge pull request #1536 from kshtsk/wip-py3-downburst

provision/downburst: py3 fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #1535 into master
Patrick Donnelly [Thu, 16 Jul 2020 01:28:27 +0000 (18:28 -0700)]
Merge PR #1535 into master

* refs/pull/1535/head:
orchestra/remote: increase console timeout

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoprovision/downburst: py3 fixes 1536/head
Kyr Shatskyy [Wed, 15 Jul 2020 21:11:08 +0000 (23:11 +0200)]
provision/downburst: py3 fixes

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoorchestra/remote: increase console timeout 1535/head
Patrick Donnelly [Mon, 13 Jul 2020 17:14:20 +0000 (10:14 -0700)]
orchestra/remote: increase console timeout

20s appears too short for some fog operations.

Fixes: https://tracker.ceph.com/issues/46503
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #1534 from ceph/wip-defaults
David Galloway [Thu, 9 Jul 2020 16:53:03 +0000 (12:53 -0400)]
Merge pull request #1534 from ceph/wip-defaults

suite/util.py: Update Ubuntu default to Xenial

5 years agosuite/util.py: Update Ubuntu default to Xenial 1534/head
David Galloway [Thu, 9 Jul 2020 15:30:16 +0000 (11:30 -0400)]
suite/util.py: Update Ubuntu default to Xenial

This will need to change to Bionic when we stop supporting luminous or must test Octopus.

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge pull request #1532 from kshtsk/wip-ignore-git
Kefu Chai [Wed, 8 Jul 2020 11:45:46 +0000 (19:45 +0800)]
Merge pull request #1532 from kshtsk/wip-ignore-git

teuthology: don't use git to define version for released teuthology

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoteuthology: don't use git to define version for released teuthology 1532/head
Kyr Shatskyy [Tue, 7 Jul 2020 16:45:11 +0000 (18:45 +0200)]
teuthology: don't use git to define version for released teuthology

After installing teuthology using pip there can be found error messages
in the log when running any command, for example 'teuthology --version':

  fatal: not a git repository (or any parent up to mount point /)
  Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
  Can't get version from git rev-parse Command '['git', 'rev-parse', '--short', 'HEAD']' returned non-zero exit status 128.
  1.0.0

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agosuite/run: include 'user' and 'timestamp' in job conf 1531/head
Kyr Shatskyy [Tue, 12 May 2020 15:02:26 +0000 (17:02 +0200)]
suite/run: include 'user' and 'timestamp' in job conf

This is useful to avoid unnecessary parsing of job name in order
to get run user and timestamp.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoschedule: add more than one queue backend
Kyr Shatskyy [Sun, 10 May 2020 15:01:21 +0000 (17:01 +0200)]
schedule: add more than one queue backend

This allows to have more than one beanstalk queue for jobs.
For example, use paddles or local sqlite for managing queue.

At the moment it gives a possibility to omit 'beanstalk'
queue in order to get job configurations letting a user
to run teuthology job autonomously.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoschedule: print yaml_dump instead of pprint
Kyr Shatskyy [Sun, 10 May 2020 12:20:33 +0000 (14:20 +0200)]
schedule: print yaml_dump instead of pprint

This will allow to redirect output of dry-run to a file
which will produce a multi-document yaml, and can be
parsed easily afterwards.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agosuite: allow override architecture
Kyr Shatskyy [Sun, 10 May 2020 14:45:09 +0000 (16:45 +0200)]
suite: allow override architecture

By default for generation job configuration and filtering
them out there is 'arch' field is used determined automatically
via request to paddles database for give machine_type.

This makes it possible to override the 'arch' value with
teuthology-suite '--arch' parameter. This is only useful
at the moment just when a user don't one to make any request
to paddles.
Originally the arch is used to filter out the suites
which are not supposed to be queued on the given nodes.

In future we probably need to have tests with heterogeneous
configuration which will use multiple architectures.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1530 from shyukri/wip-py3-exception-msg
kyr [Mon, 6 Jul 2020 12:33:24 +0000 (14:33 +0200)]
Merge pull request #1530 from shyukri/wip-py3-exception-msg

run_tasks.py: Python3 don't have exception.message anymore

5 years agorun_tasks.py: Python3 don't have exception.message anymore. 1530/head
Shyukri Shyukriev [Mon, 6 Jul 2020 08:08:30 +0000 (11:08 +0300)]
run_tasks.py: Python3 don't have exception.message anymore.

This was probably working fine due to six library which was removed
recently: https://github.com/ceph/teuthology/commit/9f99b9298265be583c350c71de47109bac4bf6f1

Error seen:

```
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/worker/src/github.com_ceph_teuthology_master/teuthology/contextutil.py", line 33, in nested
    yield vars
  File "/home/worker/src/github.com_ceph_teuthology_master/teuthology/task/install/__init__.py", line 612, in task
    yield
  File "/home/worker/src/github.com_ceph_teuthology_master/teuthology/run_tasks.py", line 151, in run_tasks
    if e.message == 'too many values to unpack':
AttributeError: 'ValueError' object has no attribute 'message'
```

Signed-off-by: Shyukri Shyukriev <shshyukriev@suse.com>
5 years agoMerge pull request #1527 from smithfarm/wip-opensuse-kernel-distro
Nathan Cutler [Fri, 3 Jul 2020 14:58:36 +0000 (16:58 +0200)]
Merge pull request #1527 from smithfarm/wip-opensuse-kernel-distro

kernel: add kernel version matching code for opensuse

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.de>
5 years agokernel: add kernel version matching code for opensuse 1527/head
Nathan Cutler [Tue, 30 Jun 2020 12:14:45 +0000 (14:14 +0200)]
kernel: add kernel version matching code for opensuse

The current code for checking if the running kernel version matches the
most recent kernel version in the repos does not work on opensuse when
"-k distro" is given.

This commit adds an opensuse-specific codepath with a version match
check that works in the opensuse testing environment.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #1526 from kshtsk/wip-reimage
Vasu Kulkarni [Wed, 1 Jul 2020 15:38:48 +0000 (08:38 -0700)]
Merge pull request #1526 from kshtsk/wip-reimage

scripts: add reimage cli tool

5 years agoscripts: add cli tools for reimaging nodes without locking 1526/head
Vasu Kulkarni [Thu, 24 Jan 2019 21:47:58 +0000 (13:47 -0800)]
scripts: add cli tools for reimaging nodes without locking

Add teuthology-reimage cli tool to be able to provision nodes using
Fog or Pelagos without locking and unlocking.

This is useful, for example, when someone just locks the node for
development or debugging purposes and do not want to release while
resetting the image, because it can happen that there are no free
nodes available.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
5 years agoprovision/pelagos: allow decanonicalized name in constructor
Kyr Shatskyy [Tue, 30 Jun 2020 13:41:32 +0000 (15:41 +0200)]
provision/pelagos: allow decanonicalized name in constructor

This is actually a bug fix for pelagos class, because fog's
name constructor supposed to use decanonicalized hostname.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1472 from kshtsk/wip-dont-report-status
Kefu Chai [Tue, 30 Jun 2020 15:39:14 +0000 (23:39 +0800)]
Merge pull request #1472 from kshtsk/wip-dont-report-status

schedule: do not report status for first and last in suite jobs

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1525 from kshtsk/wip-journalctl-suffix
kyr [Tue, 30 Jun 2020 14:45:15 +0000 (16:45 +0200)]
Merge pull request #1525 from kshtsk/wip-journalctl-suffix

orchestra/daemon/cephadmunit: add journalctl suffix

5 years agoMerge pull request #1432 from grapheo12/scrapeAddition
kyr [Sat, 27 Jun 2020 10:01:43 +0000 (12:01 +0200)]
Merge pull request #1432 from grapheo12/scrapeAddition

Added Results Scraping after a suite is run

5 years agoAdded Scraper Script from github.com/jcsp/scrape with tests 1432/head
grapheo12 [Sun, 29 Mar 2020 16:56:33 +0000 (22:26 +0530)]
Added Scraper Script from github.com/jcsp/scrape with tests

Signed-off-by: Shubham Mishra <smishra99.iitkgp@gmail.com>
5 years agoMerge pull request #1523 from kshtsk/wip-check-repos
kyr [Thu, 25 Jun 2020 21:23:59 +0000 (23:23 +0200)]
Merge pull request #1523 from kshtsk/wip-check-repos

task/install: add check for repos

5 years agotask/install: add mention of 'repos' in task doc 1523/head
Kyr Shatskyy [Wed, 24 Jun 2020 12:48:42 +0000 (14:48 +0200)]
task/install: add mention of 'repos' in task doc

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agotask/install/rpm: verify zypper repo is valid
Kyr Shatskyy [Wed, 24 Jun 2020 12:33:19 +0000 (14:33 +0200)]
task/install/rpm: verify zypper repo is valid

Add zypper ref right after addrepo so we can fail
earlier when remote repo is gone or has any issues.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoorchestra/daemon/cephadmunit: add journalctl suffix 1525/head
Kyr Shatskyy [Thu, 25 Jun 2020 16:30:27 +0000 (18:30 +0200)]
orchestra/daemon/cephadmunit: add journalctl suffix

The logger is running in background and the output is mixed
with other loggers. Adding a recognizable suffix will
help to distinguish logging threads.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1511 from ceph/dependabot/pip/httplib2-0.18.0
kyr [Thu, 25 Jun 2020 13:04:53 +0000 (15:04 +0200)]
Merge pull request #1511 from ceph/dependabot/pip/httplib2-0.18.0

build(deps-dev): bump httplib2 from 0.10.3 to 0.18.0

5 years agoMerge pull request #1512 from ceph/dependabot/pip/psutil-5.6.6
kyr [Thu, 25 Jun 2020 13:04:36 +0000 (15:04 +0200)]
Merge pull request #1512 from ceph/dependabot/pip/psutil-5.6.6

build(deps): bump psutil from 5.2.2 to 5.6.6

5 years agoMerge pull request #1513 from ceph/dependabot/pip/ansible-2.8.8
kyr [Thu, 25 Jun 2020 13:04:20 +0000 (15:04 +0200)]
Merge pull request #1513 from ceph/dependabot/pip/ansible-2.8.8

build(deps): bump ansible from 2.8.2 to 2.8.8

5 years agoschedule: do not report status for first and last in suite jobs 1472/head
Kyr Shatskyy [Tue, 12 May 2020 16:27:49 +0000 (18:27 +0200)]
schedule: do not report status for first and last in suite jobs

Addresses the issue when teuthology run gets stuck with
first_in_suite or laste_in_suite jobs in queued state.

Attention: This change requires the next steps,
which are not mutually exclusive:

 1) server teuthology worker restart, otherwise old
    worker's code will try to remove reported job
    from paddles and exit with unexpected exception.
 2) user's teuthology runner environment should be
    updated to recent code, because new workers will
    not cleanup FIS and LIS jobs and they will remain
    in paddles, correspondingly the run will get stuck.

Requires: a34fb6a3694538db8496b3bc599c3e62b9acaca6

Fixes: http://tracker.ceph.com/issues/43291
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1524 from kshtsk/fix-worker-crash-on-try-job-delete
kyr [Thu, 25 Jun 2020 10:39:35 +0000 (12:39 +0200)]
Merge pull request #1524 from kshtsk/fix-worker-crash-on-try-job-delete

Fix worker crash on report.try_delete_jobs

5 years agoMerge pull request #1518 from sunilkumarn417/fix-regex
Vasu Kulkarni [Thu, 25 Jun 2020 01:51:53 +0000 (18:51 -0700)]
Merge pull request #1518 from sunilkumarn417/fix-regex

Fix regex for 'ps -ef' in SystemDState::pid()

5 years agobuild(deps-dev): bump httplib2 from 0.10.3 to 0.18.0 1511/head
dependabot[bot] [Wed, 24 Jun 2020 22:17:11 +0000 (22:17 +0000)]
build(deps-dev): bump httplib2 from 0.10.3 to 0.18.0

Bumps [httplib2](https://github.com/httplib2/httplib2) from 0.10.3 to 0.18.0.
- [Release notes](https://github.com/httplib2/httplib2/releases)
- [Changelog](https://github.com/httplib2/httplib2/blob/master/CHANGELOG)
- [Commits](https://github.com/httplib2/httplib2/compare/v0.10.3...v0.18.0)

Signed-off-by: dependabot[bot] <support@github.com>
5 years agobuild(deps): bump ansible from 2.8.2 to 2.8.8 1513/head
dependabot[bot] [Wed, 24 Jun 2020 22:16:39 +0000 (22:16 +0000)]
build(deps): bump ansible from 2.8.2 to 2.8.8

Bumps [ansible](https://github.com/ansible/ansible) from 2.8.2 to 2.8.8.
- [Release notes](https://github.com/ansible/ansible/releases)
- [Commits](https://github.com/ansible/ansible/compare/v2.8.2...v2.8.8)

Signed-off-by: dependabot[bot] <support@github.com>
5 years agobuild(deps): bump psutil from 5.2.2 to 5.6.6 1512/head
dependabot[bot] [Wed, 24 Jun 2020 22:16:09 +0000 (22:16 +0000)]
build(deps): bump psutil from 5.2.2 to 5.6.6

Bumps [psutil](https://github.com/giampaolo/psutil) from 5.2.2 to 5.6.6.
- [Release notes](https://github.com/giampaolo/psutil/releases)
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](https://github.com/giampaolo/psutil/compare/release-5.2.2...release-5.6.6)

Signed-off-by: dependabot[bot] <support@github.com>
5 years agoMerge pull request #1515 from tchaikov/wip-requirements.in
Kefu Chai [Wed, 24 Jun 2020 16:50:09 +0000 (00:50 +0800)]
Merge pull request #1515 from tchaikov/wip-requirements.in

drop requirements.in

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
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 agoorchestra/daemon/systemd: fix proc_regex in pid() method 1518/head
sunilkumarn417 [Fri, 19 Jun 2020 08:14:54 +0000 (13:44 +0530)]
orchestra/daemon/systemd: fix proc_regex in pid() method

Signed-off-by: sunilkumarn417 <sunnagar@redhat.com>
5 years agodocs/INSTALL.rst: drop python2 related bits 1515/head
Kefu Chai [Wed, 24 Jun 2020 10:08:27 +0000 (18:08 +0800)]
docs/INSTALL.rst: drop python2 related bits

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agodrop requirements.in
Kefu Chai [Fri, 19 Jun 2020 07:59:49 +0000 (15:59 +0800)]
drop requirements.in

dependabot adds an entry in generated requirements.txt like
```
-e file:///home/dependabot/dependabot-updater/tmp/dependabot_20200617-72-1n8af4b  # via -r requirements.in
```

this is expected. as dependabot does not read docs/INSTALL.rst, hence
failed to apply
```
sed '/^-e / d' to the generated file.

instead of teaching dependabot to read the manual, it's simpler
just ditch requirements.in .

see also #1367

* update-requirements.sh: add a helper script for updating
  requirements.txt
* requirements.in: removed
* docs/INSTALL.rst: updated to point user to the new
  helper script

Signed-off-by: Kefu Chai <kchai@redhat.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>