Thanks for the suggestion. I do have a resolver configured, if I switch the asterisks with a valid host name, then I get an IP address (also, I am posting this message from that machine. Without a resolver I wouldn't be getting too far...)
Those two tests create a host name consisting of 256 asterisks. Is it possible those tests are relying on the behaviour of a particular libc version/DNS lookup system for a particular failure case? Andy On Monday, 11 November 2013 20:52:13 UTC, Matt Sergeant wrote: > > Any chance you don't have a resolver set up? What's in /etc/resolv.conf? > > > On Mon, Nov 11, 2013 at 1:54 PM, Andy C <[email protected]<javascript:> > > wrote: > >> Hi, >> I'm running the node tests, and I get a couple of consistent failures: >> >> === release test-http-dns-error === >> >> Path: simple/test-http-dns-error >> assert.js:98 >> throw new assert.AssertionError({ >> ^ >> AssertionError: "EAI_SYSTEM" == "ENOTFOUND" >> at ClientRequest.<anonymous> >> (/home/andrew/node/test/simple/test-http-dns-error.js:49:12) >> at ClientRequest.EventEmitter.emit (events.js:98:17) >> at TLSSocket.socketErrorListener (_http_client.js:234:9) >> at TLSSocket.EventEmitter.emit (events.js:120:20) >> at net.js:885:16 >> at process._tickCallback (node.js:598:11) >> Command: out/Release/node >> /home/andrew/node/test/simple/test-http-dns-error.js >> === release test-net-dns-error === >> >> Path: simple/test-net-dns-error >> assert.js:98 >> throw new assert.AssertionError({ >> ^ >> AssertionError: "EAI_SYSTEM" == "ENOTFOUND" >> at Socket.<anonymous> >> (/home/andrew/node/test/simple/test-net-dns-error.js:49:10) >> at Socket.EventEmitter.emit (events.js:109:17) >> at net.js:872:12 >> at Object.asyncCallback [as callback] (dns.js:78:16) >> at Object.onlookup [as oncomplete] (dns.js:91:17) >> Command: out/Release/node >> /home/andrew/node/test/simple/test-net-dns-error.js >> >> They are both failing because getaddrinfo returns EAI_SYSTEM, instead of >> the expected ENOTFOUND. >> >> Running a little C program which attempts to resolve the host name >> "******....", via getaddrinfo does indeed give error code -11 (EAI_SYSTEM >> ). >> >> errno is set to ENOENT (No such file or directory). >> >> I'm running Mint Linux AMD64: >> 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 >> x86_64 GNU/Linux >> >> I have libc version 2.17 and am at the tip of master. >> >> Any ideas or hints? Is this a known (or expected?) issue? >> Thanks for any comments, >> Andy >> >> -- >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "nodejs" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
