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
macOS sockets broken #428
Comments
When using new network, the tests use an IPv6-based localhost address for binding and connecting. The local socket is opened in setUp
listenerSocket := Socket newTCP listenOn: self listenerPort backlogSize: 4 interface: self listenerAddress. The ^ NetNameResolver addressForName: 'localhost' In However, the Socket is created as newTCP
"Create a socket and initialise it for TCP"
^self newTCP: SocketAddressInformation addressFamilyINET4 This is bad. This is where the Error message comes from. This should be changed to use the address familty that fits best to the current old/new-network. On top of that, The correct way is to use the indirection of Things to do:
|
wait, this is fixed? |
Oops. I was over optimistic. I assumed that Levente'se poll change applied to Mac. It doesn't. Mac needs kqueue. I'm reopening. |
marvelous :D |
…ethod [ isValidObjStackAt: ] KILLED by 1/29 test cases.
…rue] ] on method [ freeTreeNodesDo: ]
…ue] ] on method [ freeTreeNodesDo: ] KILLED by 1/234 test cases.
… [ popObjStack: ] 14 test cases.
…[ popObjStack: ] 10/14 Test Cases are NOT EQUIVALENT
Dead code Elimination
On macOS High Sierra 10.13.6 in 32-bit and 64-bit:
If NetNameResolver useOldNetwork == false then only 1 SocketTest test passes, 2 fail and 11 raise errors. The plugin reports connect errors, one for each error:
sqConnectToAddressSize: Address family not supported by protocol family
sqConnectToAddressSize: Address family not supported by protocol family
sqConnectToAddressSize: Address family not supported by protocol family
sqConnectToAddressSize: Address family not supported by protocol family
sqConnectToAddressSize: Address family not supported by protocol family
sqConnectToAddressSize: Address family not supported by protocol family
sqConnectToAddressSize: Address family not supported by protocol family
sqConnectToAddressSize: Address family not supported by protocol family
sqConnectToAddressSize: Address family not supported by protocol family
sqConnectToAddressSize: Address family not supported by protocol family
sqConnectToAddressSize: Address family not supported by protocol family
If NetNameResolver useOldNetwork == true then only one test passes and there are 13 failures. Many (all?) fail with waitForConnectionFor:ifTimedOut:ifRefused: timing out. However, no errors are reported from the plugin.
The text was updated successfully, but these errors were encountered: