[
https://issues.apache.org/jira/browse/GEODE-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Smith updated GEODE-6348:
-----------------------------
Description:
This test failed for me in a StressNewTest run:
{noformat}
org.apache.geode.internal.cache.partitioned.PersistentPartitionedRegionDistributedTest
> cacheIsClosedWhenConflictingPersistentDataExceptionIsThrown FAILED
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 1535
[error 2019/01/31 20:14:19.857 UTC <RMI TCP Connection(8)-172.17.0.15>
tid=5135] org.apache.geode.distributed.DistributedSystemDisconnectedException:
This connection to a distributed system has been disconnected.
{noformat}
Looking into the code, it looks like the issue is that the test triggered a
cache close to happen in a background thread (due to the
ConflictingPersistentDataException), but it didn't wait for the close to
complete. The next operation the test tries to do fails because the cache is in
the process of shutting down.
Results URL:
http://files.apachegeode-ci.info/builds/apache-develop-pr/geode-pr-3136/test-results/repeatTest/1548966963/
was:
This test failed for me in a StressNewTest run:
{noformat}
org.apache.geode.internal.cache.partitioned.PersistentPartitionedRegionDistributedTest
> cacheIsClosedWhenConflictingPersistentDataExceptionIsThrown FAILED
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 1535
[error 2019/01/31 20:14:19.857 UTC <RMI TCP Connection(8)-172.17.0.15>
tid=5135] org.apache.geode.distributed.DistributedSystemDisconnectedException:
This connection to a distributed system has been disconnected.
{noformat}
Looking into the code, it looks like the issue is that the test triggered a
cache close to happen in a background thread (due to the
ConflictingPersistentDataException), but it didn't wait for the close to
complete. The next operation the test tries to do fails because the cache is in
the process of shutting down.
> CI Failure:
> PersistentPartitionedRegionDUnitTest.cacheIsClosedWhenConflictingPersistentDataExceptionIsThrown
> ------------------------------------------------------------------------------------------------------------
>
> Key: GEODE-6348
> URL: https://issues.apache.org/jira/browse/GEODE-6348
> Project: Geode
> Issue Type: Bug
> Reporter: Dan Smith
> Assignee: Dan Smith
> Priority: Major
>
> This test failed for me in a StressNewTest run:
> {noformat}
> org.apache.geode.internal.cache.partitioned.PersistentPartitionedRegionDistributedTest
> > cacheIsClosedWhenConflictingPersistentDataExceptionIsThrown FAILED
>
> 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 1535
>
>
> [error 2019/01/31 20:14:19.857 UTC <RMI TCP Connection(8)-172.17.0.15>
> tid=5135]
> org.apache.geode.distributed.DistributedSystemDisconnectedException: This
> connection to a distributed system has been disconnected.
> {noformat}
> Looking into the code, it looks like the issue is that the test triggered a
> cache close to happen in a background thread (due to the
> ConflictingPersistentDataException), but it didn't wait for the close to
> complete. The next operation the test tries to do fails because the cache is
> in the process of shutting down.
> Results URL:
> http://files.apachegeode-ci.info/builds/apache-develop-pr/geode-pr-3136/test-results/repeatTest/1548966963/
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)