[
https://issues.apache.org/jira/browse/IGNITE-26222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016565#comment-18016565
]
Pavel Tupitsyn commented on IGNITE-26222:
-----------------------------------------
Cannot reproduce flaky TestFailedSchemaLoadTaskIsRetried and the situation
where schema load fails but upsert succeeds seems impossible. Improved logging
to get a better understanding if it fails again.
https://github.com/apache/ignite-3/commit/4aff5f03433813d00486b4a200b9fdbff5196b76
> .NET:
> Apache.Ignite.Tests.Table.SchemaUpdateTest.TestFailedSchemaLoadTaskIsRetried
> is flaky
> -------------------------------------------------------------------------------------------
>
> Key: IGNITE-26222
> URL: https://issues.apache.org/jira/browse/IGNITE-26222
> Project: Ignite
> Issue Type: Bug
> Components: platforms ai3, thin clients ai3
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Major
> Labels: MakeTeamcityGreenAgain, ignite-3
> Fix For: 3.1
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> https://ci.ignite.apache.org/test/-2683371587439761744?currentProjectId=ApacheIgnite3xGradle_Test
> {code}
> Expected: <Apache.Ignite.IgniteClientConnectionException>
> But was: null
> at
> Apache.Ignite.Tests.Table.SchemaUpdateTest.TestFailedSchemaLoadTaskIsRetried()
> in
> C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\Table\SchemaUpdateTest.cs:line
> 86
> 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.TimeoutCommand.<>c__DisplayClass5_0.<RunTestOnSeparateThread>b__0()
> 1) at
> Apache.Ignite.Tests.Table.SchemaUpdateTest.TestFailedSchemaLoadTaskIsRetried()
> in
> C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\Table\SchemaUpdateTest.cs:line
> 86
> ------- Stdout: -------
> Fake server started [port=52934, test=TestFailedSchemaLoadTaskIsRetried]
> [06:19:00] [info] [Apache.Ignite.Internal.ClientFailoverSocket] Ignite.NET
> client version 3.1.0.0-snapshot+339709ec4e is starting
> [06:19:00] [dbug] [Apache.Ignite.Internal.ClientSocket-4477] Connection
> established [remoteAddress=[::ffff:127.0.0.1]:52934]
> [06:19:00] [dbug] [Apache.Ignite.Internal.ClientSocket-4477] Handshake
> succeeded [remoteAddress=[::ffff:127.0.0.1]:52934, context=ConnectionContext
> { Version = ClientProtocolVersion { Version = 3.0.0 }, IdleTimeout =
> 00:00:00, ClusterNode = ClusterNode { Id =
> 870448e3-814a-4eb4-a51d-1f033655f57a, Name = fake-server, Address =
> 127.0.0.1:52934 }, ClusterIds = System.Guid[], ClusterName = fake-cluster,
> SslInfo = , Features = 0, ClusterId = 00000000-0000-0000-0000-000000000000 }]
> [06:19:00] [info] [Apache.Ignite.Internal.ClientSocket-4477] Server-side
> IdleTimeout is not set, using configured
> IgniteClientConfiguration.HeartbeatInterval: 1.00:00:00
> [06:19:00] [dbug] [Apache.Ignite.Internal.ClientFailoverSocket] Trying to
> establish secondary connections - awaiting 1 tasks...
> [06:19:00] [dbug] [Apache.Ignite.Internal.ClientFailoverSocket] 1 secondary
> connections established, 0 failed.
> [06:19:00] [trce] [Apache.Ignite.Internal.ClientSocket-4477] Sending request
> [requestId=1, op=TableGet, remoteAddress=127.0.0.1:52934]
> [06:19:00] [trce] [Apache.Ignite.Internal.ClientSocket-4477] Received
> response [requestId=1, flags=PartitionAssignmentChanged,
> remoteAddress=127.0.0.1:52934]
> [06:19:00] [info] [Apache.Ignite.Internal.ClientSocket-4477] Partition
> assignment change notification received [remoteAddress=127.0.0.1:52934,
> timestamp=0
> [06:19:00] [trce] [Apache.Ignite.Internal.ClientSocket-4477] Sending request
> [requestId=2, op=SchemasGet, remoteAddress=127.0.0.1:52934]
> [06:19:00] [fail] [Apache.Ignite.Internal.ClientSocket-4477] Exception while
> reading from socket, connection closed: Connection lost (failed to read data
> from socket) (exception: Apache.Ignite.IgniteClientConnectionException:
> Connection lost (failed to read data from socket)
> ---> System.Net.Sockets.SocketException (10053): An established connection
> was aborted by the software in your host machine.
> --- End of inner exception stack trace ---
> at Apache.Ignite.Internal.ClientSocket.ReceiveBytesAsync(Stream stream,
> Byte[] buffer, Int32 size, MetricsContext metricsContext, CancellationToken
> cancellationToken) in
> C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs:line
> 535
> at Apache.Ignite.Internal.ClientSocket.ReadMessageSizeAsync(Stream stream,
> Byte[] buffer, MetricsContext metricsContext, CancellationToken
> cancellationToken) in
> C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs:line
> 514
> at Apache.Ignite.Internal.ClientSocket.ReadResponseAsync(Stream stream,
> Byte[] messageSizeBytes, MetricsContext metricsContext, CancellationToken
> cancellationToken) in
> C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs:line
> 487
> at Apache.Ignite.Internal.ClientSocket.RunReceiveLoop(CancellationToken
> cancellationToken) in
> C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs:line
> 838)
> [06:19:00] [warn] [Apache.Ignite.Internal.ClientSocket-4477] Connection
> closed with error [remoteAddress=127.0.0.1:52934]: Exception while reading
> from socket, connection closed: Connection lost (failed to read data from
> socket) (exception: Apache.Ignite.IgniteClientConnectionException: Exception
> while reading from socket, connection closed: Connection lost (failed to read
> data from socket)
> ---> Apache.Ignite.IgniteClientConnectionException: Connection lost (failed
> to read data from socket)
> ---> System.Net.Sockets.SocketException (10053): An established connection
> was aborted by the software in your host machine.
> --- End of inner exception stack trace ---
> at Apache.Ignite.Internal.ClientSocket.ReceiveBytesAsync(Stream stream,
> Byte[] buffer, Int32 size, MetricsContext metricsContext, CancellationToken
> cancellationToken) in
> C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs:line
> 535
> at Apache.Ignite.Internal.ClientSocket.ReadMessageSizeAsync(Stream stream,
> Byte[] buffer, MetricsContext metricsContext, CancellationToken
> cancellationToken) in
> C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs:line
> 514
> at Apache.Ignite.Internal.ClientSocket.ReadResponseAsync(Stream stream,
> Byte[] messageSizeBytes, MetricsContext metricsContext, CancellationToken
> cancellationToken) in
> C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs:line
> 487
> at Apache.Ignite.Internal.ClientSocket.RunReceiveLoop(CancellationToken
> cancellationToken) in
> C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs:line
> 838
> --- End of inner exception stack trace ---)
> [06:19:00] [dbug] [Apache.Ignite.Internal.ClientFailoverSocket] Not retrying
> operation [opCode=5, opType=SchemasGet, attempt=0, lastError=Exception while
> reading from socket, connection closed: Connection lost (failed to read data
> from socket)]
> [06:19:00] [dbug] [Apache.Ignite.Internal.ClientSocket-4478] Connection
> established [remoteAddress=[::ffff:127.0.0.1]:52934]
> [06:19:00] [dbug] [Apache.Ignite.Internal.ClientSocket-4478] Handshake
> succeeded [remoteAddress=[::ffff:127.0.0.1]:52934, context=ConnectionContext
> { Version = ClientProtocolVersion { Version = 3.0.0 }, IdleTimeout =
> 00:00:00, ClusterNode = ClusterNode { Id =
> 870448e3-814a-4eb4-a51d-1f033655f57a, Name = fake-server, Address =
> 127.0.0.1:52934 }, ClusterIds = System.Guid[], ClusterName = fake-cluster,
> SslInfo = , Features = 0, ClusterId = 00000000-0000-0000-0000-000000000000 }]
> [06:19:00] [info] [Apache.Ignite.Internal.ClientSocket-4478] Server-side
> IdleTimeout is not set, using configured
> IgniteClientConfiguration.HeartbeatInterval: 1.00:00:00
> [06:19:00] [trce] [Apache.Ignite.Internal.ClientSocket-4478] Sending request
> [requestId=1, op=SchemasGet, remoteAddress=127.0.0.1:52934]
> [06:19:00] [trce] [Apache.Ignite.Internal.ClientSocket-4478] Received
> response [requestId=1, flags=PartitionAssignmentChanged,
> remoteAddress=127.0.0.1:52934]
> [06:19:00] [info] [Apache.Ignite.Internal.ClientSocket-4478] Partition
> assignment change notification received [remoteAddress=127.0.0.1:52934,
> timestamp=0
> [06:19:00] [dbug] [Apache.Ignite.Internal.Table.Table] Schema loaded
> [tableId=1001, schemaVersion=1]
> [06:19:00] [trce] [Apache.Ignite.Internal.ClientSocket-4478] Sending request
> [requestId=2, op=PartitionAssignmentGet, remoteAddress=127.0.0.1:52934]
> [06:19:00] [trce] [Apache.Ignite.Internal.ClientSocket-4478] Received
> response [requestId=2, flags=PartitionAssignmentChanged,
> remoteAddress=127.0.0.1:52934]
> [06:19:00] [info] [Apache.Ignite.Internal.ClientSocket-4478] Partition
> assignment change notification received [remoteAddress=127.0.0.1:52934,
> timestamp=0
> [06:19:00] [trce] [Apache.Ignite.Internal.ClientSocket-4478] Sending request
> [requestId=3, op=TupleUpsert, remoteAddress=127.0.0.1:52934]
> [06:19:00] [trce] [Apache.Ignite.Internal.ClientSocket-4478] Received
> response [requestId=3, flags=PartitionAssignmentChanged,
> remoteAddress=127.0.0.1:52934]
> [06:19:00] [info] [Apache.Ignite.Internal.ClientSocket-4478] Partition
> assignment change notification received [remoteAddress=127.0.0.1:52934,
> timestamp=0
> [06:19:00] [dbug] [Apache.Ignite.Internal.ClientSocket-4478] Connection
> closed gracefully [remoteAddress=127.0.0.1:52934]
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)