[JBoss JIRA] (ISPN-8248) Missing timeout exceptions in distributed executor tests
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-8248?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-8248:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.1.1.Final
Resolution: Done
> Missing timeout exceptions in distributed executor tests
> --------------------------------------------------------
>
> Key: ISPN-8248
> URL: https://issues.jboss.org/browse/ISPN-8248
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Critical
> Labels: testsuite_stability
> Fix For: 9.1.1.Final
>
>
> {noformat}
> java.lang.AssertionError: Should have thrown an class java.util.concurrent.TimeoutException
> at org.infinispan.test.Exceptions.assertException(Exceptions.java:21)
> at org.infinispan.test.Exceptions.expectException(Exceptions.java:92)
> at org.infinispan.distexec.DistributedExecutorTest.testTimeoutOnLocalNode(DistributedExecutorTest.java:217)
> {noformat}
> {noformat}
> java.lang.AssertionError: Should have thrown an class java.util.concurrent.TimeoutException
> at org.infinispan.test.Exceptions.assertException(Exceptions.java:21)
> at org.infinispan.test.Exceptions.expectException(Exceptions.java:92)
> at org.infinispan.distexec.LocalDistributedExecutorTest.testSleepingCallableWithTimeoutExc(LocalDistributedExecutorTest.java:340)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-6721) SuspectException when stopping and starting nodes in an embedded cluster using invalidation
by Gunther v. Wolffersdorff (JIRA)
[ https://issues.jboss.org/browse/ISPN-6721?page=com.atlassian.jira.plugin.... ]
Gunther v. Wolffersdorff commented on ISPN-6721:
------------------------------------------------
I patched a wildfiy 10.1.0.Final with hibernate 5.1.10.Final.
The org.infinispan.remoting.transport.jgroups.SuspectException was not thrown anymore.
Fixed for me.
> SuspectException when stopping and starting nodes in an embedded cluster using invalidation
> -------------------------------------------------------------------------------------------
>
> Key: ISPN-6721
> URL: https://issues.jboss.org/browse/ISPN-6721
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 8.2.2.Final
> Reporter: Karl von Randow
> Attachments: SyncInvalidationLeaveTest.java, server.log
>
>
> We run a cluster of four app servers on Tomcat with embedded Infinispan for Hibernate L2. When we bring down one of the app servers it shuts down that cache and then exits. On other nodes we frequently, although not consistently, receive SuspectExceptions from other nodes stating that the cache isn't running on the shutting down node. Similarly when starting a new app server we get the same.
> We are using synchronous invalidation.
> This feels like a race condition during startup and shutdown of the caches. Does that sound likely?
> I note in this wiki article https://github.com/infinispan/infinispan/wiki/Consistency-guarantees-in-I... there is a note "TODO Create an issue in JIRA to ignore suspect exceptions.". I'm not sure if this is related!
> There are two stacktraces below. I note that the shutdown example fails in {{JGroupsTransport.java:798}} which is when the response was suspected. While the startup example fails in {{JGroupsTransport.java:795}}, which is a {{CacheNotFoundResponse}} response.
> Here is a shutdown exception:
> {code:java}
> May 27, 2016 3:05:01 PM org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Servlet.service() for servlet [default] in context with path [] threw exception
> org.infinispan.remoting.transport.jgroups.SuspectException: Cache not running on node app1-12786
> at org.infinispan.remoting.transport.AbstractTransport.checkResponse(AbstractTransport.java:46)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:798)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$1(JGroupsTransport.java:642)
> at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
> at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
> at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
> at org.infinispan.remoting.transport.jgroups.RspListFuture.futureDone(RspListFuture.java:31)
> at org.jgroups.blocks.Request.checkCompletion(Request.java:162)
> at org.jgroups.blocks.GroupRequest.viewChange(GroupRequest.java:250)
> at org.jgroups.blocks.RequestCorrelator.receiveView(RequestCorrelator.java:316)
> at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:229)
> at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:695)
> at org.jgroups.JChannel.up(JChannel.java:738)
> at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1030)
> at org.jgroups.protocols.FRAG2.up(FRAG2.java:165)
> at org.jgroups.protocols.FlowControl.up(FlowControl.java:392)
> at org.jgroups.protocols.pbcast.GMS.installView(GMS.java:733)
> at org.jgroups.protocols.pbcast.ParticipantGmsImpl.handleViewChange(ParticipantGmsImpl.java:140)
> at org.jgroups.protocols.pbcast.GMS.up(GMS.java:923)
> at org.jgroups.stack.Protocol.up(Protocol.java:417)
> at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:294)
> at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:474)
> at org.jgroups.protocols.pbcast.NAKACK2.deliverBatch(NAKACK2.java:982)
> at org.jgroups.protocols.pbcast.NAKACK2.removeAndPassUp(NAKACK2.java:912)
> at org.jgroups.protocols.pbcast.NAKACK2.handleMessage(NAKACK2.java:846)
> at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:618)
> at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:155)
> at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:200)
> at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:310)
> at org.jgroups.protocols.MERGE3.up(MERGE3.java:285)
> at org.jgroups.protocols.Discovery.up(Discovery.java:296)
> at org.jgroups.protocols.TP.passMessageUp(TP.java:1590)
> at org.jgroups.protocols.TP$SingleMessageHandler.run(TP.java:1802)
> 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:745)
> {code}
> And a startup exception:
> {code:java}
> org.infinispan.remoting.transport.jgroups.SuspectException: Cache not running on node app1-46933
> at org.infinispan.remoting.transport.AbstractTransport.checkResponse(AbstractTransport.java:46)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:795)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$1(JGroupsTransport.java:642)
> at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
> at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
> at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
> at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
> at org.infinispan.remoting.transport.jgroups.RspListFuture.futureDone(RspListFuture.java:31)
> at org.jgroups.blocks.Request.checkCompletion(Request.java:162)
> at org.jgroups.blocks.GroupRequest.receiveResponse(GroupRequest.java:136)
> at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:373)
> at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:237)
> at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:695)
> at org.jgroups.JChannel.up(JChannel.java:738)
> at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1030)
> at org.jgroups.protocols.FRAG2.up(FRAG2.java:165)
> at org.jgroups.protocols.FlowControl.up(FlowControl.java:392)
> at org.jgroups.protocols.pbcast.GMS.up(GMS.java:1043)
> at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:234)
> at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1064)
> at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:779)
> at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:426)
> at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:652)
> at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:155)
> at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:200)
> at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:310)
> at org.jgroups.protocols.MERGE3.up(MERGE3.java:285)
> at org.jgroups.protocols.Discovery.up(Discovery.java:296)
> at org.jgroups.protocols.TP.passMessageUp(TP.java:1590)
> at org.jgroups.protocols.TP$SingleMessageHandler.run(TP.java:1802)
> 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:745)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-8248) Missing timeout exceptions in distributed executor tests
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-8248?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-8248:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5400
> Missing timeout exceptions in distributed executor tests
> --------------------------------------------------------
>
> Key: ISPN-8248
> URL: https://issues.jboss.org/browse/ISPN-8248
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Critical
> Labels: testsuite_stability
>
> {noformat}
> java.lang.AssertionError: Should have thrown an class java.util.concurrent.TimeoutException
> at org.infinispan.test.Exceptions.assertException(Exceptions.java:21)
> at org.infinispan.test.Exceptions.expectException(Exceptions.java:92)
> at org.infinispan.distexec.DistributedExecutorTest.testTimeoutOnLocalNode(DistributedExecutorTest.java:217)
> {noformat}
> {noformat}
> java.lang.AssertionError: Should have thrown an class java.util.concurrent.TimeoutException
> at org.infinispan.test.Exceptions.assertException(Exceptions.java:21)
> at org.infinispan.test.Exceptions.expectException(Exceptions.java:92)
> at org.infinispan.distexec.LocalDistributedExecutorTest.testSleepingCallableWithTimeoutExc(LocalDistributedExecutorTest.java:340)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-8248) Missing timeout exceptions in distributed executor tests
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-8248?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-8248:
-------------------------------
Status: Open (was: New)
> Missing timeout exceptions in distributed executor tests
> --------------------------------------------------------
>
> Key: ISPN-8248
> URL: https://issues.jboss.org/browse/ISPN-8248
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Critical
> Labels: testsuite_stability
>
> {noformat}
> java.lang.AssertionError: Should have thrown an class java.util.concurrent.TimeoutException
> at org.infinispan.test.Exceptions.assertException(Exceptions.java:21)
> at org.infinispan.test.Exceptions.expectException(Exceptions.java:92)
> at org.infinispan.distexec.DistributedExecutorTest.testTimeoutOnLocalNode(DistributedExecutorTest.java:217)
> {noformat}
> {noformat}
> java.lang.AssertionError: Should have thrown an class java.util.concurrent.TimeoutException
> at org.infinispan.test.Exceptions.assertException(Exceptions.java:21)
> at org.infinispan.test.Exceptions.expectException(Exceptions.java:92)
> at org.infinispan.distexec.LocalDistributedExecutorTest.testSleepingCallableWithTimeoutExc(LocalDistributedExecutorTest.java:340)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-8248) Missing timeout exceptions in distributed executor tests
by Dan Berindei (JIRA)
Dan Berindei created ISPN-8248:
----------------------------------
Summary: Missing timeout exceptions in distributed executor tests
Key: ISPN-8248
URL: https://issues.jboss.org/browse/ISPN-8248
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Critical
{noformat}
java.lang.AssertionError: Should have thrown an class java.util.concurrent.TimeoutException
at org.infinispan.test.Exceptions.assertException(Exceptions.java:21)
at org.infinispan.test.Exceptions.expectException(Exceptions.java:92)
at org.infinispan.distexec.DistributedExecutorTest.testTimeoutOnLocalNode(DistributedExecutorTest.java:217)
{noformat}
{noformat}
java.lang.AssertionError: Should have thrown an class java.util.concurrent.TimeoutException
at org.infinispan.test.Exceptions.assertException(Exceptions.java:21)
at org.infinispan.test.Exceptions.expectException(Exceptions.java:92)
at org.infinispan.distexec.LocalDistributedExecutorTest.testSleepingCallableWithTimeoutExc(LocalDistributedExecutorTest.java:340)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-8247) SoftIndexFileStoreTest failures
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-8247?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-8247:
-------------------------------
Description:
Failure encountered on SoftIndexFileStore::testWriteAndDeleteBatch, however SoftIndexFileStore does not implement writeBatch, so this implies the problem can also occur with normal write operations.
{code:java}
org.infinispan.persistence.spi.PersistenceException: java.lang.IllegalStateException: End of file reached when reading key on 5:351
at org.infinispan.persistence.sifs.SoftIndexFileStore.forEachOnDisk(SoftIndexFileStore.java:509)
at org.infinispan.persistence.sifs.SoftIndexFileStore.process(SoftIndexFileStore.java:519)
at org.infinispan.test.TestingUtil.allEntries(TestingUtil.java:1534)
at org.infinispan.test.TestingUtil.allEntries(TestingUtil.java:1539)
at org.infinispan.persistence.BaseStoreTest.testWriteAndDeleteBatch(BaseStoreTest.java:540)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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)
Caused by: java.lang.IllegalStateException: End of file reached when reading key on 5:351
at org.infinispan.persistence.sifs.EntryRecord.readKey(EntryRecord.java:77)
at org.infinispan.persistence.sifs.SoftIndexFileStore.forEachOnDisk(SoftIndexFileStore.java:476)
... 24 more
... Removed 16 stack frames
{code}
Another failure encountered with SoftIndexFileStoreTest::testOverrideWithExpirableAndCompaction
{code:java}
org.infinispan.persistence.spi.PersistenceException: org.infinispan.persistence.spi.PersistenceException: Index looks corrupt
at org.infinispan.persistence.sifs.SoftIndexFileStore.load(SoftIndexFileStore.java:420)
at org.infinispan.persistence.sifs.SoftIndexFileStoreTest.testOverrideWithExpirableAndCompaction(SoftIndexFileStoreTest.java:185)
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:745)
Caused by: org.infinispan.persistence.spi.PersistenceException: Index looks corrupt
at org.infinispan.persistence.sifs.IndexNode.applyOnLeaf(IndexNode.java:295)
at org.infinispan.persistence.sifs.Index.getRecord(Index.java:94)
at org.infinispan.persistence.sifs.SoftIndexFileStore.load(SoftIndexFileStore.java:414)
... 21 more
Caused by: org.infinispan.persistence.sifs.IndexNode$IndexNodeOutdatedException: 12:546
at org.infinispan.persistence.sifs.IndexNode$LeafNode.loadRecord(IndexNode.java:989)
at org.infinispan.persistence.sifs.IndexNode$ReadOperation$1.apply(IndexNode.java:222)
at org.infinispan.persistence.sifs.IndexNode$ReadOperation$1.apply(IndexNode.java:219)
at org.infinispan.persistence.sifs.IndexNode.applyOnLeaf(IndexNode.java:291)
... 23 more
{code}
was:
Failure encountered on SoftIndexFileStore::testWriteAndDeleteBatch, however SoftIndexFileStore does not implement writeBatch, so this implies the problem can also occur with normal write operations.
{code:java}
org.infinispan.persistence.spi.PersistenceException: java.lang.IllegalStateException: End of file reached when reading key on 5:351
at org.infinispan.persistence.sifs.SoftIndexFileStore.forEachOnDisk(SoftIndexFileStore.java:509)
at org.infinispan.persistence.sifs.SoftIndexFileStore.process(SoftIndexFileStore.java:519)
at org.infinispan.test.TestingUtil.allEntries(TestingUtil.java:1534)
at org.infinispan.test.TestingUtil.allEntries(TestingUtil.java:1539)
at org.infinispan.persistence.BaseStoreTest.testWriteAndDeleteBatch(BaseStoreTest.java:540)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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)
Caused by: java.lang.IllegalStateException: End of file reached when reading key on 5:351
at org.infinispan.persistence.sifs.EntryRecord.readKey(EntryRecord.java:77)
at org.infinispan.persistence.sifs.SoftIndexFileStore.forEachOnDisk(SoftIndexFileStore.java:476)
... 24 more
... Removed 16 stack frames
{code}
Another failure encountered with
{code:java}
org.infinispan.persistence.spi.PersistenceException: org.infinispan.persistence.spi.PersistenceException: Index looks corrupt
at org.infinispan.persistence.sifs.SoftIndexFileStore.load(SoftIndexFileStore.java:420)
at org.infinispan.persistence.sifs.SoftIndexFileStoreTest.testOverrideWithExpirableAndCompaction(SoftIndexFileStoreTest.java:185)
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:745)
Caused by: org.infinispan.persistence.spi.PersistenceException: Index looks corrupt
at org.infinispan.persistence.sifs.IndexNode.applyOnLeaf(IndexNode.java:295)
at org.infinispan.persistence.sifs.Index.getRecord(Index.java:94)
at org.infinispan.persistence.sifs.SoftIndexFileStore.load(SoftIndexFileStore.java:414)
... 21 more
Caused by: org.infinispan.persistence.sifs.IndexNode$IndexNodeOutdatedException: 12:546
at org.infinispan.persistence.sifs.IndexNode$LeafNode.loadRecord(IndexNode.java:989)
at org.infinispan.persistence.sifs.IndexNode$ReadOperation$1.apply(IndexNode.java:222)
at org.infinispan.persistence.sifs.IndexNode$ReadOperation$1.apply(IndexNode.java:219)
at org.infinispan.persistence.sifs.IndexNode.applyOnLeaf(IndexNode.java:291)
... 23 more
{code}
> SoftIndexFileStoreTest failures
> -------------------------------
>
> Key: ISPN-8247
> URL: https://issues.jboss.org/browse/ISPN-8247
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 9.1.0.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
>
> Failure encountered on SoftIndexFileStore::testWriteAndDeleteBatch, however SoftIndexFileStore does not implement writeBatch, so this implies the problem can also occur with normal write operations.
> {code:java}
> org.infinispan.persistence.spi.PersistenceException: java.lang.IllegalStateException: End of file reached when reading key on 5:351
> at org.infinispan.persistence.sifs.SoftIndexFileStore.forEachOnDisk(SoftIndexFileStore.java:509)
> at org.infinispan.persistence.sifs.SoftIndexFileStore.process(SoftIndexFileStore.java:519)
> at org.infinispan.test.TestingUtil.allEntries(TestingUtil.java:1534)
> at org.infinispan.test.TestingUtil.allEntries(TestingUtil.java:1539)
> at org.infinispan.persistence.BaseStoreTest.testWriteAndDeleteBatch(BaseStoreTest.java:540)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 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)
> Caused by: java.lang.IllegalStateException: End of file reached when reading key on 5:351
> at org.infinispan.persistence.sifs.EntryRecord.readKey(EntryRecord.java:77)
> at org.infinispan.persistence.sifs.SoftIndexFileStore.forEachOnDisk(SoftIndexFileStore.java:476)
> ... 24 more
> ... Removed 16 stack frames
>
> {code}
> Another failure encountered with SoftIndexFileStoreTest::testOverrideWithExpirableAndCompaction
> {code:java}
> org.infinispan.persistence.spi.PersistenceException: org.infinispan.persistence.spi.PersistenceException: Index looks corrupt
> at org.infinispan.persistence.sifs.SoftIndexFileStore.load(SoftIndexFileStore.java:420)
> at org.infinispan.persistence.sifs.SoftIndexFileStoreTest.testOverrideWithExpirableAndCompaction(SoftIndexFileStoreTest.java:185)
> 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:745)
> Caused by: org.infinispan.persistence.spi.PersistenceException: Index looks corrupt
> at org.infinispan.persistence.sifs.IndexNode.applyOnLeaf(IndexNode.java:295)
> at org.infinispan.persistence.sifs.Index.getRecord(Index.java:94)
> at org.infinispan.persistence.sifs.SoftIndexFileStore.load(SoftIndexFileStore.java:414)
> ... 21 more
> Caused by: org.infinispan.persistence.sifs.IndexNode$IndexNodeOutdatedException: 12:546
> at org.infinispan.persistence.sifs.IndexNode$LeafNode.loadRecord(IndexNode.java:989)
> at org.infinispan.persistence.sifs.IndexNode$ReadOperation$1.apply(IndexNode.java:222)
> at org.infinispan.persistence.sifs.IndexNode$ReadOperation$1.apply(IndexNode.java:219)
> at org.infinispan.persistence.sifs.IndexNode.applyOnLeaf(IndexNode.java:291)
> ... 23 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-8247) SoftIndexFileStoreTest failures
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-8247?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-8247:
-------------------------------
Description:
Failure encountered on SoftIndexFileStore::testWriteAndDeleteBatch, however SoftIndexFileStore does not implement writeBatch, so this implies the problem can also occur with normal write operations.
{code:java}
org.infinispan.persistence.spi.PersistenceException: java.lang.IllegalStateException: End of file reached when reading key on 5:351
at org.infinispan.persistence.sifs.SoftIndexFileStore.forEachOnDisk(SoftIndexFileStore.java:509)
at org.infinispan.persistence.sifs.SoftIndexFileStore.process(SoftIndexFileStore.java:519)
at org.infinispan.test.TestingUtil.allEntries(TestingUtil.java:1534)
at org.infinispan.test.TestingUtil.allEntries(TestingUtil.java:1539)
at org.infinispan.persistence.BaseStoreTest.testWriteAndDeleteBatch(BaseStoreTest.java:540)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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)
Caused by: java.lang.IllegalStateException: End of file reached when reading key on 5:351
at org.infinispan.persistence.sifs.EntryRecord.readKey(EntryRecord.java:77)
at org.infinispan.persistence.sifs.SoftIndexFileStore.forEachOnDisk(SoftIndexFileStore.java:476)
... 24 more
... Removed 16 stack frames
{code}
Another failure encountered with
{code:java}
org.infinispan.persistence.spi.PersistenceException: org.infinispan.persistence.spi.PersistenceException: Index looks corrupt
at org.infinispan.persistence.sifs.SoftIndexFileStore.load(SoftIndexFileStore.java:420)
at org.infinispan.persistence.sifs.SoftIndexFileStoreTest.testOverrideWithExpirableAndCompaction(SoftIndexFileStoreTest.java:185)
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:745)
Caused by: org.infinispan.persistence.spi.PersistenceException: Index looks corrupt
at org.infinispan.persistence.sifs.IndexNode.applyOnLeaf(IndexNode.java:295)
at org.infinispan.persistence.sifs.Index.getRecord(Index.java:94)
at org.infinispan.persistence.sifs.SoftIndexFileStore.load(SoftIndexFileStore.java:414)
... 21 more
Caused by: org.infinispan.persistence.sifs.IndexNode$IndexNodeOutdatedException: 12:546
at org.infinispan.persistence.sifs.IndexNode$LeafNode.loadRecord(IndexNode.java:989)
at org.infinispan.persistence.sifs.IndexNode$ReadOperation$1.apply(IndexNode.java:222)
at org.infinispan.persistence.sifs.IndexNode$ReadOperation$1.apply(IndexNode.java:219)
at org.infinispan.persistence.sifs.IndexNode.applyOnLeaf(IndexNode.java:291)
... 23 more
{code}
was:
Failure encountered on SoftIndexFileStore::testWriteAndDeleteBatch, however SoftIndexFileStore does not implement writeBatch, so this implies the problem can also occur with normal write operations.
{code:java}
org.infinispan.persistence.spi.PersistenceException: java.lang.IllegalStateException: End of file reached when reading key on 5:351
at org.infinispan.persistence.sifs.SoftIndexFileStore.forEachOnDisk(SoftIndexFileStore.java:509)
at org.infinispan.persistence.sifs.SoftIndexFileStore.process(SoftIndexFileStore.java:519)
at org.infinispan.test.TestingUtil.allEntries(TestingUtil.java:1534)
at org.infinispan.test.TestingUtil.allEntries(TestingUtil.java:1539)
at org.infinispan.persistence.BaseStoreTest.testWriteAndDeleteBatch(BaseStoreTest.java:540)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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)
Caused by: java.lang.IllegalStateException: End of file reached when reading key on 5:351
at org.infinispan.persistence.sifs.EntryRecord.readKey(EntryRecord.java:77)
at org.infinispan.persistence.sifs.SoftIndexFileStore.forEachOnDisk(SoftIndexFileStore.java:476)
... 24 more
... Removed 16 stack frames
{code}
> SoftIndexFileStoreTest failures
> -------------------------------
>
> Key: ISPN-8247
> URL: https://issues.jboss.org/browse/ISPN-8247
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 9.1.0.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
>
> Failure encountered on SoftIndexFileStore::testWriteAndDeleteBatch, however SoftIndexFileStore does not implement writeBatch, so this implies the problem can also occur with normal write operations.
> {code:java}
> org.infinispan.persistence.spi.PersistenceException: java.lang.IllegalStateException: End of file reached when reading key on 5:351
> at org.infinispan.persistence.sifs.SoftIndexFileStore.forEachOnDisk(SoftIndexFileStore.java:509)
> at org.infinispan.persistence.sifs.SoftIndexFileStore.process(SoftIndexFileStore.java:519)
> at org.infinispan.test.TestingUtil.allEntries(TestingUtil.java:1534)
> at org.infinispan.test.TestingUtil.allEntries(TestingUtil.java:1539)
> at org.infinispan.persistence.BaseStoreTest.testWriteAndDeleteBatch(BaseStoreTest.java:540)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 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)
> Caused by: java.lang.IllegalStateException: End of file reached when reading key on 5:351
> at org.infinispan.persistence.sifs.EntryRecord.readKey(EntryRecord.java:77)
> at org.infinispan.persistence.sifs.SoftIndexFileStore.forEachOnDisk(SoftIndexFileStore.java:476)
> ... 24 more
> ... Removed 16 stack frames
>
> {code}
> Another failure encountered with
> {code:java}
> org.infinispan.persistence.spi.PersistenceException: org.infinispan.persistence.spi.PersistenceException: Index looks corrupt
> at org.infinispan.persistence.sifs.SoftIndexFileStore.load(SoftIndexFileStore.java:420)
> at org.infinispan.persistence.sifs.SoftIndexFileStoreTest.testOverrideWithExpirableAndCompaction(SoftIndexFileStoreTest.java:185)
> 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:745)
> Caused by: org.infinispan.persistence.spi.PersistenceException: Index looks corrupt
> at org.infinispan.persistence.sifs.IndexNode.applyOnLeaf(IndexNode.java:295)
> at org.infinispan.persistence.sifs.Index.getRecord(Index.java:94)
> at org.infinispan.persistence.sifs.SoftIndexFileStore.load(SoftIndexFileStore.java:414)
> ... 21 more
> Caused by: org.infinispan.persistence.sifs.IndexNode$IndexNodeOutdatedException: 12:546
> at org.infinispan.persistence.sifs.IndexNode$LeafNode.loadRecord(IndexNode.java:989)
> at org.infinispan.persistence.sifs.IndexNode$ReadOperation$1.apply(IndexNode.java:222)
> at org.infinispan.persistence.sifs.IndexNode$ReadOperation$1.apply(IndexNode.java:219)
> at org.infinispan.persistence.sifs.IndexNode.applyOnLeaf(IndexNode.java:291)
> ... 23 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months