Project

General

Profile

Actions

action #44771

closed

[tools][svirt] Can't call method "exec" on an undefined value

Added by michalnowak almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2018-12-05
Due date:
% Done:

0%

Estimated time:

Description

Many svirt Hyper-V (and VMware I run locally) jobs with console/integration_services test fail with:

Can't call method "exec" on an undefined value at /usr/lib/os-autoinst/consoles/sshVirtsh.pm line 583.

First such a failure on OSD is https://openqa.suse.de/tests/2277811#step/integration_services/6 from 23 Nov 2018.

The problem started to be more apparent on OSD since Dec 1st 19:00 UTC. Tests which started before that did not exhibit the issue (https://openqa.suse.de/tests/2296473#step/integration_services/16), those started after, do. (I don't know why it's so, maybe it's not relevant.)

The more substantial change in svirt between 20181115 and 20181129 deployments is https://github.com/os-autoinst/os-autoinst/pull/1048/.

The sub in question is https://github.com/os-autoinst/os-autoinst/blob/master/consoles/sshVirtsh.pm#L576.

I noticed that the issue exhibits only when the console/integration_services test is scheduled after the VM is restarted (due to installation finished), when I schedule the test soon after installation/bootloader test the issue does not happen. Console reset() in action?


Related issues 2 (0 open2 closed)

Related to openQA Tests - action #44840: [hyperv] Use of uninitialized value in lib/utils integration_services_check_ip()Resolvedmichalnowak2018-12-06

Actions
Related to Containers and images - action #81878: [jeos] Failed to create ssh channel to vmware host in integration_services moduleResolvedybonatakis

Actions
Actions

Also available in: Atom PDF