Closed
Description
- Version: v9.0.0-pre
- Platform: Linux colin-t470s 4.10.0-35-generic Gitter chat room? #39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
- Subsystem: make test parallel network
make test not skipping unexpected localhost/ipv6 network-config.
make test error message...
...
[----------] Global test environment tear-down
[==========] 62 tests from 7 test cases ran. (242 ms total)
[ PASSED ] 62 tests.
/usr/bin/python2.7 tools/test.py --mode=release -J \
async-hooks \
async-hooks \
default \
addons addons-napi \
known_issues
=== release test-https-connect-address-family ===
Path: parallel/test-https-connect-address-family
code_learn/node/test/parallel/test-https-connect-address-family.js:39
throw err;
^
Error: getaddrinfo EAI_AGAIN
at Object._errnoException (util.js:1023:13)
at errnoException (dns.js:63:15)
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (dns.js:112:26)
Command: out/Release/node code_learn/node/test/parallel/test-https-connect-address-family.js
=== release test-tls-connect-address-family ===
Path: parallel/test-tls-connect-address-family
/code_learn/node/test/parallel/test-tls-connect-address-family.js:38
throw err;
^
Error: getaddrinfo EAI_AGAIN
at Object._errnoException (util.js:1023:13)
at errnoException (dns.js:63:15)
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (dns.js:112:26)
Command: out/Release/node code_learn/node/test/parallel/test-tls-connect-address-family.js
[02:33|% 100|+ 1969|- 2]: Done
Makefile:201: recipe for target 'test' failed
make: *** [test] Error 1
running the individual failling test...
$ ./node test/parallel/test-https-connect-address-family.js
1..0 # Skipped: localhost does not resolve to ::1
my local network-config...
$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 colin-t470s
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
worked-around the make test fail issue by adding localhost
to ::1
...
127.0.0.1 localhost
127.0.1.1 colin-t470s
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters