user/node: (aarch64) FTTFS: multiple failures: Error: getaddrinfo ENOTFOUND localhost
Found on aarch64 in autobuilder environment:
...
[----------] Global test environment tear-down
[==========] 153 tests from 22 test suites ran. (6065 ms total)
[ PASSED ] 153 tests.
make jstest
ninja -C out/Release -j16
ninja: entering directory 'out/Release'
ninja: nothing to do
if [ ! -r node ] || [ ! -L node ]; then ln -fs out/Release/node node; fi
/usr/bin/python3 tools/test.py -j 16 --mode=release \
\
--skip-tests= \
default \
addons js-native-api node-api
=== release test-net-socket-connect-without-cb ===
Path: parallel/test-net-socket-connect-without-cb
node:events:491
throw er; // Unhandled 'error' event
^
Error: getaddrinfo ENOTFOUND localhost
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26)
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'localhost'
}
Node.js v18.12.1
Command: out/Release/node /usr/src/packages/user/node/src/node-v18.12.1/test/parallel/test-net-socket-connect-without-cb.js
=== release test-tcp-wrap-listen ===
Path: parallel/test-tcp-wrap-listen
(node:678237) internal/test/binding: These APIs are for internal testing only. Do not use them.
(Use `node --trace-warnings ...` to show where the warning was created)
node:events:491
throw er; // Unhandled 'error' event
^
Error: getaddrinfo ENOTFOUND localhost
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26)
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'localhost'
}
Node.js v18.12.1
Command: out/Release/node --expose-internals /usr/src/packages/user/node/src/node-v18.12.1/test/parallel/test-tcp-wrap-listen.js
[11:31|% 100|+ 3725|- 2]: Done
make[1]: *** [Makefile:307: jstest] Error 1
make: *** [Makefile:341: test-only] Error 2
>>> ERROR: node: check failed
possibly relevant:
# cat /.autobuilder/aarch64/rootfs/etc/hosts
127.0.0.1 localhost
See also: