]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
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

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 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>
3 years agoMerge pull request #1779 from ceph/dc-suite-fix
Zack Cerza [Tue, 26 Jul 2022 15:27:26 +0000 (09:27 -0600)]
Merge pull request #1779 from ceph/dc-suite-fix

Fix scheduling regression

3 years agodocs/docker-compose: Use Ubuntu Focal for testnode 1779/head
Zack Cerza [Mon, 25 Jul 2022 17:29:22 +0000 (11:29 -0600)]
docs/docker-compose: Use Ubuntu Focal for testnode

I'm seeing ceph-cm-ansible failures w/ Jammy because of python-apt vs.
python3-apt. We'll revisit this soon.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1778 from ceph/no-mails-with-dryrun
Kamoltat Sirivadhna [Mon, 25 Jul 2022 14:30:30 +0000 (10:30 -0400)]
Merge pull request #1778 from ceph/no-mails-with-dryrun

suite: Do not send emails with --dry-run at schedule_fail
Reviewed by: Kamoltat Sirivadhna <ksirivad@redhat.com>

3 years agoUpdate COMPONENTS.rst 1781/head
KB.M [Mon, 25 Jul 2022 07:50:02 +0000 (15:50 +0800)]
Update COMPONENTS.rst

Fix `components.rst` file not being rendered

3 years agosuite: add pytests for schedule_fail 1778/head
Vallari Agrawal [Tue, 19 Jul 2022 17:14:29 +0000 (22:44 +0530)]
suite: add pytests for schedule_fail

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
3 years agochoose_teuthology_branch: Choose main later on
Zack Cerza [Fri, 22 Jul 2022 21:12:42 +0000 (15:12 -0600)]
choose_teuthology_branch: Choose main later on

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocs/docker-compose: Tolerate empty TEUTH_BRANCH
Zack Cerza [Fri, 22 Jul 2022 20:36:54 +0000 (14:36 -0600)]
docs/docker-compose: Tolerate empty TEUTH_BRANCH

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoschedule_suite(): Make 'configs' a list
Zack Cerza [Fri, 22 Jul 2022 18:27:53 +0000 (12:27 -0600)]
schedule_suite(): Make 'configs' a list

The var being left as a generator led to all jobs being filtered out of
some suites, rendering them broken.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocs/docker-compose: Ensure we actually schedule
Zack Cerza [Fri, 22 Jul 2022 17:51:19 +0000 (11:51 -0600)]
docs/docker-compose: Ensure we actually schedule

This should have failed: https://github.com/ceph/teuthology/pull/1776/checks

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agobeanstalk: Print tube stats in JSON format
Zack Cerza [Fri, 22 Jul 2022 17:46:53 +0000 (11:46 -0600)]
beanstalk: Print tube stats in JSON format

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1776 from batrick/yaml-preprocessor
Zack Cerza [Thu, 21 Jul 2022 15:58:40 +0000 (09:58 -0600)]
Merge pull request #1776 from batrick/yaml-preprocessor

teuthology: add pre/post fragment merge hooks

3 years agotask/internal: open gzip file if core is compressed
Kamoltat [Tue, 1 Mar 2022 16:49:05 +0000 (16:49 +0000)]
task/internal: open gzip file if core is compressed

Addded a case where if core is compressed, then
we will try to open it as gzip and read the content
inside.

We also add try and except when we are parsing
through the content to prevent the program from
crashing.

Fixes: https://tracker.ceph.com/issues/53206
Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
3 years agodocs: document fragment merging 1776/head
Patrick Donnelly [Fri, 1 Jul 2022 01:05:12 +0000 (21:05 -0400)]
docs: document fragment merging

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoteuthology/suite/test: add tests for fragment merging
Patrick Donnelly [Fri, 1 Jul 2022 20:42:52 +0000 (16:42 -0400)]
teuthology/suite/test: add tests for fragment merging

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoteuthology: add lua based fragment merge scripting
Patrick Donnelly [Tue, 28 Jun 2022 20:29:40 +0000 (16:29 -0400)]
teuthology: add lua based fragment merge scripting

As part of this change, there is a new generator design for producing
job configs. YAML fragments are memoized and merged manually to avoid
expensive and unnecessary parsing of the merged fragments. This provides
for a dramatic speedup in processing matrices with large numbers of
jobs. For rados suite with --subset 1/1000, this branch is 5x faster
(77s vs. 15s). (Note: the difference shrinks when there are fewer or
jobs or larger subsets are used due to cycling and the matrix generation
dominating runtime.)

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoteuthology/misc: support MappingProxyType in deep_merge
Patrick Donnelly [Mon, 18 Jul 2022 13:50:02 +0000 (09:50 -0400)]
teuthology/misc: support MappingProxyType in deep_merge

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoteuthology/misc: avoid copying references of b when list or dict
Patrick Donnelly [Tue, 28 Jun 2022 20:27:14 +0000 (16:27 -0400)]
teuthology/misc: avoid copying references of b when list or dict

