ZTS: alloc_class.ksh must wait for the process to exit #12873
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Several
alloc_class
tests were semi-reliably failing on Ubuntu20.04 due to this issue.
Description
The alloc_class_* tests may fail on Linux with an EBUSY error if
zfs destroy
is run before thedd
process has had a chance toterminate. Wait on the pid after the
kill -9
to make sure.When testing I didn't observe any failures for the alloc_class
tests. Remove them from the exceptions list, the CI can verify
they are passing on all platforms.
How Has This Been Tested?
Locally run the
alloc_class
test group. Verified all tests pass.I'm relying on the CI to verify these tests now pass on all
platforms reliably. If not, we can keep the needed exceptions.
Types of changes
Checklist:
Signed-off-by
.