action #33100
closed[functional]test fails in gpg - potentially too short wait time
0%
Description
Updated by okurz almost 7 years ago
- Subject changed from test fails in gpg - potentially too short wait time to [functional]test fails in gpg - potentially too short wait time
- Assignee set to pcervinka
- Target version set to Milestone 17
Hi @pcervinka, you removed yourself as assignee without a comment. Could you please share why you removed yourself? Rado and me selected you because you are one of the maintainers of the test module so this is why you were our first choice. Was this wrong?
Updated by pcervinka almost 7 years ago
Thanks for the notice. This must definitely some error on my side, not sure why at the moment. Although I don't work with SP4 I will check that issue later. So far it didn't happen on SP2/SP3.
Updated by okurz almost 7 years ago
hm, sure it could be something 12SP4 specific problem but I doubt this is true. I consider it more likely that aarch64 is the culprit having different timing behaviour. I have the feeling that the many wait_still_screen 1
in the test module are not the most robust choice.
Updated by pcervinka almost 7 years ago
I agree that 'wait_still_screen' seems to be overused (it was my 1st contact with openQA that time). My current idea is to replace each step with assert screen (to avoid possible timing issues). What do you think?
The problem is that I don't have aarch64 worker available for my private openQA instance. Do you know who could lend me aarch64 for short time?
Updated by okurz almost 7 years ago
- Has duplicate action #32815: [sle][functional][easy] test fails in gpg - increase timeout added
Updated by okurz almost 7 years ago
pcervinka wrote:
I agree that 'wait_still_screen' seems to be overused (it was my 1st contact with openQA that time). My current idea is to replace each step with assert screen (to avoid possible timing issues). What do you think?
Well, at best a console based test does not need to rely on any screen checks except when you really want to check the rendering of a UI. I suggest to use either wait_serial
in combination with assert_script_run/script_run
calls or do the actual test using something like expect
.
The problem is that I don't have aarch64 worker available for my private openQA instance. Do you know who could lend me aarch64 for short time?
I guess "aarch64" is only triggering failures because it is slower. That should not mean you need to test on aarch64. For the purpose of simulating a slow aarch64 instance you can actually use qemu to emulate the architecture. If you really want to test on aarch64 then I suggest to lend a machine on orthos
Updated by pcervinka almost 7 years ago
I remember now, why is used wait_stil_screen
so much. There are several options entered in one command in "question and answer" mode during key generation.
Ok, I will focus only on that particular line 73 with validat_screen_output.
Updated by pcervinka almost 7 years ago
Happened also on SLE12 x86_64 https://openqa.suse.de/tests/1548776#step/gpg/28
Updated by pcervinka almost 7 years ago
Updated by pcervinka almost 7 years ago
- Status changed from In Progress to Feedback
PR was merged, let's see next result on aarch64.
Updated by okurz over 6 years ago
This is an autogenerated message for openQA integration by the openqa_review script:
This bug is still referenced in a failing openQA test: extra_tests_in_textmode
https://openqa.suse.de/tests/1535915
Updated by pcervinka over 6 years ago
- Status changed from Feedback to In Progress
Still fails: https://openqa.suse.de/tests/1584947#step/gpg/30
Updated by pcervinka over 6 years ago
- Status changed from In Progress to Feedback
Let's see how it will behave after: https://github.com/os-autoinst/os-autoinst-distri-opensuse/commit/79ca09b19e1182f8bb750dcb95cd270d5f9060bd
Verification on real aarch64:
http://10.161.32.75/tests/73#step/gpg/1
Updated by okurz over 6 years ago
This is an autogenerated message for openQA integration by the openqa_review script:
This bug is still referenced in a failing openQA test: extra_tests_in_textmode
https://openqa.suse.de/tests/1588098
Updated by pcervinka over 6 years ago
- Status changed from Feedback to Resolved
Seems to be fine, several openQA runs on ARM are without error.
Updated by okurz over 6 years ago
- Target version changed from Milestone 17 to Milestone 17
Updated by oorlov over 6 years ago
- Status changed from Resolved to Workable
Happened again on sle-12-SP4-Server-DVD-aarch64-Build0282-extra_tests_in_textmode@aarch64.
Reopened.
Updated by okurz over 6 years ago
- Target version changed from Milestone 17 to Milestone 19
Updated by okurz about 6 years ago
- Status changed from Workable to Resolved
I see last failure 3 months ago and no value in trying to hammer the same ticket because when the test would fail again I am sure we need to investigate the new root cause independantly