You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2019/10/10 12:59:00 UTC

[jira] [Commented] (IGNITE-11087) GridJobCheckpointCleanupSelfTest.testCheckpointCleanup is flaky

    [ https://issues.apache.org/jira/browse/IGNITE-11087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16948566#comment-16948566 ] 

Maxim Muzafarov commented on IGNITE-11087:
------------------------------------------

Moved to the next release due to inactivity. Please, feel free to move it back if you will be able to complete the ticket by 2.8 code freeze date, December 2, 2019.


> 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
>            Priority: Minor
>              Labels: MakeTeamcityGreenAgain
>             Fix For: 2.8
>
>         Attachments: #removeCheckpoint is called once more.txt, #removeCheckpoint isn't called.txt
>
>
> The method of remove a checkpoint is sometimes not called or is called once more. Test has a very low fail rate, 1 per 366 runs on [TeamCity|https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=-7655052229521669617&tab=testDetails&branch_IgniteTests24Java8=%3Cdefault%3E] 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}
> [^#removeCheckpoint is called once more.txt]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)