Closed Bug 1640105 Opened 5 years ago Closed 3 years ago

[socket process] Run mochitest with networking over socket process enabled

Categories

(Core :: Networking, task, P2)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: kershaw, Assigned: kershaw)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged][ci-costs-2020:todo])

Attachments

(4 files, 1 obsolete file)

As title. I'd like to enable networking over socket process for mochitest. To make things a bit simpler, this is only for linux debug build.

Depends on D77302

Whiteboard: [necko-triaged] → [necko-triaged][ci-costs-2020:todo]

I'd like to land P2 and P3 first, since P2 can fix the crash in bug 1644065.

Keywords: leave-open
Attachment #9152466 - Attachment description: Bug 1640105 - P2: Initialize necessary services eariler → Bug 1640105 - Initialize necessary services eariler
Attachment #9152467 - Attachment description: Bug 1640105 - P3: Don't launch socket process during shutdown → Bug 1640105 - Don't launch socket process during shutdown
Depends on: 1640612
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f66cacb5c833 Initialize necessary services eariler r=dragana https://hg.mozilla.org/integration/autoland/rev/e12bb339406c Don't launch socket process during shutdown r=dragana
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4671cb6123c4 Initialize necessary services eariler r=dragana https://hg.mozilla.org/integration/autoland/rev/47b673f5646b Don't launch socket process during shutdown r=dragana https://hg.mozilla.org/integration/autoland/rev/15dd9d4e858f Don't initialize user agent components in socket process r=dragana
Attachment #9152467 - Attachment description: Bug 1640105 - Don't launch socket process during shutdown → Bug 1640105 - Don't launch socket process during shutdown r=dragana
Attachment #9155701 - Attachment description: Bug 1640105 - Don't initialize user agent components in socket process → Bug 1640105 - Don't initialize user agent components in socket process r=dragana
Depends on: 1647957
Attachment #9152465 - Attachment description: Bug 1640105 - P1: Add socketprocess_networking variant for mochitest → Bug 1640105 - Add socketprocess_networking variant for mochitest
Attachment #9152465 - Attachment description: Bug 1640105 - Add socketprocess_networking variant for mochitest → Bug 1640105 - P1: Add socketprocess_networking variant for mochitest
Attachment #9152465 - Attachment description: Bug 1640105 - P1: Add socketprocess_networking variant for mochitest → Bug 1640105 - Add socketprocess_networking variant for mochitest
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2b47950ed3a1 Add socketprocess_networking variant for mochitest r=ahal,jmaher https://hg.mozilla.org/integration/autoland/rev/9fd0839c72bb Skip failed tests, r=dragana,remote-protocol-reviewers,necko-reviewers,maja_zf

Backed out changeset 2b47950ed3a1 (bug 1640105) for websocket related mochitest failures on beta.

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=mozilla-beta&selectedTaskRun=QmmKCy1hRouwtnPqW7KvXQ.0&searchStr=mochitest-chrome&revision=0218c1751126fd28df953d37fb611a82362f9e56

Backout link: https://hg.mozilla.org/releases/mozilla-beta/rev/bd302e3b4eb9d23a368a239bbbe5db1319089b3d

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=315121592&repo=mozilla-beta&lineNumber=5884

[task 2020-09-08T20:21:09.897Z] 20:21:09     INFO - TEST-START | dom/websocket/tests/test_websocket_frame.html
[task 2020-09-08T20:21:10.929Z] 20:21:10     INFO - GECKO(5986) | [5986, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp, line 1131
[task 2020-09-08T20:21:10.991Z] 20:21:10     INFO - GECKO(5986) | [5986, Main Thread] WARNING: 'NS_FAILED(targetPrincipal->GetAsciiOrigin(targetOrigin))', file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp, line 347
[task 2020-09-08T20:21:11.011Z] 20:21:11     INFO - TEST-INFO | started process screentopng
[task 2020-09-08T20:21:11.309Z] 20:21:11     INFO - TEST-INFO | screentopng: exit 0
[task 2020-09-08T20:21:11.310Z] 20:21:11     INFO - Buffered messages logged at 20:21:10
[task 2020-09-08T20:21:11.312Z] 20:21:11     INFO - TEST-PASS | dom/websocket/tests/test_websocket_frame.html | We have a valid innerWindowID: 29 
[task 2020-09-08T20:21:11.312Z] 20:21:11     INFO - TEST-PASS | dom/websocket/tests/test_websocket_frame.html | We have the nsIWebSocketEventService 
[task 2020-09-08T20:21:11.313Z] 20:21:11     INFO - TEST-PASS | dom/websocket/tests/test_websocket_frame.html | Listener added 
[task 2020-09-08T20:21:11.314Z] 20:21:11     INFO - WebSocketCreated
[task 2020-09-08T20:21:11.315Z] 20:21:11     INFO - TEST-PASS | dom/websocket/tests/test_websocket_frame.html | URI matches 
[task 2020-09-08T20:21:11.315Z] 20:21:11     INFO - TEST-PASS | dom/websocket/tests/test_websocket_frame.html | Protocol matches 
[task 2020-09-08T20:21:11.316Z] 20:21:11     INFO - Buffered messages logged at 20:21:11
[task 2020-09-08T20:21:11.317Z] 20:21:11     INFO - onclose
[task 2020-09-08T20:21:11.317Z] 20:21:11     INFO - WebSocketClosed
[task 2020-09-08T20:21:11.318Z] 20:21:11     INFO - Buffered messages finished
[task 2020-09-08T20:21:11.318Z] 20:21:11     INFO - TEST-UNEXPECTED-FAIL | dom/websocket/tests/test_websocket_frame.html | The socket is closed in a clean state 
[task 2020-09-08T20:21:11.319Z] 20:21:11     INFO - SimpleTest.ok@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:417:16
[task 2020-09-08T20:21:11.320Z] 20:21:11     INFO - webSocketClosed@chrome://mochitests/content/chrome/dom/websocket/tests/test_websocket_frame.html:81:7
[task 2020-09-08T20:21:11.321Z] 20:21:11     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-09-08T20:21:11.324Z] 20:21:11     INFO - TEST-UNEXPECTED-FAIL | dom/websocket/tests/test_websocket_frame.html | Exit code 1000 - got 1006, expected 1000
[task 2020-09-08T20:21:11.325Z] 20:21:11     INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:500:14
[task 2020-09-08T20:21:11.325Z] 20:21:11     INFO - webSocketClosed@chrome://mochitests/content/chrome/dom/websocket/tests/test_websocket_frame.html:82:7
[task 2020-09-08T20:21:11.326Z] 20:21:11     INFO - TEST-PASS | dom/websocket/tests/test_websocket_frame.html | No reason 
[task 2020-09-08T20:21:11.326Z] 20:21:11     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-09-08T20:21:11.327Z] 20:21:11     INFO - TEST-UNEXPECTED-FAIL | dom/websocket/tests/test_websocket_frame.html | We received some frames! 
[task 2020-09-08T20:21:11.327Z] 20:21:11     INFO - SimpleTest.ok@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:417:16
[task 2020-09-08T20:21:11.328Z] 20:21:11     INFO - checkListener@chrome://mochitests/content/chrome/dom/websocket/tests/test_websocket_frame.html:132:5
[task 2020-09-08T20:21:11.329Z] 20:21:11     INFO - webSocketClosed@chrome://mochitests/content/chrome/dom/websocket/tests/test_websocket_frame.html:86:5
[task 2020-09-08T20:21:11.329Z] 20:21:11     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-09-08T20:21:11.330Z] 20:21:11     INFO - TEST-UNEXPECTED-FAIL | dom/websocket/tests/test_websocket_frame.html | We sent some frames! 
[task 2020-09-08T20:21:11.331Z] 20:21:11     INFO - SimpleTest.ok@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:417:16
[task 2020-09-08T20:21:11.331Z] 20:21:11     INFO - checkListener@chrome://mochitests/content/chrome/dom/websocket/tests/test_websocket_frame.html:133:5
[task 2020-09-08T20:21:11.332Z] 20:21:11     INFO - webSocketClosed@chrome://mochitests/content/chrome/dom/websocket/tests/test_websocket_frame.html:86:5
[task 2020-09-08T20:21:11.333Z] 20:21:11     INFO - TEST-PASS | dom/websocket/tests/test_websocket_frame.html | We have a create notification 
[task 2020-09-08T20:21:11.333Z] 20:21:11     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-09-08T20:21:11.334Z] 20:21:11     INFO - TEST-UNEXPECTED-FAIL | dom/websocket/tests/test_websocket_frame.html | We have a open notification 
[task 2020-09-08T20:21:11.335Z] 20:21:11     INFO - SimpleTest.ok@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:417:16
[task 2020-09-08T20:21:11.335Z] 20:21:11     INFO - checkListener@chrome://mochitests/content/chrome/dom/websocket/tests/test_websocket_frame.html:135:5
[task 2020-09-08T20:21:11.335Z] 20:21:11     INFO - webSocketClosed@chrome://mochitests/content/chrome/dom/websocket/tests/test_websocket_frame.html:86:5
[task 2020-09-08T20:21:11.338Z] 20:21:11     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-09-08T20:21:11.339Z] 20:21:11     INFO - TEST-UNEXPECTED-FAIL | dom/websocket/tests/test_websocket_frame.html | We have a messageAvailable notification 
[task 2020-09-08T20:21:11.339Z] 20:21:11     INFO - SimpleTest.ok@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:417:16
[task 2020-09-08T20:21:11.340Z] 20:21:11     INFO - checkListener@chrome://mochitests/content/chrome/dom/websocket/tests/test_websocket_frame.html:136:5
[task 2020-09-08T20:21:11.340Z] 20:21:11     INFO - webSocketClosed@chrome://mochitests/content/chrome/dom/websocket/tests/test_websocket_frame.html:86:5
[task 2020-09-08T20:21:11.341Z] 20:21:11     INFO - TEST-PASS | dom/websocket/tests/test_websocket_frame.html | We have a close notification 
[task 2020-09-08T20:21:11.341Z] 20:21:11     INFO - GECKO(5986) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2020-09-08T20:21:11.342Z] 20:21:11     INFO - GECKO(5986) | MEMORY STAT | vsize 2862MB | residentFast 357MB | heapAllocated 139MB
[task 2020-09-08T20:21:11.342Z] 20:21:11     INFO - TEST-OK | dom/websocket/tests/test_websocket_frame.html | took 1163ms
Flags: needinfo?(kershaw)

This was expected due to the backout of bug 1497249. No further action is needed at this time.

Flags: needinfo?(kershaw)

The leave-open keyword is there and there is no activity for 6 months.
:jstutte, maybe it's time to close this bug?

Flags: needinfo?(jstutte)

This bug is not done, but we can remove leave-open flag.

Flags: needinfo?(jstutte)
Keywords: leave-open
Severity: -- → N/A

We can close this one.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Attachment #9152465 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: