Skip to content
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

Error running tests on HEAD #44804

Open
Xstoudi opened this issue Sep 27, 2022 · 2 comments
Open

Error running tests on HEAD #44804

Xstoudi opened this issue Sep 27, 2022 · 2 comments
Labels
net Issues and PRs related to the net subsystem. test Issues and PRs related to the tests.

Comments

@Xstoudi
Copy link
Contributor

Xstoudi commented Sep 27, 2022

Version

v19.0.0-pre, ref-parse HEAD: 87b9a77

Platform

Linux xavier-laptop 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Subsystem

tests

What steps will reproduce the bug?

I simply forked node, cloned it and then followed the BUILDING.md, respectively:

$ sudo apt-get install python3 g++ make python3-pip
$ ./configure
$ make -j4
drink coffee
$ make test-only

How often does it reproduce? Is there a required condition?

Always

What is the expected behavior?

All tests should be successfull

What do you see instead?

Some annoying failed tests, logs can be seen here: https://pastebin.com/101XRfEZ

Additional information

My /etc/hosts contains a line for localhost:

127.0.0.1	localhost

I tought that the ENOTFOUND was caused by network condition for some reason, but the failed tests are persisting through company network, home network and mobile network, so...

The error is not related to batch-execution of tests as if I run it directly with the command, it fails anyway:

out/Release/node /data/xavier/contribs/node/test/parallel/test-net-socket-connect-without-cb.js

I assume it's the case for other failing tests.

@targos
Copy link
Member

targos commented Sep 27, 2022

The crypto-related issues should be fixed by #44498.

I don't know about getaddrinfo ENOTFOUND localhost

@kvakil kvakil added test Issues and PRs related to the tests. net Issues and PRs related to the net subsystem. labels Oct 1, 2022
@Xstoudi Xstoudi closed this as completed Oct 22, 2022
@Xstoudi Xstoudi reopened this Oct 22, 2022
@B0ER
Copy link

B0ER commented Jul 28, 2023

Same for me, I always get the error when run tests
Logs: https://pastebin.com/bPJ3NYqD
Head: 48345d
Versions:
node - v21.0.0-pre
python - 3.10.6
OS - Ubuntu 22.04.2 LTS

Used make + ninja for build

tests don't pass:
test/parallel/test-net-socket-connect-without-cb.js
test/parallel/test-tcp-wrap-listen.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
net Issues and PRs related to the net subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

No branches or pull requests

4 participants