You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Nikolai Kulagin (JIRA)" <ji...@apache.org> on 2019/01/25 12:58:00 UTC
[jira] [Created] (IGNITE-11087)
GridJobCheckpointCleanupSelfTest.testCheckpointCleanup is flaky
Nikolai Kulagin created IGNITE-11087:
----------------------------------------
Summary: GridJobCheckpointCleanupSelfTest.testCheckpointCleanup is flaky
Key: IGNITE-11087
URL: https://issues.apache.org/jira/browse/IGNITE-11087
Project: Ignite
Issue Type: Bug
Reporter: Nikolai Kulagin
Assignee: Nikolai Kulagin
Fix For: 2.8
Attachments: #removeCheckpoint isn't called.txt, #removeCheckpointis called once more.txt
The method of remove a checkpoint is sometimes not called or is called once more. Test has a very low fail rate, 0 per 360 runs on TC and 1 per 412 on TC Bot. On local machine approximately 1 failure per 100 runs. Logs in the attachment.
Test is flaky for a long time. Before replacing IP Finder in IGNITE-10555, test was slower, which made fail rate even less.
{code:java}
[2019-01-25 14:49:03,050][ERROR][main][root] Test failed.
junit.framework.AssertionFailedError: expected:<1> but was:<0>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.Assert.assertEquals(Assert.java:241)
at org.apache.ignite.internal.GridJobCheckpointCleanupSelfTest.testCheckpointCleanup(GridJobCheckpointCleanupSelfTest.java:88)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
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:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.apache.ignite.testframework.junits.GridAbstractTest$6.run(GridAbstractTest.java:2088)
at java.lang.Thread.run(Thread.java:748){code}
[^#removeCheckpoint isn't called.txt]
^_____________________________________________________________________^
{code:java}
[2019-01-25 14:50:03,282][ERROR][main][root] Test failed.
junit.framework.AssertionFailedError: expected:<-1> but was:<0>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.Assert.assertEquals(Assert.java:241)
at org.apache.ignite.internal.GridJobCheckpointCleanupSelfTest.testCheckpointCleanup(GridJobCheckpointCleanupSelfTest.java:88)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
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:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.apache.ignite.testframework.junits.GridAbstractTest$6.run(GridAbstractTest.java:2088)
at java.lang.Thread.run(Thread.java:748){code}
[^#removeCheckpointis called once more.txt]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)