Closed Bug 1159352 Opened 9 years ago Closed 9 years ago

test_play_mp4_video.py: " AssertionError: 'content' != u'none' "

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: onelson, Assigned: martijn.martijn)

References

Details

Attachments

(1 file)

Description:
This test is failing on a screenshot of the video playback screen, currently set at 0:00; the video appears to play and then fail afterwards in certain cases. Behavior does not appear to change between a passed and fail test.

* http://jenkins1.qa.scl3.mozilla.com/job/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.1/187/HTML_Report/

* http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk.ui.adhoc/812/HTML_Report/

Traceback (most recent call last):
File "/var/jenkins/2/workspace/flame-kk.ui.adhoc/.env/local/lib/python2.7/site-packages/marionette_client-0.11-py2.7.egg/marionette/marionette_test.py", line 296, in run
testMethod()
File "/var/jenkins/2/workspace/flame-kk.ui.adhoc/tests/python/gaia-ui-tests/gaiatest/tests/functional/videoplayer/test_play_mp4_video.py", line 50, in test_play_mp4_video
self.assertEqual('content', self.data_layer.current_audio_channel)
AssertionError: 'content' != u'none'


Environment Variables:
---------------------------
Device firmware (base) 	L1TC100118D0
Device firmware (date) 	28 Apr 2015 08:39:37
Device firmware (incremental) 	eng.cltbld.20150428.043926
Device firmware (release) 	4.4.2
Device identifier 	flame
Device memory 	219772 kB
Device serial 	e481d8da
Device uptime 	0 days 0 hours 2 minutes 11 seconds
Gaia date 	27 Apr 2015 16:42:28
Gaia revision 	0636405f0844
Gecko build 	20150428010206
Gecko revision 	caf25344f73e
Gecko version 	40.0a1

Reproducible manually: NO 

Repro frequency: 3/6 through Jenkins
Similar repro rate observed locally
This test began failing with new tracebacks observed today, along with what had been observed previously:

* http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.1/199/HTML_Report/
* http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk.ui.adhoc/821/HTML_Report/

Traceback (most recent call last):
File "/var/jenkins/2/workspace/flame-kk.ui.adhoc/.env/local/lib/python2.7/site-packages/marionette_client-0.12-py2.7.egg/marionette/marionette_test.py", line 296, in run
testMethod()
File "/var/jenkins/2/workspace/flame-kk.ui.adhoc/tests/python/gaia-ui-tests/gaiatest/tests/functional/videoplayer/test_play_mp4_video.py", line 45, in test_play_mp4_video
self.assertGreater(fullscreen_video.elapsed_time, zero_time)
AssertionError: time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1) not greater than time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1)
 
Observed 5/6 failures today: 3/6 with this trace, 2/6 with previous observed.
QA Whiteboard: [QAnalyst-Triage?][fxosqa-auto-backlog?]
Flags: needinfo?(pbylenga)
QA Whiteboard: [QAnalyst-Triage?][fxosqa-auto-backlog?] → [QAnalyst-Triage+][fxosqa-auto-backlog?]
Flags: needinfo?(pbylenga)
The problem here really is, is that the video is too short. The play already has ended, when the check is done, which then causes this failure.
Assignee: nobody → martijn.martijn
Depends on: 1113762
With the mp4 video added in bug 1113762, I don't see this failure happening at all after 10 retries even.
Comment on attachment 8602575 [details] [review]
[gaia] mwargers:1159352 > mozilla-b2g:master

I would also like to change the video files that are being used, in the other tests, but I'll do that in another bug.
I first want to fix this failure.
Attachment #8602575 - Flags: review?(npark)
Attachment #8602575 - Flags: review?(jlorenzo)
Comment on attachment 8602575 [details] [review]
[gaia] mwargers:1159352 > mozilla-b2g:master

I had to do this with one of the music imagecompare tests.  looks good to me.
Attachment #8602575 - Flags: review?(npark) → review+
Attachment #8602575 - Flags: review?(jlorenzo) → review+
https://github.com/mozilla-b2g/gaia/commit/cc0f77cc26a49498af2dfc08b956368841cf9894
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: