Skip to content

teuthology/suite: use paddles solely for rerun info#1946

Merged
zmc merged 1 commit intoceph:mainfrom
batrick:paddles-rerun
May 23, 2024
Merged

teuthology/suite: use paddles solely for rerun info#1946
zmc merged 1 commit intoceph:mainfrom
batrick:paddles-rerun

Conversation

@batrick
Copy link
Member

@batrick batrick commented May 23, 2024

teuthology.front no longer allows access to the run directories for general users. In fact, it's not required because we are already getting run information from paddles.

This commit makes it more stringent in --rerun handling: if seed/subset/no_nested_subset do not match, exit failure rather than try to continue. Without a subset, many suites are so large that teuthology-suite will run for several minutes before ultimately failing to schedule due to the quantity of jobs. It also doesn't make sense to rerun a suite when these values do not match.

teuthology.front no longer allows access to the run directories for general
users. In fact, it's not required because we are already getting run
information from paddles.

This commit makes it more stringent in --rerun handling: if
seed/subset/no_nested_subset do not match, exit failure rather than try to
continue. Without a subset, many suites are so large that teuthology-suite will
run for several minutes before ultimately failing to schedule due to the
quantity of jobs. It also doesn't make sense to rerun a suite when these values
do not match.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
@batrick batrick requested review from VallariAg, kamoltat and zmc May 23, 2024 14:33
Copy link
Contributor

@yuriw yuriw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@zmc zmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Thanks @batrick!

@zmc zmc merged commit 0ef5840 into ceph:main May 23, 2024
@batrick batrick deleted the paddles-rerun branch May 24, 2024 00:22
log.info('Using rerun seed=%s', seed)
conf.seed = seed

subset = None if job0 is None else tuple(map(int, job0.get('subset').split('/')))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i see --rerun failing here with 'NoneType' object has no attribute 'split'. i generally run the rgw suite without --subset

opened https://tracker.ceph.com/issues/66302

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants