[ https://issues.apache.org/jira/browse/IGNITE-23138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17896985#comment-17896985 ]
Ignite TC Bot commented on IGNITE-23138: ---------------------------------------- {panel:title=Branch: [pull/11512/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel} {panel:title=Branch: [pull/11512/head] Base: [master] : New Tests (304)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1} {color:#00008b}Cache 13{color} [[tests 5|https://ci2.ignite.apache.org/viewLog.html?buildId=8151637]] * {color:#013220}IgniteCacheTestSuite13: SystemViewCacheExpiryPolicyTest.testCacheViewExpiryPolicy[factory=javax.cache.configuration.FactoryBuilder$SingletonFactory@7f3fc42f, actual=SingletonFactory [expiryPlc=EternalExpiryPolicy [create=ETERNAL]]] - PASSED{color} * {color:#013220}IgniteCacheTestSuite13: SystemViewCacheExpiryPolicyTest.testCacheViewExpiryPolicy[factory=org.apache.ignite.internal.processors.platform.cache.expiry.PlatformExpiryPolicyFactory@43da0955, actual=PlatformExpiryPolicyFactory [create=2, update=4, access=8, expiryPlc=PlatformExpiryPolicy [create=2 MILLISECONDS, update=4 MILLISECONDS, access=8 MILLISECONDS]]] - PASSED{color} * {color:#013220}IgniteCacheTestSuite13: SystemViewCacheExpiryPolicyTest.testCacheViewExpiryPolicy[factory=org.apache.ignite.internal.processors.platform.cache.expiry.PlatformExpiryPolicyFactory@467045c4, actual=PlatformExpiryPolicyFactory [create=0, update=1, access=-1, expiryPlc=PlatformExpiryPolicy [create=ZERO, update=1 MILLISECONDS, access=ETERNAL]]] - PASSED{color} * {color:#013220}IgniteCacheTestSuite13: SystemViewCacheExpiryPolicyTest.testCacheViewExpiryPolicy[factory=org.apache.ignite.internal.processors.platform.cache.expiry.PlatformExpiryPolicyFactory@bc09d57, actual=PlatformExpiryPolicyFactory [create=1, update=-2, access=-1, expiryPlc=PlatformExpiryPolicy [create=1 MILLISECONDS, access=ETERNAL]]] - PASSED{color} * {color:#013220}IgniteCacheTestSuite13: SystemViewCacheExpiryPolicyTest.testCacheViewExpiryPolicy[factory=org.apache.ignite.internal.processors.platform.cache.expiry.PlatformExpiryPolicyFactory@6d963d70, actual=PlatformExpiryPolicyFactory [create=-1, update=0, access=-1, expiryPlc=PlatformExpiryPolicy [create=ETERNAL, update=ZERO, access=ETERNAL]]] - PASSED{color} {color:#00008b}Calcite SQL{color} [[tests 299|https://ci2.ignite.apache.org/viewLog.html?buildId=8151658]] * {color:#013220}IgniteCalciteTestSuite: AggregatesIntegrationTest.testGroupingByAlias - PASSED{color} * {color:#013220}IgniteCalciteTestSuite: IndexMultiRangeScanIntegrationTest.testRangeIntersection[dynamicParams=true] - PASSED{color} * {color:#013220}IgniteCalciteTestSuite: IndexMultiRangeScanIntegrationTest.testNulls[dynamicParams=true] - PASSED{color} * {color:#013220}IgniteCalciteTestSuite: IndexMultiRangeScanIntegrationTest.testNot[dynamicParams=true] - PASSED{color} * {color:#013220}IgniteCalciteTestSuite: IndexMultiRangeScanIntegrationTest.testIn[dynamicParams=true] - PASSED{color} * {color:#013220}IgniteCalciteTestSuite: IndexMultiRangeScanIntegrationTest.testRange[dynamicParams=true] - PASSED{color} * {color:#013220}IgniteCalciteTestSuite: IndexMultiRangeScanIntegrationTest.testOrdering[dynamicParams=true] - PASSED{color} * {color:#013220}IgniteCalciteTestSuite: IndexMultiRangeScanIntegrationTest.testInvalidRange[dynamicParams=true] - PASSED{color} * {color:#013220}IgniteCalciteTestSuite: IndexMultiRangeScanIntegrationTest.testNot[dynamicParams=false] - PASSED{color} * {color:#013220}IgniteCalciteTestSuite: IndexMultiRangeScanIntegrationTest.testRangeIntersection[dynamicParams=false] - PASSED{color} * {color:#013220}IgniteCalciteTestSuite: IndexMultiRangeScanIntegrationTest.testRange[dynamicParams=false] - PASSED{color} ... and 288 new tests {panel} [TeamCity *--> Run :: All* Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8151735&buildTypeId=IgniteTests24Java8_RunAll] > Fix TxWithKeyContentionSelfTest (Cache 12 group) > ------------------------------------------------ > > Key: IGNITE-23138 > URL: https://issues.apache.org/jira/browse/IGNITE-23138 > Project: Ignite > Issue Type: Test > Reporter: Semyon Zikunov > Assignee: Semyon Zikunov > Priority: Trivial > Labels: ise > Attachments: > runKeyCollisionsMetricAndtestTxContentionMetric_SIMILARITY.txt, > runKeyCollisionsMetric_analysis_en.txt, runKeyCollisionsMetric_analysis_ru.txt > > Time Spent: 3h > Remaining Estimate: 0h > > *Description:* The following tests (8) are intermittently failing due to an > {{AssertionError}} in Apache Ignite: > * > {{testPessimisticRepeatableReadCheckContentionTxMetric}} > * > {{testPessimisticRepeatableReadCheckContentionTxMetricNear}} > * > {{testPessimisticReadCommitedCheckContentionTxMetric}} > * > {{testPessimisticReadCommitedCheckContentionTxMetricNear}} > * > {{testOptimisticReadCommittedCheckContentionTxMetric}} > * > {{testOptimisticReadCommittedCheckContentionTxMetricNear}} > * > {{testOptimisticRepeatableReadCheckContentionTxMetric}} > * > {{testOptimisticRepeatableReadCheckContentionTxMetricNear}} > The issue arises when the tests periodically fail at the > {{assertTrue(GridTestUtils.waitForCondition())}} check. The condition > compares the {{txKeyCollisions}} field in the transaction metrics, which > sometimes returns an empty string. This leads to an {{AssertionError}} when > attempting to validate {{{}coll1{}}}, indicating possible inconsistencies or > timing issues with the metrics collection during test execution. > *Tasks:* > # Investigate the root cause of the {{txKeyCollisions}} field occasionally > returning an empty string in the metrics. > # Analyze whether timing or state propagation issues are causing the > {{waitForCondition}} to pass before the {{txKeyCollisions}} metrics are > populated. > # Refactor the tests to ensure consistent metrics collection and validation, > possibly adding additional synchronization or checks. > # Verify the fix by running the tests repeatedly to confirm the flaky > behavior is resolved. > *Expected Result:* The tests run reliably without intermittent failures. The > {{txKeyCollisions}} metrics are consistently populated, and the > {{assertTrue}} check passes as expected, ensuring the tests no longer exhibit > flakiness. -- This message was sent by Atlassian Jira (v8.20.10#820010)