Actions
action #10138
closedclear console seems to not work everytime
Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Bugs in existing tests
Target version:
Start date:
2016-01-07
Due date:
% Done:
100%
Estimated time:
Difficulty:
Description
observation¶
clear console seems to not work, e.g. see
- cryptlvm_minimal_x: https://openqa.suse.de/tests/175735 (reference https://openqa.suse.de/tests/168844)
- logfile: https://openqa.suse.de/tests/175735/file/autoinst-log.txt: "needle(s) 'cleared-console' not found"
Updated by RBrownSUSE almost 9 years ago
- Assignee set to RBrownSUSE
- % Done changed from 0 to 80
Updated by RBrownSUSE almost 9 years ago
- Assignee changed from RBrownSUSE to okurz
Proposed fix superseded by https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/926
Assigning to Oli
Updated by RBrownSUSE almost 9 years ago
- Checklist item changed from to [ ] SLE, [ ] Tumbleweed, [ ] Leap
- Target version changed from 154 to 162
Updated by okurz almost 9 years ago
My PR got merged but I don't understand what is happening here:
>>> assert_screen: match=broken-console-font timed out after 5
<<< type_string(string='clear
', max_interval=250)
<<< assert_screen(mustmatch='cleared-console', timeout=30)
MATCH(consoletest_setup-20141125:0.96)
MATCH(cleared-console-autoyast-font-20141126:0.96)
no match 30
MATCH(consoletest_setup-20141125:1.00)
MATCH(cleared-console-autoyast-font-20141126:1.00)
>>> assert_screen: match=cleared-console timed out after 30
<<< mydie(cause_of_death=[
'needle(s) \'cleared-console\' not found'
])
After the call to "clear" there is
no match 30
which means that there was no match but we still have a timeout of "30 tries". correct?
why don't I see a decrease to 0 before failing then?
Updated by okurz almost 9 years ago
ok, I think I understood it better.
no match <high_number>
could mean it exited early from the loop because the screen did not change at all --> check in source code and try to improve log messageno match 2
and then fail could mean an "off-by-one" incorrectness, return from the loop in the second-to-last run not the last run --> crosscheck and potentially improve
Updated by okurz almost 9 years ago
- Status changed from In Progress to Resolved
- % Done changed from 80 to 100
tests seem to be fixed regarding to 'clear-console'. Follow up task about improvement on "assert_screen" created: https://progress.opensuse.org/issues/10368
Updated by okurz almost 9 years ago
issue mentioned in #10138#note-8 fixed in #10326
Updated by okurz almost 9 years ago
- Target version changed from 162 to Milestone 1
Actions