-
Notifications
You must be signed in to change notification settings - Fork 126
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
Kernel aborts / panics detection #1235
Comments
Thanks for filing this. Link to downstream issue for Testing Farm: https://issues.redhat.com/browse/TFT-891 |
Kernel can be configured in a way that panic is followed by a reboot. This essentially means that once TMT is able to gracefully handle unexpected/hard reboot it will be able to handle kernel panics too. I would also find this useful for FIPS testing we are doing. |
I notice tmt-1.34 can restart the test after I trigger a kernel panic. # tmt run tests discover provision -h virtual -c system prepare execute report finish
/var/tmp/tmt/run-017
/plans/kdump
discover
how: fmf
name: client-setup
directory: /root/kdump-tests
tests: /setup/kdump
how: fmf
name: server-setup
...
execute task #4: server-test on server
how: tmt
summary: 4 tests executed
report
how: display
summary: 4 tests passed
finish
|
@happz You are welcome!
|
#3284 has been created to track the issue that tmt will fail unless the kernel panic is triggered by |
TMT should be able to detect kernel aborts / panics and report it as test result.
This could be done via analyzing console logs.
There should also be a way to execute tests ignoring kernel panics and not reporting a panic/fail because of it.
This functionality is necessary for kernel tests that trigger panics intentionally.
The text was updated successfully, but these errors were encountered: