action #45047
closed
[functional][u][s390x][zvm] test fails in reconnect_s390 - could not connect to host causing many incompletes
Added by okurz over 5 years ago.
Updated over 5 years ago.
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 22
Description
Observation¶
openQA test in scenario sle-15-SP1-Installer-DVD-s390x-btrfs@s390x-zVM-ctc fails in
reconnect_s390
trying to reach the host over ssh, see the messages in https://openqa.suse.de/tests/2325162/file/autoinst-log.txt . We already try for multiple minutes multiple times. I will also report a product issue about this as I am pretty sure test code did not change and this happens now reproducibly with the product. However, our tests do not handle this well. incompletes should be avoided.
Reproducible¶
Fails since https://openqa.suse.de/tests/2312987 for 10 builds in a row now.
Expected result¶
Tests should not fail as incomplete in the case of not being able to reach the remote
Further details¶
Always latest result in this scenario: latest
- Target version set to Milestone 21
- Status changed from New to In Progress
- Assignee set to mgriessmeier
incompletes because the "Die" happens in the backend since the 'iucvconn' is a serial one which is not known in the tests
We would expect the test to fail and not complete. What is happening:
[2018-12-12T11:09:09.080 CET] [debug] Could not connect to root@s390ctc152.suse.de, Retry
[2018-12-12T11:09:19.080 CET] [debug] Backend process died, backend errors are reported below in the following lines Failed to login to root@s390ctc152.suse.de at /usr/lib/os-autoinst/backend/baseclass.pm line 1195.
So there is a call to "die" but it is in the backend and not the test context, see
https://github.com/os-autoinst/os-autoinst/blob/master/backend/baseclass.pm#L1195
Somehow we need to forward that information to test context
okurz wrote:
Somehow we need to forward that information to test context
I can not come up with a quick solution...
Will take a look on monday
- Target version changed from Milestone 21 to Milestone 22
- Status changed from In Progress to Feedback
- Blocks action #41237: [functional][u][ipmi] test fails in first_boot after system shows text tty login prompt but fails to connect to machine over SSH -> need better post_fail_hook or retry, compare to s390x approach added
- Status changed from Feedback to Resolved
well, it was merged already 15 days ago. You mean it was "deployed"? Does it work in production?
Also available in: Atom
PDF