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

New Socket select tests failing on OS X, CentOS, openSUSE #15784

Closed
stephentoub opened this issue Nov 25, 2015 · 1 comment
Closed

New Socket select tests failing on OS X, CentOS, openSUSE #15784

stephentoub opened this issue Nov 25, 2015 · 1 comment
Labels
area-System.Net os-linux Linux OS (any supported distro)
Milestone

Comments

@stephentoub
Copy link
Member

CentOS:
http://dotnet-ci.cloudapp.net/job/dotnet_corefx_linux_centos71_debug_tst/157/console

20:09:40 terminate called after throwing an instance of 'PAL_SEHException'
20:09:40 ./run-test.sh: line 130: 59310 Aborted                 ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing -notrait category=OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
20:09:40 One or more tests failed while running tests from 'System.Net.Sockets.APMServer.Tests'.  Exit code 134.
20:09:41    System.Net.Sockets.Tests.SelectAndPollTests.SelectWrite_Multiple_Mixed [FAIL]
20:09:41       Assert.Equal() Failure
20:09:41       Expected: 1
20:09:41       Actual:   0
20:09:41 terminate called after throwing an instance of 'PAL_SEHException'
20:09:41 ./run-test.sh: line 130: 59318 Aborted                 ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing -notrait category=OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
20:09:41 One or more tests failed while running tests from 'System.Net.Sockets.AsyncServer.Tests'.  Exit code 134.

openSUSE
http://dotnet-ci.cloudapp.net/job/dotnet_corefx_linux_opensuse132_debug_tst/188/console

20:15:57 terminate called after throwing an instance of 'PAL_SEHException'
20:15:57 ./run-test.sh: line 130:  2689 Aborted                 ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing -notrait category=OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
20:15:57 One or more tests failed while running tests from 'System.Net.Sockets.APMServer.Tests'.  Exit code 134.
20:15:57    System.Net.Sockets.Tests.SelectAndPollTests.SelectWrite_Multiple_Mixed [FAIL]
20:15:57       System.Net.Sockets.SocketException : Unknown error -1
20:15:57 terminate called after throwing an instance of 'PAL_SEHException'
20:15:57 ./run-test.sh: line 130:  2688 Aborted                 ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing -notrait category=OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
20:15:57 One or more tests failed while running tests from 'System.Net.Sockets.AsyncServer.Tests'.  Exit code 134.
@stephentoub stephentoub changed the title New Socket select tests asserting and crashing on CentOS and openSUSE New Socket select tests failing on OS X, CentOS, openSUSE Nov 25, 2015
@stephentoub
Copy link
Member Author

Also on OS X:
http://dotnet-ci.cloudapp.net/job/dotnet_corefx_mac_debug_tst/138/console

20:37:51    System.Net.Sockets.Tests.SelectAndPollTests.SelectRead_Multiple_Mixed [FAIL]
20:37:51       Assert.Equal() Failure
20:37:51       Expected: 1
20:37:51       Actual:   0
20:37:51       Stack Trace:
20:37:51             at System.Net.Sockets.Tests.SelectAndPollTests.SelectRead_Multiple_Mixed()
20:37:51    System.Net.Sockets.Tests.SelectAndPollTests.SelectRead_Single_Success [FAIL]
20:37:51       Assert.Equal() Failure
20:37:51       Expected: 1
20:37:51       Actual:   0
20:37:51       Stack Trace:
20:37:51             at System.Net.Sockets.Tests.SelectAndPollTests.SelectRead_Single_Success()
20:37:51    System.Net.Sockets.Tests.SelectAndPollTests.SelectWrite_Multiple_Mixed [FAIL]
20:37:51       Assert.Equal() Failure
20:37:51       Expected: 1
20:37:51       Actual:   0
20:37:51       Stack Trace:
20:37:51             at System.Net.Sockets.Tests.SelectAndPollTests.SelectWrite_Multiple_Mixed()
20:37:56 Finished:    System.Net.Sockets.Tests

and

20:38:17    System.Net.Sockets.Tests.SelectAndPollTests.SelectWrite_Multiple_Mixed [FAIL]
20:38:17       Assert.Equal() Failure
20:38:17       Expected: 1
20:38:17       Actual:   0
20:38:17       Stack Trace:
20:38:17             at System.Net.Sockets.Tests.SelectAndPollTests.SelectWrite_Multiple_Mixed()
20:38:17    System.Net.Sockets.Tests.SelectAndPollTests.SelectRead_Single_Success [FAIL]
20:38:17       Assert.Equal() Failure
20:38:17       Expected: 1
20:38:17       Actual:   0
20:38:17       Stack Trace:
20:38:17             at System.Net.Sockets.Tests.SelectAndPollTests.SelectRead_Single_Success()
20:38:17    System.Net.Sockets.Tests.SelectAndPollTests.SelectWrite_Single_Success [FAIL]
20:38:17       Assert.Equal() Failure
20:38:17       Expected: 1
20:38:17       Actual:   0
20:38:17       Stack Trace:
20:38:17             at System.Net.Sockets.Tests.SelectAndPollTests.SelectWrite_Single_Success()
20:38:17    System.Net.Sockets.Tests.SelectAndPollTests.PollRead_Single_Success [FAIL]
20:38:17       Assert.True() Failure
20:38:17       Expected: True
20:38:17       Actual:   False
20:38:17       Stack Trace:
20:38:17             at System.Net.Sockets.Tests.SelectAndPollTests.PollRead_Single_Success()
20:38:17    System.Net.Sockets.Tests.SelectAndPollTests.PollWrite_Single_Success [FAIL]
20:38:17       Assert.True() Failure
20:38:17       Expected: True
20:38:17       Actual:   False
20:38:17       Stack Trace:
20:38:17             at System.Net.Sockets.Tests.SelectAndPollTests.PollWrite_Single_Success()
20:38:39 Finished:    System.Net.Sockets.AsyncServer.Tests

pgavlin referenced this issue in pgavlin/corefx Nov 25, 2015
There was an off-by-one in a memcpy in the PAL <-> native file
descriptor set conversions.

Fixes #4665.
@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 1.0.0-rc2 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jan 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net os-linux Linux OS (any supported distro)
Projects
None yet
Development

No branches or pull requests

3 participants