[s390x][svirt][ltp] Fix serial terminal console implementation for svirt backend and use it's output
#36457 implemented generic serial console for svirt backend (serial0.txt in assets). But that's not enough LTP tests s390x as tests itself still have output in bitmap (https://openqa.suse.de/tests/2336735#step/ping601/1) instead of text (https://openqa.suse.de/tests/2337315#step/ping601/6).
The goal is to have text output in serial_terminal.txt also on svirt when using
#3 Updated by pvorel over 3 years ago
Virtio terminal (
consoles::virtio_terminal) uses unix socket as file handle.
Serial console for svirt (
consoles::sshVirtshSUT) implementation, which connects over SSH (with
Net::SSH2) provides network socket
IO::Socket::IP, which cannot used the same way as unix socket :). This part needs to be rewritten.
#4 Updated by pvorel about 3 years ago
Created 2 PR:
But still the main thing (support for network sockets in
consoles::virtio_screen) I haven't implemented yet.
#5 Updated by pvorel about 3 years ago
PoC of my special test:
Testing also real test (install_ltp):
Original PR enhanced, needs cleanup + support of live streaming of serial_terminal.txt
Also worker required tiny change:
Test side finished, but will need to wait for merge and deployment of other two:
#9 Updated by pvorel about 3 years ago
Updated PRs, waiting for feedback.
Travis test is failing due download issue (see https://api.travis-ci.org/v3/job/505131336/log.txt):
Fetching http://no.where/authors/id/D/DS/DSKOLL/IO-stringy-2.111.tar.gz ... FAIL
#13 Updated by pvorel about 3 years ago
- Status changed from Feedback to In Progress
openQA PR merged.
Test repository ready (but going to be merged once os-autoinst is deployed)
Still having some issues with os-autoinst, but close to have it all fixed.
I got into trap with cleaning way too much, so handling issue with Hyper-V and VMware (tests maintained by mnowak). I guess I've found problematic parts and reverted them and document them (#49547).
Now testing it + need to solve issue with install_ltp.
#15 Updated by pvorel about 3 years ago
Waiting for mkittler to merge https://github.com/os-autoinst/os-autoinst/pull/1109
Test waits to be merged once os-autoinst is merged and deployed
#17 Updated by pvorel about 3 years ago
os-autoinst part (the biggest one, https://github.com/os-autoinst/os-autoinst/pull/1109) merged.
Before merging test part (https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6841) waiting 1) for being deployed 2) set SERIAL_CONSOLE=0 to all but s390x svirt machines in their definitions (so it's enabled only for s390x).
#20 Updated by pvorel about 3 years ago
Agreed with mnowak to wait for SLE15 SP1 GMC before merging changes in test repository (last piece)
#21 Updated by pvorel almost 3 years ago
- Status changed from Feedback to Resolved
Test changes were finally today (after GM) merged.