Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Adélie Package Tree Adélie Package Tree
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 166
    • Issues 166
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Adélie LinuxAdélie Linux
  • Adélie Package TreeAdélie Package Tree
  • Issues
  • #971
Closed
Open
Issue created Mar 20, 2023 by Zach van Rijn@zOwner

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:

  • https://github.com/nodejs/node/issues/44003
  • https://github.com/nodejs/node/issues/43014
  • https://github.com/nodejs/node/pull/43054

20230320-19_31_36.891043107_node.log

Assignee
Assign to
Time tracking