You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dan Smith (JIRA)" <ji...@apache.org> on 2018/09/13 18:37:01 UTC

[jira] [Commented] (GEODE-5728) Suspect string (NullPointerException) found in LocatorDUnitTest.testStartTwoLocators

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

Dan Smith commented on GEODE-5728:
----------------------------------

We also saw testStartTwoLocators fail twice in 300 runs of distributed test

org.apache.geode.distributed.LocatorDUnitTest:  1 failures (99.664% success rate)
 |  .testStartTwoLocators:  1 failures (99.664% success rate)
 |   |  Failed build 199  at https://concourse.apachegeode-ci.info/teams/main/pipelines/concourse-staging/jobs/DistributedTest/builds/199
org.apache.geode.distributed.LocatorUDPSecurityDUnitTest:  1 failures (99.664% success rate)
 |  .testStartTwoLocators:  1 failures (99.664% success rate)
 |   |  Failed build 162  at https://concourse.apachegeode-ci.info/teams/main/pipelines/concourse-staging/jobs/DistributedTest/builds/162


> Suspect string (NullPointerException) found in LocatorDUnitTest.testStartTwoLocators
> ------------------------------------------------------------------------------------
>
>                 Key: GEODE-5728
>                 URL: https://issues.apache.org/jira/browse/GEODE-5728
>             Project: Geode
>          Issue Type: Bug
>          Components: membership, swat
>            Reporter: Kenneth Howe
>            Priority: Major
>
> DistributedTest failure in https://concourse.apachegeode-ci.info/teams/main/pipelines/develop/jobs/DistributedTest/builds/379
> {code}
> java.lang.AssertionError: Suspicious strings were written to the log during this run.
> Fix the strings or use IgnoredException.addIgnoredException to ignore.
> -----------------------------------------------------------------------
> Found suspect string in log4j at line 1241
> [fatal 2018/09/11 00:04:32.409 UTC <locator request thread[1]> tid=0x676] Exception in processing request from 172.17.0.20
> java.lang.NullPointerException
> 	at org.apache.geode.distributed.internal.membership.gms.locator.GMSLocator.processFindCoordinatorRequest(GMSLocator.java:309)
> 	at org.apache.geode.distributed.internal.membership.gms.locator.GMSLocator.processRequest(GMSLocator.java:205)
> 	at org.apache.geode.distributed.internal.InternalLocator$PrimaryHandler.processRequest(InternalLocator.java:1194)
> 	at org.apache.geode.distributed.internal.tcpserver.TcpServer.processOneConnection(TcpServer.java:484)
> 	at org.apache.geode.distributed.internal.tcpserver.TcpServer.lambda$processRequest$0(TcpServer.java:378)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at java.lang.Thread.run(Thread.java:748)
> {code}
> The test doesn't have a history of (flaky) failures that I've discovered, and I haven't gotten it to fail locally.
> The NPE comes from a null return from {{v.getCoordinator()}}.
> {code}
>     synchronized (registrants) {
>       if (isCoordinator) {
>         coordinator = localAddress;
>         if (v != null && !v.getCoordinator().equals(localAddress)) {
>           logger.info("This member is becoming coordinator since view {}", v);
>           v = null;
>         }
>       }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)