Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHEL/Fedora now defaults to setting crashkernel #19473

Merged
merged 3 commits into from
Oct 13, 2023

Conversation

jelly
Copy link
Member

@jelly jelly commented Oct 12, 2023

This does not save us a lot of time, as even on RHEL we need to re-generate the initrd however we do skip one reboot which can be flaky.

But what is a nice side effect is that we now test the Distro default crashkernel setting.

@jelly jelly added the no-test For doc/workflow changes, or experiments which don't need a full CI run, label Oct 12, 2023
@jelly jelly force-pushed the kdump-crashkernel-default branch from 5ed8755 to 30a0aeb Compare October 12, 2023 15:36
@jelly jelly changed the title WIP: RHEL/Fedora now defaults to setting crashkernel RHEL/Fedora now defaults to setting crashkernel Oct 13, 2023
@jelly jelly removed the no-test For doc/workflow changes, or experiments which don't need a full CI run, label Oct 13, 2023
@jelly jelly marked this pull request as ready for review October 13, 2023 07:33
@jelly jelly requested a review from martinpitt October 13, 2023 07:33
Copy link
Member

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

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

Thanks! I'm glad to see these cleanups.

test/verify/check-kdump Outdated Show resolved Hide resolved
test/verify/check-kdump Show resolved Hide resolved
test/verify/check-kdump Show resolved Hide resolved
test/verify/check-kdump Outdated Show resolved Hide resolved
test/verify/check-kdump Outdated Show resolved Hide resolved
test/verify/check-kdump Outdated Show resolved Hide resolved
@jelly jelly force-pushed the kdump-crashkernel-default branch from 41d84ea to 657302e Compare October 13, 2023 09:03
test/verify/check-kdump Outdated Show resolved Hide resolved
test/verify/check-kdump Show resolved Hide resolved
@jelly jelly force-pushed the kdump-crashkernel-default branch from 657302e to 74eecad Compare October 13, 2023 09:59
martinpitt
martinpitt previously approved these changes Oct 13, 2023
Copy link
Member

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

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

Great, thanks! (Tests are still running, assuming green)

@martinpitt
Copy link
Member

Interestting, is-active kdump.service fails on c8s and r93. This is apparently flaky, as it worked in the first attempt. Perhaps it's still "activating" or something like that?

jelly added 3 commits October 13, 2023 12:58
In Fedora-39 and all supported RHEL versions (8 and 9) crashkernel is
now set in the default cmdline. RHEL also defaults in enabling
kdump.service which Fedora does not.

This simplifies our testing as we don't have to re-generate initrd and
reboot. Plus this means we test the distribution default which is a lot
more useful then an arbitrary setting we came up with.
This was replaced with a custom `TEST_SCENARIO`.
Drop the removal of /var/crash, enableKdump used to re-create it anyway.
Test if the dir is empty like TestKdump.testBasic does.
@jelly
Copy link
Member Author

jelly commented Oct 13, 2023

Interestting, is-active kdump.service fails on c8s and r93. This is apparently flaky, as it worked in the first attempt. Perhaps it's still "activating" or something like that?

Likely, let's make it non-fatal and wait.

@martinpitt
Copy link
Member

Not sure what to make of this failure, but it could be a "normal" timeout flake, so worth retrying.

Copy link
Member

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

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

LGTM if/once green.

@jelly
Copy link
Member Author

jelly commented Oct 13, 2023

Not sure what to make of this failure, but it could be a "normal" timeout flake, so worth retrying.

The kdump tests are very sensitive to test infra being under load.

@martinpitt martinpitt merged commit b86c8df into cockpit-project:main Oct 13, 2023
35 checks passed
@jelly jelly deleted the kdump-crashkernel-default branch October 13, 2023 13:17
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.

2 participants