Project

General

Profile

Actions

action #16418

closed

[tools][sprint 201712.2] svirt: openQA won't perform another query_isotovideo check when VM is down -> incompletes

Added by michalnowak over 7 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
michalnowak
Category:
Feature requests
Target version:
Start date:
2017-02-02
Due date:
% Done:

100%

Estimated time:

Description

This happens nearly always on svirt backend when openQA checks (assert_shutdown) for VM being alive or gone:

02:00:54.5751 Debug: /var/lib/openqa/share/tests/sle/tests/x11/shutdown.pm:122 called testapi::assert_shutdown
02:00:54.5752 13154 <<< testapi::assert_shutdown(timeout=60)
02:00:54.6697 13155 Connection to root@openqaw6-kvm.qa.suse.de established
02:00:54.7792 13155 Command executed: ! virsh dominfo openQA-SUT-1 | grep -w 'shut off', ret=0
02:00:55.8770 13155 Connection to root@openqaw6-kvm.qa.suse.de established
02:00:55.9934 13155 Command executed: ! virsh dominfo openQA-SUT-1 | grep -w 'shut off', ret=0
02:00:57.0986 13155 Connection to root@openqaw6-kvm.qa.suse.de established
02:00:57.2200 13155 Command executed: ! virsh dominfo openQA-SUT-1 | grep -w 'shut off', ret=0
02:00:58.3218 13155 Connection to root@openqaw6-kvm.qa.suse.de established
02:00:58.4442 13155 Command executed: ! virsh dominfo openQA-SUT-1 | grep -w 'shut off', ret=0
02:00:59.5340 13155 Connection to root@openqaw6-kvm.qa.suse.de established
02:00:59.6420 13155 Command executed: ! virsh dominfo openQA-SUT-1 | grep -w 'shut off', ret=0
02:01:00.7386 13155 Connection to root@openqaw6-kvm.qa.suse.de established
02:01:00.8455 13155 Command executed: ! virsh dominfo openQA-SUT-1 | grep -w 'shut off', ret=0
02:01:01.9331 13155 Connection to root@openqaw6-kvm.qa.suse.de established
02:01:02.0630 13155 Command executed: ! virsh dominfo openQA-SUT-1 | grep -w 'shut off', ret=0
02:01:03.1563 13155 Connection to root@openqaw6-kvm.qa.suse.de established
02:01:03.2704 13155 Command executed: ! virsh dominfo openQA-SUT-1 | grep -w 'shut off', ret=0
02:01:04.3779 13155 Connection to root@openqaw6-kvm.qa.suse.de established
02:01:04.4983 13155 Command executed: ! virsh dominfo openQA-SUT-1 | grep -w 'shut off', ret=0

02:01:09.5313 13155 considering VNC stalled - turning black
03:12:11.0452 13147 signalhandler got TERM - loop 1

https://openqa.suse.de/tests/754073/file/autoinst-log.txt

The call where it stops inside assert_shutdown is query_isotovideo's read_json. Not sure if read_json comes from query_isotovideo or is some asynchronous one.


Files

strace.log (716 KB) strace.log michalnowak, 2017-02-06 14:18
xaa (9.54 MB) xaa 1st part of strace.log.xz michalnowak, 2017-02-15 13:41
xab (7.86 MB) xab 2nd part of strace.log.xz michalnowak, 2017-02-15 13:41
5906-autoinst-log.txt (226 KB) 5906-autoinst-log.txt michalnowak, 2017-05-19 10:00

Related issues 3 (0 open3 closed)

Related to openQA Tests - action #28216: [svirt-xen-hvm]test fails with 2h-timeout in "install_and_reboot" trying to restart the machine - xen backend specific restart command failed?Resolvedmichalnowak2017-11-22

Actions
Has duplicate openQA Tests - action #28331: [sle][functional][svirt-xen-hvm] test fails in shutdown - 2h timeoutRejected2017-11-24

Actions
Blocks openQA Tests - action #10206: [tools]libvirt tests (Xen, Hyper-V, VMware)Resolvedmichalnowak2016-01-13

Actions
Actions

Also available in: Atom PDF