[JBoss JIRA] (ISPN-6829) JCacheTwoCachesBasicOpsTest.testUpdatedListener random failures
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-6829?page=com.atlassian.jira.plugin.... ]
Radim Vansa commented on ISPN-6829:
-----------------------------------
The problem is in AbstractJCacheNotifier not doing deregistration properly: {{listenerCfgs}} is never pruned, and besides a memory leak this also means that servers send events to nodes that don't have the listener registered anymore.
In case of this test, an event from another test can come just after we've registered the listener (because the node still listens to all events using single adaptor, just does not fire the methods).
> JCacheTwoCachesBasicOpsTest.testUpdatedListener random failures
> ---------------------------------------------------------------
>
> Key: ISPN-6829
> URL: https://issues.jboss.org/browse/ISPN-6829
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.0.0.Alpha2
> Reporter: Dan Berindei
> Labels: testsuite_stability
>
> {noformat}
> java.lang.AssertionError: expected [1] but found [2]
> at org.testng.Assert.fail(Assert.java:94)
> at org.testng.Assert.failNotEquals(Assert.java:494)
> at org.testng.Assert.assertEquals(Assert.java:123)
> at org.testng.Assert.assertEquals(Assert.java:370)
> at org.testng.Assert.assertEquals(Assert.java:380)
> at org.infinispan.jcache.AbstractTwoCachesBasicOpsTest.testUpdatedListener(AbstractTwoCachesBasicOpsTest.java:282)
> {noformat}
> http://ci.infinispan.org/project.html?tab=testDetails&testNameId=55135418...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 7 months
[JBoss JIRA] (ISPN-8261) OSGi integration tests can leak the Karaf process
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-8261?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-8261:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5414
> OSGi integration tests can leak the Karaf process
> -------------------------------------------------
>
> Key: ISPN-8261
> URL: https://issues.jboss.org/browse/ISPN-8261
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Affects Versions: 9.1.0.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: testsuite_stability
> Fix For: 9.1.1.Final
>
>
> {{pax-exam-container-karaf}}'s {{InternalRunner.createShutdownHook}} creates a thread that continuously reads from {{System.in}} and pumps that into the Karaf process's stdin. That can break the communication between the surefire master and fork processes, and that can make the fork shutdown without first stopping the container process.
> {noformat}
> [SUREFIRE] std/in stream corrupted
> java.io.IOException: Command BYE_ACK unexpectedly read Void data with length 4.
> at org.apache.maven.surefire.booter.MasterProcessCommand.decode(MasterProcessCommand.java:130)
> at org.apache.maven.surefire.booter.CommandReader$CommandRunnable.run(CommandReader.java:386)
> at java.lang.Thread.run(Thread.java:745)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 7 months