action #56636
Updated by szarate over 4 years ago
## Observation No **dmesg** logs uploaded on **post_fail_hook** This is due to opensusebasetest not calling export_logs method in the post fail hook and keymap_or_locale test, lacking a post_fail_hook implementation on it's own. ## Acceptance criteria - **AC:** keymap_or_locale upload at least dmesg on post_fail_hook ## Tasks - Add a post_fail_hook override that calls export_logs_basic and then calls the parent class's post fail hook - BONUS: rename lib/local.pm to lib/localebasetest.pm (To ensure consistency across base tests modules) ``` sub post_fail_hook { my ($self) = shift; select_console('log-console'); $self->SUPER::post_fail_hook; $self->export_logs_basic; } ``` ## Reproducible - In scenario sle-12-SP5-Server-DVD-x86_64-gnome@64bit - It fails sporadically - Example of Build [0307](https://openqa.suse.de/tests/3334318/modules/keymap_or_locale/steps/17) ## Further details Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?arch=x86_64&distri=sle&flavor=Server-DVD&machine=64bit&test=gnome&version=12-SP5)