Project

General

Profile

Actions

action #25914

closed

[sle][functional][hyperv][easy] test fails in bootloader_hyperv (Command on Hyper-V failed at bootloader_hyperv.pm line 25)

Added by okurz over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Start date:
2017-10-11
Due date:
2018-03-13
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-15-Installer-DVD-x86_64-textmode@svirt-hyperv-uefi fails in
bootloader_hyperv

Reproducible

Fails since (at least) Build 288.8

Expected result

Last good: https://openqa.suse.de/tests/1498024

Further details

NOTE: Potentially already fixed by https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/4311 verify before working on the ticket.

Always latest result in this scenario: latest


Related issues 1 (0 open1 closed)

Related to openQA Project - action #26014: [sle][functional][hyperv] svirt-hyperv tests are sometimes losing keys when trying to execute commands, e.g. always "yast2-bootloade-status-0"Resolvedjorauch2017-10-12

Actions
Actions #1

Updated by michalnowak over 6 years ago

Yeah, the 3 second timeout just was not enough in this case... We can make it 5, or 10 seconds but we can't use check_screen at that point unfortunately.

Actions #2

Updated by okurz over 6 years ago

but we should be able to use an equivalent of wait serial? Would something as in commit efb46071 (lord/fix/zkvm_svirt)
Author: Oliver Kurz okurz@suse.de
Date: Fri Jul 28 13:12:54 2017 +0200

Explicitly confirm grub boot selection in svirt console to save some seconds

Verification run: http://lord.arch/tests/7099

work?

Actions #3

Updated by michalnowak over 6 years ago

In this case we would need serial console output from the intermediary VM to which we connect, if I understand it correctly, which is possible in this case, but in case of more VMs running concurrently, we might get the magic string belonging to another VM, I am afraid. Retriggering the job or even moving the VM host closer to the worker (i.e. from Prague to Nue) seems more sensible to me...

Actions #4

Updated by okurz over 6 years ago

  • Target version set to Milestone 14
Actions #5

Updated by okurz over 6 years ago

  • Related to action #26014: [sle][functional][hyperv] svirt-hyperv tests are sometimes losing keys when trying to execute commands, e.g. always "yast2-bootloade-status-0" added
Actions #6

Updated by okurz over 6 years ago

hi @michalnowak, as a first step I don't mind if you propose a solution that is just blindly waiting longer to make it more robust with a hint to this ticket that this should be improved in the long run.

Actions #7

Updated by michalnowak over 6 years ago

One thing we could possibly do is to test in select_console('svirt') (when activating it) for match for "Password:" needle (https://openqa.suse.de/tests/1206281#step/bootloader_hyperv/2) and enter VIRSH_PASSWORD from test code.

Actions #8

Updated by okurz about 6 years ago

  • Due date set to 2018-03-13
Actions #9

Updated by riafarov about 6 years ago

  • Subject changed from [sle][functional][hyperv]test fails in bootloader_hyperv to login - typing password to early? to [sle][functional][hyperv] test fails in bootloader_hyperv (Command on Hyper-V failed at bootloader_hyperv.pm line 25)
  • Description updated (diff)
  • Status changed from New to Workable
Actions #10

Updated by mgriessmeier about 6 years ago

  • Assignee set to mgriessmeier
Actions #11

Updated by michalnowak about 6 years ago

Was wrong in my analysis above.

Looks to me like the sort of problems fixed by https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/4311:

[2018-02-22T14:13:35.0973 CET] [debug] Command executed: powershell -Command Start-VM openQA-SUT-2
[2018-02-22T14:13:40.0238 CET] [debug] Command's stderr:
Start-VM : The operation cannot be performed while the object is in use.

But an actual verification that hyperv_cmd_with_retry works on scale of build is certainly desirable :).

Actions #12

Updated by mgriessmeier about 6 years ago

  • Status changed from Workable to In Progress
Actions #13

Updated by mgriessmeier about 6 years ago

  • Subject changed from [sle][functional][hyperv] test fails in bootloader_hyperv (Command on Hyper-V failed at bootloader_hyperv.pm line 25) to [sle][functional][hyperv][easy] test fails in bootloader_hyperv (Command on Hyper-V failed at bootloader_hyperv.pm line 25)
  • Status changed from In Progress to Resolved

recheckedd with michal
didn't happen for the last 6 builds
considering as fixed

Actions

Also available in: Atom PDF