-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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 flaky internet/test-dns-idna2008 test #25870
Comments
It's been a one-time failure so far? |
I had the temporary-hiccup idea too, but other DNS tests in the |
Failed again today: https://ci.nodejs.org/job/node-test-commit-custom-suites/856/default/console test-rackspace-ubuntu1604-x64-1 00:16:53 not ok 9 internet/test-dns-idna2008
00:16:53 ---
00:16:53 duration_ms: 1.14
00:16:53 severity: fail
00:16:53 exitcode: 1
00:16:53 stack: |-
00:16:53 (node:22610) ExperimentalWarning: The dns.promises API is experimental
00:16:53 assert.js:753
00:16:53 throw newErr;
00:16:53 ^
00:16:54
00:16:54 AssertionError [ERR_ASSERTION]: ifError got unwanted exception: queryA ESERVFAIL straße.de
00:16:54 at QueryReqWrap.dns.resolve4.mustCall (/home/iojs/build/workspace/node-test-commit-custom-suites/default/test/internet/test-dns-idna2008.js:27:10)
00:16:54 at QueryReqWrap.callback (/home/iojs/build/workspace/node-test-commit-custom-suites/default/test/common/index.js:367:15)
00:16:54 at QueryReqWrap.onresolve [as oncomplete] (dns.js:199:10)
00:16:54 at QueryReqWrap.onresolve [as oncomplete] (dns.js:199:19)
00:16:54 ... |
I'll take a look but I wonder if it's an environmental issue (i.e., network issue) because it never fails for me locally. What about you? |
I've not had it fail locally either. It passed in last night's run on test-rackspace-ubuntu1604-x64-2. To get a baseline (or to see if it passes 7 times, and then the firewall kicks in and it fails the remaining 93 times or whatever), here's 100 runs in CI: |
No failures in stress test on test-rackspace-ubuntu1604-x64-2. Re-running, but with all |
Also successful on test-rackspace-ubuntu1604-x64-2. |
Happened in CI again today. https://ci.nodejs.org/job/node-test-commit-custom-suites/897/default/console test-rackspace-ubuntu1604-x64-1 00:05:33 not ok 9 internet/test-dns-idna2008
00:05:33 ---
00:05:33 duration_ms: 25.277
00:05:33 severity: fail
00:05:33 exitcode: 1
00:05:33 stack: |-
00:05:33 (node:18514) ExperimentalWarning: The dns.promises API is experimental
00:05:33 assert.js:742
00:05:33 throw newErr;
00:05:33 ^
00:05:33
00:05:33 AssertionError [ERR_ASSERTION]: ifError got unwanted exception: queryA ESERVFAIL straße.de
00:05:33 at QueryReqWrap.dns.resolve4.mustCall (/home/iojs/build/workspace/node-test-commit-custom-suites/default/test/internet/test-dns-idna2008.js:27:10)
00:05:33 at QueryReqWrap.callback (/home/iojs/build/workspace/node-test-commit-custom-suites/default/test/common/index.js:367:15)
00:05:33 at QueryReqWrap.onresolve [as oncomplete] (dns.js:199:10)
00:05:33 at QueryReqWrap.onresolve [as oncomplete] (dns.js:199:19)
00:05:33 ... |
Again today: https://ci.nodejs.org/job/node-test-commit-custom-suites/898/default/console test-rackspace-ubuntu1604-x64-1 00:04:15 not ok 9 internet/test-dns-idna2008
00:04:15 ---
00:04:15 duration_ms: 35.304
00:04:15 severity: fail
00:04:16 exitcode: 1
00:04:16 stack: |-
00:04:16 (node:25878) ExperimentalWarning: The dns.promises API is experimental
00:04:16 /home/iojs/build/workspace/node-test-commit-custom-suites/default/test/common/index.js:675
00:04:16 const crashOnUnhandledRejection = (err) => { throw err; };
00:04:16 ^
00:04:16
00:04:16 Error: queryA ESERVFAIL straße.de
00:04:16 at QueryReqWrap.onresolve [as oncomplete] (internal/dns/promises.js:167:17)
00:04:16 ... |
It failed again today. So it failed each of the last three runs. (The test is run once a day in CI.) Interesting that when it fails, it fails reliably. And when it doesn't fail, it doesn't fail at all. https://ci.nodejs.org/job/node-test-commit-custom-suites/899/default/console test-rackspace-ubuntu1604-x64-1 00:04:16 not ok 9 internet/test-dns-idna2008
00:04:16 ---
00:04:16 duration_ms: 30.292
00:04:16 severity: fail
00:04:16 exitcode: 1
00:04:16 stack: |-
00:04:16 (node:22481) ExperimentalWarning: The dns.promises API is experimental
00:04:16 /home/iojs/build/workspace/node-test-commit-custom-suites/default/test/common/index.js:675
00:04:16 const crashOnUnhandledRejection = (err) => { throw err; };
00:04:16 ^
00:04:16
00:04:16 Error: queryA ESERVFAIL straße.de
00:04:16 at QueryReqWrap.onresolve [as oncomplete] (internal/dns/promises.js:167:17)
00:04:16 ... |
@nodejs/build Thoughts on this one? |
Ooh, this time around things are different from when initially reported. The test is taking 30 seconds or so before failing. Probably some throttling going on somewhere, yeah? I'm logged on and will try running the lookups/resolves in series rather than in parallel and see if that does anything... |
Nope, still fails even with just one query and still takes about a long time to fail.... |
(Although it failed with EAGAIN instead of ESERVFAIL....) |
And again: https://ci.nodejs.org/job/node-test-commit-custom-suites/900/default/ test-rackspace-ubuntu1604-x64-1 00:19:37 not ok 9 internet/test-dns-idna2008
00:19:37 ---
00:19:37 duration_ms: 30.288
00:19:37 severity: fail
00:19:37 exitcode: 1
00:19:37 stack: |-
00:19:37 (node:1531) ExperimentalWarning: The dns.promises API is experimental
00:19:37 /home/iojs/build/workspace/node-test-commit-custom-suites/default/test/common/index.js:675
00:19:37 const crashOnUnhandledRejection = (err) => { throw err; };
00:19:37 ^
00:19:37
00:19:37 Error: queryA ESERVFAIL straße.de
00:19:37 at QueryReqWrap.onresolve [as oncomplete] (internal/dns/promises.js:167:17)
00:19:37 ... |
FWIW, a reboot does not appear to have fixed it. |
So... |
* use known well-behaved DNS server * force pass on ESERVFAIL PR-URL: nodejs#26473 Fixes: nodejs#25870 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
https://ci.nodejs.org/job/node-test-commit-custom-suites-freestyle/5173/testReport/junit/(root)/test/internet_test_dns_idna2008/, but but but, it passed CI!? fix of fix in #26570 |
Fixes a bug I introduced in 9613221 PR-URL: nodejs#26570 Refs: nodejs#25870 Refs: nodejs#26473 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
* use known well-behaved DNS server * force pass on ESERVFAIL PR-URL: #26473 Fixes: #25870 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Fixes a bug I introduced in 9613221 PR-URL: #26570 Refs: #25870 Refs: #26473 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
* use known well-behaved DNS server * force pass on ESERVFAIL PR-URL: #26473 Fixes: #25870 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Fixes a bug I introduced in 9613221 PR-URL: #26570 Refs: #25870 Refs: #26473 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Fixes a bug I introduced in 9613221 PR-URL: nodejs#26570 Refs: nodejs#25870 Refs: nodejs#26473 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
Fixes a bug I introduced in 9613221 PR-URL: #26570 Refs: #25870 Refs: #26473 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
The test should pass if ESERVFAIL is the result. Refs: nodejs#25870 (comment)
The test should pass if ESERVFAIL is the result. Refs: nodejs#25870 (comment) PR-URL: nodejs#27208 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
test/internet/test-dns-idna2008.js (added in four days ago when #25679 landed) failed in CI a few hours ago:
https://ci.nodejs.org/job/node-test-commit-custom-suites/855/default/console
Host: test-rackspace-ubuntu1604-x64-2
It had previously succeeded in CI (see https://ci.nodejs.org/job/node-test-commit-custom-suites/852/default/console).
I guess
ESERVFAIL
is a DNS problem likely unrelated to the test itself? Although other DNS tests ininternet
ran just fine, so maybe it is in fact specific to this test?@bnoordhuis
The text was updated successfully, but these errors were encountered: