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

3 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.

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

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

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

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

3 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>
3 years agoteuth_suite none
Zack Cerza [Tue, 11 Oct 2022 17:14:45 +0000 (11:14 -0600)]
teuth_suite none

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

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

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

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

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

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

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

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

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

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

3 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

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

3 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

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

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

3 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.

3 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

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

3 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

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

3 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

3 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

3 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>
3 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>
3 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>
3 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>
3 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

3 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.

3 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>
3 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

3 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>
3 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

3 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>
3 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

3 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

3 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>
3 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>
3 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

3 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

3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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

3 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

3 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>
3 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>
3 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

3 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>
3 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>
3 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

3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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

3 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>
3 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

3 years agomisc.get_scratch_devices(): Ignore devtmpfs 1790/head
Zack Cerza [Thu, 4 Aug 2022 19:02:38 +0000 (13:02 -0600)]
misc.get_scratch_devices(): Ignore devtmpfs

Devices shared with a container by its host will appear in /proc/mounts
this way.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agomisc.get_scratch_devices(): Split up checks
Zack Cerza [Thu, 4 Aug 2022 18:59:39 +0000 (12:59 -0600)]
misc.get_scratch_devices(): Split up checks

For better logging.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1786 from rishabh-d-dave/orch-mount-method
Zack Cerza [Thu, 22 Sep 2022 23:41:56 +0000 (17:41 -0600)]
Merge pull request #1786 from rishabh-d-dave/orch-mount-method

3 years agoMerge pull request #1789 from ktdreyer/fog-error-suggestion
Zack Cerza [Thu, 22 Sep 2022 23:24:42 +0000 (17:24 -0600)]
Merge pull request #1789 from ktdreyer/fog-error-suggestion

fog: suggest image names on error

3 years agoMerge pull request #1788 from ktdreyer/lock-help
Zack Cerza [Thu, 22 Sep 2022 23:22:52 +0000 (17:22 -0600)]
Merge pull request #1788 from ktdreyer/lock-help

lock: remove --list --brief example

3 years agoorchestra: add a method to check if given path is mounted 1786/head
Rishabh Dave [Fri, 19 Aug 2022 15:40:04 +0000 (21:10 +0530)]
orchestra: add a method to check if given path is mounted

Add a method mount() that checks if the given path is mounted or
unmounted without using "mount" of "findmnt" commands.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
3 years agofog: suggest image names 1789/head
Ken Dreyer [Thu, 1 Sep 2022 21:50:47 +0000 (17:50 -0400)]
fog: suggest image names

Improve the error message when the user specifies a missing OS version
for a machine type.

Old error message:

  RuntimeError: Could not find an image for rhel 7.9

New error message:

  RuntimeError: Fog has no cali_rhel_7.9 image.
                Available cali images: ['cali_rhel_8.6', 'cali_rhel_9.0']

3 years agolock: remove --list --brief example 1788/head
Ken Dreyer [Thu, 1 Sep 2022 21:16:57 +0000 (17:16 -0400)]
lock: remove --list --brief example

The --list and --brief arguments are exclusive.

  teuthology-lock: error: argument --brief: not allowed
  with argument --list

3 years agoMerge pull request #1719 from kamoltat/wip-ksirivad-fix-53206
Kamoltat Sirivadhna [Fri, 26 Aug 2022 19:08:50 +0000 (15:08 -0400)]
Merge pull request #1719 from kamoltat/wip-ksirivad-fix-53206

task/internal: open gzip file if core is compressed
Reviewed by: Ilya Dryomov <idryomov@redhat.com>
Reviewed by: Zack Cerza <zcerza@redhat.com>

3 years agoMerge pull request #1787 from kamoltat/wip-ksirivad-boostrap-centosstream
Kamoltat Sirivadhna [Thu, 25 Aug 2022 18:36:35 +0000 (14:36 -0400)]
Merge pull request #1787 from kamoltat/wip-ksirivad-boostrap-centosstream

boostrap: Add support for CentOSStream

3 years agoboostrap: Add support for CentOSStream 1787/head
Kamoltat Sirivadhna [Wed, 24 Aug 2022 14:41:38 +0000 (10:41 -0400)]
boostrap: Add support for CentOSStream

currently we cannot do boostrap for CentOSStream
so we are adding support for that.

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
3 years agotask/internal/__init__.py: improve core program extraction 1719/head
Kamoltat Sirivadhna [Wed, 3 Aug 2022 21:00:06 +0000 (21:00 +0000)]
task/internal/__init__.py: improve core program extraction

Problem:
The previous technique for extracting the program name
of the coredump file doesn't deal with the case
where there is no white space after program name
e.g.,

``SVR4-style, from 'ceph_test_rados_api_io', real uid: 1000``

here we will get an error when we reach the part where we

``remote.sh(['which', dump_program]).rstrip()``.

Solution:

Use regex to extract first occurence of the word that
is in the format ``from '<word>'``.

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
3 years agoMerge pull request #1785 from ceph/jammy
Zack Cerza [Tue, 16 Aug 2022 16:49:38 +0000 (10:49 -0600)]
Merge pull request #1785 from ceph/jammy

opsys.py: Make Ubuntu 22.04 default

3 years agotest_default_distro_version: Update to 22.04 1785/head
Zack Cerza [Tue, 16 Aug 2022 16:24:34 +0000 (10:24 -0600)]
test_default_distro_version: Update to 22.04

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1784 from ceph/wip-57092
David Galloway [Wed, 10 Aug 2022 18:08:07 +0000 (14:08 -0400)]
Merge pull request #1784 from ceph/wip-57092

misc._ssh_keyscan(): Drop '-t rsa'

3 years agoopsys.py: Make Ubuntu 22.04 default
David Galloway [Wed, 10 Aug 2022 17:57:39 +0000 (13:57 -0400)]
opsys.py: Make Ubuntu 22.04 default

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agomisc._ssh_keyscan(): Drop '-t rsa' 1784/head
Zack Cerza [Wed, 10 Aug 2022 17:51:53 +0000 (11:51 -0600)]
misc._ssh_keyscan(): Drop '-t rsa'

It appears to be unnecessary, and causes Ubuntu 22.04 to respond with
zero keys.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask/tests: init pytest test_fetch_core_dumps
Kamoltat [Tue, 1 Mar 2022 16:53:01 +0000 (16:53 +0000)]
task/tests: init pytest test_fetch_core_dumps

Create a unittest to test the function:
`fetch_binaries_for_coredumps()`.

Testing:

1. uncompressed coredump and correct format.
2. uncompressed coredump and incorrect format.
3. compressed coredump and correct format.
4. compressed coredump and incorrect format.

Fixes: https://tracker.ceph.com/issues/53206
Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
3 years agoMerge pull request #1774 from ceph/nuke-typerror
Kamoltat Sirivadhna [Wed, 3 Aug 2022 18:00:37 +0000 (14:00 -0400)]
Merge pull request #1774 from ceph/nuke-typerror

nuke: Tolerate null node description
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
3 years agonuke: Tolerate null node description 1774/head
Zack Cerza [Thu, 23 Jun 2022 21:03:27 +0000 (15:03 -0600)]
nuke: Tolerate null node description

Fixes a TypeError

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1783 from zdover23/wip-doc-2022-08-04-fragment-merging-typo
Kamoltat Sirivadhna [Wed, 3 Aug 2022 15:34:33 +0000 (11:34 -0400)]
Merge pull request #1783 from zdover23/wip-doc-2022-08-04-fragment-merging-typo

docs/frag...merging.rst - s/contructed/constructed
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
3 years agodocs/frag...merging.rst - s/contructed/constructed 1783/head
Zac Dover [Wed, 3 Aug 2022 15:13:01 +0000 (01:13 +1000)]
docs/frag...merging.rst - s/contructed/constructed

This PR corrects "contructed" to "constructed".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #1781 from Ngwind/patch-1
kyr [Wed, 3 Aug 2022 09:31:48 +0000 (11:31 +0200)]
Merge pull request #1781 from Ngwind/patch-1

Update COMPONENTS.rst

3 years agoMerge pull request #1782 from ceph/jammy
Zack Cerza [Thu, 28 Jul 2022 20:46:38 +0000 (14:46 -0600)]
Merge pull request #1782 from ceph/jammy

opsys.py: Add Ubuntu 22.04

3 years agoopsys.py: Add Ubuntu 22.04 1782/head
David Galloway [Thu, 28 Jul 2022 19:23:10 +0000 (15:23 -0400)]
opsys.py: Add Ubuntu 22.04

Signed-off-by: David Galloway <dgallowa@redhat.com>