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

Testsuite fails on IPv6-only hosts #417

Open
SnarkBoojum opened this issue Feb 3, 2022 · 5 comments
Open

Testsuite fails on IPv6-only hosts #417

SnarkBoojum opened this issue Feb 3, 2022 · 5 comments

Comments

@SnarkBoojum
Copy link

The testsuite should detect it runs on a host with only IPv6 and hence disable automatically IPv4-dependent tests.

@agronholm
Copy link
Owner

Never in my career have I come across a host that does not support IPv4. I've never seen any other project account for this either.

@SnarkBoojum
Copy link
Author

Well, unless this bug report misinterpreted the error log, you now have your first time.

@agronholm
Copy link
Owner

To be perfectly honest, I'm not sure I know how to set up such an environment. Even when running a Docker container with --network none, it can still bind to 127.0.0.1. Do I need to run a full VM for this? Can I somehow test this with GitHub Actions?

Anyhow, I've set up a branch (ipv6only) where IPv4 using tests should be skipped if it's not available. Would you mind testing against it?

@SnarkBoojum
Copy link
Author

I haven't tested your patch yet, but I asked around how to do it and was pointed to a different diagnosis for the issue.

@agronholm
Copy link
Owner

I also saw that the container failed to resolve localhost when networking was disabled, and this patch ensures that those tests are skipped in that situation.

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

No branches or pull requests

2 participants