[JBoss JIRA] (ISPN-4560) FD_SOCK client socket connection timeout in the test suite
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-4560?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant closed ISPN-4560.
---------------------------------
Resolution: Out of Date
> FD_SOCK client socket connection timeout in the test suite
> ----------------------------------------------------------
>
> Key: ISPN-4560
> URL: https://issues.jboss.org/browse/ISPN-4560
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Test Suite - Core
> Affects Versions: 7.0.0.Alpha5
> Reporter: Dan Berindei
> Priority: Blocker
> Labels: testsuite_stability
>
> At least some of the {{createBeforeMethod}} failures in the test suite seem to be caused by FD_SOCK, which is not able to connect to its peer:
> {noformat}
> 08:28:08,144 DEBUG (testng-L1StateTransferOverwriteTest:) [FD_SOCK] L1StateTransferOverwriteTest-NodeBC-2827: VIEW_CHANGE received: [L1StateTransferOverwriteTest-NodeBC-2827]
> 08:28:12,558 DEBUG (Incoming-1,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK] L1StateTransferOverwriteTest-NodeBC-2827: VIEW_CHANGE received: [L1StateTransferOverwriteTest-NodeBC-2827, L1StateTransferOverwriteTest-NodeBD-12942]
> 08:28:12,631 DEBUG (FD_SOCK pinger,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK] L1StateTransferOverwriteTest-NodeBC-2827: ping_dest is L1StateTransferOverwriteTest-NodeBD-12942, pingable_mbrs=[L1StateTransferOverwriteTest-NodeBC-2827, L1StateTransferOverwriteTest-NodeBD-12942]
> 08:28:12,716 DEBUG (testng-L1StateTransferOverwriteTest:) [FD_SOCK] L1StateTransferOverwriteTest-NodeBD-12942: VIEW_CHANGE received: [L1StateTransferOverwriteTest-NodeBC-2827, L1StateTransferOverwriteTest-NodeBD-12942]
> 08:28:12,719 DEBUG (ViewHandler,NodeBC-2827:) [STABLE] resuming message garbage collection
> 08:28:20,213 WARN (FD_SOCK pinger,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK] L1StateTransferOverwriteTest-NodeBC-2827: creating the client socket failed: java.net.SocketTimeoutException
> 08:28:20,230 DEBUG (FD_SOCK pinger,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK] L1StateTransferOverwriteTest-NodeBC-2827: could not create socket to L1StateTransferOverwriteTest-NodeBD-12942 (pinger thread is running)
> 08:28:20,230 DEBUG (FD_SOCK pinger,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK] L1StateTransferOverwriteTest-NodeBC-2827: suspecting L1StateTransferOverwriteTest-NodeBD-12942
> 08:28:20,230 DEBUG (FD_SOCK pinger,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK] L1StateTransferOverwriteTest-NodeBC-2827: ping_dest is null, pingable_mbrs=[L1StateTransferOverwriteTest-NodeBC-2827]
> 08:28:20,232 DEBUG (INT-1,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK] L1StateTransferOverwriteTest-NodeBC-2827: suspecting [L1StateTransferOverwriteTest-NodeBD-12942]
> 08:28:20,241 DEBUG (Incoming-1,L1StateTransferOverwriteTest-NodeBC-2827:) [FD_SOCK] L1StateTransferOverwriteTest-NodeBC-2827: VIEW_CHANGE received: [L1StateTransferOverwriteTest-NodeBC-2827]
> 08:28:21,442 DEBUG (FD_SOCK pinger,L1StateTransferOverwriteTest-NodeBD-12942:) [FD_SOCK] L1StateTransferOverwriteTest-NodeBD-12942: ping_dest is L1StateTransferOverwriteTest-NodeBC-2827, pingable_mbrs=[L1StateTransferOverwriteTest-NodeBC-2827, L1StateTransferOverwriteTest-NodeBD-12942]
> 08:28:21,442 DEBUG (FD_SOCK pinger,NodeBD-12942:) [FD_SOCK] NodeBD-12942: ping_dest is NodeBC-2827, pingable_mbrs=[NodeBC-2827, NodeBD-12942]
> {noformat}
> There is no message in the log for about 8 seconds (at least for this test), so the timeout could be caused by a GC and/or StateTransferFunctionalTest using too much CPU.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 8 months
[JBoss JIRA] (ISPN-8273) DistributedStreamIteratorWithPassivationTest.testConcurrentActivationWithFilter[DIST_SYNC, tx=false] random failure
by Galder Zamarreño (JIRA)
Galder Zamarreño created ISPN-8273:
--------------------------------------
Summary: DistributedStreamIteratorWithPassivationTest.testConcurrentActivationWithFilter[DIST_SYNC, tx=false] random failure
Key: ISPN-8273
URL: https://issues.jboss.org/browse/ISPN-8273
Project: Infinispan
Issue Type: Bug
Affects Versions: 9.1.0.Final
Reporter: Galder Zamarreño
{code}
testConcurrentActivationWithFilter[DIST_SYNC, tx=false]
org.infinispan.util.concurrent.TimeoutException: Couldn't retrieve entry an entry from store in allotted timeout: 10 unit: SECONDS at org.infinispan.persistence.util.PersistenceManagerCloseableSupplier.get(PersistenceManagerCloseableSupplier.java:137) at org.infinispan.persistence.util.PersistenceManagerCloseableSupplier.get(PersistenceManagerCloseableSupplier.java:32) at org.infinispan.util.CloseableSuppliedIterator.getNext(CloseableSuppliedIterator.java:27) at org.infinispan.util.CloseableSuppliedIterator.hasNext(CloseableSuppliedIterator.java:33) at org.infinispan.util.DistinctKeyDoubleEntryCloseableIterator.hasNext(DistinctKeyDoubleEntryCloseableIterator.java:55) at java.util.Iterator.forEachRemaining(Iterator.java:115) at org.infinispan.stream.impl.spliterators.IteratorAsSpliterator.forEachRemaining(IteratorAsSpliterator.java:150) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at org.infinispan.stream.impl.local.LocalCacheStream.forEach(LocalCacheStream.java:266) at org.infinispan.stream.impl.termop.object.MapIteratorOperation.performOperationRehashAware(MapIteratorOperation.java:68) at org.infinispan.stream.impl.DistributedCacheStream.performLocalRehashAwareOperation(DistributedCacheStream.java:750) at org.infinispan.stream.impl.DistributedCacheStream.lambda$rehashAwareIteration$13(DistributedCacheStream.java:690) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 8 months
[JBoss JIRA] (ISPN-8154) AllClusterExecutorExecutionPolicyTest.runTest random failures
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-8154?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant reassigned ISPN-8154:
-------------------------------------
Assignee: William Burns
> AllClusterExecutorExecutionPolicyTest.runTest random failures
> -------------------------------------------------------------
>
> Key: ISPN-8154
> URL: https://issues.jboss.org/browse/ISPN-8154
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.1.0.Final
> Reporter: Gustavo Fernandes
> Assignee: William Burns
> Labels: testsuite_stability
>
> {noformat}
> runTest on org.infinispan.manager.AllClusterExecutorExecutionPolicyTest(a)d4c88aa(org.infinispan.manager.AllClusterExecutorExecutionPolicyTest) Time elapsed: 0.015 sec <<< FAILURE!
> java.lang.AssertionError: expected:<24> but was:<23>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:252)
> at org.infinispan.manager.AllClusterExecutorExecutionPolicyTest.runTest(AllClusterExecutorExecutionPolicyTest.java:116)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:748)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 8 months
[JBoss JIRA] (ISPN-8270) Build configuration from the scratch based WF Feature Packs and/or WF Offline CLI
by Sebastian Łaskawiec (JIRA)
Sebastian Łaskawiec created ISPN-8270:
-----------------------------------------
Summary: Build configuration from the scratch based WF Feature Packs and/or WF Offline CLI
Key: ISPN-8270
URL: https://issues.jboss.org/browse/ISPN-8270
Project: Infinispan
Issue Type: Enhancement
Components: Cloud Integrations
Reporter: Sebastian Łaskawiec
Currently the Caching Service takes {{cloud.xml}} file and removed unnecessary bits from it. This may lead to a point where we forgot to remove something. We should do a POC and build desired configuration from the ground up.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 8 months
[JBoss JIRA] (ISPN-8261) OSGi integration tests can leak the Karaf process
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-8261?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-8261:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> 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, 8 months
[JBoss JIRA] (ISPN-8263) More Hibernate random size failures
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-8263?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-8263:
-----------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5417
> More Hibernate random size failures
> -----------------------------------
>
> Key: ISPN-8263
> URL: https://issues.jboss.org/browse/ISPN-8263
> Project: Infinispan
> Issue Type: Bug
> Components: Hibernate Cache
> Affects Versions: 9.1.0.Final
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Labels: testsuite_stability
>
> org.infinispan.test.hibernate.cache.functional.cluster.NaturalIdInvalidationTest.testAll[nonstrict, REPL_SYNC]
> org.infinispan.test.hibernate.cache.functional.cluster.NaturalIdInvalidationTest.testAll[nonstrict, DIST_SYNC]
> {code}
> Error Message
> expected:<1> but was:<2>
> Stacktrace
> java.lang.AssertionError: expected:<1> but was:<2>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at org.junit.Assert.assertEquals(Assert.java:542)
> at org.infinispan.test.hibernate.cache.functional.cluster.NaturalIdInvalidationTest.testAll(NaturalIdInvalidationTest.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:45)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
> at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 8 months
[JBoss JIRA] (ISPN-8263) More Hibernate random size failures
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-8263?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño commented on ISPN-8263:
----------------------------------------
While trying to replicate this I've encountered more when running the entire Hibernate Cache testsuite until failure (I was only doing a subset of tests before):
{code}
[ERROR] Tests run: 180, Failures: 1, Errors: 0, Skipped: 18, Time elapsed: 5.857 s <<< FAILURE! - in org.infinispan.test.hibernate.cache.entity.EntityRegionAccessStrategyTest
[ERROR] testRemove[non-JTA, DIST_SYNC,AccessType[nonstrict-read-write]](org.infinispan.test.hibernate.cache.entity.EntityRegionAccessStrategyTest) Time elapsed: 0.01 s <<< FAILURE!
java.lang.AssertionError: expected:<0> but was:<1>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at org.infinispan.test.hibernate.cache.AbstractRegionAccessStrategyTest.evictOrRemoveTest(AbstractRegionAccessStrategyTest.Java:434)
at org.infinispan.test.hibernate.cache.AbstractRegionAccessStrategyTest.testRemove(AbstractRegionAccessStrategyTest.java:405)
{code}
{code}
[ERROR] testRemove[JTA, DIST_SYNC,AccessType[nonstrict-read-write]](org.infinispan.test.hibernate.cache.entity.EntityRegionAccessStrategyTest) Time elapsed: 0.015 s <<< FAILURE!
java.lang.AssertionError: expected:<0> but was:<1>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at org.infinispan.test.hibernate.cache.AbstractRegionAccessStrategyTest.evictOrRemoveTest(AbstractRegionAccessStrategyTest.java:479)
at org.infinispan.test.hibernate.cache.AbstractRegionAccessStrategyTest.testRemove(AbstractRegionAccessStrategyTest.java:405)
{code}
> More Hibernate random size failures
> -----------------------------------
>
> Key: ISPN-8263
> URL: https://issues.jboss.org/browse/ISPN-8263
> Project: Infinispan
> Issue Type: Bug
> Components: Hibernate Cache
> Affects Versions: 9.1.0.Final
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Labels: testsuite_stability
>
> org.infinispan.test.hibernate.cache.functional.cluster.NaturalIdInvalidationTest.testAll[nonstrict, REPL_SYNC]
> org.infinispan.test.hibernate.cache.functional.cluster.NaturalIdInvalidationTest.testAll[nonstrict, DIST_SYNC]
> {code}
> Error Message
> expected:<1> but was:<2>
> Stacktrace
> java.lang.AssertionError: expected:<1> but was:<2>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at org.junit.Assert.assertEquals(Assert.java:542)
> at org.infinispan.test.hibernate.cache.functional.cluster.NaturalIdInvalidationTest.testAll(NaturalIdInvalidationTest.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:45)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
> at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 8 months