Ilya Shishkov created IGNITE-19901:
--------------------------------------

             Summary: 
AbstractReplicationTest#testActivePassiveReplicationComplexKey* does not use 
backups and atomicity variables
                 Key: IGNITE-19901
                 URL: https://issues.apache.org/jira/browse/IGNITE-19901
             Project: Ignite
          Issue Type: Test
          Components: extensions
            Reporter: Ilya Shishkov
            Assignee: Ilya Shishkov


A {{CdcIgniteToIgniteReplicationTest#testActivePassiveReplication}} test is 
flaky. Sometimes it fails with reason as below (actual for 27/Jun/2023):
{code}
  java.lang.AssertionError
    at org.junit.Assert.fail(Assert.java:86)
    at org.junit.Assert.assertTrue(Assert.java:41)
    at org.junit.Assert.assertTrue(Assert.java:52)
    at 
org.apache.ignite.testframework.junits.JUnitAssertAware.assertTrue(JUnitAssertAware.java:35)
    at 
org.apache.ignite.cdc.AbstractReplicationTest.checkMetrics(AbstractReplicationTest.java:627)
    at 
org.apache.ignite.cdc.AbstractReplicationTest.checkMetrics(AbstractReplicationTest.java:595)
    at 
org.apache.ignite.cdc.AbstractReplicationTest.testActivePassiveReplication(AbstractReplicationTest.java:283)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at 
org.apache.ignite.testframework.junits.GridAbstractTest$6.run(GridAbstractTest.java:2504)
{code}

Reason should be investigated and fixed.

Fails of the {{CdcIgniteToIgniteReplicationTest#testActivePassiveReplication}} 
can occur with different test parameters:
# [clientType=CLIENT_NODE, atomicity=ATOMIC, mode=REPLICATED, backupCnt=0]: 
[TC2 Build #342 at 12 Jan 
11:09|https://ci2.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_Cdc/6995624?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildProblemsSection=true&expandBuildTestsSection=true],
 build log:  [^_TESTS_CDC_342.log.zip] 
# [clientType=THIN_CLIENT, atomicity=TRANSACTIONAL, mode=REPLICATED, 
backupCnt=0]: 
[TC1 Build #410 at 11 Jan 
08:00|https://ci.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_Cdc/7000973?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildProblemsSection=true&expandBuildTestsSection=true],
 build log:  [^_TESTS_CDC_410.log.zip] 
# [clientType=THIN_CLIENT, atomicity=ATOMIC, mode=REPLICATED, backupCnt=0], 
[clientType=THIN_CLIENT, atomicity=TRANSACTIONAL, mode=PARTITIONED, 
backupCnt=1]:
[TC1 Build #405 at 9 Jan 
11:55|https://ci.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_Cdc/6996965?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildProblemsSection=true&expandBuildTestsSection=true],
 build log:  [^_TESTS_CDC_405.log.zip] 
# [clientType=THIN_CLIENT, atomicity=ATOMIC, mode=PARTITIONED, backupCnt=1]:
[TC1 Build #402 at 31 Dec 22 
08:02|https://ci.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_Cdc/6986312?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildProblemsSection=true&expandBuildTestsSection=true],
 build log:  [^_TESTS_CDC_402.log.zip] 






--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to