Closed Bug 1065989 Opened 10 years ago Closed 6 years ago

Intermittent failure in test_play_3gp_video.py | Media resource blob could not be decoded.

Categories

(Firefox OS Graveyard :: Gaia::Video, defect, P1)

Other
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: zcampbell, Assigned: zcampbell)

Details

Attachments

(1 file)

This test is failing with an error after it taps on the thumbnail icon.

Traceback (most recent call last):
File "/var/jenkins/1/workspace/flame.b2g-inbound.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_client-0.8.4-py2.7.egg/marionette/marionette_test.py", line 264, in run
testMethod()
File "/var/jenkins/1/workspace/flame.b2g-inbound.ui.functional.smoke/tests/python/gaia-ui-tests/gaiatest/tests/functional/videoplayer/test_play_3gp_video.py", line 31, in test_play_3gp_video
fullscreen_video = video_player.tap_first_video_item()
File "/var/jenkins/1/workspace/flame.b2g-inbound.ui.functional.smoke/tests/python/gaia-ui-tests/gaiatest/apps/videoplayer/app.py", line 43, in tap_first_video_item
fullscreen.wait_for_player_frame_displayed()
File "/var/jenkins/1/workspace/flame.b2g-inbound.ui.functional.smoke/tests/python/gaia-ui-tests/gaiatest/apps/videoplayer/regions/fullscreen_video.py", line 19, in wait_for_player_frame_displayed
self.wait_for_element_displayed(*self._video_player_frame_locator)
File "/var/jenkins/1/workspace/flame.b2g-inbound.ui.functional.smoke/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 44, in wait_for_element_displayed
lambda m: m.find_element(by, locator).is_displayed())
File "/var/jenkins/1/workspace/flame.b2g-inbound.ui.functional.smoke/.env/local/lib/python2.7/site-packages/marionette_client-0.8.4-py2.7.egg/marionette/wait.py", line 143, in until
cause=last_exc)
TimeoutException: TimeoutException: Timed out after 30.0 seconds


I can replicate it locally about 1 in 5. I'll test it.
Error message chucked is:
E/GeckoConsole( 7868): [JavaScript Warning: "Media resource blob:app://video.gaiamobile.org/39fae6c0-8328-4900-a050-85e64cbc44c2 could not be decoded." {file: "app://video.gaiamobile.org/index.html" line: 0}]

Maybe the blob is ill formed. 

Experimented with the timing of Video launch and it improved things. I'll bolster the launch wait.
I've tried combinations of sleeps and waits, thinking that Gaia or the Video app needs a bit more time to 'start up' but it doesn't seem to change things.

I'll follow up with a logcat in the next comment.
Summary: Intermittent failure in test_play_3gp_video.py → Intermittent failure in test_play_3gp_video.py | Media resource blob could not be decoded.
Attached file video_log_failure.log
Notable events in this logcat:

line 354 - Marionette taps on the <li> that represents the video in the Video app
line 485 - Gecko error message about blob decoding
line 694 - test automation ends
line 777 - I notice that the test has failed and I grab the device and tap the <li> manually but this time the video plays
This automated test can be run using the instructions here:

https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/gaia-ui-tests/Gaia_UI_Tests_Run_Tests#Testing_on_Firefox_OS_Devices

and the command line here:

gaiatest --testvars gaiatest/testvars.json --html-output=results/index.html  --address localhost:2828 --restart gaiatest/tests/functional/videoplayer/test_play_3gp_video.py
Component: Gaia::UI Tests → Gaia::Video
Sotaro, do you think this bug is related to bug 1050667 too?
Flags: needinfo?(sotaro.ikeda.g)
(In reply to Zac C (:zac) from comment #5)
> Sotaro, do you think this bug is related to bug 1050667 too?

From the following log, video's omx codec is successfully allocated. Then, bug 1050667 seems not related to this bug. When bug 1050667 happens, it does not allocate video codec. 

> 09-11 16:20:42.695 I/OMXCodec(19716): [OMX.qcom.video.decoder.h263] video dimensions are 352 x 288
> 09-11 16:20:42.695 I/OMXCodec(19716): [OMX.qcom.video.decoder.h263] Crop rect is 352 x 288 @ (0, 0)
Flags: needinfo?(sotaro.ikeda.g)
Closing all intermittent test failures for Firefox OS (since we're not focusing on it anymore).

Please reopen if my search included your bug by mistake.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: