[jira] [Commented] (IGNITE-27647) PartitionAwarenessRealClusterTests.TestPutRoutesRequestToPrimaryNode is flaky
[
https://issues.apache.org/jira/browse/IGNITE-27647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18053572#comment-18053572
]
Pavel Tupitsyn commented on IGNITE-27647:
-
https://github.com/apache/ignite-3/commit/43954a13fe37a1e0ad174a8796646247f32725c7
> PartitionAwarenessRealClusterTests.TestPutRoutesRequestToPrimaryNode is flaky
> -
>
> Key: IGNITE-27647
> URL: https://issues.apache.org/jira/browse/IGNITE-27647
> 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.2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Problem:
> {code}
> [Apache.Ignite.Internal.ClientFailoverSocket] 1 secondary connections
> established, 0 failed.
> {code}
> *GetProxies()* method uses *Client.GetConnections()*, which had only 1 at the
> moment - so we need to add another wait there.
> Full log:
> {code}
> Expected string length 60 but was 62. Strings differ at index 60.
> Expected: "org.apache.ignite.internal.runner.app.PlatformTestNodeRunner"
> But was: "org.apache.ignite.internal.runner.app.PlatformTestNodeRunner_2"
> ---^
>at
> Apache.Ignite.Tests.PartitionAwarenessRealClusterTests.TestPutRoutesRequestToPrimaryNode(Boolean
> withTx) in
> /opt/buildagent/work/69bdbe372c424384/ignite-3/modules/platforms/dotnet/Apache.Ignite.Tests/PartitionAwarenessRealClusterTests.cs:line
> 81
>at
> Apache.Ignite.Tests.PartitionAwarenessRealClusterTests.TestPutRoutesRequestToPrimaryNode(Boolean
> withTx) in
> /opt/buildagent/work/69bdbe372c424384/ignite-3/modules/platforms/dotnet/Apache.Ignite.Tests/PartitionAwarenessRealClusterTests.cs:line
> 87
>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.b__0()
>at
> NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext
> context, Action action)
> 1)at
> Apache.Ignite.Tests.PartitionAwarenessRealClusterTests.TestPutRoutesRequestToPrimaryNode(Boolean
> withTx) in
> /opt/buildagent/work/69bdbe372c424384/ignite-3/modules/platforms/dotnet/Apache.Ignite.Tests/PartitionAwarenessRealClusterTests.cs:line
> 81
>at
> System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object
> s)
> --- Stdout: ---
> SetUp: TestPutRoutesRequestToPrimaryNode(True)
> Fake server started [port=37705, test=TestPutRoutesRequestToPrimaryNode(True)]
> Accepted connection [port=37705,
> test=TestPutRoutesRequestToPrimaryNode(True), endpoint=127.0.0.1:40666]
> [09:15:12] [info] [Apache.Ignite.Internal.ClientFailoverSocket] Ignite.NET
> client version 3.2.0.0-snapshot+8def725ff5 is starting
> [09:15:12] [trce] [Apache.Ignite.Internal.ClientFailoverSocket] Endpoints
> updated [added=[127.0.0.1:37705], removed=[]]
> [09:15:12] [dbug] [Apache.Ignite.Internal.ClientSocket-319] Connection
> established [remoteAddress=[:::127.0.0.1]:37705]
> [09:15:12] [trce] [Apache.Ignite.Internal.ClientFailoverSocket] ObservableTs
> updated [prev=0, current=115937988582703104]
> [09:15:12] [dbug] [Apache.Ignite.Internal.ClientSocket-319] Handshake
> succeeded [remoteAddress=[:::127.0.0.1]:37705, context=ConnectionContext
> { Version = ClientProtocolVersion { Version = 3.0.0 }, IdleTimeout =
> 00:00:06, ClusterNode = ClusterNode { Id =
> efe9d64b-4f7b-4108-89b4-ff2bfd374963, Name =
> org.apache.ignite.internal.runner.app.PlatformTestNodeRunner_2, Address =
> 127.0.0.1:37705 }, ClusterIds = System.Guid[], ClusterName = cluster, SslInfo
> = , Features = TableReqsUseQualifiedName, PlatformComputeJob,
> StreamerReceiverExecutionOptions, ClusterId =
> 4e80e02e-ccc6-4cba-a1ba-0910c950bb51 }]
> [09:15:12] [warn] [Apache.Ignite.Internal.ClientSocket-319] 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
> [09:15:12] [dbug] [Apache.Ignite.Internal.Cli
[jira] [Commented] (IGNITE-27647) PartitionAwarenessRealClusterTests.TestPutRoutesRequestToPrimaryNode is flaky
[
https://issues.apache.org/jira/browse/IGNITE-27647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18053571#comment-18053571
]
Igor Sapego commented on IGNITE-27647:
--
LGTM
> PartitionAwarenessRealClusterTests.TestPutRoutesRequestToPrimaryNode is flaky
> -
>
> Key: IGNITE-27647
> URL: https://issues.apache.org/jira/browse/IGNITE-27647
> 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.2
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Problem:
> {code}
> [Apache.Ignite.Internal.ClientFailoverSocket] 1 secondary connections
> established, 0 failed.
> {code}
> *GetProxies()* method uses *Client.GetConnections()*, which had only 1 at the
> moment - so we need to add another wait there.
> Full log:
> {code}
> Expected string length 60 but was 62. Strings differ at index 60.
> Expected: "org.apache.ignite.internal.runner.app.PlatformTestNodeRunner"
> But was: "org.apache.ignite.internal.runner.app.PlatformTestNodeRunner_2"
> ---^
>at
> Apache.Ignite.Tests.PartitionAwarenessRealClusterTests.TestPutRoutesRequestToPrimaryNode(Boolean
> withTx) in
> /opt/buildagent/work/69bdbe372c424384/ignite-3/modules/platforms/dotnet/Apache.Ignite.Tests/PartitionAwarenessRealClusterTests.cs:line
> 81
>at
> Apache.Ignite.Tests.PartitionAwarenessRealClusterTests.TestPutRoutesRequestToPrimaryNode(Boolean
> withTx) in
> /opt/buildagent/work/69bdbe372c424384/ignite-3/modules/platforms/dotnet/Apache.Ignite.Tests/PartitionAwarenessRealClusterTests.cs:line
> 87
>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.b__0()
>at
> NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext
> context, Action action)
> 1)at
> Apache.Ignite.Tests.PartitionAwarenessRealClusterTests.TestPutRoutesRequestToPrimaryNode(Boolean
> withTx) in
> /opt/buildagent/work/69bdbe372c424384/ignite-3/modules/platforms/dotnet/Apache.Ignite.Tests/PartitionAwarenessRealClusterTests.cs:line
> 81
>at
> System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object
> s)
> --- Stdout: ---
> SetUp: TestPutRoutesRequestToPrimaryNode(True)
> Fake server started [port=37705, test=TestPutRoutesRequestToPrimaryNode(True)]
> Accepted connection [port=37705,
> test=TestPutRoutesRequestToPrimaryNode(True), endpoint=127.0.0.1:40666]
> [09:15:12] [info] [Apache.Ignite.Internal.ClientFailoverSocket] Ignite.NET
> client version 3.2.0.0-snapshot+8def725ff5 is starting
> [09:15:12] [trce] [Apache.Ignite.Internal.ClientFailoverSocket] Endpoints
> updated [added=[127.0.0.1:37705], removed=[]]
> [09:15:12] [dbug] [Apache.Ignite.Internal.ClientSocket-319] Connection
> established [remoteAddress=[:::127.0.0.1]:37705]
> [09:15:12] [trce] [Apache.Ignite.Internal.ClientFailoverSocket] ObservableTs
> updated [prev=0, current=115937988582703104]
> [09:15:12] [dbug] [Apache.Ignite.Internal.ClientSocket-319] Handshake
> succeeded [remoteAddress=[:::127.0.0.1]:37705, context=ConnectionContext
> { Version = ClientProtocolVersion { Version = 3.0.0 }, IdleTimeout =
> 00:00:06, ClusterNode = ClusterNode { Id =
> efe9d64b-4f7b-4108-89b4-ff2bfd374963, Name =
> org.apache.ignite.internal.runner.app.PlatformTestNodeRunner_2, Address =
> 127.0.0.1:37705 }, ClusterIds = System.Guid[], ClusterName = cluster, SslInfo
> = , Features = TableReqsUseQualifiedName, PlatformComputeJob,
> StreamerReceiverExecutionOptions, ClusterId =
> 4e80e02e-ccc6-4cba-a1ba-0910c950bb51 }]
> [09:15:12] [warn] [Apache.Ignite.Internal.ClientSocket-319] 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
> [09:15:12] [dbug] [Apache.Ignite.Internal.ClientFailoverSocket] Trying to
> establish secondary connections - awaiting 1 tasks..
