[
https://issues.apache.org/jira/browse/IGNITE-24228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17923535#comment-17923535
]
Igor Sapego commented on IGNITE-24228:
--------------------------------------
Looks good to me.
> .NET: Thin 3.0: Some tests are flaky on Windows
> -----------------------------------------------
>
> Key: IGNITE-24228
> URL: https://issues.apache.org/jira/browse/IGNITE-24228
> Project: Ignite
> Issue Type: Bug
> Components: platforms, thin client
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Major
> Labels: ignite-3
> Fix For: 3.1
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> *TestClientDropsConnectionOnClusterIdMismatch*
> {code}
> Condition not reached after 00:00:01.0006442
> at Apache.Ignite.Tests.TestUtils.WaitForConditionAsync(Func`1 condition,
> Int32 timeoutMs, Func`1 messageFactory) in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\TestUtils.cs:line
> 76
> at Apache.Ignite.Tests.TestUtils.WaitForCondition(Func`1 condition, Int32
> timeoutMs, Func`1 messageFactory) in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\TestUtils.cs:line
> 45
> at
> Apache.Ignite.Tests.MultiClusterTest.TestClientDropsConnectionOnClusterIdMismatch()
> in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\MultiClusterTest.cs:line
> 49
> at
> NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
> at
> NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter
> awaiter)
> at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
> at
> NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext
> context)
> at
> NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext
> context)
> at
> NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
> at
> NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext
> context, Action action)
> 1) at Apache.Ignite.Tests.TestUtils.WaitForConditionAsync(Func`1
> condition, Int32 timeoutMs, Func`1 messageFactory) in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\TestUtils.cs:line
> 76
> ------- Stdout: -------
> Fake server started [port=60158,
> test=TestClientDropsConnectionOnClusterIdMismatch]
> Fake server started [port=60159,
> test=TestClientDropsConnectionOnClusterIdMismatch]
> {code}
> *TestMicrosoftConsoleLogger*
> {code}
> Expected: String containing "dbug: Apache.Ignite.Internal.ClientSocket"
> But was: "Fake server started [port=60106, test=TestMicrosoftConsoleLogger]
> "
> at Apache.Ignite.Tests.LoggingTests.TestMicrosoftConsoleLogger() in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\LoggingTests.cs:line
> 103
> at
> NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
> at
> NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter
> awaiter)
> at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
> at
> NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext
> context)
> at
> NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext
> context)
> at
> NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
> at
> NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext
> context, Action action)
> 1) at Apache.Ignite.Tests.LoggingTests.TestMicrosoftConsoleLogger() in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\LoggingTests.cs:line
> 103
> {code}
> *TestClientUsesLatestSchemaOnWriteAddColumn*
> {code}
> Apache.Ignite.IgniteClientConnectionException : Exception while reading from
> socket, connection closed: Unable to read data from the transport connection:
> An existing connection was forcibly closed by the remote host..
> ----> System.IO.IOException : Unable to read data from the transport
> connection: An existing connection was forcibly closed by the remote host..
> ----> System.Net.Sockets.SocketException : An existing connection was
> forcibly closed by the remote host.
> at Apache.Ignite.Internal.ClientSocket.DoOutInOpAsyncInternal(ClientOp
> clientOp, PooledArrayBuffer request, Boolean expectNotifications) in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs:line
> 659
> at
> Apache.Ignite.Internal.ClientFailoverSocket.DoOutInOpAndGetSocketAsync(ClientOp
> clientOp, Transaction tx, PooledArrayBuffer request, PreferredNode
> preferredNode, IRetryPolicy retryPolicyOverride, Boolean expectNotifications)
> in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientFailoverSocket.cs:line
> 219
> at Apache.Ignite.Internal.Table.RecordView`1.DoOutInOpAsync(ClientOp
> clientOp, Transaction tx, PooledArrayBuffer request, PreferredNode
> preferredNode, IRetryPolicy retryPolicyOverride) in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\Table\RecordView.cs:line
> 503
> at Apache.Ignite.Internal.Table.RecordView`1.DoRecordOutOpAsync(ClientOp
> op, ITransaction transaction, T record, Boolean keyOnly, Nullable`1
> schemaVersionOverride) in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\Table\RecordView.cs:line
> 538
> at Apache.Ignite.Internal.Table.RecordView`1.InsertAsync(ITransaction
> transaction, T record) in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\Table\RecordView.cs:line
> 202
> at
> Apache.Ignite.Tests.Table.SchemaSynchronizationTest.TestClientUsesLatestSchemaOnWriteAddColumn(TestMode
> testMode) in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\Table\SchemaSynchronizationTest.cs:line
> 130
> at Apache.Ignite.Internal.ClientSocket.DoOutInOpAsyncInternal(ClientOp
> clientOp, PooledArrayBuffer request, Boolean expectNotifications) in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs:line
> 659
> at
> NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter
> awaiter)
> --- End of stack trace from previous location ---
> at Apache.Ignite.Internal.ClientSocket.HeartbeatAsync(PooledArrayBuffer
> payload) in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs:line
> 297
> at
> NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext
> context)
> at
> NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext
> context)
> at
> NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
> at
> NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext
> context, Action action)
> --IOException
> at
> System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError
> error, CancellationToken cancellationToken)
> at
> System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16
> token)
> at Apache.Ignite.Internal.ClientSocket.ReceiveBytesAsync(Stream stream,
> Byte[] buffer, Int32 size, MetricsContext metricsContext, CancellationToken
> cancellationToken) in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs:line
> 500
> at Apache.Ignite.Internal.ClientSocket.ReadMessageSizeAsync(Stream stream,
> Byte[] buffer, MetricsContext metricsContext, CancellationToken
> cancellationToken) in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs:line
> 484
> at Apache.Ignite.Internal.ClientSocket.ReadResponseAsync(Stream stream,
> Byte[] messageSizeBytes, MetricsContext metricsContext, CancellationToken
> cancellationToken) in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs:line
> 457
> at Apache.Ignite.Internal.ClientSocket.RunReceiveLoop(CancellationToken
> cancellationToken) in
> C:\opt\BuildAgent\work\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs:line
> 761
> --SocketException
> ------- Stdout: -------
> SetUp: TestClientUsesLatestSchemaOnWriteAddColumn(Two)
> [10:49:49] [trce] [Apache.Ignite.Internal.ClientSocket-4431] Sending request
> [requestId=30, op=SqlExec, remoteAddress=127.0.0.1:10943]
> [10:49:49] [trce] [Apache.Ignite.Internal.ClientSocket-4430] Sending request
> [requestId=36, op=TableGet, remoteAddress=127.0.0.1:10942]
> [10:49:49] [trce] [Apache.Ignite.Internal.ClientSocket-4431] Sending request
> [requestId=31, op=SchemasGet, remoteAddress=127.0.0.1:10943]
> [10:49:49] [dbug] [Apache.Ignite.Internal.Table.Table] Schema loaded
> [tableId=97, schemaVersion=1]
> [10:49:49] [trce] [Apache.Ignite.Internal.ClientSocket-4430] Sending request
> [requestId=37, op=PartitionAssignmentGet, remoteAddress=127.0.0.1:10942]
> [10:49:49] [trce] [Apache.Ignite.Internal.ClientSocket-4431] Sending request
> [requestId=32, op=TupleInsert, remoteAddress=127.0.0.1:10943]
> [10:49:56] [dbug] [Apache.Ignite.Internal.ClientFailoverSocket] Not retrying
> operation [opCode=18, opType=TupleInsert, attempt=0, lastError=Exception
> while reading from socket, connection closed: Unable to read data from the
> transport connection: An existing connection was forcibly closed by the
> remote host..]
> [10:49:56] [dbug] [Apache.Ignite.Internal.ClientSocket-4432] Connection
> established [remoteAddress=[::ffff:127.0.0.1]:10943]
> [10:49:57] [dbug] [Apache.Ignite.Internal.ClientSocket-4432] Handshake
> succeeded [remoteAddress=[::ffff:127.0.0.1]:10943, context=ConnectionContext
> { Version = ClientProtocolVersion { Version = 3.0.0 }, IdleTimeout =
> 00:00:06, ClusterNode = ClusterNode { Id =
> 719c3ded-c1b0-4253-9392-6e028fd6f6c8, Name =
> org.apache.ignite.internal.runner.app.PlatformTestNodeRunner_2, Address =
> 127.0.0.1:10943 }, ClusterIds = System.Guid[], ClusterName = cluster, SslInfo
> = , ClusterId = ba65714e-11fd-4c13-9be1-660b0981e042 }]
> [10:49:57] [warn] [Apache.Ignite.Internal.ClientSocket-4432] Server-side
> IdleTimeout is 00:00:06, configured
> IgniteClientConfiguration.HeartbeatInterval is 00:00:30, which is longer than
> recommended IdleTimeout / 3. Overriding heartbeat interval with
> max(IdleTimeout / 3, 500ms): 00:00:02
> [10:49:57] [trce] [Apache.Ignite.Internal.ClientSocket-4432] Sending request
> [requestId=1, op=SqlExec, remoteAddress=127.0.0.1:10943]
> [10:49:59] [trce] [Apache.Ignite.Internal.ClientSocket-4432] Sending request
> [requestId=2, op=Heartbeat, remoteAddress=127.0.0.1:10943]
> [10:49:59] [trce] [Apache.Ignite.Internal.ClientSocket-4432] Received
> response [requestId=2, flags=0, remoteAddress=127.0.0.1:10943]
> [10:50:01] [trce] [Apache.Ignite.Internal.ClientSocket-4432] Received
> response [requestId=1, flags=PartitionAssignmentChanged,
> remoteAddress=127.0.0.1:10943]
> [10:50:01] [info] [Apache.Ignite.Internal.ClientSocket-4432] Partition
> assignment change notification received [remoteAddress=127.0.0.1:10943,
> timestamp=113884357581669060
> TearDown start: TestClientUsesLatestSchemaOnWriteAddColumn(Two)
> TearDown end: TestClientUsesLatestSchemaOnWriteAddColumn(Two)
> [10:50:01] [trce] [Apache.Ignite.Internal.ClientSocket-4432] Received
> response [requestId=3, flags=PartitionAssignmentChanged,
> remoteAddress=127.0.0.1:10943]
> [10:50:01] [info] [Apache.Ignite.Internal.ClientSocket-4432] Partition
> assignment change notification received [remoteAddress=127.0.0.1:10943,
> timestamp=113884358134136857
> [10:50:01] [trce] [Apache.Ignite.Internal.ClientSocket-4432] Received
> response [requestId=4, flags=0, remoteAddress=127.0.0.1:10943]
> [10:50:01] [trce] [Apache.Ignite.Internal.ClientSocket-4432] Received
> response [requestId=5, flags=PartitionAssignmentChanged,
> remoteAddress=127.0.0.1:10943]
> [10:50:01] [info] [Apache.Ignite.Internal.ClientSocket-4432] Partition
> assignment change notification received [remoteAddress=127.0.0.1:10943,
> timestamp=113884358134136860
> [10:50:01] [trce] [Apache.Ignite.Internal.ClientSocket-4432] Received
> response [requestId=6, flags=0, remoteAddress=127.0.0.1:10943]
> {code}
> https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunNetWindowsTests/8781928
--
This message was sent by Atlassian Jira
(v8.20.10#820010)