Closed Bug 1428691 Opened 6 years ago Closed 6 years ago

Fix failure of mobile/android/tests/browser/chrome/test_media_playback.html after bug 1193394

Categories

(Firefox for Android Graveyard :: Audio/Video, defect, P2)

ARM
Unspecified
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1427932

People

(Reporter: bevis, Unassigned)

References

Details

The test got unexpected assertion 3 times in android debug build if the fix of bug 1193394 is applied:
https://treeherder.mozilla.org/logviewer.html#?job_id=153765137&repo=try&lineNumber=2238

[task 2018-01-03T04:06:20.801Z] 04:06:20     INFO -  27 INFO None28 INFO TEST-START | mobile/android/tests/browser/chrome/test_media_playback.html
[task 2018-01-03T04:06:51.528Z] 04:06:51     INFO -  29 INFO TEST-OK | mobile/android/tests/browser/chrome/test_media_playback.html | took 29512ms
[task 2018-01-03T04:07:01.769Z] 04:07:01     INFO -  30 INFO TEST-UNEXPECTED-FAIL | mobile/android/tests/browser/chrome/test_media_playback.html | assertion count 3 is more than expected 0 assertions
Priority: -- → P2
Too bad there are stack traces to indicate the location of the assertions.

Hi John,
Any way to show assertion logs on Android?
Flags: needinfo?(jolin)
Just realized how the logcat can be downloaded from try:
It can be downloaded from the link of "logcat-emulator-5554.log" in comment 0.

The ASSERTION I found from the logcat-emulator-5554.log is:
1546: \\01-02 20:06:20.205   828   850 I GeckoDump: ⰲ겿{"action":"test_start","time":1514952380210,"thread":null,"pid":null,"source":"mochitest","test":"chrome://mochitests/content/chrome/mobile/android/tests/browser/chrome/test_media_playback.html","js_source":"TestRunner.js"}ⰲ겿
1631: \\01-02 20:06:33.225   828  1042 I Gecko   : [828, MediaPDecoder #2] ###!!! ASSERTION: End must be after seek target: 'endTime >= seekTarget', file /builds/worker/workspace/build/src/dom/media/ogg/OggDemuxer.cpp, line 2026
1632: \\01-02 20:06:33.225   828  1042 I Gecko   : [828, MediaPDecoder #2] ###!!! ASSERTION: End must be after seek target: 'endTime >= seekTarget', file /builds/worker/workspace/build/src/dom/media/ogg/OggDemuxer.cpp, line 2026
1751: \\01-02 20:06:46.334   828  1042 I Gecko   : [828, MediaPDecoder #2] ###!!! ASSERTION: End must be after seek target: 'endTime >= seekTarget', file /builds/worker/workspace/build/src/dom/media/ogg/OggDemuxer.cpp, line 2026
1790: \\01-02 20:06:49.734   828   850 I GeckoDump: ⰲ겿{"action":"test_end","time":1514952409722,"thread":null,"pid":null,"source":"mochitest","test":"chrome://mochitests/content/chrome/mobile/android/tests/browser/chrome/test_media_playback.html","status":"OK","message":"Finished in 29515ms","stack":{"runtime":29515},"js_source":"TestRunner.js"}ⰲ겿
Flags: needinfo?(jolin)
This is exactly bug 1427932. This bug has nothing to do with micro tasks. It is revealed by changing the timing of execution.

repro steps: https://bugzilla.mozilla.org/show_bug.cgi?id=1427932#c12
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Thanks for clarifying!
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.