]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
3 years agoModernized versioning
Zack Cerza [Thu, 31 Mar 2022 19:32:14 +0000 (15:32 -0400)]
Modernized versioning

Using setuptools_scm; we can automatically generate version numbers
instead of using this odd combination of hardcoding and running git
commands. This method is faster as well.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoRemove references to teuth_bin_path
Zack Cerza [Fri, 1 Apr 2022 18:33:25 +0000 (14:33 -0400)]
Remove references to teuth_bin_path

This effectively hardcoded the path to the virtualenv we'll use, which
aside from being bad generally, also prevented us from supporting
absolute-pathed virtualenvs.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agobootstrap: Allow absolute-path $VENV
Zack Cerza [Fri, 1 Apr 2022 18:01:32 +0000 (14:01 -0400)]
bootstrap: Allow absolute-path $VENV

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agobootstrap: Drop virtualenv in favor of venv
Zack Cerza [Fri, 1 Apr 2022 17:14:28 +0000 (13:14 -0400)]
bootstrap: Drop virtualenv in favor of venv

We don't need it, and if it is present, setuptools will use
easy_install instead of building wheels.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agobootstrap: Install 'test' extras
Zack Cerza [Thu, 31 Mar 2022 21:32:43 +0000 (17:32 -0400)]
bootstrap: Install 'test' extras

So that we can use the 'tests' task.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agorun_tasks: Do not mask missing task dependencies
Zack Cerza [Fri, 1 Apr 2022 15:14:42 +0000 (11:14 -0400)]
run_tasks: Do not mask missing task dependencies

While doing packaging work, I noticed that teuthology began claiming it
couldn't find the 'tests' task. After some slightly painful debugging I
realized the issue was that the task was trying to import pytest, which
wasn't installed. The ModuleNotFoundError that was being raised was
being confused with the exception that would be raised if the task
couldn't be found at all. With this change, we see the root cause.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask.tests: Update pytest_runtest_makereport
Zack Cerza [Thu, 31 Mar 2022 20:29:16 +0000 (16:29 -0400)]
task.tests: Update pytest_runtest_makereport

And fix a typo

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agobootstrap: Drop python2 support
Zack Cerza [Thu, 31 Mar 2022 19:43:25 +0000 (15:43 -0400)]
bootstrap: Drop python2 support

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotox.ini: Set isolated_build
Zack Cerza [Fri, 18 Mar 2022 19:02:10 +0000 (13:02 -0600)]
tox.ini: Set isolated_build

This also requires us to re-add mock to the py3 env.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoTestOpenStackBase.setup: Remove arguments
Zack Cerza [Fri, 18 Mar 2022 18:55:46 +0000 (12:55 -0600)]
TestOpenStackBase.setup: Remove arguments

In newer py.test versions, the test method itself was being passed as
the conf arg, causing errors. We don't even use it, so remove it.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoTolerate a missing manhole package
Zack Cerza [Fri, 18 Mar 2022 18:51:55 +0000 (12:51 -0600)]
Tolerate a missing manhole package

The vast majority of users won't ever need this.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMANIFEST.in: Add tox.ini and pytest.ini
Zack Cerza [Fri, 18 Mar 2022 18:51:34 +0000 (12:51 -0600)]
MANIFEST.in: Add tox.ini and pytest.ini

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoReplace setup.py with setup.cfg and pyproject.toml
Zack Cerza [Thu, 17 Mar 2022 23:34:59 +0000 (17:34 -0600)]
Replace setup.py with setup.cfg and pyproject.toml

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1734 from ceph/dependabot/pip/paramiko-2.10.1
kyr [Tue, 5 Apr 2022 17:55:51 +0000 (19:55 +0200)]
Merge pull request #1734 from ceph/dependabot/pip/paramiko-2.10.1

build(deps): bump paramiko from 2.7.2 to 2.10.1

3 years agobuild(deps): bump paramiko from 2.7.2 to 2.10.1 1734/head
dependabot[bot] [Tue, 29 Mar 2022 22:04:48 +0000 (22:04 +0000)]
build(deps): bump paramiko from 2.7.2 to 2.10.1

Bumps [paramiko](https://github.com/paramiko/paramiko) from 2.7.2 to 2.10.1.
- [Release notes](https://github.com/paramiko/paramiko/releases)
- [Changelog](https://github.com/paramiko/paramiko/blob/main/NEWS)
- [Commits](https://github.com/paramiko/paramiko/compare/2.7.2...2.10.1)

---
updated-dependencies:
- dependency-name: paramiko
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #1726 from ceph/bs-mac-noauto
Zack Cerza [Tue, 29 Mar 2022 18:29:12 +0000 (12:29 -0600)]
Merge pull request #1726 from ceph/bs-mac-noauto

bootstrap: Don't auto-install on Mac

3 years agoMerge pull request #1727 from ceph/docker-compose
Zack Cerza [Tue, 29 Mar 2022 18:07:03 +0000 (12:07 -0600)]
Merge pull request #1727 from ceph/docker-compose

docker-compose: Use containerized testnodes to run the teuthology suite

3 years agodocker-compose: Update readme 1727/head
Zack Cerza [Thu, 24 Mar 2022 23:11:18 +0000 (17:11 -0600)]
docker-compose: Update readme

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Increase paddles' check time
Zack Cerza [Mon, 28 Mar 2022 21:11:25 +0000 (15:11 -0600)]
docker-compose: Increase paddles' check time

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Separate build contexts
Zack Cerza [Mon, 28 Mar 2022 21:05:37 +0000 (15:05 -0600)]
docker-compose: Separate build contexts

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Allow different custom config
Zack Cerza [Fri, 25 Mar 2022 21:41:33 +0000 (15:41 -0600)]
docker-compose: Allow different custom config

When using "real" testnodes, we should not use the custom config we've
been using for containerized nodes. When using "real" testnodes, default
 to not using one, but allow specifying a path in $CUSTOM_CONF.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoteuthology-update-inventory: Add machine type flag
Zack Cerza [Fri, 25 Mar 2022 20:25:02 +0000 (14:25 -0600)]
teuthology-update-inventory: Add machine type flag

With this change, the tool can be trivially used to add new nodes to
paddles.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile: Write SSH key stubs later in build
Zack Cerza [Fri, 25 Mar 2022 19:24:52 +0000 (13:24 -0600)]
Dockerfile: Write SSH key stubs later in build

We'd rather duplicate this layer than the package-install layer if a
user is going to use both containerized testnodes and "real" ones.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Optionally use an inventory repo
Zack Cerza [Fri, 25 Mar 2022 17:11:38 +0000 (11:11 -0600)]
docker-compose: Optionally use an inventory repo

This is being added to support "real" testnodes without having to
manually copy inventory fragments over.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agostart.sh: Don't double-clone teuthology
Zack Cerza [Fri, 25 Mar 2022 16:26:24 +0000 (10:26 -0600)]
start.sh: Don't double-clone teuthology

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Optionally use an existing SSH key
Zack Cerza [Thu, 24 Mar 2022 23:10:33 +0000 (17:10 -0600)]
docker-compose: Optionally use an existing SSH key

This will only work with "real" testnodes; with containerized testnodes
there's no reason not to use a generated key.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Populate "real" testnodes
Zack Cerza [Thu, 24 Mar 2022 23:11:11 +0000 (17:11 -0600)]
docker-compose: Populate "real" testnodes

... if we're using them, that is.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile: Fix old typo
Zack Cerza [Fri, 25 Mar 2022 17:14:13 +0000 (11:14 -0600)]
Dockerfile: Fix old typo

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agostart.sh: Copy config files more consistently
Zack Cerza [Thu, 24 Mar 2022 23:09:59 +0000 (17:09 -0600)]
start.sh: Copy config files more consistently

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Exit after jobs are done
Zack Cerza [Mon, 21 Mar 2022 19:39:57 +0000 (13:39 -0600)]
docker-compose: Exit after jobs are done

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodispatcher: Optionally exit when queue is empty
Zack Cerza [Tue, 22 Mar 2022 01:38:04 +0000 (19:38 -0600)]
dispatcher: Optionally exit when queue is empty

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agosupervisor: Return job's return code
Zack Cerza [Mon, 21 Mar 2022 23:44:34 +0000 (17:44 -0600)]
supervisor: Return job's return code

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoAdd 'integration' GitHub Action
Zack Cerza [Mon, 21 Mar 2022 16:20:57 +0000 (10:20 -0600)]
Add 'integration' GitHub Action

This will use our recent docker-compose work.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agostart.sh: Use current branch by default
Zack Cerza [Mon, 21 Mar 2022 16:47:12 +0000 (10:47 -0600)]
start.sh: Use current branch by default

Since the main use-case for this work at the moment is self-testing
teuthology, let's make it easy to test the same branch that's being
worked on.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoteuthology.sh: Use the teuthology:no-ceph suite
Zack Cerza [Wed, 26 Jan 2022 16:39:10 +0000 (09:39 -0700)]
teuthology.sh: Use the teuthology:no-ceph suite

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotestnode: Install apache2 and nfs
Zack Cerza [Mon, 14 Feb 2022 19:25:11 +0000 (12:25 -0700)]
testnode: Install apache2 and nfs

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose.yml: Force testnode arch
Zack Cerza [Fri, 4 Feb 2022 00:50:41 +0000 (17:50 -0700)]
docker-compose.yml: Force testnode arch

I initially worked on this on an M1 Mac, and that caused problems with
scheduling due to a lack of aarch64 packages. The M1 can run amd64
images, though.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotestnode: Add stop script
Zack Cerza [Fri, 4 Feb 2022 00:04:59 +0000 (17:04 -0700)]
testnode: Add stop script

So that each container marks itself down before stopping.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotestnode.sh: Retry submitting to paddles
Zack Cerza [Fri, 4 Feb 2022 00:03:07 +0000 (17:03 -0700)]
testnode.sh: Retry submitting to paddles

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile-testnode: Switch to Ubuntu
Zack Cerza [Fri, 4 Feb 2022 00:02:21 +0000 (17:02 -0700)]
Dockerfile-testnode: Switch to Ubuntu

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agonuke: In containers, simply kill sshd
Zack Cerza [Wed, 2 Feb 2022 02:07:53 +0000 (19:07 -0700)]
nuke: In containers, simply kill sshd

At least with the testnode containers I'm working on at the moment,
this appears to be the best way to shut them down from inside.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agostart.sh: Copy conf files into container
Zack Cerza [Wed, 26 Jan 2022 16:40:10 +0000 (09:40 -0700)]
start.sh: Copy conf files into container

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose.yml: Use three testnodes
Zack Cerza [Wed, 26 Jan 2022 16:38:50 +0000 (09:38 -0700)]
docker-compose.yml: Use three testnodes

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile-testnode: Install Python packages
Zack Cerza [Tue, 25 Jan 2022 19:04:15 +0000 (12:04 -0700)]
Dockerfile-testnode: Install Python packages

These are needed by ansible

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoteuthology.sh: Use absolute paths
Zack Cerza [Tue, 25 Jan 2022 18:47:28 +0000 (11:47 -0700)]
teuthology.sh: Use absolute paths

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years ago.gitignore: Ignore more built docs
Zack Cerza [Tue, 25 Jan 2022 18:45:29 +0000 (11:45 -0700)]
.gitignore: Ignore more built docs

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Add .dockerignore
Zack Cerza [Tue, 25 Jan 2022 18:44:52 +0000 (11:44 -0700)]
docker-compose: Add .dockerignore

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years ago.teuthology.yaml: Use absolute paths
Zack Cerza [Tue, 25 Jan 2022 18:43:56 +0000 (11:43 -0700)]
.teuthology.yaml: Use absolute paths

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Add custom_conf.yaml
Zack Cerza [Thu, 20 Jan 2022 21:23:05 +0000 (14:23 -0700)]
docker-compose: Add custom_conf.yaml

This will be merged into generated job configs.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile: Split out entrypoint to teuthology.sh
Zack Cerza [Thu, 20 Jan 2022 19:47:47 +0000 (12:47 -0700)]
Dockerfile: Split out entrypoint to teuthology.sh

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Add testnode_sudoers
Zack Cerza [Thu, 20 Jan 2022 19:05:17 +0000 (12:05 -0700)]
docker-compose: Add testnode_sudoers

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile: Perform teuth setup later in process
Zack Cerza [Mon, 17 Jan 2022 21:02:54 +0000 (14:02 -0700)]
Dockerfile: Perform teuth setup later in process

Should greatly reduce the frequency of package installs during image
rebuilds.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile: Set up SSH client incl. generated key
Zack Cerza [Fri, 14 Jan 2022 22:55:09 +0000 (15:55 -0700)]
Dockerfile: Set up SSH client incl. generated key

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Add .teuthology.yaml
Zack Cerza [Wed, 12 Jan 2022 18:45:19 +0000 (11:45 -0700)]
docker-compose: Add .teuthology.yaml

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agostart.sh: Generate an SSH keypair
Zack Cerza [Wed, 12 Jan 2022 18:45:19 +0000 (11:45 -0700)]
start.sh: Generate an SSH keypair

We'll use a fresh keypair for each invocation.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Add containerized testnode
Zack Cerza [Wed, 12 Jan 2022 18:45:19 +0000 (11:45 -0700)]
docker-compose: Add containerized testnode

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile: Run bootstrap during build
Zack Cerza [Fri, 14 Jan 2022 22:56:54 +0000 (15:56 -0700)]
Dockerfile: Run bootstrap during build

This saves quite a bit of time

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile: Reformat for better readability
Zack Cerza [Wed, 12 Jan 2022 18:45:19 +0000 (11:45 -0700)]
Dockerfile: Reformat for better readability

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agolock_many: Include username in target keys
Zack Cerza [Fri, 14 Jan 2022 20:21:34 +0000 (13:21 -0700)]
lock_many: Include username in target keys

So that we can actually support different usernames per node.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1731 from kamoltat/wip-sphinx
Zack Cerza [Mon, 28 Mar 2022 21:20:58 +0000 (15:20 -0600)]
Merge pull request #1731 from kamoltat/wip-sphinx

docs/requirements.txt: bump sphinx to 4.4.0

3 years agodocs/requirements.txt: bump sphinx to 4.4.0 1731/head
Kamoltat Sirivadhna [Mon, 28 Mar 2022 20:47:44 +0000 (16:47 -0400)]
docs/requirements.txt: bump sphinx to 4.4.0

bump sphinx to latest stable

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
3 years agoMerge pull request #1728 from kamoltat/wip-ksirivad-fix-docker-compose
Kamoltat Sirivadhna [Thu, 24 Mar 2022 14:02:13 +0000 (10:02 -0400)]
Merge pull request #1728 from kamoltat/wip-ksirivad-fix-docker-compose

docs/docker-compose: paddles use quay.io image
Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
3 years agodocs/docker-compose: paddles use quay.io image 1728/head
Kamoltat Sirivadhna [Thu, 24 Mar 2022 05:21:34 +0000 (01:21 -0400)]
docs/docker-compose: paddles use quay.io image

paddles use quay.io

docker-compose.yaml: teuthology depends on healthy
paddles rather pulpito

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
3 years agobootstrap: Don't auto-install on Mac 1726/head
Zack Cerza [Fri, 18 Mar 2022 22:29:03 +0000 (16:29 -0600)]
bootstrap: Don't auto-install on Mac

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1725 from ceph/fix-clock
Zack Cerza [Fri, 18 Mar 2022 22:12:03 +0000 (16:12 -0600)]
Merge pull request #1725 from ceph/fix-clock

task.clock: Fix call to filter_out_containers()

3 years agotask.clock: Fix call to filter_out_containers() 1725/head
Zack Cerza [Fri, 18 Mar 2022 22:02:06 +0000 (16:02 -0600)]
task.clock: Fix call to filter_out_containers()

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1722 from ceph/task-skips-container
Zack Cerza [Fri, 18 Mar 2022 18:13:15 +0000 (12:13 -0600)]
Merge pull request #1722 from ceph/task-skips-container

Skip various operations on containerized testnodes

3 years agonuke: Don't attempt to nuke downed nodes 1722/head
Zack Cerza [Tue, 8 Feb 2022 19:45:47 +0000 (12:45 -0700)]
nuke: Don't attempt to nuke downed nodes

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask.internal.syslog: Skip container nodes
Zack Cerza [Wed, 26 Jan 2022 16:57:01 +0000 (09:57 -0700)]
task.internal.syslog: Skip container nodes

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask.clock: Skip containerized testnodes
Zack Cerza [Tue, 25 Jan 2022 18:20:56 +0000 (11:20 -0700)]
task.clock: Skip containerized testnodes

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1724 from ceph/update-reqs
Zack Cerza [Thu, 17 Mar 2022 23:03:45 +0000 (17:03 -0600)]
Merge pull request #1724 from ceph/update-reqs

Update some requirements

3 years agoMerge pull request #1720 from ceph/teuth-suite
Zack Cerza [Thu, 17 Mar 2022 18:11:20 +0000 (12:11 -0600)]
Merge pull request #1720 from ceph/teuth-suite

Revive the 'test' task, used by the 'teuthology' suite

3 years agotask.tests Run unit tests 1720/head
Zack Cerza [Thu, 3 Mar 2022 19:44:10 +0000 (12:44 -0700)]
task.tests Run unit tests

In addition to the six tests we were running, let's add the ~six
hundred unit tests we've added over the years.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotest_run: Skip a test if running in teuth process
Zack Cerza [Thu, 3 Mar 2022 21:35:53 +0000 (14:35 -0700)]
test_run: Skip a test if running in teuth process

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoAdd skipif_teuthology_process
Zack Cerza [Fri, 4 Mar 2022 19:08:42 +0000 (12:08 -0700)]
Add skipif_teuthology_process

There are a couple unit tests that seem to be fundamentally unable to
be used properly if they are run as part of a teuthology process, as
opposed to directly inside py.test. This fixture makes it easy to skip
those tests in such an environment without skipping them elsewhere.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask.tests: Use job_status module
Zack Cerza [Thu, 3 Mar 2022 21:08:57 +0000 (14:08 -0700)]
task.tests: Use job_status module

Previously this task had an embarrassing "status=fail, success=true"
bug.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoTeuthologyContextPlugin: Parametrize conditionally
Zack Cerza [Thu, 3 Mar 2022 20:22:05 +0000 (13:22 -0700)]
TeuthologyContextPlugin: Parametrize conditionally

So that this plugin can be compatible with our unit tests.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agorequirements: Add mock; update py.test
Zack Cerza [Thu, 3 Mar 2022 20:05:54 +0000 (13:05 -0700)]
requirements: Add mock; update py.test

While it'd be technically more correct to split these out into dev
requirements, I think a little bit of an overhaul of our bootstrap
process overdue. We can save that work for then. For now, this smooths
a kink in the docker-compose work we're doing.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoUpdate ansible 1724/head
Zack Cerza [Wed, 16 Mar 2022 21:49:22 +0000 (15:49 -0600)]
Update ansible

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoUpdate requests
Zack Cerza [Wed, 16 Mar 2022 21:48:12 +0000 (15:48 -0600)]
Update requests

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoUpdate s3transfer
Zack Cerza [Wed, 16 Mar 2022 21:47:56 +0000 (15:47 -0600)]
Update s3transfer

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoUpdate boto3
Zack Cerza [Wed, 16 Mar 2022 21:47:24 +0000 (15:47 -0600)]
Update boto3

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1703 from ceph/wip-53853
Josh Durgin [Wed, 16 Mar 2022 21:53:14 +0000 (14:53 -0700)]
Merge pull request #1703 from ceph/wip-53853

kill: Check if sudo works before using it

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agokill: Check if sudo works before using it 1703/head
Zack Cerza [Wed, 12 Jan 2022 19:21:27 +0000 (12:21 -0700)]
kill: Check if sudo works before using it

Also, use sudo's -n flag to avoid the password prompt and resulting
delay.

Fixes: https://tracker.ceph.com/issues/53853
Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1723 from ceph/wip-standalone
Zack Cerza [Fri, 11 Mar 2022 23:21:25 +0000 (16:21 -0700)]
Merge pull request #1723 from ceph/wip-standalone

fixes for running non-scheduled jobs

3 years agotask/ansible: check for archive before using it 1723/head
Josh Durgin [Mon, 7 Mar 2022 18:47:33 +0000 (18:47 +0000)]
task/ansible: check for archive before using it

Running a non-scheduled job you may not have archiving configured.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
3 years agorun: make fetching tasks work for non-scheduled jobs
Josh Durgin [Mon, 7 Mar 2022 18:34:36 +0000 (18:34 +0000)]
run: make fetching tasks work for non-scheduled jobs

The qa path should be the default (just like it's set by
teuthology-suite), and we actually need to do the import to access the
tasks.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #1721 from ceph/more-tox-gha
Kamoltat Sirivadhna [Wed, 9 Mar 2022 17:36:40 +0000 (12:36 -0500)]
Merge pull request #1721 from ceph/more-tox-gha

github actions: Run docs build during CI
Reviewed-by: Zack Cerza zack@redhat.com
3 years agotask.selinux: Exclude container nodes
Zack Cerza [Mon, 17 Jan 2022 23:37:39 +0000 (16:37 -0700)]
task.selinux: Exclude container nodes

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask.internal: Skip coredump on containers
Zack Cerza [Mon, 17 Jan 2022 20:38:41 +0000 (13:38 -0700)]
task.internal: Skip coredump on containers

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask/kernel: Skip if running in a container
Zack Cerza [Mon, 17 Jan 2022 19:29:06 +0000 (12:29 -0700)]
task/kernel: Skip if running in a container

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoSkip reimaging on unsupported machine types
Zack Cerza [Fri, 14 Jan 2022 19:50:49 +0000 (12:50 -0700)]
Skip reimaging on unsupported machine types

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agogithub actions: Run docs build during CI 1721/head
Zack Cerza [Fri, 4 Mar 2022 22:29:49 +0000 (15:29 -0700)]
github actions: Run docs build during CI

If we do this, we can drop the Jenkins job. The openstack tests are
currently all skipped, so we can just leave them out for now.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask.tests: Fix reference to python binary
Zack Cerza [Wed, 2 Mar 2022 23:39:13 +0000 (16:39 -0700)]
task.tests: Fix reference to python binary

It was trying to use `python` as opposed to `python3`.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask.tests: Fix StringIO import
Zack Cerza [Wed, 2 Mar 2022 22:11:54 +0000 (15:11 -0700)]
task.tests: Fix StringIO import

It's in the io module now.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoTeuthologyContextPlugin: Remove pytest_configure()
Zack Cerza [Wed, 2 Mar 2022 23:40:06 +0000 (16:40 -0700)]
TeuthologyContextPlugin: Remove pytest_configure()

The reason for this method's behavior here is no longer valid. Also, it
prevents any output from being logged.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1715 from ceph/pynacl
Josh Durgin [Wed, 2 Mar 2022 18:20:55 +0000 (10:20 -0800)]
Merge pull request #1715 from ceph/pynacl

Update pynacl

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #1714 from ceph/ui-connect
Josh Durgin [Wed, 2 Mar 2022 18:19:56 +0000 (10:19 -0800)]
Merge pull request #1714 from ceph/ui-connect

teuthology-update-inventory: Call Remote.connect()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #1712 from ceph/remote-is-container
Josh Durgin [Wed, 2 Mar 2022 18:19:07 +0000 (10:19 -0800)]
Merge pull request #1712 from ceph/remote-is-container

Remote: Add is_container property

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #1718 from kamoltat/wip-ksirivad-dispatcher-notes-doc
Kamoltat Sirivadhna [Mon, 28 Feb 2022 16:07:36 +0000 (11:07 -0500)]
Merge pull request #1718 from kamoltat/wip-ksirivad-dispatcher-notes-doc

docs: add dispatcher trouble-shooting notes
Reviewed by: Aishwarya Mathuria <amathuri@redhat.com>