Skip to content
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

bincheck: bind 127.0.0.1 #113502

Merged
merged 1 commit into from
Oct 31, 2023
Merged

bincheck: bind 127.0.0.1 #113502

merged 1 commit into from
Oct 31, 2023

Conversation

rail
Copy link
Member

@rail rail commented Oct 31, 2023

Previously, bincheck started a single node database instance without specifying the address/port it listens on. In this case the server code tried to resolve the hostname and use it. See

// No specific listen address, use the canonical host name.
for the details.

At some point this method stopped working on MacOS GitHub workers. There is an upstream issue open: actions/runner-images#8649

This PR explicitly sets the --listen-addr parameter to skip the problematic code.

Epic: none
Release note: None

Previously, bincheck started a single node database instance without
specifying the address/port it listens on. In this case the server code
tried to resolve the hostname and use it. See
https://github.com/cockroachdb/cockroach/blob/d498a59cc2afc9778af6f7e0120206ab1ee56bc2/pkg/base/addr_validation.go#L128
for the details.

At some point this method stopped working on MacOS GitHub workers. There
is an upstream issue open: actions/runner-images#8649

This PR explicitly sets the `--listen-addr` parameter to skip the
problematic code.

Epic: none
Release note: None
@rail rail added C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. A-release T-release Release Engineering & Automation Team backport-22.2.x Flags PRs that need to be backported to 22.2. backport-23.1.x Flags PRs that need to be backported to 23.1 backport-23.2.x Flags PRs that need to be backported to 23.2. labels Oct 31, 2023
@rail rail self-assigned this Oct 31, 2023
@rail rail requested a review from a team as a code owner October 31, 2023 16:38
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@celiala celiala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense to me - thank you!

@rail
Copy link
Member Author

rail commented Oct 31, 2023

bors r=celiala

@craig
Copy link
Contributor

craig bot commented Oct 31, 2023

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Oct 31, 2023

Build succeeded:

@craig craig bot merged commit d482bde into cockroachdb:master Oct 31, 2023
8 checks passed
@rail rail deleted the bincheck-bind branch October 31, 2023 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-release backport-22.2.x Flags PRs that need to be backported to 22.2. backport-23.1.x Flags PRs that need to be backported to 23.1 backport-23.2.x Flags PRs that need to be backported to 23.2. C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. T-release Release Engineering & Automation Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants