Project

General

Profile

Actions

action #56636

closed

[functional][u] test fails in keymap_or_locale - No dmesg logs uploaded on post_fail_hook

Added by SLindoMansilla over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 28
Start date:
2019-09-09
Due date:
% Done:

0%

Estimated time:
42.00 h
Difficulty:

Description

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

Further details

Always latest result in this scenario: latest

Actions

Also available in: Atom PDF