Closed
Bug 1020266
Opened 11 years ago
Closed 11 years ago
[flame] Tests for playing videos are intermittently failing
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect, P1)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1020298
People
(Reporter: AndreiH, Assigned: AndreiH)
Details
Attachments
(1 file)
79.92 KB,
image/png
|
Details |
I saw this first on Flame device in run:
http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Flame/job/b2g.flame.mozilla-b2g30_v1_4.ui.non-smoketest/2/HTML_Report/
Traceback (most recent call last):
File "/var/jenkins/workspace/b2g.flame.mozilla-b2g30_v1_4.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette_test.py", line 163, in run
testMethod()
File "/var/jenkins/workspace/b2g.flame.mozilla-b2g30_v1_4.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/tests/functional/videoplayer/test_play_webm_video.py", line 23, in test_play_webm_video
video_player.wait_for_thumbnails_to_load(1)
File "/var/jenkins/workspace/b2g.flame.mozilla-b2g30_v1_4.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/apps/videoplayer/app.py", line 27, in wait_for_thumbnails_to_load
timeout=files_number * 5)
File "/var/jenkins/workspace/b2g.flame.mozilla-b2g30_v1_4.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 54, in wait_for_condition
Wait(self.marionette, timeout).until(method, message=message)
File "/var/jenkins/workspace/b2g.flame.mozilla-b2g30_v1_4.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/wait.py", line 143, in until
cause=last_exc)
TimeoutException: TimeoutException: Timed out after 5.10811114311 seconds
![]() |
Assignee | |
Comment 1•11 years ago
|
||
I see that the frame shown in the attachment screenshot always appears before the video loads.
I will try to see if this is happening on Hamachi.
![]() |
Assignee | |
Updated•11 years ago
|
Assignee: nobody → andrei.hutusoru
![]() |
Assignee | |
Updated•11 years ago
|
Priority: -- → P1
![]() |
||
Comment 2•11 years ago
|
||
timeout=files_number * 5
That wait seems too short to me. I think it should be more like (in pseudo-code):
default_timeout + (files_number * 5)
Or something to that effect.
![]() |
Assignee | |
Comment 3•11 years ago
|
||
Zac I opened bug 1020298, because I tried with bigger timeout 10 and 15 seconds and the videos still didn't load.
The test still failed intermittently with the timeout changed, and as a Firefox OS user I wouldn't want to wait more than 5 seconds really.
![]() |
Assignee | |
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•