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

doc: add help on fixing IPv6 test failures #24372

Closed
wants to merge 7 commits into from

Conversation

mhdawson
Copy link
Member

It took me a while to figure out the problem and
then some googling to find the right answer. I think
it is worth adding this to help other people in the
future and to have an easy place to point people to
for the solution if their test run fails with IPv6
failures.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

It took me a while to figure out the problem and
then some googling to find the right answer.  I think
it is worth adding this to help other people in the
future and to have an easy place to point people to
for the solution if their test run fails with IPv6
failures.
@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. doc Issues and PRs related to the documentations. labels Nov 14, 2018
BUILDING.md Outdated Show resolved Hide resolved
BUILDING.md Outdated Show resolved Hide resolved
BUILDING.md Outdated Show resolved Hide resolved
vsemozhetbyt and others added 3 commits November 15, 2018 09:19
Co-Authored-By: mhdawson <michael_dawson@ca.ibm.com>
Co-Authored-By: mhdawson <michael_dawson@ca.ibm.com>
Co-Authored-By: mhdawson <michael_dawson@ca.ibm.com>
@mhdawson
Copy link
Member Author

@vsemozhetbyt thanks for the review, accepted all of your suggestions.

BUILDING.md Outdated
on Ubuntu that does not seem to be the case. '::1' can be enabled on the
loopback interface on Ubuntu using:

`sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0`
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: It would be better if we formatted this as console text, instead of inline code.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@mhdawson
Copy link
Member Author

@vsemozhetbyt any chance you can add your approval as well?

BUILDING.md Outdated Show resolved Hide resolved
BUILDING.md Outdated
The tests attempt to detect support for IPv6 and exclude IPv6 tests if
appropriate. However, if your main interface has IPv6 addresses then your
loopback interface must also have '::1' enabled. For some default installations
on Ubuntu that does not seem to be the case. '::1' can be enabled on the
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
on Ubuntu that does not seem to be the case. '::1' can be enabled on the
on Ubuntu, that does not seem to be the case. '::1' can be enabled on the

BUILDING.md Outdated
appropriate. However, if your main interface has IPv6 addresses then your
loopback interface must also have '::1' enabled. For some default installations
on Ubuntu that does not seem to be the case. '::1' can be enabled on the
loopback interface on Ubuntu using:
Copy link
Member

Choose a reason for hiding this comment

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

Replace the last sentence with this?

To enable '::1' on the loopback interface on Ubuntu:

Copy link
Member

Choose a reason for hiding this comment

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

Or at least

You can enable...

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm sure I had something like "You can .." but guidance is not to use you. :)

BUILDING.md Outdated
appropriate. However, if your main interface has IPv6 addresses then your
loopback interface must also have '::1' enabled. For some default installations
on Ubuntu that does not seem to be the case. '::1' can be enabled on the
loopback interface on Ubuntu using:
Copy link
Member

Choose a reason for hiding this comment

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

Or at least

You can enable...

Trott and others added 2 commits November 16, 2018 09:19
Co-Authored-By: mhdawson <michael_dawson@ca.ibm.com>
@mhdawson
Copy link
Member Author

Comments addressed. Like CI run: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/1632/

@mhdawson
Copy link
Member Author

CI good landing.

@mhdawson
Copy link
Member Author

mhdawson commented Nov 16, 2018

Landed as 6b4e413

@mhdawson mhdawson closed this Nov 16, 2018
mhdawson added a commit that referenced this pull request Nov 16, 2018
It took me a while to figure out the problem and
then some googling to find the right answer.  I think
it is worth adding this to help other people in the
future and to have an easy place to point people to
for the solution if their test run fails with IPv6
failures.

PR-URL: #24372
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
targos pushed a commit that referenced this pull request Nov 18, 2018
It took me a while to figure out the problem and
then some googling to find the right answer.  I think
it is worth adding this to help other people in the
future and to have an easy place to point people to
for the solution if their test run fails with IPv6
failures.

PR-URL: #24372
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
rvagg pushed a commit that referenced this pull request Nov 28, 2018
It took me a while to figure out the problem and
then some googling to find the right answer.  I think
it is worth adding this to help other people in the
future and to have an easy place to point people to
for the solution if their test run fails with IPv6
failures.

PR-URL: #24372
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
@BridgeAR BridgeAR mentioned this pull request Dec 5, 2018
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. doc Issues and PRs related to the documentations.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants