Project

General

Profile

action #49961

Updated by mkittler almost 5 years ago

## Acceptance criteria 

 - **AC:** Prevent svirt backend to hang on `virsh undefine` command, e.g. reduce os-autoinst shows more specific information about what caused the timeout for this command. timeout. 

 ## Observation 

 ``` 

 [2019-04-02T18:12:36.938 CEST] [debug] Command executed: virsh    destroy openQA-SUT-1, ret=0 
 [2019-04-02T18:12:37.090 CEST] [debug] Connection to root@s390p8.suse.de established 
 [2019-04-02T18:12:37.182 CEST] [debug] Command's stdout: 
 Domain openQA-SUT-1 has been undefined 


 [2019-04-02T18:12:37.182 CEST] [debug] Command executed: virsh    undefine --snapshots-metadata openQA-SUT-1, ret=0 <<<<<<<< apparently it hangs after attempting to execute this command 
 [2019-04-02T19:39:01.274 CEST] [debug] backend got TERM 
 [2019-04-02T19:39:01.275 CEST] [debug] Destroying openQA-SUT-1 virtual machine 
 XIO:    fatal IO error 11 (Resource temporarily unavailable) on X server ":60535" 
       after 15744 requests (15744 known processed) with 0 events remaining. 
 XIO:    fatal IO error 11 (Resource temporarily unavailable) on X server ":57603" 
       after 15740 requests (15583 known processed) with 0 events remaining. 
 [2019-04-02T19:39:01.290 CEST] [debug] signalhandler got TERM 
 [2019-04-02T19:39:01.290 CEST] [debug] killing backend process 657476 
 ``` 

 ## Reproducible 

 Fails since Build [204.1](https://openqa.suse.de/tests/2763448) 
 in scenario sle-15-SP1-Installer-DVD-s390x-gnome+proxy_SCC+allmodules@s390x-kvm-sle12 

 Latest builds are working again. 

 ## Expected result 

 Last good: [199.1](https://openqa.suse.de/tests/2752173) 


 ## Further details 

 Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?distri=sle&arch=s390x&flavor=Installer-DVD&test=gnome%2Bproxy_SCC%2Ballmodules&version=15-SP1&machine=s390x-kvm-sle12) 

Back