[
https://issues.apache.org/jira/browse/IGNITE-22944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Lapin resolved IGNITE-22944.
--------------------------------------
Resolution: Cannot Reproduce
Was fixed within https://issues.apache.org/jira/browse/IGNITE-23252
> ItReplicaLifecycleTest#testAlterReplicaTrigger is flaky with an
> AssertionError because of unexpected stable assignments size
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-22944
> URL: https://issues.apache.org/jira/browse/IGNITE-22944
> Project: Ignite
> Issue Type: Bug
> Reporter: Alexander Lapin
> Assignee: Alexander Lapin
> Priority: Major
> Labels: ignite-3
> Attachments: _Integration_Tests_Run_All_Other_26556 (1).log
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> [TC failure
> link|https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/8373957?hideTestsFromDependencies=false&hideProblemsFromDependencies=false&expandBuildTestsSection=true&expandBuildDeploymentsSection=false&expandCode+Inspection=true&expandBuildProblemsSection=true&expandBuildChangesSection=true]
> Not reproduced locally.
> {code:java}
> java.lang.AssertionError:
> Expected: is <2>
> but: was <3>java.lang.AssertionError:Expected: is <2> but: was <3>
> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at
> org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6) at
> org.apache.ignite.internal.distributionzones.DistributionZonesTestUtil.assertValueInStorage(DistributionZonesTestUtil.java:432)
> at
> org.apache.ignite.internal.partition.replicator.ItReplicaLifecycleTest.testAlterReplicaTrigger(ItReplicaLifecycleTest.java:451)
> {code}
> Test failed because of unexpected stable partitions size.
> Not sure whether it's related or not but in case of failure we can see
> following log records
> {code:java}
> [2024-08-06T08:43:15,787][INFO
> ][%irlt_tart_20001%MessagingService-inbound-0-0][PartitionReplicaLifecycleManager]
> Non handled stable assignments for key 'zone.assignments.stable.0_part_10'
> discovered, performing recovery
> [2024-08-06T08:43:15,787][INFO
> ][%irlt_tart_20001%tableManager-io-1][Loza] Stop raft group=0_part_1
> [2024-08-06T08:43:15,787][INFO
> ][%irlt_tart_20001%MessagingService-inbound-0-0][PartitionReplicaLifecycleManager]
> Non handled stable assignments for key 'zone.assignments.stable.0_part_11'
> discovered, performing recovery
> [2024-08-06T08:43:15,788][INFO
> ][%irlt_tart_20001%tableManager-io-2][Loza] Stop raft group=0_part_10 {code}
> Besides that I believe that node start in the test is itself broken. Seems
> that we do not wait for initial components start up prior to second
> components bunch startup. See
> {code:java}
> org.apache.ignite.internal.partition.replicator.ItReplicaLifecycleTest#startNodes{code}
> for more details.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)