You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Mark Hanson (Jira)" <ji...@apache.org> on 2019/12/23 18:41:00 UTC

[jira] [Resolved] (GEODE-7387) CI failure: SingleHopGetAllPutAllDUnitTest > testRemoveAllInClient failed with AssertionError

     [ https://issues.apache.org/jira/browse/GEODE-7387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Hanson resolved GEODE-7387.
--------------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed

Made changes in recommended in the bug that made sense. Cleaned up warnings. Could not reproduce this problem with or without the changes after thousands of runs. The changes didn't have any negative affects and seem to have the positive one of preventing future occurrences.

> CI failure: SingleHopGetAllPutAllDUnitTest > testRemoveAllInClient failed with AssertionError
> ---------------------------------------------------------------------------------------------
>
>                 Key: GEODE-7387
>                 URL: https://issues.apache.org/jira/browse/GEODE-7387
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>            Reporter: Barrett Oglesby
>            Assignee: Mark Hanson
>            Priority: Major
>              Labels: Flaky, flaky
>             Fix For: 1.12.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> DistributedTestOpenJDK8 build 1252:
> https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/DistributedTestOpenJDK8/builds/1252
> The client starts the testRemoveAllInClient task:
> {noformat}
> [vm3] [info 2019/10/30 12:17:46.836 GMT <RMI TCP Connection(1)-172.17.0.4> tid=0x20] Received method: org.apache.geode.test.dunit.NamedRunnable.run with 0 args on object: runnable(testRemoveAllInClient)
> {noformat}
> It does a putAll (which creates the buckets on the servers):
> {noformat}
> [vm1] [info 2019/10/30 12:17:46.959 GMT <ServerConnection on port 25248 Thread 2> tid=0x81] Initializing region _B__TestPartitionedRegion_6
> [vm2] [info 2019/10/30 12:17:47.030 GMT <Pooled Waiting Message Processor 1> tid=0x5a] Initializing region _B__TestPartitionedRegion_6
> [vm0] [info 2019/10/30 12:17:47.083 GMT <Pooled Waiting Message Processor 1> tid=0x53] Initializing region _B__TestPartitionedRegion_6
> [vm0] [info 2019/10/30 12:17:47.150 GMT <Pooled Waiting Message Processor 2> tid=0x89] Initializing region _B__TestPartitionedRegion_4
> [vm2] [info 2019/10/30 12:17:47.178 GMT <Pooled Waiting Message Processor 1> tid=0x5a] Initializing region _B__TestPartitionedRegion_4
> ...
> {noformat}
> The putAll timeouts out once (read-timeout is set to 2000 ms):
> {noformat}
> [vm3] [warn 2019/10/30 12:17:48.942 GMT <RMI TCP Connection(1)-172.17.0.4> tid=0x20] Pool unexpected socket timed out on client connection=Pooled Connection to 23c02ffd4a40:25248: Connection[23c02ffd4a40:25248]@264362003)
> {noformat}
> It must succeed after retry (retry-attempts is set to 2) because the verifyMetadata method is executed, and the assertion fails:
> {noformat}
> [vm3] [info 2019/10/30 12:17:49.429 GMT <RMI TCP Connection(1)-172.17.0.4> tid=0x20] Got result: EXCEPTION_OCCURRED
> [vm3] java.lang.AssertionError: 
> [vm3] Expecting actual not to be null
> [vm3] 	at org.apache.geode.internal.cache.execute.SingleHopGetAllPutAllDUnitTest.lambda$verifyMetadata$1(SingleHopGetAllPutAllDUnitTest.java:247)
> [vm3] 	at org.awaitility.core.CallableCondition$ConditionEvaluationWrapper.eval(CallableCondition.java:100)
> [vm3] 	at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:192)
> [vm3] 	at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:179)
> [vm3] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> [vm3] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> [vm3] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> [vm3] 	at java.lang.Thread.run(Thread.java:748)
> [vm3]  from org.apache.geode.test.dunit.NamedRunnable.run with 0 args on object: runnable(testRemoveAllInClient) (took 2592 ms)
> {noformat}



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