[JBoss JIRA] (ISPN-11587) AssertionError HotRodMergeTest.testNewTopologySentAfterOverlappingMerge[DIST_SYNC, ALLOW_READ_WRITES]
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11587?page=com.atlassian.jira.plugi... ]
Ryan Emerson commented on ISPN-11587:
-------------------------------------
The test is currently failing every time due to it's use of numOwners=1 and DENY_READ_WRITES which is no longer a valid configuration since https://issues.redhat.com/browse/ISPN-11530 was merged:
{code:java}
org.infinispan.commons.CacheConfigurationException: ISPN000575: PartitionStrategy must be ALLOW_READ_WRITES when numOwners is 1
at org.infinispan.configuration.cache.ClusteringConfigurationBuilder.validate(ClusteringConfigurationBuilder.java:172)
at org.infinispan.configuration.cache.ConfigurationBuilder.validate(ConfigurationBuilder.java:206)
at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:262)
at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:257)
at org.infinispan.configuration.ConfigurationManager.lambda$new$0(ConfigurationManager.java:42)
at java.base/java.util.HashMap.forEach(HashMap.java:1336)
at org.infinispan.configuration.ConfigurationManager.<init>(ConfigurationManager.java:42)
at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:370)
at org.infinispan.test.fwk.TestCacheManagerFactory.newDefaultCacheManager(TestCacheManagerFactory.java:82)
at org.infinispan.test.fwk.TestCacheManagerFactory.createClusteredCacheManager(TestCacheManagerFactory.java:263)
at org.infinispan.test.MultipleCacheManagersTest.addClusterEnabledCacheManager(MultipleCacheManagersTest.java:249)
at org.infinispan.test.MultipleCacheManagersTest.createClusteredCaches(MultipleCacheManagersTest.java:464)
at org.infinispan.server.hotrod.HotRodMergeTest.createCacheManagers(HotRodMergeTest.java:55)
at org.infinispan.test.MultipleCacheManagersTest.callCreateCacheManagers(MultipleCacheManagersTest.java:122)
at org.infinispan.test.MultipleCacheManagersTest.createBeforeClass(MultipleCacheManagersTest.java:116)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
... Removed 17 stack frames
{code}
The test needs to be updated to utilise numOwners=2. The cause of the periodic failures is likely related to the problem scenario described in https://issues.redhat.com/browse/ISPN-11634
> AssertionError HotRodMergeTest.testNewTopologySentAfterOverlappingMerge[DIST_SYNC, ALLOW_READ_WRITES]
> -----------------------------------------------------------------------------------------------------
>
> Key: ISPN-11587
> URL: https://issues.redhat.com/browse/ISPN-11587
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 10.1.5.Final, 11.0.0.Dev03
> Reporter: Diego Lovison
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite-stability
>
> Probably this is a flaky test:
> {noformat}
> [OK: 182, KO: 1, SKIP: 0] Test failed: org.infinispan.server.hotrod.HotRodMergeTest.testNewTopologySentAfterOverlappingMerge[DIST_SYNC, ALLOW_READ_WRITES]
> java.lang.AssertionError:
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24)
> at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:251)
> at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:233)
> at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:209)
> at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:387)
> at org.infinispan.server.hotrod.HotRodMergeTest.eventuallyExpectCompleteTopology(HotRodMergeTest.java:141)
> at org.infinispan.server.hotrod.HotRodMergeTest.testNewTopologySentAfterOverlappingMerge(HotRodMergeTest.java:125)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
> at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)
> at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
> at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> at org.testng.TestRunner.privateRun(TestRunner.java:648)
> at org.testng.TestRunner.run(TestRunner.java:505)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:40)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489)
> at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 8 months
[JBoss JIRA] (ISPN-11773) Package org.infinispan.context is missing from javadocs of 10.1.x and 11 releases
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11773?page=com.atlassian.jira.plugi... ]
Ryan Emerson resolved ISPN-11773.
---------------------------------
Resolution: Done
> Package org.infinispan.context is missing from javadocs of 10.1.x and 11 releases
> ---------------------------------------------------------------------------------
>
> Key: ISPN-11773
> URL: https://issues.redhat.com/browse/ISPN-11773
> Project: Infinispan
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 10.1.7.Final, 11.0.0.Dev05
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 11.0.0.CR1, 10.1.8.Final
>
>
> The new release of the custom infinispan doclet fixes the handling of @private/@public javadoc tags which are very strict now. Packages that are not specifically annotated are excluded, as it was meant to be from the beginning, but the exclusion was slightly broken.
> We need to add `@public` to all packages that we find to be unintentionally left out.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 8 months