Intermittent dom/media/test/test_mixed_principals.html | Should not be able to readback after error - got true, expected false
Categories
(Core :: Audio/Video: Playback, defect, P5)
Tracking
()
People
(Reporter: intermittent-bug-filer, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: intermittent-failure)
Filed by: imoraru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=355500602&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Tkwtc26bQuKT4FYAkB4P_g/runs/0/artifacts/public/logs/live_backing.log
[task 2021-10-20T22:52:25.663Z] 22:52:25 INFO - TEST-START | dom/media/test/test_mixed_principals.html
[task 2021-10-20T22:52:26.720Z] 22:52:26 INFO - GECKO(7112) | [Parent 1336, Main Thread] WARNING: NS_ENSURE_TRUE(mCacheEntry) failed: file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.cpp:4662
[task 2021-10-20T22:52:26.733Z] 22:52:26 INFO - GECKO(7112) | [Parent 1336, Main Thread] WARNING: NS_ENSURE_TRUE(mCacheEntry) failed: file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.cpp:4662
[task 2021-10-20T22:52:26.762Z] 22:52:26 INFO - TEST-INFO | started process screenshot
[task 2021-10-20T22:52:28.879Z] 22:52:28 INFO - TEST-INFO | screenshot: exit 0
[task 2021-10-20T22:52:28.881Z] 22:52:28 INFO - Buffered messages logged at 22:52:25
[task 2021-10-20T22:52:28.882Z] 22:52:28 INFO - TEST-PASS | dom/media/test/test_mixed_principals.html | A valid string reason is expected
[task 2021-10-20T22:52:28.882Z] 22:52:28 INFO - TEST-PASS | dom/media/test/test_mixed_principals.html | Reason cannot be empty
[task 2021-10-20T22:52:28.882Z] 22:52:28 INFO - Loading from http://mochi.test:8888/tests/dom/media/test/midflight-redirect.sjs?resource=pixel_aspect_ratio.mp4&type=video/mp4
[task 2021-10-20T22:52:28.883Z] 22:52:28 INFO - Loading from http://example.org/tests/dom/media/test/midflight-redirect.sjs?resource=pixel_aspect_ratio.mp4&type=video/mp4
[task 2021-10-20T22:52:28.883Z] 22:52:28 INFO - Buffered messages finished
[task 2021-10-20T22:52:28.884Z] 22:52:28 INFO - TEST-UNEXPECTED-FAIL | dom/media/test/test_mixed_principals.html | Should not be able to readback after error - got true, expected false
[task 2021-10-20T22:52:28.884Z] 22:52:28 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:500:14
[task 2021-10-20T22:52:28.884Z] 22:52:28 INFO - runTest/</<@dom/media/test/test_mixed_principals.html:61:13
[task 2021-10-20T22:52:28.885Z] 22:52:28 INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-10-20T22:52:28.885Z] 22:52:28 INFO - TEST-UNEXPECTED-FAIL | dom/media/test/test_mixed_principals.html | Should not be able to readback after error - got true, expected false
[task 2021-10-20T22:52:28.885Z] 22:52:28 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:500:14
[task 2021-10-20T22:52:28.885Z] 22:52:28 INFO - runTest/</<@dom/media/test/test_mixed_principals.html:61:13
[task 2021-10-20T22:52:28.886Z] 22:52:28 INFO - GECKO(7112) | MEMORY STAT | vsize 2103843MB | vsizeMaxContiguous 66171601MB | residentFast 120MB | heapAllocated 17MB
[task 2021-10-20T22:52:28.886Z] 22:52:28 INFO - TEST-OK | dom/media/test/test_mixed_principals.html | took 1158ms
[task 2021-10-20T22:52:28.887Z] 22:52:28 INFO - TEST-START | dom/media/test/test_mozHasAudio.html
Comment hidden (Intermittent Failures Robot) |
Comment 2•3 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Reporter | ||
Comment 3•3 years ago
|
||
treeherder |
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=369585354&repo=autoland
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Comment 9•3 years ago
|
||
The same failure symptoms can be induced by adding "redirectAt=2" to the video url.
This forces two loads to complete before reaching HAVE_METADATA.
The video is then drawn with a "No video supported format and MIME type found" message, which can be read back fine because it contains no cross-origin data.
In the unmodified test, the length of the first response is 451510 bytes, which is slightly less than the 512000 'media.cache_size'.
I don't know whether or not having 'media.cache_size' small enough might prevent the second fetch being issued.
In the redirect-to-cross-origin case, we block the cross-origin load, so I don't know why we need to taint reading of the same-origin content.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
Description
•