[infinispan-issues] [JBoss JIRA] (ISPN-4579) SingleNodeJdbcStoreIT.cleanup NPE after test failure

Dan Berindei (JIRA) issues at jboss.org
Tue Sep 16 10:51:02 EDT 2014


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

Dan Berindei commented on ISPN-4579:
------------------------------------

Sorry Galder, I can't find the build. There are a few more recent failures in SingleNodeJdbcStoreIT, but with different failure modes - e.g. http://ci.infinispan.org/viewLog.html?buildId=11408&tab=buildResultsDiv&buildTypeId=bt9#testNameId6602082025301932822

I didn't think the build log was relevant, since we were just moving the PR builds to the OS1 agents, and we were getting all kinds of weird errors at the time. Feel free to mark the test as unstable, but all I wanted was a null check in the cleanup method :)


> SingleNodeJdbcStoreIT.cleanup NPE after test failure
> ----------------------------------------------------
>
>                 Key: ISPN-4579
>                 URL: https://issues.jboss.org/browse/ISPN-4579
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Test Suite - Server
>    Affects Versions: 7.0.0.Alpha5
>            Reporter: Dan Berindei
>            Assignee: Galder Zamarreño
>              Labels: testsuite_stability
>             Fix For: 7.0.0.CR1
>
>
> After a failure in {{SingleNodeJdbcStoreIT.testForcedShutdown}}, it seems not all the test stores are properly initialized, and cleanup fails with a NullPointerException:
> {noformat}
> [00:57:07] :				 [testForcedShutdown] java.lang.AssertionError: null
> 	at org.junit.Assert.fail(Assert.java:86)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.junit.Assert.assertNotNull(Assert.java:621)
> 	at org.junit.Assert.assertNotNull(Assert.java:631)
> 	at org.infinispan.server.test.cs.jdbc.SingleNodeJdbcStoreIT.testRestartStringStoreBefore(SingleNodeJdbcStoreIT.java:223)
> 	at org.infinispan.server.test.cs.jdbc.SingleNodeJdbcStoreIT.testForcedShutdown(SingleNodeJdbcStoreIT.java:163)
> ...
> [00:57:07]W:		 [org.infinispan.server:test-suite] java.lang.NullPointerException
> 	at org.infinispan.server.test.cs.jdbc.SingleNodeJdbcStoreIT.cleanup(SingleNodeJdbcStoreIT.java:82)
> {noformat}
> This bug is only about the NPE, the test failure is agent-specific (probably caused by the low open files/user processes limits). 



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)



More information about the infinispan-issues mailing list