Igor Sapego created IGNITE-26309:
------------------------------------
Summary: Test MetricsTests.TestDataStreamerMetrics is flaky
Key: IGNITE-26309
URL: https://issues.apache.org/jira/browse/IGNITE-26309
Project: Ignite
Issue Type: Bug
Components: platforms ai3, thin clients ai3
Reporter: Igor Sapego
Fix For: 3.1
https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTestsColocation/9411715
Here is the log:
{noformat}
Apache.Ignite.Tests: Apache.Ignite.Tests.MetricsTests.TestDataStreamerMetrics
Fake server started [port=61213, test=TestDataStreamerMetrics]
Apache.Ignite.Table.DataStreamerException : Condition not reached
after 00:00:01.0157200 (streamer-batches-active: expected '2', but was '1')
----> NUnit.Framework.AssertionException : Condition not reached
after 00:00:01.0157200 (streamer-batches-active: expected '2', but was '1')
1) Condition not reached after 00:00:01.0157200
(streamer-batches-active: expected '2', but was '1')
at
Apache.Ignite.Internal.Table.DataStreamer.StreamDataAsync[T](IAsyncEnumerable`1
data, Table table, IRecordSerializerHandler`1 writer, DataStreamerOptions
options, CancellationToken cancellationToken) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\Table\DataStreamer.cs:line
168
at
Apache.Ignite.Internal.Table.RecordView`1.StreamDataAsync(IAsyncEnumerable`1
data, DataStreamerOptions options, CancellationToken cancellationToken) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\Table\RecordView.cs:line
302
at Apache.Ignite.Tests.MetricsTests.TestDataStreamerMetrics() in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\MetricsTests.cs:line
237
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)
--AssertionException
at NUnit.Framework.Assert.ReportFailure(String message)
at NUnit.Framework.Assert.Fail(String message, Object[] args)
at NUnit.Framework.Assert.Fail(String message)
at Apache.Ignite.Tests.TestUtils.WaitForConditionAsync(Func`1
condition, Int32 timeoutMs, Func`1 messageFactory) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\TestUtils.cs:line
77
at Apache.Ignite.Tests.TestUtils.WaitForCondition(Func`1 condition,
Int32 timeoutMs, Func`1 messageFactory) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\TestUtils.cs:line
46
at Apache.Ignite.Tests.MetricsTests.Listener.AssertMetric(String
name, Int32 value, Int32 timeoutMs) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\MetricsTests.cs:line
413
at Apache.Ignite.Tests.MetricsTests.AssertMetric(String name, Int32
value, Int32 timeoutMs) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\MetricsTests.cs:line
349
at
Apache.Ignite.Tests.MetricsTests.<TestDataStreamerMetrics>g__GetTuples|13_0()+MoveNext()
in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\MetricsTests.cs:line
259
at
System.Linq.AsyncEnumerable.AsyncEnumerableAdapter`1.MoveNextCore() in
/_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToAsyncEnumerable.cs:line
68
at System.Linq.AsyncIteratorBase`1.MoveNextAsync() in
/_/Ix.NET/Source/System.Linq.Async/System/Linq/AsyncIterator.cs:line 70
at System.Linq.AsyncIteratorBase`1.MoveNextAsync() in
/_/Ix.NET/Source/System.Linq.Async/System/Linq/AsyncIterator.cs:line 75
at
Apache.Ignite.Table.IDataStreamerTarget`1.<>c__DisplayClass1_0.<<StreamDataAsync>g__ConvertToItems|0>d.MoveNext()
in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Table\IDataStreamerTarget.cs:line
63
--- End of stack trace from previous location ---
at
Apache.Ignite.Table.IDataStreamerTarget`1.<>c__DisplayClass1_0.<<StreamDataAsync>g__ConvertToItems|0>d.MoveNext()
in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Table\IDataStreamerTarget.cs:line
63
--- End of stack trace from previous location ---
at
Apache.Ignite.Table.IDataStreamerTarget`1.<>c__DisplayClass1_0.<<StreamDataAsync>g__ConvertToItems|0>d.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16
token)
at
Apache.Ignite.Internal.Table.DataStreamer.StreamDataAsync[T](IAsyncEnumerable`1
data, Table table, IRecordSerializerHandler`1 writer, DataStreamerOptions
options, CancellationToken cancellationToken) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\Table\DataStreamer.cs:line
98
at
Apache.Ignite.Internal.Table.DataStreamer.StreamDataAsync[T](IAsyncEnumerable`1
data, Table table, IRecordSerializerHandler`1 writer, DataStreamerOptions
options, CancellationToken cancellationToken) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\Table\DataStreamer.cs:line
98
1) at Apache.Ignite.Tests.TestUtils.WaitForConditionAsync(Func`1
condition, Int32 timeoutMs, Func`1 messageFactory) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\TestUtils.cs:line
77
2) at
Apache.Ignite.Internal.Table.DataStreamer.StreamDataAsync[T](IAsyncEnumerable`1
data, Table table, IRecordSerializerHandler`1 writer, DataStreamerOptions
options, CancellationToken cancellationToken) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\Table\DataStreamer.cs:line
168
at
Apache.Ignite.Internal.Table.RecordView`1.StreamDataAsync(IAsyncEnumerable`1
data, DataStreamerOptions options, CancellationToken cancellationToken) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\Table\RecordView.cs:line
302
at Apache.Ignite.Tests.MetricsTests.TestDataStreamerMetrics() in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\MetricsTests.cs:line
237
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)
--AssertionException
at NUnit.Framework.Assert.ReportFailure(String message)
at NUnit.Framework.Assert.Fail(String message, Object[] args)
at NUnit.Framework.Assert.Fail(String message)
at Apache.Ignite.Tests.TestUtils.WaitForConditionAsync(Func`1
condition, Int32 timeoutMs, Func`1 messageFactory) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\TestUtils.cs:line
77
at Apache.Ignite.Tests.TestUtils.WaitForCondition(Func`1 condition,
Int32 timeoutMs, Func`1 messageFactory) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\TestUtils.cs:line
46
at Apache.Ignite.Tests.MetricsTests.Listener.AssertMetric(String
name, Int32 value, Int32 timeoutMs) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\MetricsTests.cs:line
413
at Apache.Ignite.Tests.MetricsTests.AssertMetric(String name, Int32
value, Int32 timeoutMs) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\MetricsTests.cs:line
349
at
Apache.Ignite.Tests.MetricsTests.<TestDataStreamerMetrics>g__GetTuples|13_0()+MoveNext()
in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\MetricsTests.cs:line
259
at
System.Linq.AsyncEnumerable.AsyncEnumerableAdapter`1.MoveNextCore() in
/_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToAsyncEnumerable.cs:line
68
at System.Linq.AsyncIteratorBase`1.MoveNextAsync() in
/_/Ix.NET/Source/System.Linq.Async/System/Linq/AsyncIterator.cs:line 70
at System.Linq.AsyncIteratorBase`1.MoveNextAsync() in
/_/Ix.NET/Source/System.Linq.Async/System/Linq/AsyncIterator.cs:line 75
at
Apache.Ignite.Table.IDataStreamerTarget`1.<>c__DisplayClass1_0.<<StreamDataAsync>g__ConvertToItems|0>d.MoveNext()
in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Table\IDataStreamerTarget.cs:line
63
--- End of stack trace from previous location ---
at
Apache.Ignite.Table.IDataStreamerTarget`1.<>c__DisplayClass1_0.<<StreamDataAsync>g__ConvertToItems|0>d.MoveNext()
in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Table\IDataStreamerTarget.cs:line
63
--- End of stack trace from previous location ---
at
Apache.Ignite.Table.IDataStreamerTarget`1.<>c__DisplayClass1_0.<<StreamDataAsync>g__ConvertToItems|0>d.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16
token)
at
Apache.Ignite.Internal.Table.DataStreamer.StreamDataAsync[T](IAsyncEnumerable`1
data, Table table, IRecordSerializerHandler`1 writer, DataStreamerOptions
options, CancellationToken cancellationToken) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\Table\DataStreamer.cs:line
98
at
Apache.Ignite.Internal.Table.DataStreamer.StreamDataAsync[T](IAsyncEnumerable`1
data, Table table, IRecordSerializerHandler`1 writer, DataStreamerOptions
options, CancellationToken cancellationToken) in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite\Internal\Table\DataStreamer.cs:line
98
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)