-
Notifications
You must be signed in to change notification settings - Fork 41
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
[BUG] kernel oops that happens during provison are marked as panic in the last task #138
Comments
Panic detection can be configured by
and by default it includes Oops. You can disable panic detection all together by including |
Note, I don't want to ignore |
@bgoncalv is right. I'm aware of this behavior. The problem is that we can't really mark Yeah. This needs to remain open and we will need to find a better way how to manage this. |
Thanks @StykMartin, do you have any suggestion how can we workaround this? For example, we could create a dummy task to trigger this panic detection and run it as first task. Is there a way for a task force to run the detection? |
Hello @bgoncalv. My answer never ended on GitHub. I'm sorry about that. So the situation is quite a bit more complicated, but I feel like we can make some compromise if you still need it. So panic detection is running on background in each region. Then it is proxied to the main server to process. The main server will check tasks assigned to given recipe and iterate over. If iteration is exhausted we will mark last item - because that's what will end up in variable. If you have any idea how we can help you @bgoncalv to make it saner feel free to shoot. |
@StykMartin thanks for the reply. Indeed that feature would be helpful for us. If the panic detection will assign |
This is happening at this moment. All panics are assigned to the last task if there is no running task. So basically if we didn't register any start (for example provisioning) we will always mark last. |
I would suggest you put dummy tasks at the end and then collect panics from there. I will try to redesign this feature so we can report panics during provisioning to dedicated space and not marking tasks. |
Describe the bug
This was initially reported on https://bugzilla.redhat.com/show_bug.cgi?id=1623729
In case there is kernel oops during provision this oops is marked as a kernel panic in the last beaker task. This causes confusion to understand why that task is shown as panic.
Version-Release number
28.2
To Reproduce
Steps to reproduce the behavior:
Actual behavior
Last task show as panic
Expected behavior
Last task shouldn't show as panic
The text was updated successfully, but these errors were encountered: