Project

General

Profile

action #14068

Updated by okurz over 7 years ago

## observation 

 For example https://openqa.suse.de/tests/600788#step/zypper_migration/9 fails after migration. In "first_boot" we already support some this error handling to press "esc" but we need it also here and (and in reboot_gnome and also in case linuxrc does not boot up and is stuck in progress bar, see [bsc#999231](https://bugzilla.suse.com/show_bug.cgi?id=999231). 


 ## problem bar). 

 As online migration fails often in current cases we want this urgently. 
 Gathering logs is not easy as the system can stop in very different steps and also in many cases does not allow to log into an existing shell (e.g. stuck during boot). 


 ## suggestion 

 * Press "esc" in case of boot/reboot times out to gather some console information as we already do in "first_boot" 
 * Instruct qemu backends to do a memory dump and save it as we do for logs 
  * Add qemu backend support to save memory dump 
  * In post_fail_hook of corresponding tests (start with first_boot) trigger the memdump 
  * Save the memdump to be accessible 
  * Make sure the size of memdump is not too big (e.g. < 2MB) as we have like 1000 failing tests each day and not infinite disk space 

Back