Project

General

Profile

Actions

action #13700

closed

yast2_i test failing on low timeout

Added by mkravec over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
2016-09-13
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

yast2 sw_single command takes longer than 30s to initialize.

assert_screen 'empty-yast2-sw_single' times out.

Actions #2

Updated by coolo over 7 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

Actions #3

Updated by okurz over 7 years ago

  • Assignee deleted (okurz)

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.

Actions #4

Updated by mkravec over 7 years ago

  • Assignee set to mkravec
Actions #5

Updated by mkravec over 7 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
PR: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/1908

Actions #6

Updated by mkravec over 7 years ago

Another problem is that assert_screen matches previous screen (before type_string "$pkgname\n" loads)
https://openqa.opensuse.org/tests/277092#step/yast2_i/12
PR: https://github.com/os-autoinst/os-autoinst-needles-opensuse/pull/115

Actions #7

Updated by mkravec over 7 years ago

  • Status changed from In Progress to Resolved
Actions #8

Updated by mkravec over 7 years ago

  • Status changed from Resolved to In Progress

Failed to remove packages in time:
https://openqa.suse.de/tests/610961#step/yast2_i/1

Actions #9

Updated by okurz over 7 years ago

Actions #10

Updated by mkravec over 7 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF