Closed Bug 1635420 Opened 5 years ago Closed 5 years ago

Perma /workers/postMessage_block.https.html | postMessage and block - SharedArrayBuffer is not defined when Gecko 78 merges to Beta on 2020-06-01

Categories

(Core :: DOM: Workers, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla78
Tracking Status
firefox-esr68 --- unaffected
firefox75 --- unaffected
firefox76 --- unaffected
firefox77 --- unaffected
firefox78 + verified

People

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

References

(Regression)

Details

(Keywords: regression, Whiteboard: [stockwell unknown])

Attachments

(1 file)

Filed by: archaeopteryx [at] coole-files.de
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=300859035&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/KjCdQtOQSDqKb1-Q8B_c6w/runs/0/artifacts/public/logs/live_backing.log


[task 2020-05-05T12:34:04.422Z] 12:34:04 INFO - TEST-START | /workers/postMessage_block.https.html
[task 2020-05-05T12:34:04.427Z] 12:34:04 INFO - Closing window 60
[task 2020-05-05T12:34:04.478Z] 12:34:04 INFO - PID 856 | [Child 496, DOM Worker] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp, line 3359
[task 2020-05-05T12:34:04.483Z] 12:34:04 INFO - PID 856 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-05-05T12:34:04.623Z] 12:34:04 INFO - PID 856 | [Child 496, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/netwerk/base/nsNetUtil.cpp, line 2317
[task 2020-05-05T12:34:04.623Z] 12:34:04 INFO - PID 856 | [Child 496, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/caps/ContentPrincipal.cpp, line 398
[task 2020-05-05T12:34:04.623Z] 12:34:04 INFO - PID 856 | [Child 496, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/caps/ContentPrincipal.cpp, line 423
[task 2020-05-05T12:34:04.642Z] 12:34:04 INFO - PID 856 | [Child 496, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp, line 3359
[task 2020-05-05T12:34:04.761Z] 12:34:04 INFO - PID 856 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to c:\users\task_1588680886\appdata\local\temp\tmpzou0o5\runtests_leaks_6324_tab_pid1664.log
[task 2020-05-05T12:34:04.761Z] 12:34:04 INFO - PID 856 | [1664, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp, line 224
[task 2020-05-05T12:34:04.896Z] 12:34:04 INFO - PID 8916 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to c:\users\task_1588680886\appdata\local\temp\tmpji9fxq\runtests_leaks_6324_gpu_pid6432.log
[task 2020-05-05T12:34:04.897Z] 12:34:04 INFO - PID 8916 | [6432, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp, line 224
[task 2020-05-05T12:34:05.149Z] 12:34:05 INFO -
[task 2020-05-05T12:34:05.149Z] 12:34:05 INFO - TEST-UNEXPECTED-FAIL | /workers/postMessage_block.https.html | postMessage and block - SharedArrayBuffer is not defined
[task 2020-05-05T12:34:05.149Z] 12:34:05 INFO - w.onmessage<@https://web-platform.test:8443/workers/postMessage_block.https.html:12:13
[task 2020-05-05T12:34:05.149Z] 12:34:05 INFO - Test.prototype.step@https://web-platform.test:8443/resources/testharness.js:1988:25
[task 2020-05-05T12:34:05.149Z] 12:34:05 INFO - Test.prototype.step_func_done/<@https://web-platform.test:8443/resources/testharness.js:2029:32
[task 2020-05-05T12:34:05.149Z] 12:34:05 INFO - TEST-OK | /workers/postMessage_block.https.html | took 729ms

Hi Tom, another sharedarraybuffer failure on beta. Shall the test's expectation be updated?

Flags: needinfo?(ttung)

I cannot find the file "/workers/postMessage_block.https.html" in wpt tests through searchfox. Do I miss something?

Edited: I meant that it implies the test just landed

I would assume that test needs to set up the COOP+COEP headers, but I would be rather surprised that it didn't fail on m-c when it's landed?

(In reply to Tom Tung [:tt, :ttung] from comment #3)

I would assume that test needs to set up the COOP+COEP headers, but I would be rather surprised that it didn't fail on m-c when it's landed?

It looks like it's with COOP and COEP because there is testing/web-platform/tests/workers/postMessage_block.https.html.headers in https://hg.mozilla.org/mozilla-central/rev/69db48f9993a

I wonder if it's beacuse we need to enable some prefs. I will test and provide a patch.

Flags: needinfo?(ttung)
Assignee: nobody → ttung
Status: NEW → ASSIGNED
Pushed by ttung@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0c0f4db184ae Enable the prefs for COOP, COEP, postMessage, SharedArrayBuffer to the wpt test; r=aryx
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
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: