-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
dns: default to verbatim=true in dns.lookup() #31567
Conversation
Switch the default from false (reorder the result so that IPv4 addresses come before IPv6 addresses) to true (return them exactly as the resolver sent them to us.) Fixes: nodejs#31566 Refs: nodejs#6307 Refs: nodejs#20710
Looks like this causes a significant number of failures in CI... |
Yep, I didn't expect anything less. I'll be working on fixing up the tests in the next few days. |
@bnoordhuis, I'm the original reporter of #6307. I saw the recent activity there and wanted to say that I appreciate all the work that went into this and is still going into it. Thank you. |
8ae28ff
to
2935f72
Compare
Ping @bnoordhuis |
This issue/PR was marked as stalled, it will be automatically closed in 30 days. If it should remain open, please leave a comment explaining why it should remain open. |
Ping. What is blocking this to be merged? |
@telmich Maybe the CI does not support IPv6. but running the code with |
I don't see any reason to believe that. The musl |
@richfelker Interesting. As far as I understood the musl So practically speaking, there are probably 2 fixes necessary:
Do I see this correctly? |
@telmich: Either (1) or (2) should solve the immediate problem. Both (1) and (2) should be done for independent reasons. (1) ensures you try the best results first, and (2) ensures that you don't spuriously fail from the first result being momentarily down or unreachable. |
Is there anything that I can do to help merging this patch, @richfelker / @jasnell ? |
I think the way forward is to open a new PR picking up the changes in this one, and try to solve the CI failures. |
What is wrong with the current PR? Why can't it just be merged? |
@richfelker tests are failing; merging it would cause tests to fail in master. |
Well is something wrong with this change, or are the failing tests just wrong/invalid? I don't know how to look at what the tests in question actually are, but from their names it sounds like maybe the problem is that they're being run in a misconfigured environment where |
Either way, for the tests to land on master we need to have a green CI. Help is needed to investigate why the tests are failing, and how to make them pass.
If someone knows how to make this work, please send a PR. I believe our CI machine configuration files are located at nodejs/build. |
And where are the log files? |
Last CI run was back in January 2020, unfortunately the log files are gone. We would need to first resolve the git conflict to spawn a new CI job for this PR – and it seems the original author is not interested in working on it anymore. If someone is interested to open a new PR with these changes to solve the conflict, we could spawn a CI job and move forward with this. |
Switch the default from false (reorder the result so that IPv4 addresses come before IPv6 addresses) to true (return them exactly as the resolver sent them to us.) Fixes: nodejs#31566 Refs: nodejs#6307 Refs: nodejs#20710 Reissue of nodejs#31567
Switch the default from false (reorder the result so that IPv4 addresses come before IPv6 addresses) to true (return them exactly as the resolver sent them to us.) Fixes: nodejs#31566 Refs: nodejs#6307 Refs: nodejs#20710 Reissue of nodejs#31567
Switch the default from false (reorder the result so that IPv4 addresses come before IPv6 addresses) to true (return them exactly as the resolver sent them to us.) Fixes: nodejs#31566 Refs: nodejs#6307 Refs: nodejs#20710 Reissue of nodejs#31567
Switch the default from false (reorder the result so that IPv4 addresses come before IPv6 addresses) to true (return them exactly as the resolver sent them to us.) Fixes: nodejs#31566 Refs: nodejs#6307 Refs: nodejs#20710 Reissue of nodejs#31567
Switch the default from false (reorder the result so that IPv4 addresses come before IPv6 addresses) to true (return them exactly as the resolver sent them to us.) Fixes: nodejs#31566 Refs: nodejs#6307 Refs: nodejs#20710 Reissue of nodejs#31567
Switch the default from false (reorder the result so that IPv4 addresses come before IPv6 addresses) to true (return them exactly as the resolver sent them to us.) Fixes: nodejs#31566 Refs: nodejs#6307 Refs: nodejs#20710 Reissue of nodejs#31567 Reissue of nodejs#37681
Switch the default from false (reorder the result so that IPv4 addresses come before IPv6 addresses) to true (return them exactly as the resolver sent them to us.) Fixes: nodejs#31566 Refs: nodejs#6307 Refs: nodejs#20710 Reissue of nodejs#31567 Reissue of nodejs#37681 Reissue of nodejs#37931
Switch the default from false (reorder the result so that IPv4 addresses come before IPv6 addresses) to true (return them exactly as the resolver sent them to us.) Fixes: nodejs#31566 Refs: nodejs#6307 Refs: nodejs#20710 Reissue of nodejs#31567 Reissue of nodejs#37681 Reissue of nodejs#37931
Switch the default from false (reorder the result so that IPv4 addresses come before IPv6 addresses) to true (return them exactly as the resolver sent them to us.) Fixes: nodejs#31566 Refs: nodejs#6307 Refs: nodejs#20710 Reissue of nodejs#31567 Reissue of nodejs#37681 Reissue of nodejs#37931
Switch the default from false (reorder the result so that IPv4 addresses come before IPv6 addresses) to true (return them exactly as the resolver sent them to us.) Fixes: nodejs#31566 Refs: nodejs#6307 Refs: nodejs#20710 Refs: nodejs#38099 Reissue of nodejs#31567 Reissue of nodejs#37681 Reissue of nodejs#37931
Switch the default from false (reorder the result so that IPv4 addresses come before IPv6 addresses) to true (return them exactly as the resolver sent them to us.) Fixes: #31566 Refs: #6307 Refs: #20710 Refs: #38099 Reissue of #31567 Reissue of #37681 Reissue of #37931 PR-URL: #39987 Refs: #6307 Refs: #20710 Refs: #38099 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Superseded by 1b2749e. |
Switch the default from false (reorder the result so that IPv4 addresses
come before IPv6 addresses) to true (return them exactly as the resolver
sent them to us.)
Fixes: #31566
Refs: #6307
Refs: #20710
Passes
make test
on my machine but something tells me the CI results won't be so pretty...