Project

General

Profile

Actions

action #68761

open

[qe-core] HyperV reboot unstable

Added by ph03nix almost 4 years ago. Updated about 3 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Infrastructure
Target version:
-
Start date:
2020-07-08
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Rebooting a HyperV worker results often (but not always) in Stall Detected, e.g. in https://openqa.suse.de/tests/4427647/modules/journalctl/steps/40.

openQA fails to detect the grub2 screen. While observing a failing run I noticed, that the images freezes for some time and gets restored at the login screen, without showing GRUB2 or the boot messages. It looks like the vnc needs to reconnect after a certain timeout and misses the grub2 screen.

A dedicated triple-reboot test for this issue on HyperV fails: https://openqa.suse.de/tests/4428045. The test "reboot" does nothing more than reboot three times.

use base "consoletest";
use strict;
use warnings;
use testapi;
use utils;
use version_utils;
use power_action_utils 'power_action';

sub reboot {
    my ($self) = @_;
    power_action('reboot', textmode => 1);
    $self->wait_boot(bootloader_time => 200);
    select_console 'root-console';
}

sub run {
    my ($self) = @_;
    $self->select_serial_terminal;
    reboot($self);
    reboot($self);
    reboot($self);
}

1;

Related issues 1 (1 open0 closed)

Blocked by openQA Tests - action #35038: [qe-core][sle][functional][hyperv] extra tests on hypervNewszarate2018-04-16

Actions
Actions

Also available in: Atom PDF