Repository navigation
Help with failed build tests #687
Copy link
Copy link
Closed
Description
- Node.js Version: 8.1.2
- OS: RHEL 7
- Scope (install, code, runtime, meta, other?): build
- Module (and version) (if relevant):
Hi, I have some failed build tests on RHEL 7 that I would like to consult.
These two have been failing for v4 and v6 too:
=== release test-net-better-error-messages-port-hostname ===
Path: parallel/test-net-better-error-messages-port-hostname
assert.js:60
throw new errors.AssertionError({
^
AssertionError [ERR_ASSERTION]: 'EAI_AGAIN' === 'ENOTFOUND'
at Socket.<anonymous> (/builddir/build/BUILD/node-v8.1.2/test/parallel/test-net-better-error-messages-port-hostname.js:12:10)
at Socket.<anonymous> (/builddir/build/BUILD/node-v8.1.2/test/common/index.js:517:15)
at emitOne (events.js:115:13)
at Socket.emit (events.js:210:7)
at emitErrorNT (internal/streams/destroy.js:62:8)
at _combinedTickCallback (internal/process/next_tick.js:102:11)
at process._tickCallback (internal/process/next_tick.js:161:9)
Command: out/Release/node /builddir/build/BUILD/node-v8.1.2/test/parallel/test-net-better-error-messages-port-hostname.js
=== release test-net-connect-immediate-finish ===
Path: parallel/test-net-connect-immediate-finish
assert.js:60
throw new errors.AssertionError({
^
AssertionError [ERR_ASSERTION]: 'EAI_AGAIN' === 'ENOTFOUND'
at Socket.client.once.common.mustCall (/builddir/build/BUILD/node-v8.1.2/test/parallel/test-net-connect-immediate-finish.js:32:10)
at Socket.<anonymous> (/builddir/build/BUILD/node-v8.1.2/test/common/index.js:517:15)
at Object.onceWrapper (events.js:316:30)
at emitOne (events.js:115:13)
at Socket.emit (events.js:210:7)
at emitErrorNT (internal/streams/destroy.js:62:8)
at _combinedTickCallback (internal/process/next_tick.js:102:11)
at process._tickCallback (internal/process/next_tick.js:161:9)
Command: out/Release/node /builddir/build/BUILD/node-v8.1.2/test/parallel/test-net-connect-immediate-finish.js
These fail only with v8:
=== release test-util-inspect ===
Path: parallel/test-util-inspect
/builddir/build/BUILD/node-v8.1.2/test/parallel/test-util-inspect.js:85
assert.strictEqual(util.inspect(process.stdin._handle._externalStream),
^
TypeError: Cannot read property '_externalStream' of undefined
at Object.<anonymous> (/builddir/build/BUILD/node-v8.1.2/test/parallel/test-util-inspect.js:85:54)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3
Command: out/Release/node /builddir/build/BUILD/node-v8.1.2/test/parallel/test-util-inspect.js
=== release test-v8-serdes ===
Path: parallel/test-v8-serdes
assert.js:60
throw new errors.AssertionError({
^
AssertionError [ERR_ASSERTION]: Missing expected exception.
at _throws (assert.js:553:5)
at Function.throws (assert.js:577:3)
at Object.<anonymous> (/builddir/build/BUILD/node-v8.1.2/test/parallel/test-v8-serdes.js:98:10)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
Command: out/Release/node /builddir/build/BUILD/node-v8.1.2/test/parallel/test-v8-serdes.js
I use shared zlib-1.2.7, compared to zlib-1.2.11, so maybe that fails this test:
Path: parallel/test-zlib-failed-init
assert.js:60
throw new errors.AssertionError({
^
AssertionError [ERR_ASSERTION]: Missing expected exception.
at _throws (assert.js:553:5)
at Function.throws (assert.js:577:3)
at Object.<anonymous> (/builddir/build/BUILD/node-v8.1.2/test/parallel/test-zlib-failed-init.js:11:8)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
Command: out/Release/node /builddir/build/BUILD/node-v8.1.2/test/parallel/test-zlib-failed-init.js
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
Knighton910 commentedon Jul 19, 2017
@kasicka Did you get them to pass yet? Let me know if you still need help.
kasicka commentedon Aug 8, 2017
Nope, they still fail, plus I have test-regress-GH-746 failing randomly on various archs. I can't find a log, but the test times out.
bnoordhuis commentedon Aug 8, 2017
I believe the issue that made parallel/test-util-inspect flaky was fixed recently, although that may not have made it into a release yet.
parallel/test-net-better-error-messages-port-hostname and parallel/test-net-connect-immediate-finish failing means your DNS resolver returns something unexpected for invalid hostnames. Might be a bug in the test, might be a bug in your network.
test: allow for different nsswitch.conf settings
test: allow for different nsswitch.conf settings
test: allow for different nsswitch.conf settings
test: allow for different nsswitch.conf settings
test: add common.dns.errorLookupMock
test: mock the lookup function in parallel tests
test: allow for different nsswitch.conf settings
17 remaining items
gireeshpunathil commentedon Mar 15, 2018
thanks. Container spec please? I will attempt a reproduce.
gireeshpunathil commentedon Mar 15, 2018
what does
node -e 'console.log(process.getuid())'print for you? 0?gireeshpunathil commentedon Mar 15, 2018
and
node -e 'console.log(process.getgid())'kasicka commentedon Mar 15, 2018
Just plain Fedora Rawhide container.
Yes, both are 0, which explains failed test, but shouldn't it fail on v9 and v8 too?
gireeshpunathil commentedon Mar 15, 2018
thanks for the confirmation, the test has changed recently, though I did not check the exact nature of change.
Hope that explains.
gireeshpunathil commentedon Mar 15, 2018
@kasicka - feel free to come up with a PR to fix it. :)
gireeshpunathil commentedon Mar 20, 2018
closing as answered and explained, the identified issue tracked under nodejs/node#19371 .
gireeshpunathil commentedon Mar 29, 2018
@kasicka - fyi, this is fixed via nodejs/node#19554
test: add common.dns.errorLookupMock
test: mock the lookup function in parallel tests