[
https://issues.apache.org/jira/browse/IGNITE-26672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Tupitsyn updated IGNITE-26672:
------------------------------------
Description:
The tests in [Apache.Ignite.Tests.MetricsTests.TestBytesSentReceived
|https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/9535354]are
flaky
Looks like we start with the metric already at 1 from some previous test:
{code}
Apache.Ignite.Tests:
Apache.Ignite.Tests.LoggingTests.TestMicrosoftConsoleLogger
07:33:25 Apache.Ignite.Tests:
Apache.Ignite.Tests.Marshalling.JsonMarshallerTests.TestMarshalUnmarshal
07:33:27 Fake server started [port=60763, test=TestBytesSentReceived]
07:33:27 TestBytesSentReceived measurement: connections-active = 1
07:33:27 TestBytesSentReceived measurement: requests-active = 0
07:33:27 TestBytesSentReceived measurement: streamer-batches-active = 0
07:33:27 TestBytesSentReceived measurement: streamer-items-queued = 0
07:33:27 TestBytesSentReceived measurement: connections-active = 1
07:33:27 TestBytesSentReceived measurement: requests-active = 0
07:33:27 TestBytesSentReceived measurement: streamer-batches-active = 0
07:33:27 TestBytesSentReceived measurement: streamer-items-queued = 0
07:33:27 [07:33:23] [info] [Apache.Ignite.Internal.ClientFailoverSocket]
Ignite.NET client version 3.1.0.0-snapshot+9a355a2c98 is starting
07:33:27 [07:33:23] [dbug] [Apache.Ignite.Internal.ClientSocket-258]
Connection established [remoteAddress=[::ffff:127.0.0.1]:60763]
07:33:27 TestBytesSentReceived measurement: connections-established = 1
07:33:27 TestBytesSentReceived measurement: bytes-sent = 16
07:33:27 TestBytesSentReceived measurement: bytes-received = 4
07:33:27 TestBytesSentReceived measurement: bytes-received = 4
07:33:27 TestBytesSentReceived measurement: bytes-received = 83
{code}
{code}
Condition not reached after 00:00:03.0038692 (connections-active: expected '0',
but was '1')
TearDown : NUnit.Framework.AssertionException : Condition not reached after
00:00:03.0038692 (connections-active: expected '0', but was '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
--TearDown
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
419
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
351
at Apache.Ignite.Tests.MetricsTests.TearDown() in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\MetricsTests.cs:line
48
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments,
Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj,
BindingFlags invokeAttr)
{code}
was:
The tests in [Apache.Ignite.Tests.MetricsTests.TestBytesSentReceived
|https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/9535354]are
flaky
{code:java}
Condition not reached after 00:00:03.0038692 (connections-active: expected '0',
but was '1')
TearDown : NUnit.Framework.AssertionException : Condition not reached after
00:00:03.0038692 (connections-active: expected '0', but was '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--TearDown 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
419 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
351 at Apache.Ignite.Tests.MetricsTests.TearDown() in
C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\MetricsTests.cs:line
48 at System.RuntimeMethodHandle.InvokeMethod(Object target, Void**
arguments, Signature sig, Boolean isConstructor) at
System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags
invokeAttr)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 {code}
> Flaky Apache.Ignite.Tests.MetricsTests tests
> --------------------------------------------
>
> Key: IGNITE-26672
> URL: https://issues.apache.org/jira/browse/IGNITE-26672
> Project: Ignite
> Issue Type: Improvement
> Components: platforms ai3
> Reporter: Iurii Gerzhedovich
> Assignee: Pavel Tupitsyn
> Priority: Major
> Labels: MakeTeamcityGreenAgain, ignite-3
>
> The tests in [Apache.Ignite.Tests.MetricsTests.TestBytesSentReceived
> |https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/9535354]are
> flaky
> Looks like we start with the metric already at 1 from some previous test:
> {code}
> Apache.Ignite.Tests:
> Apache.Ignite.Tests.LoggingTests.TestMicrosoftConsoleLogger
> 07:33:25 Apache.Ignite.Tests:
> Apache.Ignite.Tests.Marshalling.JsonMarshallerTests.TestMarshalUnmarshal
> 07:33:27 Fake server started [port=60763, test=TestBytesSentReceived]
> 07:33:27 TestBytesSentReceived measurement: connections-active = 1
> 07:33:27 TestBytesSentReceived measurement: requests-active = 0
> 07:33:27 TestBytesSentReceived measurement: streamer-batches-active = 0
> 07:33:27 TestBytesSentReceived measurement: streamer-items-queued = 0
> 07:33:27 TestBytesSentReceived measurement: connections-active = 1
> 07:33:27 TestBytesSentReceived measurement: requests-active = 0
> 07:33:27 TestBytesSentReceived measurement: streamer-batches-active = 0
> 07:33:27 TestBytesSentReceived measurement: streamer-items-queued = 0
> 07:33:27 [07:33:23] [info] [Apache.Ignite.Internal.ClientFailoverSocket]
> Ignite.NET client version 3.1.0.0-snapshot+9a355a2c98 is starting
> 07:33:27 [07:33:23] [dbug] [Apache.Ignite.Internal.ClientSocket-258]
> Connection established [remoteAddress=[::ffff:127.0.0.1]:60763]
> 07:33:27 TestBytesSentReceived measurement: connections-established = 1
> 07:33:27 TestBytesSentReceived measurement: bytes-sent = 16
> 07:33:27 TestBytesSentReceived measurement: bytes-received = 4
> 07:33:27 TestBytesSentReceived measurement: bytes-received = 4
> 07:33:27 TestBytesSentReceived measurement: bytes-received = 83
> {code}
>
> {code}
> Condition not reached after 00:00:03.0038692 (connections-active: expected
> '0', but was '1')
> TearDown : NUnit.Framework.AssertionException : Condition not reached after
> 00:00:03.0038692 (connections-active: expected '0', but was '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
> --TearDown
> 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
> 419
> 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
> 351
> at Apache.Ignite.Tests.MetricsTests.TearDown() in
> C:\w\b8d4df1365f1f1e5\modules\platforms\dotnet\Apache.Ignite.Tests\MetricsTests.cs:line
> 48
> at System.RuntimeMethodHandle.InvokeMethod(Object target, Void**
> arguments, Signature sig, Boolean isConstructor)
> at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj,
> BindingFlags invokeAttr)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)