You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test-cluster-net-listen-ipv6only-none is unreliable/flaky #29679
Error: listen EADDRINUSE: address already in use 0.0.0.0:44400 at Server.setupListenHandle [as _listen2] (net.js:1298:14) at listenInCluster (net.js:1346:12) at doListen (net.js:1485:7) at processTicksAndRejections (internal/process/task_queues.js:81:21)Emitted 'error' event on Server instance at: at emitErrorNT (net.js:1325:8) at processTicksAndRejections (internal/process/task_queues.js:80:21) { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '0.0.0.0', port: 44400}
One option to fix it would be to remove the check entirely. But then we're perhaps not checking that it's not opening the port on IPv4, which is part of the test.
In my opinion, a better option would be to switch to using common.PORT rather than an operating-system-allocated port. That would mean moving the test to sequential.
We'd also want to check the other tests in parallel that use ipv6Only to make sure they don't suffer from the same issue.
Error: listen EADDRINUSE: address already in use 0.0.0.0:46730 at Server.setupListenHandle [as _listen2] (net.js:1298:14) at listenInCluster (net.js:1346:12) at doListen (net.js:1485:7) at processTicksAndRejections (internal/process/task_queues.js:81:21)Emitted 'error' event on Server instance at: at emitErrorNT (net.js:1325:8) at processTicksAndRejections (internal/process/task_queues.js:80:21) { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '0.0.0.0', port: 46730}
Activity
Trott commentedon Sep 23, 2019
Another example of this failing in CI:
https://ci.nodejs.org/job/node-test-commit-linux/nodes=debian8-64/29824/console
Trott commentedon Sep 23, 2019
And...one more:
https://ci.nodejs.org/job/node-test-commit-arm/nodes=ubuntu1604-arm64/26344/consoleText
test: fix flaky test-cluster-net-listen-ipv6only-none
test: fix flaky test-cluster-net-listen-ipv6only-none
test: fix flaky test-cluster-net-listen-ipv6only-none