Project

General

Profile

action #50456

Updated by mgriessmeier almost 5 years ago

## Motivation 

 As discussed in https://progress.opensuse.org/issues/49763 a way to gather logs from a SUT in failed state (e.g. according to [bsc#1130701](https://bugzilla.suse.com/show_bug.cgi?id=1130701)) would be very useful 
 Some good entry points are provided in the related ticket 


 ## Acceptance criteria 

 - **AC1** Kernel messages do not cause pot_fail_hook to fail 
 - **AC2** When [bsc#1130701](https://bugzilla.suse.com/show_bug.cgi?id=1130701) happens, the job provides logs from post_fail_hook. 
 - **AC3** A proper console is used for kernel messages (e.g. log-console on tty5) 


 ## Suggestions 

 - Find out why on aarch64 the behavior of the serial and root console is different (merged output) 
 - Implement a solution to avoid that kernel messages interrupt the uploading of logs. 
   - We could use another console to upload logs. There is a console [log-console on tty5](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/lib/susedistribution.pm#L406)

Back