action #45863
closed[s390x][svirt][ltp] Fix serial terminal console implementation for svirt backend and use it's output
Added by pvorel almost 6 years ago. Updated about 4 years ago.
0%
Description
#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 select_serial_terminal()
.
Updated by pvorel almost 6 years ago
- Related to action #36457: Implement serial terminal console for svirt backend added
Updated by pvorel almost 6 years ago
- Status changed from New to In Progress
WIP, adding new serial console for svirt backend (not only s390x).
Updated by pvorel almost 6 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.
Updated by pvorel almost 6 years ago
Created 2 PR:
https://github.com/os-autoinst/os-autoinst/pull/1109
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6841
But still the main thing (support for network sockets in consoles::virtio_screen
) I haven't implemented yet.
Updated by pvorel almost 6 years ago
PoC of my special test:
http://quasar.suse.cz/tests/1892#downloads
http://quasar.suse.cz/tests/1892/file/serial_terminal.txt
Testing also real test (install_ltp):
http://quasar.suse.cz/tests/1896
Original PR enhanced, needs cleanup + support of live streaming of serial_terminal.txt
https://github.com/os-autoinst/os-autoinst/pull/1109
Also worker required tiny change:
https://github.com/os-autoinst/openQA/pull/2003
Test side finished, but will need to wait for merge and deployment of other two:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6841
Updated by pvorel almost 6 years ago
- Subject changed from [s390x][svirt][ltp] Use output of serial console on svirt to [s390x][svirt][ltp] Fix serial terminal console for svirt backend and use it's output
Updated by pvorel almost 6 years ago
- Subject changed from [s390x][svirt][ltp] Fix serial terminal console for svirt backend and use it's output to [s390x][svirt][ltp] Fix serial terminal console implementation for svirt backend and use it's output
Updated by pvorel almost 6 years ago
- Related to action #46967: [functional][u][tools] warning in bootloader_zkvm: Calling Net::SSH2::Channel::readline in non-blocking mode is usually a programming error added
Updated by pvorel almost 6 years ago
Updated PRs, waiting for feedback.
https://github.com/os-autoinst/os-autoinst/pull/1109
https://github.com/os-autoinst/openQA/pull/2003
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6841
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
Updated by pvorel almost 6 years ago
- Related to action #49394: [s390x][svirt] Print content of kernel log and serial console into "Serial output" field added
Updated by pvorel almost 6 years ago
- Status changed from In Progress to Feedback
Waiting for mnowak review and approval.
Updated by pvorel almost 6 years ago
- Related to action #49547: [virtualization][svirt] Refactor how svirt handles credentials for SSH added
Updated by pvorel almost 6 years ago
- Status changed from Feedback to In Progress
openQA PR merged.
https://github.com/os-autoinst/openQA/pull/2003
Test repository ready (but going to be merged once os-autoinst is deployed)
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6841
Still having some issues with os-autoinst, but close to have it all fixed.
https://github.com/os-autoinst/os-autoinst/pull/1109
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.
Updated by pvorel almost 6 years ago
- Status changed from In Progress to Feedback
Updated by pvorel almost 6 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
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6841
Updated by pcervinka over 5 years ago
- Blocks action #49655: [qam][sporadic][blue] test fails in evolution_prepare_servers - Race condition when typing password added
Updated by pvorel over 5 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).
Updated by pcervinka over 5 years ago
- Blocks deleted (action #49655: [qam][sporadic][blue] test fails in evolution_prepare_servers - Race condition when typing password)
Updated by pvorel over 5 years ago
- Related to action #50945: [tools][svirt] Svirt serial backend gets stalled by new lines in command passed to script_run added
Updated by pvorel over 5 years ago
Agreed with mnowak to wait for SLE15 SP1 GMC before merging changes in test repository (last piece)
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6841
Updated by pvorel over 5 years ago
- Status changed from Feedback to Resolved
Test changes were finally today (after GM) merged.
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6841
Updated by pcervinka about 4 years ago
- Target version changed from 457 to QE Kernel Done