Repository navigation
Flaky test-net-connect-local-error #18658
Copy link
Copy link
Closed
Labels
flaky-testIssues and PRs involving tests that fail intermittently in CI.Issues and PRs involving tests that fail intermittently in CI.freebsdIssues and PRs related to the FreeBSD platform.Issues and PRs related to the FreeBSD platform.netIssues and PRs related to the net subsystem.Issues and PRs related to the net subsystem.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.
Description
Activity
- addednetIssues and PRs related to the net subsystem.Issues and PRs related to the net subsystem.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.freebsdIssues and PRs related to the FreeBSD platform.Issues and PRs related to the FreeBSD platform.flaky-testIssues and PRs involving tests that fail intermittently in CI.Issues and PRs involving tests that fail intermittently in CI.
on Feb 8, 2018 Presumably it's hitting this path:
Lines 975 to 985 in 6963a93
if (err) { var sockname = self._getsockname(); var details; if (sockname) { details = sockname.address + ':' + sockname.port; } const ex = exceptionWithHostPort(err, 'connect', address, port, details); self.destroy(ex); } Instead of the one it's supposed to (
afterConnect).Anyone from @nodejs/http have any insights?
If I had to guess, this failure is related to the FreeBSD "jail" in our common file. It's failing before it even gets past the lookup which means it's failing on the IPv4 address. It's possible the
process.env.LOCALHOSTis set to something weird or something else strange happens? The fact that this only fails occasionally is rather confusing.
Metadata
Metadata
Assignees
Labels
flaky-testIssues and PRs involving tests that fail intermittently in CI.Issues and PRs involving tests that fail intermittently in CI.freebsdIssues and PRs related to the FreeBSD platform.Issues and PRs related to the FreeBSD platform.netIssues and PRs related to the net subsystem.Issues and PRs related to the net subsystem.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.
https://ci.nodejs.org/job/node-test-commit-freebsd/15207/nodes=freebsd11-x64/console