Closed Bug 1548446 Opened 5 years ago Closed 3 years ago

Intermittent dom/media/test/test_webvtt_seeking.html | Test timed out.

Categories

(Core :: Audio/Video: Playback, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Assigned: alwu)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [retriggered])

Attachments

(3 files)

Filed by: aiakab [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=244075211&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/ExYcZRfjSDylMR91RgX8MA/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/ExYcZRfjSDylMR91RgX8MA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2019-05-02T02:15:21.040Z] 02:15:21 INFO - 28 INFO TEST-START | dom/media/test/test_webvtt_seeking.html
[task 2019-05-02T02:20:20.639Z] 02:20:20 INFO - Buffered messages logged at 02:15:22
[task 2019-05-02T02:20:20.639Z] 02:20:20 INFO - 29 INFO TEST-PASS | dom/media/test/test_webvtt_seeking.html | A valid string reason is expected
[task 2019-05-02T02:20:20.640Z] 02:20:20 INFO - 30 INFO TEST-PASS | dom/media/test/test_webvtt_seeking.html | Reason cannot be empty
[task 2019-05-02T02:20:20.640Z] 02:20:20 INFO - Buffered messages logged at 02:15:23
[task 2019-05-02T02:20:20.640Z] 02:20:20 INFO - 31 INFO start play video
[task 2019-05-02T02:20:20.640Z] 02:20:20 INFO - Buffered messages logged at 02:15:27
[task 2019-05-02T02:20:20.642Z] 02:20:20 INFO - 32 INFO TEST-PASS | dom/media/test/test_webvtt_seeking.html | video has started playing
[task 2019-05-02T02:20:20.642Z] 02:20:20 INFO - 33 INFO TEST-PASS | dom/media/test/test_webvtt_seeking.html | seek target time 1 is within the correct range
[task 2019-05-02T02:20:20.642Z] 02:20:20 INFO - Buffered messages logged at 02:15:28
[task 2019-05-02T02:20:20.642Z] 02:20:20 INFO - 34 INFO seek video to 1
[task 2019-05-02T02:20:20.643Z] 02:20:20 INFO - Buffered messages logged at 02:15:30
[task 2019-05-02T02:20:20.643Z] 02:20:20 INFO - 35 INFO cue 0 is showing
[task 2019-05-02T02:20:20.643Z] 02:20:20 INFO - 36 INFO TEST-PASS | dom/media/test/test_webvtt_seeking.html | cue 0 [1:3] is active
[task 2019-05-02T02:20:20.643Z] 02:20:20 INFO - Buffered messages logged at 02:15:31
[task 2019-05-02T02:20:20.643Z] 02:20:20 INFO - 37 INFO TEST-PASS | dom/media/test/test_webvtt_seeking.html | cue 1 [4:6] is inactive
[task 2019-05-02T02:20:20.643Z] 02:20:20 INFO - 38 INFO TEST-PASS | dom/media/test/test_webvtt_seeking.html | seek target time 4 is within the correct range
[task 2019-05-02T02:20:20.644Z] 02:20:20 INFO - 39 INFO seek video to 4
[task 2019-05-02T02:20:20.644Z] 02:20:20 INFO - Buffered messages logged at 02:15:41
[task 2019-05-02T02:20:20.645Z] 02:20:20 INFO - 40 INFO cue 1 is showing
[task 2019-05-02T02:20:20.645Z] 02:20:20 INFO - Buffered messages logged at 02:15:42
[task 2019-05-02T02:20:20.645Z] 02:20:20 INFO - 41 INFO TEST-PASS | dom/media/test/test_webvtt_seeking.html | cue 1 [4:6] is active
[task 2019-05-02T02:20:20.645Z] 02:20:20 INFO - 42 INFO TEST-PASS | dom/media/test/test_webvtt_seeking.html | cue 0 [1:3] is inactive
[task 2019-05-02T02:20:20.646Z] 02:20:20 INFO - 43 INFO TEST-PASS | dom/media/test/test_webvtt_seeking.html | seek target time 1 is within the correct range
[task 2019-05-02T02:20:20.646Z] 02:20:20 INFO - 44 INFO seek video to 1
[task 2019-05-02T02:20:20.646Z] 02:20:20 INFO - Buffered messages finished
[task 2019-05-02T02:20:20.647Z] 02:20:20 INFO - 45 INFO TEST-UNEXPECTED-FAIL | dom/media/test/test_webvtt_seeking.html | Test timed out.
[task 2019-05-02T02:20:20.647Z] 02:20:20 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:275:18
[task 2019-05-02T02:20:20.648Z] 02:20:20 INFO - reportError@SimpleTest/TestRunner.js:121:22
[task 2019-05-02T02:20:20.648Z] 02:20:20 INFO - TestRunner._checkForHangs@SimpleTest/TestRunner.js:142:7
[task 2019-05-02T02:20:21.358Z] 02:20:21 INFO - 46 INFO TEST-OK | dom/media/test/test_webvtt_seeking.html | took 301204ms
[task 2019-05-02T02:20:23.587Z] 02:20:23 INFO - 47 INFO TEST-START | Shutdown

Whiteboard: [retriggered]

Strange, since 1548858 was backed out. I'll take a look.

Flags: needinfo?(mfroman)
Assignee: nobody → mfroman

After looking at when Bug 1548858 first landed, this could not be caused by 1548858. This bug was reported 8 days ago, and 1548858 first landed 2 days ago.

Assignee: mfroman → nobody

Thanks Michael for narrowing it down.

Alastor can you please take a look? the failure first appeared in TV when Bug 1535005 landed here:

https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=f188012d248d72153c9a5068b38ba247dac4deb9&selectedJob=244075211

Flags: needinfo?(alwu)
Regressed by: 1535005
No longer regressed by: 1548858
Whiteboard: [retriggered] → [retriggered][stockwell needswork:owner]

I'm going to add more log in test for diagnosing to see which event causes timeout problem (seeked or enter event).

Assignee: nobody → alwu
Keywords: leave-open

Add more log in order to help debug and know where we get failure.

Main test function should await seekVideo() until it finishes.

Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/42f2738786c9
part1 : add more debug log in 'test_webvtt_seeking.html'. r=jolin
https://hg.mozilla.org/integration/autoland/rev/770dba43cd13
part2 : should wait until seek completed. r=jolin
Whiteboard: [retriggered][stockwell disable-recommended] → [retriggered]

After checking the log I pushed yesterday, there are two different kinds of error.

(1) Seek failed
Before and after seeking, we will print the log to show if seeking is successful. However, on Android 8.0 pixel2, only the log before seeking was printed, there is no log after seeking [1].

INFO - 543 INFO seek video to 1

It means that seeking failed so we couldn't get the seeked event. [2]

[1]
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=246400504&repo=autoland&lineNumber=3624
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=246298944&repo=mozilla-central&lineNumber=3631

[2] https://searchfox.org/mozilla-central/rev/116bd975c30746ddefc3d20e6947d1871469354f/dom/media/test/test_webvtt_seeking.html#101-102

(2) Seek succeeded, but wrong place
It happens on Android 4.3, seeking succeeded but seek to the wrong place [3].

INFO seek video to 1
INFO seek succeeded, current time=4.863999

As the current time is incorrect, we can't show the correct cue so that we got the timeout because the cue won't be showed [4].

[3]
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=246302501&repo=mozilla-inbound&lineNumber=1542
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=246322554&repo=mozilla-inbound&lineNumber=1531

[4] https://searchfox.org/mozilla-central/rev/116bd975c30746ddefc3d20e6947d1871469354f/dom/media/test/test_webvtt_seeking.html#89-92

Flags: needinfo?(alwu)

Hi, John,
Per comment17, do you have any idea about this seeking problem?
Thank you.

Flags: needinfo?(jolin)
Whiteboard: [retriggered][stockwell disable-recommended] → [retriggered]
Whiteboard: [retriggered][stockwell disable-recommended] → [retriggered][stockwell needswork:owner]

According to the comment [1], there are some seeking issue on Android which causes the intermittent failure, so we are going to disable this test on Android.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1548446#c17

Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/573f03a88ea9
disable 'test_webvtt_seeking.html' on Android r=jolin

Please open a bug, or link to an existing bug to work on why that test is failing on android. Thank you.

Flags: needinfo?(alwu)
See Also: → 1552607

Filed bug1552607.

Flags: needinfo?(alwu)
Whiteboard: [retriggered][stockwell disable-recommended] → [retriggered][stockwell needswork:owner]
Whiteboard: [retriggered][stockwell disable-recommended] → [retriggered][stockwell disabled]

Should re-enable this test after fixing bug 1552607, add NI.

Flags: needinfo?(jolin) → needinfo?(alwu)

We've enabled this test on Android.

Flags: needinfo?(alwu)
Keywords: leave-open
Whiteboard: [retriggered][stockwell disabled] → [retriggered]
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 4 years ago3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INCOMPLETE
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: