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/07 22:09:00 UTC

[jira] [Commented] (GEODE-5094) ProxyJUnitTest fails intermittently in testExpiration

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

Dan Smith commented on GEODE-5094:
----------------------------------

This test is still failing. Most recent failure:

https://concourse.apachegeode-ci.info/teams/main/pipelines/develop/jobs/IntegrationTest/builds/355
{noformat}
org.apache.geode.cache.ProxyJUnitTest > testExpiration FAILED
    org.apache.geode.cache.RegionDestroyedException: org.apache.geode.internal.cache.DistributedRegion[path='/rEMPTY';scope=DISTRIBUTED_NO_ACK';dataPolicy=EMPTY; concurrencyChecksEnabled]
        at org.apache.geode.internal.cache.LocalRegion.checkRegionDestroyed(LocalRegion.java:7418)
        at org.apache.geode.internal.cache.LocalRegion.checkReadiness(LocalRegion.java:2757)
        at org.apache.geode.internal.cache.LocalRegion.newUpdateEntryEvent(LocalRegion.java:1665)
        at org.apache.geode.internal.cache.LocalRegion.put(LocalRegion.java:1625)
        at org.apache.geode.internal.cache.AbstractRegion.put(AbstractRegion.java:413)	
        at org.apache.geode.cache.ProxyJUnitTest.testExpiration(ProxyJUnitTest.java:1128)

{noformat}

> ProxyJUnitTest fails intermittently in testExpiration
> -----------------------------------------------------
>
>                 Key: GEODE-5094
>                 URL: https://issues.apache.org/jira/browse/GEODE-5094
>             Project: Geode
>          Issue Type: Bug
>          Components: expiration
>            Reporter: Darrel Schneider
>            Priority: Major
>              Labels: flaky, swat
>
> {noformat}
> org.apache.geode.cache.ProxyJUnitTest > testExpiration FAILED
>     org.apache.geode.cache.RegionDestroyedException: org.apache.geode.internal.cache.DistributedRegion[path='/rEMPTY';scope=DISTRIBUTED_NO_ACK';dataPolicy=EMPTY; concurrencyChecksEnabled]
>         at org.apache.geode.internal.cache.LocalRegion.checkRegionDestroyed(LocalRegion.java:7391)
>         at org.apache.geode.internal.cache.LocalRegion.checkReadiness(LocalRegion.java:2723)
>         at org.apache.geode.internal.cache.LocalRegion.get(LocalRegion.java:1356)
>         at org.apache.geode.internal.cache.LocalRegion.get(LocalRegion.java:1314)
>         at org.apache.geode.internal.cache.LocalRegion.get(LocalRegion.java:1299)
>         at org.apache.geode.internal.cache.AbstractRegion.get(AbstractRegion.java:313)
>         at org.apache.geode.cache.ProxyJUnitTest.testExpiration(ProxyJUnitTest.java:1106)
> {noformat}
> The test is scheduling a region to be destroyed if it is not used for 500 miliseconds. It then starting doing gets which will keep using the region. But it is possible for the gets to lose the cpu and be prevented from using the region and it then expiring. That is what is happening in this test.
> This test as currently written is flaky and needs to be rewritten.



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