Calling select_serial_terminal() twice on s390x svirt backend results in error
When the same job calls
select_serial_terminal() twice on s390x svirt worker (e.g. once before and once after reboot), the test will crash with the following error:
# wait_serial expected: qr/login:\s*$/ui # Result: Script started, file is /tmp/serial_terminal.txt.DjErjAe114GKpV_a Connected to domain openQA-SUT-3 Escape character is ^] error: operation failed: Active console session exists for this domain CONSOLE_EXIT_DjErjAe114GKpV_a: 1 Script done, file is /tmp/serial_terminal.txt.DjErjAe114GKpV_a
# Test died: Failed to wait for login prompt at /var/lib/openqa/cache/openqa.suse.de/tests/sle/lib/serial_terminal.pm line 113.
select_serial_terminal() multiple times works fine on other archs.