[functional][u] test fails in vlc - sometimes fails to close vlc
#6 Updated by zluo almost 2 years ago
- Status changed from New to In Progress
- Assignee set to zluo
https://openqa.opensuse.org/tests/764397#step/vlc/47 still failed atm.
#14 Updated by zluo almost 2 years ago
#18 Updated by okurz over 1 year ago
- Assignee changed from zluo to okurz
Seems like you missed my suggestion in https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5897#issuecomment-429309062
Many tests failed because of - maybe obvious - missing needles. Created new needles with lower match level and smaller areas to be more resiliant. I am also monitoring openSUSE Tumbleweed on different arches, Leap, as well as the Maintenance jobs I could find failing in vlc.
#19 Updated by okurz over 1 year ago
- Status changed from Feedback to Resolved
Could not find anymore failed test steps in VLC on openqa.opensuse.org checking openSUSE Tumbleweed, ports, Leap, maintenance tests except for one failure in openSUSE Tumbleweed with a correctly referenced product bug regarding VLC. I guess we are done here now.
#20 Updated by zluo over 1 year ago
- Status changed from Resolved to Workable
- Assignee changed from okurz to zluo
https://openqa.opensuse.org/tests/775034#step/vlc/27 shows that needle got found for assert_and_click but vlc still cannot get closed.
Think about to repeat this action...
#21 Updated by zluo over 1 year ago
I think we have this issue again: https://bugzilla.opensuse.org/show_bug.cgi?id=1102838
https://openqa.opensuse.org/tests/775034#step/vlc/26 shows needle match for vlc_playing, but I don't see screen for this playing before like:
So the current vlc-done-playing needle is always matching even when vlc cannot play the video.
First change is to create a new needle from page: https://openqa.opensuse.org/tests/769052#step/vlc/28
#22 Updated by okurz over 1 year ago
https://openqa.opensuse.org/tests/769052/file/video.ogv#t=252.62,252.67 shows what happens in the case of passing tests: The URL to the video is typed, the play button is pressed, the screen referenced before shows up what looks like the video is done but it is not, it never started. It only starts afterwards.
#23 Updated by zluo over 1 year ago
okurz I found also the order of screens is wrong, 00:21 shows up before 00:20 :)
#25 Updated by zluo over 1 year ago
#26 Updated by zluo over 1 year ago
#27 Updated by zluo over 1 year ago
#28 Updated by okurz over 1 year ago
As discussed with zluo we assume that the bug https://bugzilla.suse.com/show_bug.cgi?id=1102838 might actually be invalid as the needles with the tag "vlc-done-playing" are not giving VLC enough time to check if the video actually started. zluo tried to ensure this with needles covering the background of the actually rendered video which could turn out to be not perfectly robust but we can still create new needles when the video actually stopped playing. However the new needle(s) should cover the pause button which turned into a play button. https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5997 reverts the last code change. I delete the "info" needle which would match prematurely and will monitor according jobs on o3. I also provided a comment in the bug that it might be invalid.
#29 Updated by zluo over 1 year ago
- Status changed from In Progress to Resolved
shows new needle checking at right place now.
#30 Updated by zluo over 1 year ago
https://openqa.opensuse.org/tests/779198#step/vlc/24 shows correct needle match as well for Leap.