Intermittent netwerk/test/unit/test_http3.js | single tracking bug
Categories
(Core :: Networking, defect, P3)
Tracking
()
People
(Reporter: jmaher, Assigned: mkmelin)
References
Details
(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [necko-triaged])
Attachments
(3 external files)
| Reporter | ||
Comment 1•4 years ago
|
||
Additional information about this bug failures and frequency patterns can be found by running: ./mach test-info failure-report --bug 1781453
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Updated•4 years ago
|
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 9•3 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
Comment 10•3 years ago
|
||
| treeherder | ||
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=416655332&repo=mozilla-esr102
| Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Comment 12•3 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
Comment 13•3 years ago
|
||
| treeherder | ||
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=431080184&repo=mozilla-central
| Comment hidden (Intermittent Failures Robot) |
Comment 15•3 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
Comment 16•2 years ago
|
||
| treeherder | ||
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=453886116&repo=autoland
Comment 17•2 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
Comment 18•2 years ago
|
||
| treeherder | ||
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=459370808&repo=try
| 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 25•2 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
Comment 26•2 years ago
|
||
| treeherder | ||
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=470207392&repo=mozilla-central
| 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) |
| 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 46•1 year ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
| Comment hidden (Intermittent Failures Robot) |
Comment 48•10 months ago
|
||
| treeherder | ||
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=546111550&repo=mozilla-esr140
| 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) |
| 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) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 73•5 months ago
|
||
On Windows, an unconnected UDP socket surfaces a previous send's ICMP
"port unreachable" as a ConnectionReset (WSAECONNRESET) on the next
recv. During the QUIC handshake this happens when a datagram is sent
microseconds before the peer's socket is ready -- a loopback race that
shows up reliably on slow/contended CI workers but not on Linux/macOS.
neqo_http3conn_process_input treated only WouldBlock as recoverable and
returned every other recv/send error as fatal (into_nsresult maps
io::ErrorKind::ConnectionReset to NS_ERROR_NET_RESET), so a single stray
ICMP tore the whole HTTP/3 connection down mid-handshake. necko then
fell back to H2 (Alt-Used: 0) and never established the expected h3
route, while plain TCP connections were unaffected -- producing the
intermittent failures in test_http3.js, test_http3_421.js,
test_http3_alt_svc.js, test_http3_trans_close.js and the HTTP/3 proxy
tests on Windows.
Treat ConnectionReset like WouldBlock in both the recv and send loops:
drop the affected datagram and let QUIC retransmit rather than closing
the connection. This mirrors how quinn/Chromium handle the same Windows
behavior by disabling SIO_UDP_CONNRESET.
(Assisted by Claude)
The failures have been perma for Thunderbird Windows on CI for some time. With this change the failures seem gone.
Updated•5 months ago
|
| Assignee | ||
Comment 74•5 months ago
|
||
The http3server's CONNECT-UDP inner forwarding sockets closed the whole
session whenever poll_recv/poll_send returned an error. On Windows a
ConnectionReset (WSAECONNRESET) from an earlier datagram's ICMP "port
unreachable" is not fatal for a connectionless socket, so this tore down
otherwise-healthy MASQUE tunnels and failed the http3 proxy xpcshell
tests.
Ignore ConnectionReset on the inner socket recv/send and keep the
CONNECT-UDP session alive, letting QUIC retransmit, instead of closing it.
| Assignee | ||
Comment 75•5 months ago
|
||
On Windows an unconnected UDP socket surfaces a previous send's ICMP
"port unreachable" as a ConnectionReset (WSAECONNRESET) on a later
recv/send. For the long-lived test http3server this happens constantly,
since every xpcshell test is a short-lived process whose UDP port closes
mid-connection.
The neqo-bin ServerRunner treated any non-WouldBlock socket error as
fatal (Socket::recv propagated it, process_inner's send loop did
return e), so the first such reset ended the run loop and dropped the
listening socket. The persistent MOZHTTP3_PORT server then went dark for
the rest of the suite and every test pointed at it failed with the QUIC
handshake never completing until the 30s timeout.
Treat ConnectionReset like WouldBlock: Socket::recv returns Ok(None), and
process_inner drops the datagram and continues.
This is a local patch to the vendored crate (.cargo-checksum.json updated
accordingly) and should be upstreamed to mozilla/neqo and re-vendored.
(Assisted by Claude)
| 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) |
| Comment hidden (Intermittent Failures Robot) |
Comment 88•3 months ago
|
||
I believe this bug will be fixed with bug 2065405, which includes https://github.com/mozilla/neqo/pull/3895.
Related: bug 1888457
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Updated•2 months ago
|
| 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 96•25 days ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
Description
•