]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
2 years agosystemd test devstack-dispatcher
Zack Cerza [Mon, 20 Feb 2023 21:31:48 +0000 (14:31 -0700)]
systemd test

2 years agoRevert "testnode: try centos9 again"
Zack Cerza [Fri, 27 Jan 2023 19:43:35 +0000 (12:43 -0700)]
Revert "testnode: try centos9 again"

This reverts commit fc94a550e4c426faae9bba4631d476221f242630.

2 years agotestnode: try centos9 again
Zack Cerza [Fri, 27 Jan 2023 19:19:19 +0000 (12:19 -0700)]
testnode: try centos9 again

2 years agotestnode dockerfile sed format
Zack Cerza [Thu, 26 Jan 2023 20:36:26 +0000 (13:36 -0700)]
testnode dockerfile sed format

2 years agotestnode container changes
Zack Cerza [Thu, 26 Jan 2023 19:57:09 +0000 (12:57 -0700)]
testnode container changes

2 years agotestnode call systemd explicitly
Zack Cerza [Thu, 20 Oct 2022 17:14:43 +0000 (11:14 -0600)]
testnode call systemd explicitly

2 years agotest_locking: Tolerate CentOS Stream's versioning
Zack Cerza [Wed, 12 Oct 2022 20:47:01 +0000 (14:47 -0600)]
test_locking: Tolerate CentOS Stream's versioning

It's not a problem functionally, so explicitly allow it in the unit
test.

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoteuth_suite none
Zack Cerza [Tue, 11 Oct 2022 17:14:45 +0000 (11:14 -0600)]
teuth_suite none

2 years agocontainers/testnode: no_cgroups_split
Zack Cerza [Wed, 5 Oct 2022 22:46:21 +0000 (16:46 -0600)]
containers/testnode: no_cgroups_split

2 years agotestnode install lsb_release
Zack Cerza [Fri, 23 Sep 2022 20:50:43 +0000 (14:50 -0600)]
testnode install lsb_release

2 years agocrun
Zack Cerza [Mon, 22 Aug 2022 18:09:12 +0000 (12:09 -0600)]
crun

2 years agodrop catatonit
Zack Cerza [Mon, 22 Aug 2022 17:54:14 +0000 (11:54 -0600)]
drop catatonit

2 years agotestnode: try centos 8.stream
Zack Cerza [Mon, 22 Aug 2022 17:41:18 +0000 (11:41 -0600)]
testnode: try centos 8.stream

2 years agotestnode kill init
Zack Cerza [Tue, 16 Aug 2022 23:45:27 +0000 (17:45 -0600)]
testnode kill init

2 years agotestnode drop fuse, add catatonit
Zack Cerza [Mon, 15 Aug 2022 17:09:05 +0000 (11:09 -0600)]
testnode drop fuse, add catatonit

2 years agoteuth.sh drop filter
Zack Cerza [Tue, 9 Aug 2022 00:25:29 +0000 (18:25 -0600)]
teuth.sh drop filter

2 years agocontainers/teuthology-dev: Parametrize suite
Zack Cerza [Tue, 2 Aug 2022 17:10:21 +0000 (11:10 -0600)]
containers/teuthology-dev: Parametrize suite

2 years agocontainers/testnode: osd_method
Zack Cerza [Thu, 4 Aug 2022 20:01:58 +0000 (14:01 -0600)]
containers/testnode: osd_method

2 years agocontainers/testnode: Install pkgs for ceph tests
Zack Cerza [Wed, 3 Aug 2022 19:25:48 +0000 (13:25 -0600)]
containers/testnode: Install pkgs for ceph tests

2 years agocontainers/testnode: Write /scratch_devs
Zack Cerza [Thu, 4 Aug 2022 21:14:32 +0000 (15:14 -0600)]
containers/testnode: Write /scratch_devs

2 years agocontainers/testnode: Manage a few items in /run/
Zack Cerza [Thu, 4 Aug 2022 00:13:11 +0000 (18:13 -0600)]
containers/testnode: Manage a few items in /run/

bc of systemd

2 years agocontainers/testnode: Use systemd
Zack Cerza [Wed, 3 Aug 2022 18:11:46 +0000 (12:11 -0600)]
containers/testnode: Use systemd

2 years agocontainers/testnode: Support nesting
Zack Cerza [Wed, 3 Aug 2022 17:47:44 +0000 (11:47 -0600)]
containers/testnode: Support nesting

2 years agocontainers/testnode: Install podman
Zack Cerza [Tue, 2 Aug 2022 18:38:27 +0000 (12:38 -0600)]
containers/testnode: Install podman

To get a recent version we have to switch OSes.

2 years agocontainers/teuthology: Pin base image to focal
Zack Cerza [Fri, 29 Jul 2022 19:42:59 +0000 (13:42 -0600)]
containers/teuthology: Pin base image to focal

2 years agocontainers/teuthology: Shorten watchdog_interval
Zack Cerza [Tue, 2 Aug 2022 19:10:00 +0000 (13:10 -0600)]
containers/teuthology: Shorten watchdog_interval

2 years agoTEMP? teuth-dev dockerfile rm ansible
Zack Cerza [Tue, 2 Aug 2022 17:18:14 +0000 (11:18 -0600)]
TEMP? teuth-dev dockerfile rm ansible

2 years agoTEMP cephadm image
Zack Cerza [Tue, 2 Aug 2022 17:07:56 +0000 (11:07 -0600)]
TEMP cephadm image

2 years agocontainers: Use secrets for SSH keys, not env vars
Zack Cerza [Fri, 29 Jul 2022 19:42:48 +0000 (13:42 -0600)]
containers: Use secrets for SSH keys, not env vars

2 years agoFIXME docs/docker-compose: Move to new containers/ dir
Zack Cerza [Tue, 2 Aug 2022 17:06:47 +0000 (11:06 -0600)]
FIXME docs/docker-compose: Move to new containers/ dir

the dir is not yet empty

2 years agodispatcher: Log the path to the supervisor logfile dispatcher-signal
Zack Cerza [Mon, 20 Feb 2023 20:06:07 +0000 (13:06 -0700)]
dispatcher: Log the path to the supervisor logfile

Since we're no longer logging that output from the dispatcher, make it
easy to find the supervisor log.

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agodispatcher: Keep job output out of stdout/err
Zack Cerza [Mon, 20 Feb 2023 19:40:14 +0000 (12:40 -0700)]
dispatcher: Keep job output out of stdout/err

If we want the dispatcher to run under systemd, let's keep its output a
bit more terse. The logfile will still be available.

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agodispatcher: Exit gracefully on SIGTERM
Zack Cerza [Fri, 3 Feb 2023 20:12:12 +0000 (13:12 -0700)]
dispatcher: Exit gracefully on SIGTERM

Well, relatively soon after receiving it.

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agodispatcher: Log why we're stopping
Zack Cerza [Fri, 3 Feb 2023 19:54:44 +0000 (12:54 -0700)]
dispatcher: Log why we're stopping

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoMerge pull request #1814 from NitzanMordhai/wip-nitzan-scrapy-deadjobs-nonetype-match
NitzanMordhai [Tue, 14 Feb 2023 05:51:08 +0000 (07:51 +0200)]
Merge pull request #1814 from NitzanMordhai/wip-nitzan-scrapy-deadjobs-nonetype-match

scrapy: comparing dead job skip typeNone

2 years agoMerge pull request #1793 from cybozu/fix-docker-compose-postgres
Zack Cerza [Fri, 10 Feb 2023 21:24:42 +0000 (14:24 -0700)]
Merge pull request #1793 from cybozu/fix-docker-compose-postgres

Specify PostgreSQL v14 to avoid permission errors.

2 years agoscrapy: comparing dead job skip typeNone 1814/head
NitzanMordhai [Thu, 9 Feb 2023 08:42:08 +0000 (08:42 +0000)]
scrapy: comparing dead job skip typeNone
SequenceMatcher can't get NoneType when comparing 2 dead jobs,
adding check and compare for those jobs.

Fixes: https://tracker.ceph.com/issues/58264
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
2 years agoMerge pull request #1811 from ceph/wip-58491
Zack Cerza [Thu, 2 Feb 2023 19:36:59 +0000 (12:36 -0700)]
Merge pull request #1811 from ceph/wip-58491

misc.get_system_type: Use Remote.os

2 years agomisc.get_system_type: Use Remote.os 1811/head
Zack Cerza [Wed, 1 Feb 2023 17:49:48 +0000 (10:49 -0700)]
misc.get_system_type: Use Remote.os

... instead of lsb_release, as newer distros don't ship it.

Fixes: #58491
Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoMerge pull request #1810 from ceph/selinux-denial-fix
Zack Cerza [Mon, 30 Jan 2023 22:48:56 +0000 (15:48 -0700)]
Merge pull request #1810 from ceph/selinux-denial-fix

task/selinux: Fix regressed grepping of audit logs

2 years agotask/selinux: Fix regressed grepping of audit logs 1810/head
Zack Cerza [Mon, 30 Jan 2023 19:46:59 +0000 (12:46 -0700)]
task/selinux: Fix regressed grepping of audit logs

Fixes: https://tracker.ceph.com/issues/58610
Introduced: a106217
Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoMerge pull request #1805 from ceph/el-py39
Dan Mick [Fri, 27 Jan 2023 01:40:55 +0000 (17:40 -0800)]
Merge pull request #1805 from ceph/el-py39

bootstrap: Correct python3 package names for EL8/9

2 years agoMerge pull request #1807 from kshtsk/wip-update-leap
kyr [Wed, 25 Jan 2023 20:12:16 +0000 (21:12 +0100)]
Merge pull request #1807 from kshtsk/wip-update-leap

orchestra/opsys: add newer sle and leap versions

2 years agoorchestra/opsys: add newer sle and leap versions 1807/head
Kyr Shatskyy [Tue, 24 Jan 2023 12:31:37 +0000 (13:31 +0100)]
orchestra/opsys: add newer sle and leap versions

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
2 years agobootstrap: Correct python3 package names for EL8/9 1805/head
Zack Cerza [Tue, 17 Jan 2023 23:39:27 +0000 (16:39 -0700)]
bootstrap: Correct python3 package names for EL8/9

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoMerge pull request #1806 from ceph/fix-pytest
Zack Cerza [Wed, 25 Jan 2023 19:09:02 +0000 (12:09 -0700)]
Merge pull request #1806 from ceph/fix-pytest

tests: Fix warnings, deprecations, and broken tests

2 years agoMerge pull request #1802 from ceph/faster-newest
Dan Mick [Tue, 24 Jan 2023 01:22:30 +0000 (17:22 -0800)]
Merge pull request #1802 from ceph/faster-newest

suite: Speed up 'newest' feature

2 years agotox.ini: Update to reflect passenv change 1806/head
Zack Cerza [Tue, 24 Jan 2023 01:00:54 +0000 (18:00 -0700)]
tox.ini: Update to reflect passenv change

See the second bullet point here:
https://tox.wiki/en/4.0.3/faq.html#tox-4-changed-ini-rules

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agotests: Fix bugs revealed by mock's recent change
Zack Cerza [Mon, 23 Jan 2023 20:26:41 +0000 (13:26 -0700)]
tests: Fix bugs revealed by mock's recent change

Once the asserts were corrected, these tests started failing.
Fortunately, they didn't seem to be masking any actual bugs.

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agotests: Fix broken Mock assert statements
Zack Cerza [Sat, 21 Jan 2023 00:18:08 +0000 (17:18 -0700)]
tests: Fix broken Mock assert statements

This breaks (or, rather, reveals the broken state of) several unit
tests. A subsequent commit will fix them.

See https://github.com/testing-cabal/mock/commit/21787a948cf1186f3bd38462d5b912784fa81218

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agotests: Make sure to patch repo_utils ops
Zack Cerza [Fri, 20 Jan 2023 20:54:17 +0000 (13:54 -0700)]
tests: Make sure to patch repo_utils ops

These tests were hitting the network.

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agotests: Rename setup() and teardown() methods
Zack Cerza [Fri, 20 Jan 2023 18:59:59 +0000 (11:59 -0700)]
tests: Rename setup() and teardown() methods

These were nose methods, and pytest is dropping support for them.

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoFix 'invalid escape sequence' deprecation warnings
Zack Cerza [Fri, 20 Jan 2023 19:25:30 +0000 (12:25 -0700)]
Fix 'invalid escape sequence' deprecation warnings

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoMerge pull request #1799 from dmick/wip-bootstrap
Zack Cerza [Thu, 19 Jan 2023 01:26:15 +0000 (18:26 -0700)]
Merge pull request #1799 from dmick/wip-bootstrap

bootstrap: rpm systems: use --whatprovides to test for package presence

2 years agoMerge pull request #1795 from dmick/wip-log-fog-exceptions
Zack Cerza [Thu, 8 Dec 2022 21:59:05 +0000 (14:59 -0700)]
Merge pull request #1795 from dmick/wip-log-fog-exceptions

provision/fog.py: log exceptions while looping for ssh

2 years agobootstrap: rpm systems: use --whatprovides to test for package presence 1799/head
Dan Mick [Tue, 23 Nov 2021 01:04:16 +0000 (17:04 -0800)]
bootstrap: rpm systems: use --whatprovides to test for package presence

the package name isn't necessarily the name of the dependency

Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoprovision/fog.py: log exceptions while looping for ssh 1795/head
Dan Mick [Mon, 14 Nov 2022 20:17:21 +0000 (12:17 -0800)]
provision/fog.py: log exceptions while looping for ssh

Make sure the user knows of potential configuration problems, etc.

Fixes: https://tracker.ceph.com/issues/58015
Signed-off-by: Dan Mick <dmick@redhat.com>
2 years agoMerge pull request #1797 from ceph/unique-dispatcher
Dan Mick [Thu, 8 Dec 2022 20:57:53 +0000 (12:57 -0800)]
Merge pull request #1797 from ceph/unique-dispatcher

dispatcher: Refuse to start extra dispatchers

2 years agosuite: Speed up 'newest' feature 1802/head
Zack Cerza [Wed, 7 Dec 2022 18:55:14 +0000 (11:55 -0700)]
suite: Speed up 'newest' feature

For a 'newest' value of N, we were calling find_git_parent N times.
find_git_parent was invoking githelper's 'refresh' endpoint each time,
which in my testing took 20-30 seconds. So, for a sha1 that needed 20
backtracks, I was seeing teuthology-suite take eight minutes to
complete. With this change, it took 30 seconds for the same
teuthology-suite invocation.

We were also not including the trailing slash on the 'refresh' endpoint,
resulting in a 308 redirect each time - doubling the request count.
That's fixed as well.

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agodispatcher: Refuse to start extra dispatchers 1797/head
Zack Cerza [Tue, 29 Nov 2022 21:49:22 +0000 (14:49 -0700)]
dispatcher: Refuse to start extra dispatchers

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoMerge pull request #1798 from ceph/wip-py38
Zack Cerza [Thu, 8 Dec 2022 16:53:15 +0000 (09:53 -0700)]
Merge pull request #1798 from ceph/wip-py38

Drop Python 3.6; Allow choosing Python version at runtime

2 years agoUpdate packaging 1798/head
Zack Cerza [Thu, 8 Dec 2022 00:15:52 +0000 (17:15 -0700)]
Update packaging

"pyproject-api 1.2.1 has requirement packaging>=21.3, but you have
packaging 21.0."

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoUpdate tomli
Zack Cerza [Thu, 8 Dec 2022 00:07:02 +0000 (17:07 -0700)]
Update tomli

This fixes a CI breakage caused by inconsistent dependencies,
specifically: "pyproject-api 1.2.1 has requirement tomli>=2.0.1;
python_version < "3.11", but you have tomli 1.2.1."

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoUpdate pip-tools
Zack Cerza [Thu, 8 Dec 2022 00:06:30 +0000 (17:06 -0700)]
Update pip-tools

The previous version was incompatible with newer pip versions!

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoDefault to python 3.8
Zack Cerza [Wed, 7 Dec 2022 23:03:53 +0000 (16:03 -0700)]
Default to python 3.8

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agodocker-compose: Pin postgres to v14
Zack Cerza [Wed, 7 Dec 2022 00:52:15 +0000 (17:52 -0700)]
docker-compose: Pin postgres to v14

Starting with v15, paddles is broken out of the box. We'll need to fix
that, of course, but not here.

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoDrop Python 3.6 as a supported version
Zack Cerza [Fri, 2 Dec 2022 21:27:27 +0000 (14:27 -0700)]
Drop Python 3.6 as a supported version

It was EOLed a year ago.

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years ago.github: Test with more Python versions
Zack Cerza [Fri, 2 Dec 2022 20:52:03 +0000 (13:52 -0700)]
.github: Test with more Python versions

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agobootstrap: Rebuild wrong-python venvs
Zack Cerza [Fri, 2 Dec 2022 20:36:33 +0000 (13:36 -0700)]
bootstrap: Rebuild wrong-python venvs

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agobootstrap: Use --use-pep517 when installing reqs
Zack Cerza [Fri, 2 Dec 2022 20:25:20 +0000 (13:25 -0700)]
bootstrap: Use --use-pep517 when installing reqs

See https://github.com/pypa/pip/issues/8559

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agobootstrap: Support alternate python versions
Zack Cerza [Fri, 2 Dec 2022 19:52:18 +0000 (12:52 -0700)]
bootstrap: Support alternate python versions

And check for their usability before proceeding

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoMerge pull request #1794 from ceph/githelper
Dan Mick [Tue, 8 Nov 2022 19:53:02 +0000 (11:53 -0800)]
Merge pull request #1794 from ceph/githelper

config: Update githelper URL

2 years agoconfig: Update githelper URL 1794/head
Zack Cerza [Tue, 8 Nov 2022 00:08:42 +0000 (17:08 -0700)]
config: Update githelper URL

Signed-off-by: Zack Cerza <zack@redhat.com>
2 years agoSpecify PostgreSQL v14 to avoid permission errors. 1793/head
Yuji Ito [Tue, 18 Oct 2022 04:10:54 +0000 (04:10 +0000)]
Specify PostgreSQL v14 to avoid permission errors.

PostgreSQL v15  has a notable change that revokes the CREATE permission
from users except a database owner. So we can not execute paddles using
it. As a workaround, I specify PostgreSQL version.

ref: https://www.postgresql.org/about/news/postgresql-15-released-2526/

Signed-off-by: Yuji Ito <llamerada.jp@gmail.com>
3 years agoMerge pull request #1790 from ceph/no-devtmpfs-scratch-devs
Zack Cerza [Wed, 28 Sep 2022 19:20:45 +0000 (13:20 -0600)]
Merge pull request #1790 from ceph/no-devtmpfs-scratch-devs