[infinispan-issues] [JBoss JIRA] (ISPN-4582) JpaStoreTest random failures

Pedro Ruivo (JIRA) issues at jboss.org
Wed Aug 20 07:05:29 EDT 2014


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

Pedro Ruivo commented on ISPN-4582:
-----------------------------------

The JPA tests are supposed to run in a single thread. However, the CI configuration overwrite the {{infinispan.test.parallel.threads}}. 
I'm going to change the {{pom.xml}} to configure the property {{threadCount}} in surefire plugin to {{1}} and ignore the {{infinispan.test.parallel.threads}}.
Unfortunately, the problem is not completely solved because all the properties can be overwrite in the command line.

> JpaStoreTest random failures
> ----------------------------
>
>                 Key: ISPN-4582
>                 URL: https://issues.jboss.org/browse/ISPN-4582
>             Project: Infinispan
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Core
>    Affects Versions: 7.0.0.Alpha5
>            Reporter: Dan Berindei
>            Assignee: Pedro Ruivo
>            Priority: Blocker
>              Labels: testsuite_stability
>             Fix For: 7.0.0.Beta2
>
>
> There appear to be some problems loading the metadata:
> {noformat}
> 01:04:57,013 ERROR (testng-JpaStoreTest:) [UnitTestTestNGListener] Test testLoadAndStoreWithLifespan(org.infinispan.persistence.jpa.JpaStoreTest) failed.
> java.lang.NullPointerException
> 	at org.infinispan.persistence.BaseStoreTest.assertCorrectExpiry(BaseStoreTest.java:179)
> 	at org.infinispan.persistence.BaseStoreTest.testLoadAndStoreWithLifespan(BaseStoreTest.java:161)
> {noformat}
> {noformat}
> 01:04:58,330 ERROR (testng-JpaStoreTest:) [UnitTestTestNGListener] Test testLoadAndStoreWithLifespanAndIdle(org.infinispan.persistence.jpa.JpaStoreTest) failed.
> java.lang.NullPointerException
> 	at org.infinispan.persistence.BaseStoreTest.assertCorrectExpiry(BaseStoreTest.java:179)
> 	at org.infinispan.persistence.BaseStoreTest.testLoadAndStoreWithLifespanAndIdle(BaseStoreTest.java:289)
> {noformat}
> This could be related to ISPN-4520, as {{testPurgeExpired}} failed with a {{TimeoutException}} as well. TRACE logs here:
> http://ci.infinispan.org/viewLog.html?buildId=10059&buildTypeId=Infinispan_MasterHotspotJdk7trac&tab=artifacts



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the infinispan-issues mailing list