[JBoss JIRA] (ISPN-10880) JCacheConfigurationTest leaks cache manager
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10880?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10880:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/7530
> JCacheConfigurationTest leaks cache manager
> -------------------------------------------
>
> Key: ISPN-10880
> URL: https://issues.jboss.org/browse/ISPN-10880
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 10.0.0.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 10.1.0.Beta1
>
>
> {noformat}
> ThreadLeakCheckerorg.infinispan.commons.test.ThreadLeakChecker$LeakException: Leaked thread: expiration-thread--p446-t1 << testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
> ...
> Caused by: org.infinispan.commons.test.ThreadLeakChecker$LeakException: testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
> at org.infinispan.commons.test.ThreadLeakChecker$ThreadInfoLocal.childValue(ThreadLeakChecker.java:107)
> ...
> at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:713)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:391)
> at org.infinispan.jcache.embedded.JCacheManager.<init>(JCacheManager.java:75)
> at org.infinispan.jcache.JCacheConfigurationTest.lambda$testJCacheManagerWithRealJarFileSchema$1(JCacheConfigurationTest.java:107)
> at org.infinispan.jcache.util.JCacheTestingUtil.withCachingProvider(JCacheTestingUtil.java:36)
> at org.infinispan.jcache.JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema(JCacheConfigurationTest.java:104)
> {noformat}
> The leak is only reported some of the time because {{AbstractJCacheManager}} has a {{finalize()}} method and stops the underlying cache manager.
> The threads created by {{DefaultCacheManager}} ensure it's still referenced during finalization, allowing it to stop cleanly.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (ISPN-10880) JCacheConfigurationTest leaks cache manager
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10880?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10880:
--------------------------------
Summary: JCacheConfigurationTest leaks cache manager (was: JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema leaks cache manager)
> JCacheConfigurationTest leaks cache manager
> -------------------------------------------
>
> Key: ISPN-10880
> URL: https://issues.jboss.org/browse/ISPN-10880
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 10.0.0.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 10.1.0.Beta1
>
>
> {noformat}
> ThreadLeakCheckerorg.infinispan.commons.test.ThreadLeakChecker$LeakException: Leaked thread: expiration-thread--p446-t1 << testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
> ...
> Caused by: org.infinispan.commons.test.ThreadLeakChecker$LeakException: testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
> at org.infinispan.commons.test.ThreadLeakChecker$ThreadInfoLocal.childValue(ThreadLeakChecker.java:107)
> ...
> at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:713)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:391)
> at org.infinispan.jcache.embedded.JCacheManager.<init>(JCacheManager.java:75)
> at org.infinispan.jcache.JCacheConfigurationTest.lambda$testJCacheManagerWithRealJarFileSchema$1(JCacheConfigurationTest.java:107)
> at org.infinispan.jcache.util.JCacheTestingUtil.withCachingProvider(JCacheTestingUtil.java:36)
> at org.infinispan.jcache.JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema(JCacheConfigurationTest.java:104)
> {noformat}
> The leak is only reported some of the time because {{AbstractJCacheManager}} has a {{finalize()}} method and stops the underlying cache manager.
> The threads created by {{DefaultCacheManager}} ensure it's still referenced during finalization, allowing it to stop cleanly.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (ISPN-10824) Hanged tests are ignored by Jenkins
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10824?page=com.atlassian.jira.plugin... ]
Dan Berindei reopened ISPN-10824:
---------------------------------
> Hanged tests are ignored by Jenkins
> -----------------------------------
>
> Key: ISPN-10824
> URL: https://issues.jboss.org/browse/ISPN-10824
> Project: Infinispan
> Issue Type: Bug
> Components: Build, Test Suite - Core
> Affects Versions: 9.4.16.Final, 10.0.0.CR3
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 10.0.0.Final
>
>
> ISPN-10161 was supposed to add a custom JUnit report in {{RunningTestsRegistry}} just before killing the JVM. Unfortunately it only calls {{TestSuiteProgress.fakeTestFailure()}}, which sounds like it should do it, but actually only writes a {{Test failed:}} messsage to the console, which Jenkins ignores.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (ISPN-10880) JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema leaks cache manager
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10880?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10880:
--------------------------------
Status: Open (was: New)
> JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema leaks cache manager
> ----------------------------------------------------------------------------------
>
> Key: ISPN-10880
> URL: https://issues.jboss.org/browse/ISPN-10880
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 10.0.0.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 10.1.0.Beta1
>
>
> {noformat}
> ThreadLeakCheckerorg.infinispan.commons.test.ThreadLeakChecker$LeakException: Leaked thread: expiration-thread--p446-t1 << testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
> ...
> Caused by: org.infinispan.commons.test.ThreadLeakChecker$LeakException: testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
> at org.infinispan.commons.test.ThreadLeakChecker$ThreadInfoLocal.childValue(ThreadLeakChecker.java:107)
> ...
> at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:713)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:391)
> at org.infinispan.jcache.embedded.JCacheManager.<init>(JCacheManager.java:75)
> at org.infinispan.jcache.JCacheConfigurationTest.lambda$testJCacheManagerWithRealJarFileSchema$1(JCacheConfigurationTest.java:107)
> at org.infinispan.jcache.util.JCacheTestingUtil.withCachingProvider(JCacheTestingUtil.java:36)
> at org.infinispan.jcache.JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema(JCacheConfigurationTest.java:104)
> {noformat}
> The leak is only reported some of the time because {{AbstractJCacheManager}} has a {{finalize()}} method and stops the underlying cache manager.
> The threads created by {{DefaultCacheManager}} ensure it's still referenced during finalization, allowing it to stop cleanly.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (ISPN-10880) JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema leaks cache manager
by Dan Berindei (Jira)
Dan Berindei created ISPN-10880:
-----------------------------------
Summary: JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema leaks cache manager
Key: ISPN-10880
URL: https://issues.jboss.org/browse/ISPN-10880
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 10.0.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 10.1.0.Beta1
{noformat}
ThreadLeakCheckerorg.infinispan.commons.test.ThreadLeakChecker$LeakException: Leaked thread: expiration-thread--p446-t1 << testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
...
Caused by: org.infinispan.commons.test.ThreadLeakChecker$LeakException: testng-JCacheConfigurationTest << org.infinispan.jcache.JCacheConfigurationTest
at org.infinispan.commons.test.ThreadLeakChecker$ThreadInfoLocal.childValue(ThreadLeakChecker.java:107)
...
at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:713)
at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:391)
at org.infinispan.jcache.embedded.JCacheManager.<init>(JCacheManager.java:75)
at org.infinispan.jcache.JCacheConfigurationTest.lambda$testJCacheManagerWithRealJarFileSchema$1(JCacheConfigurationTest.java:107)
at org.infinispan.jcache.util.JCacheTestingUtil.withCachingProvider(JCacheTestingUtil.java:36)
at org.infinispan.jcache.JCacheConfigurationTest.testJCacheManagerWithRealJarFileSchema(JCacheConfigurationTest.java:104)
{noformat}
The leak is only reported some of the time because {{AbstractJCacheManager}} has a {{finalize()}} method and stops the underlying cache manager.
The threads created by {{DefaultCacheManager}} ensure it's still referenced during finalization, allowing it to stop cleanly.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (ISPN-10866) Wildfly InfinispanExtension Should always use jboss-marshalling
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-10866?page=com.atlassian.jira.plugin... ]
Gustavo Fernandes updated ISPN-10866:
-------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Wildfly InfinispanExtension Should always use jboss-marshalling
> ---------------------------------------------------------------
>
> Key: ISPN-10866
> URL: https://issues.jboss.org/browse/ISPN-10866
> Project: Infinispan
> Issue Type: Bug
> Components: WildFly Server
> Affects Versions: 10.0.0.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 10.0.1.Final, 10.1.0.Final
>
>
> The InfinsipanExtension should always utilise the {{JBossUserMarshaller}} as it's not possible to configure a user marshaller via the DMR or server XML. This means that the marshalling behaviour is the same as in the 9.4.x stream and provided Externalizers are still used.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (ISPN-10879) PersistenceIT random failures
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10879?page=com.atlassian.jira.plugin... ]
Dan Berindei commented on ISPN-10879:
-------------------------------------
I couldn't reproduce the test failure locally, but it fails almost every time in CI, e.g.
https://ci.infinispan.org/job/Infinispan/job/master/1563/testReport/junit...
> PersistenceIT random failures
> -----------------------------
>
> Key: ISPN-10879
> URL: https://issues.jboss.org/browse/ISPN-10879
> Project: Infinispan
> Issue Type: Bug
> Reporter: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
>
> {noformat}
> java.lang.NoClassDefFoundError: Could not initialize class org.infinispan.server.persistence.PersistenceIT
> {noformat}
> The reason for the error is that {{PersistenceIT}} has a static final field {{InfinispanServerRule SERVERS}}, and the {{InfinispanServerRule}} constructor may throw an exception. The first time the JVM tries to initialize the {{PersistenceIT}} class, the caller gets an {{ExceptionInInitializerError}}, but further attempts get the {{NoClassDefFoundError}} instead. And since this is all inside Surefire/JUnit, the initial {{ExceptionInInitializerError}} is ignored somewhere without being logged.
> To help debugging via logs, the constructor should be trivial, and the {{serverDriver}} should only be initialized in the {{apply()}} method.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months