Repository navigation
Investigate flaky test-gc-http-client-timeout #43638
Description
Activity
- addedflaky-testIssues and PRs involving tests that fail intermittently in CI.Issues and PRs involving tests that fail intermittently in CI.
on Jul 1, 2022 Related: #43956
Another failure
Console output:
done/collected/total: 93/0/804 done/collected/total: 322/93/804 done/collected/total: 415/322/804 done/collected/total: 664/349/804 done/collected/total: 737/415/804 done/collected/total: 804/664/804 done/collected/total: 804/737/804 done/collected/total: 804/804/804 node:_http_server:498 connections[i].socket.destroy(); ^ TypeError: Cannot read properties of null (reading 'destroy') at Server.closeIdleConnections (node:_http_server:498:27) at Server.close (node:_http_server:481:8) at Immediate.status (/home/iojs/build/workspace/node-test-binary-armv7l/test/parallel/test-gc-http-client-timeout.js:66:14) at process.processImmediate (node:internal/timers:471:21) Node.js v19.0.0-preThis failure is caused by #43522
This error case is fixed by #43949.
But the
Error: connect ECONNRESETis still probably will happen, so I leave this issue open temporarily.I think
Error: connect ECONNRESETis triggered when the number of parallel connection is too many. By controlling this may fix it.Reacted by Feng Yu and Nick SiaI was able to replicate this issue by increasing the number of calls to
getAll()as @theanarkh suggested, on MacOS 12.4.Setting the number of calls to ~50 meant the test failed with
Error: connect ECONNRESETalmost 100% of the time.Update: It's not just this test - when running
tools/test.py sequentialwith just the set oftest-gc-http-client*.jstests, its pretty random which test script fails.The number of requests produced is non-deterministic, and will sometimes produce enough requests to trigger the error.
- added a commit that references this issue
on Aug 7, 2022 - added a commit that references this issue
on Aug 16, 2022 - added a commit that references this issue
on Aug 23, 2022 - added a commit that references this issue
on Sep 5, 2022
Test
test-gc-http-client-timeout
Platform
freebsd
Console output
Build links
Additional information
No response