Uh oh!
There was an error while loading. Please reload this page.
test: eliminate port collision in test-cluster-net-listen-ipv6only-rr - #26298
Merged
Conversation
nodejs-github-bot
commented
Feb 25, 2019
Collaborator
@gireeshpunathil sadly an error occured when I tried to trigger a build :( |
Trott
reviewed
Feb 25, 2019
Uh oh!
There was an error while loading. Please reload this page.
Trott
commented
Feb 25, 2019
Member
Maybe add a comment explaining that it needs to be in sequential and have a static port and add a Refs link in the comment to this PR? |
Trott
commented
Feb 25, 2019
Member
Needs a rebase. LGTM with the port replaced with |
gireeshpunathilforce-pushed
the
rr
branch
2 times, most recently
from
February 26, 2019 04:16
4abb32b to
a07b100Comparegireeshpunathil
commented
Feb 26, 2019
MemberAuthor
@Trott - thanks. i) moved to |
Trott
approved these changes
Feb 26, 2019
Member
cjihrig
approved these changes
Feb 26, 2019
BethGriggs
approved these changes
Feb 26, 2019
In test test-cluster-net-listen-ipv6only-rr, the cluster member that listens to `any` port actually has the potential to `grab` any port from the environment which when passed onto the master causes collision when it tries to listen on. Moving the test to sequential alone is not sufficient as the cluster member can in theory catch on to the admin ports on the host. Assigning static port alone is also not sufficient, as it can interfere with other running tests in the parallel category which would be mostly running with `port: any` fashion. So move to sequential, and use a static port. Fixes: nodejs#25813 PR-URL: nodejs#26298 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
gireeshpunathil
commented
Feb 28, 2019
MemberAuthor
landed as 4a3928e |
addaleax pushed a commit
that referenced
this pull request
Mar 1, 2019
In test test-cluster-net-listen-ipv6only-rr, the cluster member that listens to `any` port actually has the potential to `grab` any port from the environment which when passed onto the master causes collision when it tries to listen on. Moving the test to sequential alone is not sufficient as the cluster member can in theory catch on to the admin ports on the host. Assigning static port alone is also not sufficient, as it can interfere with other running tests in the parallel category which would be mostly running with `port: any` fashion. So move to sequential, and use a static port. Fixes: #25813 PR-URL: #26298 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Merged
This was referenced Jun 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In test test-cluster-net-listen-ipv6only-rr, the cluster member that
listens to
anyport actually has the potential tograbany portfrom the environment which when passed onto the master causes
collision when it tries to listen on.
Moving the test to sequential alone is not sufficient as the cluster
member can in theory catch on to the admin ports on the host.
Assigning static port alone is also not sufficient, as it can interfere
with other running tests in the parallel category which would be mostly
running with
port: anyfashion.So move to sequential, and use a static port.
Fixes: #25813
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes