yast2_i test failing on low timeout
yast2 sw_single command takes longer than 30s to initialize.
assert_screen 'empty-yast2-sw_single' times out.
#1 Updated by mkravec about 6 years ago
Multiple, probably unrelated fails:
https://openqa.suse.de/tests/598748#step/yast2_i/17 - PR ready
https://openqa.suse.de/tests/600634#step/yast2_i/10 - PR ready
#2 Updated by coolo about 6 years ago
- Assignee set to okurz
- Priority changed from Normal to High
What's worse: we don't have any logs available, e.g. in https://openqa.opensuse.org/tests/275790#step/yast2_i/8
And we can't simply change the post_fail in console_yasttest as the log-console is for btrfs. So this needs some more care
#3 Updated by okurz about 6 years ago
- Assignee deleted (
I don't see why you assigned me. What I can see is that the test tries to match on empty-yast2-sw_single-20141127:0.00, fails to complete within 30 seconds, tries to switch to "root-console" for gathering logs but as the test already runs on root console it tries to enter commands into the yast UI which is obviously not a good idea. As far as I can see in
lib/susedistribution.pm the log-console is logged in as root anyway so IMHO the proper approach would be to use the
log-console. The "btrfs" debugging part should not get in the way as it only hits when the saving of files to disk does not work anymore.
I am currently unable to change this in time.
mkravec: can you try to
- replace root-console by log-console in post_fail_hook
- induce an "artificial fault" in yast2_i.pm to check
or ask someone to else to do it.
#5 Updated by mkravec about 6 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 100
From what I see job is just not able to install yast2-nfs-client in 10s - I used default timeout, will see if it works under load
#6 Updated by mkravec about 6 years ago
Another problem is that assert_screen matches previous screen (before type_string "$pkgname\n" loads)
#8 Updated by mkravec about 6 years ago
- Status changed from Resolved to In Progress
Failed to remove packages in time:
#9 Updated by okurz about 6 years ago
Increased timeout for yast2_i startup: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/1986