Version
v20.4.0
Platform
Darwin MacBook-Pro.local 21.6.0 Darwin Kernel Version 21.6.0: Thu Jun 8 23:57:12 PDT 2023; root:xnu-8020.240.18.701.6~1/RELEASE_X86_64 x86_64
Subsystem
net
What steps will reproduce the bug?
Download the latest node from the offical site. https://nodejs.org/dist/v20.4.0/node-v20.4.0-darwin-x64.tar.gz
roger@MacBook-Pro node-contribute % ~/Downloads/node-v20.4.0-darwin-x64/bin/node ~/Work/node-contribute/test/parallel/test-net-autoselectfamily.js
The test-net-autoselectfamily.js I run is from the latest node source.
roger@MacBook-Pro node-contribute % git log
commit f9737b1b8c96e43cedfff764634524df62cf3109 (HEAD -> origin/main, origin/HEAD)
Author: Node.js GitHub Bot <github-bot@iojs.org>
Date: Fri Jul 14 10:37:47 2023 +0100
How often does it reproduce? Is there a required condition?
Consistently reproducable
What is the expected behavior? Why is that the expected behavior?
no complaint, of course
What do you see instead?
node:assert:125
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
- '2606:4700::6810:84e5:56228',
- '104.20.23.46:56228',
- '::1:56228',
- '127.0.0.1:56228'
]
at Socket. (/Users/roger/Work/node-contribute/test/parallel/test-net-autoselectfamily.js:145:18)
at Socket. (/Users/roger/Work/node-contribute/test/common/index.js:466:15)
at Socket.emit (node:events:512:28)
at afterConnect (node:net:1578:10)
at afterConnectMultiple (node:net:1675:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ '2606:4700::6810:85e5:56228', '104.20.22.46:56228' ],
expected: [
'2606:4700::6810:85e5:56228',
'104.20.22.46:56228',
'2606:4700::6810:84e5:56228',
'104.20.23.46:56228',
'::1:56228',
'127.0.0.1:56228'
],
operator: 'deepStrictEqual'
}
Node.js v20.4.0
Additional information
No response
Version
v20.4.0
Platform
Darwin MacBook-Pro.local 21.6.0 Darwin Kernel Version 21.6.0: Thu Jun 8 23:57:12 PDT 2023; root:xnu-8020.240.18.701.6~1/RELEASE_X86_64 x86_64
Subsystem
net
What steps will reproduce the bug?
Download the latest node from the offical site. https://nodejs.org/dist/v20.4.0/node-v20.4.0-darwin-x64.tar.gz
The test-net-autoselectfamily.js I run is from the latest node source.
How often does it reproduce? Is there a required condition?
Consistently reproducable
What is the expected behavior? Why is that the expected behavior?
no complaint, of course
What do you see instead?
node:assert:125
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
actual - expected
[
'2606:4700::6810:85e5:56228',
'104.20.22.46:56228',
]
at Socket. (/Users/roger/Work/node-contribute/test/parallel/test-net-autoselectfamily.js:145:18)
at Socket. (/Users/roger/Work/node-contribute/test/common/index.js:466:15)
at Socket.emit (node:events:512:28)
at afterConnect (node:net:1578:10)
at afterConnectMultiple (node:net:1675:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ '2606:4700::6810:85e5:56228', '104.20.22.46:56228' ],
expected: [
'2606:4700::6810:85e5:56228',
'104.20.22.46:56228',
'2606:4700::6810:84e5:56228',
'104.20.23.46:56228',
'::1:56228',
'127.0.0.1:56228'
],
operator: 'deepStrictEqual'
}
Node.js v20.4.0
Additional information
No response