-
Notifications
You must be signed in to change notification settings - Fork 30k
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
investigate unreliability in test-dns-any #31721
Comments
@nodejs/dns |
I am now unable to reproduce this locally but it is happening in CI (e.g., https://ci.nodejs.org/job/node-test-commit-custom-suites-freestyle/12504/console). |
I am, however, still able to reproduce this from the command line on the CI host using |
What steps will reproduce the bug?
Run test/internet/test-dns-any.js over and over.
How often does it reproduce? Is there a required condition?
About 50% of the time, but 100% of the time if you run it over and over.
What is the expected behavior?
The test will consistently pass, or consistently fail.
What do you see instead?
It passes sometimes, fails other times.
Additional information
The problem seems to be that Google's DNS servers sometimes return a whole bunch of records with an ANY query on google.com and other times only return A and AAAA. But the test expects all the records. You can verify the aforementioned Google DNS behavior (which may very well be correct for all I know) by running
nslookup -type=ANY google.com 8.8.8.8
on the command line (on UNIX) over and over. Sometimes, you get a lot of records, and other times only A and AAAA.The text was updated successfully, but these errors were encountered: