Closed Bug 1519415 Opened 8 months ago Closed 7 months ago

Perma-failing tier2 dom/media/tests/mochitest/test_getUserMedia_permission.html | Test timed out.

Categories

(Core :: WebRTC, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell disable-recommended])

Attachments

(1 file)

Filed by: apavel [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=221328369&repo=autoland

https://queue.taskcluster.net/v1/task/OEUkdDCSQpWblKwn0u-q1A/runs/0/artifacts/public/logs/live_backing.log

14:37:57 INFO - 75 INFO TEST-START | dom/media/tests/mochitest/test_getUserMedia_peerIdentity.html
14:37:57 INFO - 76 INFO TEST-OK | dom/media/tests/mochitest/test_getUserMedia_peerIdentity.html | took 808ms
14:37:57 INFO - 77 INFO TEST-START | dom/media/tests/mochitest/test_getUserMedia_permission.html
14:43:01 INFO - Buffered messages logged at 14:37:54
14:43:01 INFO - 78 INFO TEST-PASS | dom/media/tests/mochitest/test_getUserMedia_permission.html | A valid string reason is expected
14:43:01 INFO - 79 INFO TEST-PASS | dom/media/tests/mochitest/test_getUserMedia_permission.html | Reason cannot be empty
14:43:01 INFO - Buffered messages logged at 14:37:55
14:43:01 INFO - 80 INFO <iframe src="http://mochi.test:8888/tests/dom/media/tests/mochitest/test_getUserMedia_permission_iframe.html" sandbox="allow-scripts">
14:43:01 INFO - 81 INFO TEST-PASS | dom/media/tests/mochitest/test_getUserMedia_permission.html | gUM fails in sandboxed iframe http://mochi.test:8888
14:43:01 INFO - 82 INFO <iframe src="http://mochi.test:8888/tests/dom/media/tests/mochitest/test_getUserMedia_permission_iframe.html" sandbox="allow-scripts allow-same-origin http://mochi.test:8888">
14:43:01 INFO - 83 INFO TEST-PASS | dom/media/tests/mochitest/test_getUserMedia_permission.html | gUM works in regular iframe
14:43:01 INFO - 84 INFO <iframe src="https://example.com/tests/dom/media/tests/mochitest/test_getUserMedia_permission_iframe.html" sandbox="allow-scripts">
14:43:01 INFO - Buffered messages finished
14:43:01 INFO - 85 INFO TEST-UNEXPECTED-FAIL | dom/media/tests/mochitest/test_getUserMedia_permission.html | Test timed out.
14:43:01 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:275:7
14:43:01 INFO - reportError@SimpleTest/TestRunner.js:121:7
14:43:01 INFO - TestRunner._checkForHangs@SimpleTest/TestRunner.js:142:7
14:43:01 INFO - 86 INFO TEST-OK | dom/media/tests/mochitest/test_getUserMedia_permission.html | took 303652ms

Flags: needinfo?(jhofmann)
Rank: 15
Priority: P5 → P2

There are 100 total failure in the last 7 days all on android-hw-p2-8-0-arm7-api-16.

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=221612835&repo=autoland&lineNumber=2797

20:07:08 INFO - 77 INFO TEST-START | dom/media/tests/mochitest/test_getUserMedia_permission.html
20:12:11 INFO - Buffered messages logged at 20:07:05
20:12:11 INFO - 78 INFO TEST-PASS | dom/media/tests/mochitest/test_getUserMedia_permission.html | A valid string reason is expected
20:12:11 INFO - 79 INFO TEST-PASS | dom/media/tests/mochitest/test_getUserMedia_permission.html | Reason cannot be empty
20:12:11 INFO - 80 INFO <iframe src="http://mochi.test:8888/tests/dom/media/tests/mochitest/test_getUserMedia_permission_iframe.html" sandbox="allow-scripts">
20:12:11 INFO - 81 INFO TEST-PASS | dom/media/tests/mochitest/test_getUserMedia_permission.html | gUM fails in sandboxed iframe http://mochi.test:8888
20:12:11 INFO - 82 INFO <iframe src="http://mochi.test:8888/tests/dom/media/tests/mochitest/test_getUserMedia_permission_iframe.html" sandbox="allow-scripts allow-same-origin http://mochi.test:8888">
20:12:11 INFO - 83 INFO TEST-PASS | dom/media/tests/mochitest/test_getUserMedia_permission.html | gUM works in regular iframe
20:12:11 INFO - 84 INFO <iframe src="https://example.com/tests/dom/media/tests/mochitest/test_getUserMedia_permission_iframe.html" sandbox="allow-scripts">
20:12:11 INFO - Buffered messages finished
20:12:11 INFO - 85 INFO TEST-UNEXPECTED-FAIL | dom/media/tests/mochitest/test_getUserMedia_permission.html | Test timed out.
20:12:11 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:275:7
20:12:11 INFO - reportError@SimpleTest/TestRunner.js:121:7
20:12:11 INFO - TestRunner._checkForHangs@SimpleTest/TestRunner.js:142:7
20:12:11 INFO - 86 INFO TEST-OK | dom/media/tests/mochitest/test_getUserMedia_permission.html | took 304227ms

Whiteboard: [stockwell needswork]
Assignee: nobody → jhofmann
Status: NEW → ASSIGNED
Flags: needinfo?(jhofmann)
For some reason that I could not figure out, usage of any https host in these getUserMedia mochitests
on Android causes a network proxy error and will, in this particular case, lead to the iframe not
loading the test page. This causes our test to timeout.

I don't think testing https here is particularly important, and so I'd rather save some
effort for myself and just remove it.

gbrown: This makes me think of Bug 1517170.

(In reply to Bob Clary [:bc:] (pto 2019-01-15) from comment #7)

gbrown: This makes me think of Bug 1517170.

Yes. In that bug we found that we hadn't been correctly running mochitests marked with scheme=https, and when we did run those correctly, we found some were failing. It may be that there is a problem with https in our android test environment. But I don't know that...just have a feeling that something isn't right.

Pushed by jhofmann@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9ff32c3351ac
Don't use https://example.com in test_getUserMedia_permission to avoid timeouts on Android. r=jib
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.