Closed
Bug 1020298
Opened 10 years ago
Closed 10 years ago
"Add videos to get started" message is shown when opening Video app
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1024517
People
(Reporter: AndreiH, Assigned: AndreiH)
References
Details
(Whiteboard: [fromAutomation])
Attachments
(2 files)
#STR: 1. Make sure you have a video on your phone (eg. webm format) 2. Restart your phone 3. Open Video app #Expected results: Video list should load without the "Add videos to get started" #Actual results: "Add videos to get started. Load videos on to the memory card to get started" message appears before the list is loaded. Running this from automation with a clean profile means that the message is always shown and sometimes our test even fail because the warning message doesn't disappear after 5-10 seconds. First saw this fail on Flame v1.4 build: Gaia 0c16adced7c51f795ef250aebe184f60b6a9b987 Gecko https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/04216748e6c1 BuildID 20140604000202 Version 30.0 ro.build.version.incremental=94 ro.build.date=Tue May 20 09:29:20 CST 2014 I could see this being reproduced also on Flame master build: Gaia 1d4f6f7312882e78b57971152de75d1281a26187 Gecko https://hg.mozilla.org/mozilla-central/rev/668f29cd71b3 BuildID 20140604040204 Version 32.0a1 ro.build.version.incremental=94 ro.build.date=Tue May 20 09:29:20 CST 2014 And I could also see this happening on Hamachi device.
Assignee | ||
Updated•10 years ago
|
Whiteboard: [fromAutomation]
Assignee | ||
Comment 1•10 years ago
|
||
Comment 2•10 years ago
|
||
This needs to be worked around the test - there's no way we are going to block on this for 1.4 at this point. This is likely a long standing issue as well.
Component: Gaia::Video → Gaia::UI Tests
Assignee | ||
Comment 3•10 years ago
|
||
If this is the case we will increase the timeout for the videos to load and go from there :)
Assignee | ||
Comment 5•10 years ago
|
||
Increase timeout
Attachment #8434206 -
Flags: review?(zcampbell)
Attachment #8434206 -
Flags: review?(florin.strugariu)
Comment 6•10 years ago
|
||
Comment on attachment 8434206 [details] [review] PR https://github.com/mozilla-b2g/gaia/pull/20018 r-, can you make it against master and then we'll pull it down into v1.4?
Attachment #8434206 -
Flags: review?(zcampbell)
Attachment #8434206 -
Flags: review?(florin.strugariu)
Attachment #8434206 -
Flags: review-
Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8434206 [details] [review] PR https://github.com/mozilla-b2g/gaia/pull/20018 This is already on master, so no need for changes on that branch. Should have specified this :)
Attachment #8434206 -
Flags: review?(zcampbell)
Attachment #8434206 -
Flags: review?(florin.strugariu)
Attachment #8434206 -
Flags: review-
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → andrei.hutusoru
Comment 8•10 years ago
|
||
Comment on attachment 8434206 [details] [review] PR https://github.com/mozilla-b2g/gaia/pull/20018 the code on master: https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/apps/videoplayer/app.py#L25
Attachment #8434206 -
Flags: review?(florin.strugariu) → review+
Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8434206 [details] [review] PR https://github.com/mozilla-b2g/gaia/pull/20018 Merged on v1.4 https://github.com/mozilla-b2g/gaia/commit/7cef10613ad2d2d7511f0e9e762d6d3ccbcd7431
Attachment #8434206 -
Flags: review?(zcampbell)
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 10•10 years ago
|
||
This issue reappeared on latest v2.0. The same steps to reproduce from https://bugzilla.mozilla.org/show_bug.cgi?id=1020298#c0. When running the test the video thumbnail would not load at all (3gp file). I also checked the sdcard and the file is in the correct location. http://selenium.qa.mtv2.mozilla.com:8080/view/B2G/job/b2g.flame.mozilla-aurora.ui.smoketest/1/HTML_Report/ The test fails 2/10 on local device.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 11•10 years ago
|
||
Seems like this is intermittently failing on Flame. Sometimes the videos do not load as expected, taking too long or not loading at all.
Keywords: qawanted
Comment 12•10 years ago
|
||
I've been able to reproduce this issue on the latest v2.0 build by running test_play_3gp_video.py locally. It failed intermittently. I was not able to reproduce it manually, by following STR in comment 0. I ran the test by adding 'print self.data_layer.video_files': https://pastebin.mozilla.org/, which demonstrates that the video file is in the same location, in both cases (when the test fails and when it passes). After the test failed, I reopened Video app several times, but the video didn't load. By connecting my phone to the computer (by usb), I'm able to see the video file in the expected location, even if it doesn't load on Video app. Jenkins run: http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Flame/job/b2g.flame.mozilla-aurora.ui.smoketest/14/HTML_Report/ Device: Hamachi Gaia 0f254c92bc44d614ae56a855f18a895a7e4703ad Gecko https://hg.mozilla.org/releases/mozilla-aurora/rev/7f309a3a4d3d BuildID 20140617000201 Version 32.0a2 ro.build.version.incremental=108 ro.build.date=Tue Jun 10 19:40:40 CST 2014
Assignee | ||
Updated•10 years ago
|
Assignee: andrei.hutusoru → nobody
Assignee | ||
Comment 13•10 years ago
|
||
This is still reproducing: http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Aurora/job/b2g.flame.mozilla-aurora.ui.smoketest/30/HTML_Report/ Could this be caused by our automated tests?
Assignee | ||
Comment 14•10 years ago
|
||
I'll take this and do more testing.
Assignee: nobody → andrei.hutusoru
Assignee | ||
Comment 15•10 years ago
|
||
Zac suspects a race between push_resource and the video app file scanner. Here is a run without any change: http://selenium.qa.mtv2.mozilla.com:8080/job/b2g.flame.mozilla-aurora.ui.adhoc/10/HTML_Report/ Here is a run with a time.sleep(6) after push_resource: http://selenium.qa.mtv2.mozilla.com:8080/job/b2g.flame.mozilla-aurora.ui.adhoc/12/console Note: we are also affected by bug 1024517
Updated•10 years ago
|
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 17•10 years ago
|
||
When I reproduced this I saw the same logcat error as in bug 1024517. E/GeckoConsole( 5497): [JavaScript Warning: "Media resource blob:7ccb1451-ca8d-451b-837a-f478599b93e7 could not be decoded." {file: "app://video.gaiamobile.org/index.html" line: 0}] I/OMXNodeInstance( 309): OMX_FreeBuffer for buffer header 0xb76fb218 successful I/OMXNodeInstance( 309): OMX_FreeBuffer for buffer header 0xb76fb1c8 successful I/Gecko ( 5143): 1403792757156 Marionette INFO sendToClient: {"from":"0","value":[]}, {96ac59ab-1c91-4ebc-8ce2-439d61b775d2}, {96ac59ab-1c91-4ebc-8ce2-439d61b775d2} I/OMXNodeInstance( 309): OMX_FreeBuffer for buffer header 0xb76fb178 successful I/OMXNodeInstance( 309): OMX_FreeBuffer for buffer header 0xb76fb128 successful I/OMXNodeInstance( 309): OMX_FreeBuffer for buffer header 0xb76e7580 successful V/GonkBufferQueue( 5497): cancelBuffer: slot=5 I/OMXNodeInstance( 309): OMX_FreeBuffer for buffer header 0xb76e7530 successful V/GonkBufferQueue( 5497): cancelBuffer: slot=4 I/OMXNodeInstance( 309): OMX_FreeBuffer for buffer header 0xb76e74e0 successful V/GonkBufferQueue( 5497): cancelBuffer: slot=3 I/OMXNodeInstance( 309): OMX_FreeBuffer for buffer header 0xb76e7490 successful V/GonkBufferQueue( 5497): cancelBuffer: slot=2 E/GeckoConsole( 5497): Content JS ERROR at app://video.gaiamobile.org/gaia_build_defer_index.js:479 in getMetadata/offscreenVideo.onerror: Can't play video /sdcard/tests/DCIM/100MZLLA/VID_0001.3gp [object XrayWrapper [object Event]] I/OMXNodeInstance( 309): OMX_FreeBuffer for buffer header 0xb76e7440 successful V/GonkBufferQueue( 5497): cancelBuffer: slot=1 I/OMXNodeInstance( 309): OMX_FreeBuffer for buffer header 0xb76e73f0 successful V/GonkBufferQueue( 5497): cancelBuffer: slot=0
You need to log in
before you can comment on or make changes to this bug.
Description
•