[infinispan-issues] [JBoss JIRA] (ISPN-9002) LocalModeNoPassivationTest.testValuesWithEvictedEntries random failures

Dan Berindei (JIRA) issues at jboss.org
Tue Apr 24 05:34:00 EDT 2018


    [ https://issues.jboss.org/browse/ISPN-9002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565924#comment-13565924 ] 

Dan Berindei commented on ISPN-9002:
------------------------------------

Trace log is not very helpful here, every {{values().contains(key)}} call logs the 150 entries that are still in the data container, but evictions from the data container are not logged at all. The {{DummyInMemoryStore}} iteration doesn't log anything, and even if it did the persistence worker thread name also doesn't contain the test name, so it would be impossible to extract the log when running the full test suite (ISPN-9067).

The log does confirm that all the entries are stored in the {{DummyInMemoryStore}} before the iteration starts (actually overwriting the entries from the previous test method), and {{DummyInMemoryStore.process()}} is just a {{ConcurrentHashMap}} iteration, so I'm guessing the problem is around {{PersistenceManagerCloseableSupplier}} or {{DistinctKeyDoubleEntryCloseableIterator}}. Maybe we should write some unit tests for these?

> LocalModeNoPassivationTest.testValuesWithEvictedEntries random failures
> -----------------------------------------------------------------------
>
>                 Key: ISPN-9002
>                 URL: https://issues.jboss.org/browse/ISPN-9002
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Test Suite - Core
>    Affects Versions: 9.2.0.Final
>            Reporter: Dan Berindei
>            Assignee: William Burns
>              Labels: testsuite_stability
>             Fix For: 9.3.0.Beta1
>
>         Attachments: LocalModeNoPassivationTest_ISPN-8962_preferavailabilitystrategy_20180327.log.gz
>
>
> {noformat}
> 12:59:16,370 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.persistence.LocalModeNoPassivationTest.testValuesWithEvictedEntries
> java.lang.AssertionError: Value: 247 was not found!
> 	at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.9.9.jar:?]
> 	at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24) ~[testng-6.9.9.jar:?]
> 	at org.infinispan.persistence.LocalModePassivationTest.testValuesWithEvictedEntries(LocalModePassivationTest.java:203) ~[test-classes/:?]
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list