-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: flaky parallel/test-net-connect-local-error on macOS & freeBSD #12950
Comments
Can I take this one? |
@sebastianplesciuc you like these ones 😉 . dibs is yours. |
Ref: #12376 |
I think that's the case here as well. I think there are two issues with this, one is that Another issue might arise with |
Worse case we can move it to |
@sebastianplesciuc You might appreciate this. I've been looking at this issue's brother #12951. |
@refack I'm not sure I get it :) You're suggesting that the connection in that test comes from this one? How does that work? |
@refack OOOOH! I think I get it now. So when that test fails, this test fails because it connects from this test to the server from that test. So fixing this test would fix that one? |
Yep |
Using 0 to choose a random port can be fragile on BSD systems (including macOS) too, because of how /cc @nodejs/testing |
Hmmm, this sounds like there's a misunderstanding somewhere. There's nothing macOS or FreeBSD specific about the The reason we don't typically want to use Test A uses port If Test B were in The port collision scenario described above may sound unlikely, but it has been observed in CI results (or at least things that look suspiciously like it). |
Also: Also also, and this starts to enter rant territory so feel free to tune out right now: There seems to be a reluctance to move tests to UPDATE (still in rant mode, so feel free to skip): Ran the test benchmark described above. Normal parallel test run on my computer was about 90 seconds. Running the same tests sequentially took about 250 seconds. That's pretty good, but it's worth noting that with 1333 tests, each test moved from |
@Trott IMHO it's not just the perf cost; it's the implicit assumption that testing in parallel is more vigorous, hence more rigorous. which is kinda true. A good mechanism could be to add a fourth flag to |
Fixed test-net-connect-local-error by moving the test from parallel to sequential. PR-URL: nodejs#12964 Fixes: nodejs#12950 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Fixed test-net-connect-local-error by moving the test from parallel to sequential. PR-URL: nodejs#12964 Fixes: nodejs#12950 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Fixed test-net-connect-local-error by moving the test from parallel to sequential. PR-URL: #12964 Fixes: #12950 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Fixed test-net-connect-local-error by moving the test from parallel to sequential. PR-URL: #12964 Fixes: #12950 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Rich Trott <[email protected]>
master
https://ci.nodejs.org/job/node-test-commit-freebsd/8933/nodes=freebsd11-x64/tapResults/
https://ci.nodejs.org/job/node-test-commit-osx/9696/nodes=osx1010/tapResults/
The text was updated successfully, but these errors were encountered: