Skip to content

Conversation

@dumbbell
Copy link
Collaborator

Why

The longnames-based testcase depends on a copnfigured FQDN. Buildbuddy hosts were incorrectly configured and were lacking one. As a workaround, /etc/hosts was modified to add an FQDN.

We don't use Buildbuddy anymore, but the problem also appeared on team members' Broadcom-managed laptops (also having an incomplete network configuration). More importantly, GitHub workers seem to have the same problem, but randomly!

At this point, we can't rely on the host's correct network configuration.

How

The testsuite is modified to use a hard-coded IP address, 127.0.0.1, to simulate a long Erlang node name (i.e. it has dots).

…ng node name

[Why]
The `longnames`-based testcase depends on a copnfigured FQDN. Buildbuddy
hosts were incorrectly configured and were lacking one. As a workaround,
`/etc/hosts` was modified to add an FQDN.

We don't use Buildbuddy anymore, but the problem also appeared on team
members' Broadcom-managed laptops (also having an incomplete network
configuration). More importantly, GitHub workers seem to have the same
problem, but randomly!

At this point, we can't rely on the host's correct network
configuration.

[How]
The testsuite is modified to use a hard-coded IP address, 127.0.0.1, to
simulate a long Erlang node name (i.e. it has dots).
@dumbbell dumbbell self-assigned this Jun 13, 2024
@dumbbell dumbbell marked this pull request as ready for review June 13, 2024 14:46
@dumbbell dumbbell merged commit cf7ca7b into main Jun 13, 2024
@dumbbell dumbbell deleted the use-ipaddr-for-peerdisc-tmp-node-longnames-test branch June 13, 2024 14:46
michaelklishin added a commit that referenced this pull request Jun 13, 2024
peer_discovery_tmp_hidden_node_SUITE: Use IP address to simulate a ng node name (backport #11449)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants