Open externl opened 7 months ago
There was the same failure on Ubuntu in my PR build.
On main I get a similar error with this test:
*** [1/1 loop=67] Running csharp/IceSSL/configuration tests ***
[ running client/server test - 09/05/24 12:41:04 ]
(dotnet /workspaces/ice/csharp/test/IceSSL/configuration/msbuild/server/net8.0/server.dll --Ice.Default.Host=127.0.0.1 --Ice.Warn.Connections=1 --Ice.Default.Protocol=tcp --Ice.IPv6=0 --Ice.ThreadPool.Server.Size=1 --Ice.ThreadPool.Server.SizeMax=3 --Ice.ThreadPool.Server.SizeWarn=0 --Ice.PrintAdapterReady=1 "/workspaces/ice/csharp/test/IceSSL/configuration")
(dotnet /workspaces/ice/csharp/test/IceSSL/configuration/msbuild/client/net8.0/client.dll --Ice.Default.Host=127.0.0.1 --Ice.Warn.Connections=1 --Ice.Default.Protocol=tcp --Ice.IPv6=0 "/workspaces/ice/csharp/test/IceSSL/configuration")
client validates server certificate using validation callback... ok
client validates server certificate using system trusted root certificates... ok
client rejects server certificate using validation callback... ok
client rejects server certificate using default validation callback... ok
server validates client certificate using validation callback... ok
server rejects client certificate using validation callback... ok
server rejects client certificate using default validation callback... ok
server hot certificate reload... ok
testing certificate without password... ok
testing certificate verification... -! 9/5/2024 12:41:06:027 client: warning: connection exception:
Ice.ConnectionLostException: Exception of type 'Ice.ConnectionLostException' was thrown.
at Ice.Internal.StreamSocket.finishRead(Buffer buf) in /workspaces/ice/csharp/src/Ice/Internal/StreamSocket.cs:line 207
at Ice.Internal.TcpTransceiver.finishRead(Buffer buf) in /workspaces/ice/csharp/src/Ice/Internal/TcpTransceiver.cs:line 61
at Ice.Internal.IdleTimeoutTransceiverDecorator.finishRead(Buffer buf) in /workspaces/ice/csharp/src/Ice/Internal/IdleTimeoutTransceiverDecorator.cs:line 56
at Ice.ConnectionI.finishAsync(Int32 operation) in /workspaces/ice/csharp/src/Ice/ConnectionI.cs:line 706
local address = 127.0.0.1:46926
remote address = 127.0.0.1:12010
Ice.ConnectionLostException: Exception of type 'Ice.ConnectionLostException' was thrown.
at Test.ServerFactoryPrxHelper.destroyServer(ServerPrx srv, Dictionary`2 context) in /workspaces/ice/csharp/test/IceSSL/configuration/msbuild/client/generated/Test.cs:line 325
at AllTests.allTests(TestHelper helper, String testDir) in /workspaces/ice/csharp/test/IceSSL/configuration/AllTests.cs:line 525
at Client.run(String[] args) in /workspaces/ice/csharp/test/IceSSL/configuration/Client.cs:line 24
at Test.TestHelper.runAsync(String[] args) in /workspaces/ice/csharp/test/TestCommon/TestHelper.cs:line 55
at Test.TestDriver.runTestAsync[T](String[] args) in /workspaces/ice/csharp/test/TestCommon/TestHelper.cs:line 232
Traceback (most recent call last):
File "/workspaces/ice/csharp/../s
The error seems to always happen when calling destroyServer
which uses a plain TCP connection.
Interestingly the test doesn't fail when the calls to createServer/destroyServer are done from the main communicator.
With the current setup we do then from the temporary communicators that are created with the SSL setup for each sub-test.
We're getting this on
main
ci, ubuntu-latest.