Closed Bug 1577544 Opened 7 years ago Closed 5 years ago

Intermittent dom/media/tests/mochitest/test_peerConnection_basicH264Video.html | Error in test execution: Error: Timeout checking for stats for track {37fab4d9-12c0-4b4e-859d-200d95f29461} after at least30000ms waitForRtpFlow@https://example.com/tests/

Categories

(Core :: WebRTC, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1710829

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, regression)

Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=264048320&repo=mozilla-central
Full log: https://queue.taskcluster.net/v1/task/Iyhb8HT1QMmS0E-IWI6hFw/runs/0/artifacts/public/logs/live_backing.log


14:59:49 INFO - TEST-START | dom/media/tests/mochitest/test_peerConnection_basicH264Video.html
15:00:24 INFO - Should have RTP stats for track {3e73dcee-96ec-4258-bfcc-a13afbcdcb3b}
15:00:24 INFO - RTP stats: {"id":"outbound_rtp_video_0","timestamp":1567090823577,"type":"outbound-rtp","kind":"video","mediaType":"video","ssrc":325158349,"bytesSent":0,"packetsSent":0,"bitrateMean":0,"bitrateStdDev":0,"droppedFrames":886,"firCount":0,"framerateMean":0,"framerateStdDev":0,"framesEncoded":0,"nackCount":0,"pliCount":0,"remoteId":"outbound_rtcp_video_0"}
15:00:24 INFO - Track {3e73dcee-96ec-4258-bfcc-a13afbcdcb3b} has 0 outbound-rtp RTP packets.
15:00:24 INFO - TEST-FAIL | dom/media/tests/mochitest/test_peerConnection_basicH264Video.html | The author of the test has indicated that flaky timeouts are expected. Reason: WebRTC inherently depends on timeouts
15:00:24 INFO - Buffered messages finished
15:00:24 INFO - TEST-UNEXPECTED-FAIL | dom/media/tests/mochitest/test_peerConnection_basicH264Video.html | Error in test execution: Error: Timeout checking for stats for track {37fab4d9-12c0-4b4e-859d-200d95f29461} after at least30000ms waitForRtpFlow@https://example.com/tests/dom/media/tests/mochitest/pc.js:1851:11 ... asyncwaitForMediaFlow/<@https://example.com/tests/dom/media/tests/mochitest/pc.js:1915:16 ... waitForMediaFlow@https://example.com/tests/dom/media/tests/mochitest/pc.js:1914:47 ... PC_LOCAL_WAIT_FOR_MEDIA_FLOW@https://example.com/tests/dom/media/tests/mochitest/templates.js:513:25 ... execute/</<@https://example.com/tests/dom/media/tests/mochitest/head.js:944:32 ...
15:00:24 INFO - SimpleTest.ok@https://example.com/tests/SimpleTest/SimpleTest.js:277:18
15:00:24 INFO - execute/<@https://example.com/tests/dom/media/tests/mochitest/head.js:948:11
15:00:24 INFO - promise callback
execute@https://example.com/tests/dom/media/tests/mochitest/head.js:947:8
15:00:24 INFO - PeerConnectionTest.prototype.run@https://example.com/tests/dom/media/tests/mochitest/pc.js:574:6
15:00:24 INFO - @https://example.com/tests/dom/media/tests/mochitest/test_peerConnection_basicH264Video.html:20:10
15:00:24 INFO - runNetworkTest/<@https://example.com/tests/dom/media/tests/mochitest/pc.js:2564:11
15:00:24 INFO - asyncrunTestWhenReady/<@https://example.com/tests/dom/media/tests/mochitest/head.js:492:30
15:00:24 INFO - promise callback
runTestWhenReady@https://example.com/tests/dom/media/tests/mochitest/head.js:492:6
15:00:24 INFO - runNetworkTest@https://example.com/tests/dom/media/tests/mochitest/pc.js:2545:9
15:00:24 INFO - async*@https://example.com/tests/dom/media/tests/mochitest/test_peerConnection_basicH264Video.html:15:17
15:00:24 INFO - TEST-FAIL | dom/media/tests/mochitest/test_peerConnection_basicH264Video.html | The author of the test has indicated that flaky timeouts are expected. Reason: WebRTC inherently depends on timeouts
15:00:24 INFO - Closing peer connections
15:00:24 INFO - Waiting for track {37fab4d9-12c0-4b4e-859d-200d95f29461} (video) to end.
15:00:24 INFO - TEST-FAIL | dom/media/tests/mochitest/test_peerConnection_basicH264Video.html | The author of the test has indicated that flaky timeouts are expected. Reason: WebRTC inherently depends on timeouts
15:00:24 INFO - TEST-PASS | dom/media/tests/mochitest/test_peerConnection_basicH264Video.html | iceConnectionState should not be undefined
15:00:24 INFO - PeerConnectionWrapper (pcLocal): oniceconnectionstatechange fired, new state is: closed
15:00:24 INFO - TEST-PASS | dom/media/tests/mochitest/test_peerConnection_basicH264Video.html | PeerConnectionWrapper (pcLocal): legal ICE state transition from connected to closed
15:00:24 INFO - GECKO(10196) | [Child 3780: Main Thread]: I/signaling [main|PeerConnectionImpl] PeerConnectionImpl.cpp:2168: CloseInt: Closing PeerConnectionImpl 39fb033a27ff41ff; ending call
15:00:24 INFO - GECKO(10196) | [Child 3780: Main Thread]: I/jsep [1567090789851000 (id=2147483978 url=https://example.com/tests/dom/media/tests/mochitest/test_peerConnection_basicH264Video.html]: stable -> closed
15:00:24 INFO - PeerConnectionWrapper (pcLocal): "onsignalingstatechange" event fired

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 7 years ago → 6 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

not sure if this is related, but this test has been failing for me consistently on try. I have been using artifact builds, and with --no-artifact it works:
https://treeherder.mozilla.org/#/jobs?repo=try&author=jmaher%40mozilla.com&selectedTaskRun=O0R51rH0TiKrv7ZHk_oBcw.0&fromchange=194bc86af4662b9813413ee8c6598fbfcf47d194

:dminor, does this sound right that we need a full build in order to run dom/media/tests/mochitest/test_peerConnection_basicH264Video.html ?

Flags: needinfo?(dminor)

Hi Joel,

For licensing reasons, we don't use the actual OpenH264 plugin in tests, but instead build a "fake" plugin: https://searchfox.org/mozilla-central/source/dom/media/gmp-plugin-openh264. It wouldn't surprise me if that fake plugin is not being packaged up as part of artifact builds. We do have Bug 1462786 on file to switch to using the real plugin, but fixing that is not a high priority right now.

Flags: needinfo?(dminor)

:sheehan, can you help figure out who is the right person to hack on artifact builds to include the fake gmp plugin in comment 12 ?

Flags: needinfo?(sheehan)
Status: REOPENED → RESOLVED
Closed: 6 years ago → 5 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(sheehan)
You need to log in before you can comment on or make changes to this bug.