Otherwise, if b persists in memory (in a cache), it may wrongly
accumulate future merges.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoMerge pull request #1777 from VallariAg/log-total-jobs
Zack Cerza [Wed, 13 Jul 2022 17:05:28 +0000 (11:05 -0600)]
Merge pull request #1777 from VallariAg/log-total-jobs

3 years agosuite/run: Log total number of jobs scheduled 1777/head
Vallari Agrawal [Sun, 3 Jul 2022 09:06:31 +0000 (14:36 +0530)]
suite/run: Log total number of jobs scheduled

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
3 years agosuite: Do not send emails with --dry-run at schedule_fail
Vallari Agrawal [Mon, 11 Jul 2022 12:55:46 +0000 (18:25 +0530)]
suite: Do not send emails with --dry-run at schedule_fail

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
3 years agoMerge pull request #1769 from zmc/docs-missing-commands
Kamoltat Sirivadhna [Wed, 6 Jul 2022 15:30:18 +0000 (11:30 -0400)]
Merge pull request #1769 from zmc/docs-missing-commands

docs/commands: Add missing commands
Reviewed by: Kamoltat Sirivadhna <ksirivad@redhat.com>

3 years agoMerge pull request #1775 from ceph/update-reqs
Zack Cerza [Tue, 28 Jun 2022 19:26:02 +0000 (13:26 -0600)]
Merge pull request #1775 from ceph/update-reqs

Update pip-tools and sentry-sdk

3 years agoUpdate sentry-sdk 1775/head
Zack Cerza [Tue, 28 Jun 2022 18:36:31 +0000 (18:36 +0000)]
Update sentry-sdk

We've started seeing what appear to be duplicate issues:
https://tracker.ceph.com/issues/56410
Hoping a simple update will resolve this...

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoUpdate pip-tools
Zack Cerza [Tue, 28 Jun 2022 18:36:07 +0000 (18:36 +0000)]
Update pip-tools

Fixes https://github.com/jazzband/pip-tools/issues/1617

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge PR #1772 into master
Patrick Donnelly [Thu, 23 Jun 2022 14:18:08 +0000 (10:18 -0400)]
Merge PR #1772 into master

* refs/pull/1772/head:
Revert "Merge pull request #1624 from batrick/get-valgrind-args"

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
3 years agoRevert "Merge pull request #1624 from batrick/get-valgrind-args" 1772/head
Patrick Donnelly [Wed, 22 Jun 2022 23:54:37 +0000 (19:54 -0400)]
Revert "Merge pull request #1624 from batrick/get-valgrind-args"

This reverts commit 40fff4b2911949847a302adfe2f4714cfaccb58e, reversing
changes made to 93d2b653facc0e5a7a532b39d9ff91a044f2c4a9.

3 years agoMerge pull request #1770 from ceph/plow
Zack Cerza [Wed, 15 Jun 2022 21:05:22 +0000 (15:05 -0600)]
Merge pull request #1770 from ceph/plow

3 years agoopsys.py: Add RHEL9 1770/head
David Galloway [Wed, 15 Jun 2022 20:43:53 +0000 (16:43 -0400)]
opsys.py: Add RHEL9

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1765 from ceph/wip-45512
Zack Cerza [Wed, 15 Jun 2022 19:04:45 +0000 (13:04 -0600)]
Merge pull request #1765 from ceph/wip-45512

3 years agodocs/commands: Add missing commands 1769/head
Zack Cerza [Wed, 15 Jun 2022 16:52:14 +0000 (10:52 -0600)]
docs/commands: Add missing commands

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1764 from kshtsk/wip-watch-fix-typeerror
Zack Cerza [Wed, 8 Jun 2022 21:36:20 +0000 (15:36 -0600)]
Merge pull request #1764 from kshtsk/wip-watch-fix-typeerror

3 years agoMerge pull request #1766 from ceph/rhel86
Zack Cerza [Wed, 8 Jun 2022 21:14:33 +0000 (15:14 -0600)]
Merge pull request #1766 from ceph/rhel86

3 years agoMerge pull request #1767 from ceph/bs-missing-pip
Zack Cerza [Wed, 8 Jun 2022 21:11:46 +0000 (15:11 -0600)]
Merge pull request #1767 from ceph/bs-missing-pip

3 years agobootstrap: If pip is missing, rebuild virtualenv 1767/head
Zack Cerza [Wed, 8 Jun 2022 20:03:30 +0000 (14:03 -0600)]
bootstrap: If pip is missing, rebuild virtualenv

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoopsys.py: Default to RHEL8.6 1766/head
David Galloway [Wed, 8 Jun 2022 19:14:18 +0000 (15:14 -0400)]
opsys.py: Default to RHEL8.6

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agonuke.nuke: Rework lock-checking logic 1765/head
Zack Cerza [Wed, 8 Jun 2022 18:41:37 +0000 (12:41 -0600)]
nuke.nuke: Rework lock-checking logic

Previously, we would call list_locks(), then iterate over the response,
each time iterating over the list of targets. If list_locks()
encountered an error and returned an empty response, we'd never actually
verify what we intended to. Instead, we should specifically query for
each target. This is far safer and faster.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agosuite: fix type error when description is none 1764/head
Kyr Shatskyy [Wed, 8 Jun 2022 11:28:15 +0000 (13:28 +0200)]
suite: fix type error when description is none

teuthology-watch fails when run is complete and jobs' description
gets None value

Example:

2022-06-07 16:41:22,538.538 INFO:teuthology.suite:waiting for the run runner-2022-06-07_16:41:04-suse:tier0-ses7p-none-default-ecp to complete
2022-06-07 16:41:22,539.539 DEBUG:teuthology.suite:the list of unfinished jobs will be displayed every 5.0 minutes
2022-06-07 16:46:22,599.599 DEBUG:teuthology.suite:wait for jobs ['654']
2022-06-07 16:51:22,633.633 DEBUG:teuthology.suite:wait for jobs ['654']
2022-06-07 16:51:22,686.686 INFO:teuthology.suite:wait is done
Traceback (most recent call last):
  File "/home/runner/src/teuthology_master/virtualenv/bin/teuthology-wait", line 33, in <module>
    sys.exit(load_entry_point('teuthology', 'console_scripts', 'teuthology-wait')())
  File "/home/runner/src/teuthology_master/scripts/wait.py", line 30, in main
    return teuthology.suite.wait(name, config.max_job_time, None)
  File "/home/runner/src/teuthology_master/teuthology/suite/__init__.py", line 234, in wait
    log.info(job['status'] + " " + url + " " + job['description'])
TypeError: must be str, not NoneType

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
3 years agoMerge pull request #1624 from batrick/get-valgrind-args
Zack Cerza [Tue, 7 Jun 2022 21:17:14 +0000 (15:17 -0600)]
Merge pull request #1624 from batrick/get-valgrind-args

3 years agoMerge pull request #1762 from ceph/nested-subset-fix
Zack Cerza [Mon, 6 Jun 2022 21:17:40 +0000 (15:17 -0600)]
Merge pull request #1762 from ceph/nested-subset-fix

qa: correct line processing logic

3 years agoqa: correct line processing logic 1762/head
Patrick Donnelly [Mon, 6 Jun 2022 18:12:09 +0000 (14:12 -0400)]
qa: correct line processing logic

Most runs don't use --no-nested-subset and for those that used --subset,
the if conditions would correctly pickup "seed" (when it mattered).
However, when --subset was not specified in the original run, the "seed"
was not correctly picked up. Therefore, the result of inserting the "if
no_nested_subset is None:" before the "elif seed is None:" caused it to
never read the seed for most folks teuthology runs.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoMerge pull request #1761 from ceph/git-clone-errors
David Galloway [Wed, 1 Jun 2022 20:25:07 +0000 (16:25 -0400)]
Merge pull request #1761 from ceph/git-clone-errors

repo_utils: Always log git clone failure output

3 years agorepo_utils: Always log git clone failure output 1761/head
Zack Cerza [Wed, 1 Jun 2022 19:23:29 +0000 (13:23 -0600)]
repo_utils: Always log git clone failure output

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1753 from ceph/dc-venv
Zack Cerza [Tue, 31 May 2022 19:19:09 +0000 (13:19 -0600)]
Merge pull request #1753 from ceph/dc-venv

3 years agoMerge pull request #1760 from ceph/wip-private-branch
David Galloway [Fri, 27 May 2022 20:18:55 +0000 (16:18 -0400)]
Merge pull request #1760 from ceph/wip-private-branch

suite: Allow 'git@' repo URLs

3 years agosuite: Allow 'git@' repo URLs 1760/head
Zack Cerza [Fri, 27 May 2022 17:47:40 +0000 (11:47 -0600)]
suite: Allow 'git@' repo URLs

We were accidentally mangling them.

Signed-off-by: Zack Cerza <zack@redhat.com>