Barrett Oglesby created GEODE-7387:
--------------------------------------
Summary: 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
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)