[JBoss JIRA] (ISPN-8251) SoftIndexFileStoreTest.testWriteAndDeleteBatch
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-8251?page=com.atlassian.jira.plugin.... ]
Radim Vansa edited comment on ISPN-8251 at 9/6/17 10:30 AM:
------------------------------------------------------------
I could reproduce another issue in this test. If the {{store.process()}} method commences before moving entry from a compacted file to a new file, the new file is ignored. This is because the {{forEachOnDisk}} does not rescan the files/record new ones that are being created.
was (Author: rvansa):
I could reproduce this issue. If the {{store.process()}} method commences before moving entry from a compacted file to a new file, the new file is ignored. This is because the {{forEachOnDisk}} does not rescan the files/record new ones that are being created.
> SoftIndexFileStoreTest.testWriteAndDeleteBatch
> ----------------------------------------------
>
> Key: ISPN-8251
> URL: https://issues.jboss.org/browse/ISPN-8251
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 9.1.0.Final
> Reporter: Tristan Tarrant
> Assignee: Radim Vansa
>
> 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
>
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (ISPN-8251) SoftIndexFileStoreTest.testWriteAndDeleteBatch
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-8251?page=com.atlassian.jira.plugin.... ]
Radim Vansa commented on ISPN-8251:
-----------------------------------
I could reproduce this issue. If the {{store.process()}} method commences before moving entry from a compacted file to a new file, the new file is ignored. This is because the {{forEachOnDisk}} does not rescan the files/record new ones that are being created.
> SoftIndexFileStoreTest.testWriteAndDeleteBatch
> ----------------------------------------------
>
> Key: ISPN-8251
> URL: https://issues.jboss.org/browse/ISPN-8251
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 9.1.0.Final
> Reporter: Tristan Tarrant
> Assignee: Radim Vansa
>
> 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
>
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (ISPN-8262) Upgrade to Karaf 4.1.1 everywhere
by Dan Berindei (JIRA)
Dan Berindei created ISPN-8262:
----------------------------------
Summary: Upgrade to Karaf 4.1.1 everywhere
Key: ISPN-8262
URL: https://issues.jboss.org/browse/ISPN-8262
Project: Infinispan
Issue Type: Component Upgrade
Components: Integration
Affects Versions: 9.1.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.1.1.Final
The server uses Karaf 4.1.1, but the osgi and integrationtests/osgi modules still use version 3.0.8.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (ISPN-8261) OSGi integration tests can leak the Karaf process
by Dan Berindei (JIRA)
Dan Berindei created ISPN-8261:
----------------------------------
Summary: 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
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)
8 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: Open (was: New)
> 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)
8 years, 7 months
[JBoss JIRA] (ISPN-8257) BackupForStateTransferTest.testStateTransferWithClusterIdle random failures
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-8257?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-8257:
------------------------------
Status: Open (was: New)
> BackupForStateTransferTest.testStateTransferWithClusterIdle random failures
> ---------------------------------------------------------------------------
>
> Key: ISPN-8257
> URL: https://issues.jboss.org/browse/ISPN-8257
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.1.0.Final
> Reporter: Galder Zamarreño
> Assignee: Pedro Ruivo
> Labels: testsuite_stability
>
> http://ci.infinispan.org/job/Infinispan/job/master/118/testReport/junit/o...
> {code}
> java.lang.AssertionError:
> at org.infinispan.xsite.statetransfer.BackupForStateTransferTest$6.assertInCache(BackupForStateTransferTest.java:138)
> at org.infinispan.xsite.AbstractXSiteTest.assertInSite(AbstractXSiteTest.java:178)
> at org.infinispan.xsite.statetransfer.BackupForStateTransferTest.assertNoStateTransferInReceivingSite(BackupForStateTransferTest.java:133)
> at org.infinispan.xsite.statetransfer.BackupForStateTransferTest.testStateTransferWithClusterIdle(BackupForStateTransferTest.java:94)
> 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)
> ... Removed 20 stack frames
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (ISPN-8257) BackupForStateTransferTest.testStateTransferWithClusterIdle random failures
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-8257?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-8257:
------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5409
> BackupForStateTransferTest.testStateTransferWithClusterIdle random failures
> ---------------------------------------------------------------------------
>
> Key: ISPN-8257
> URL: https://issues.jboss.org/browse/ISPN-8257
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.1.0.Final
> Reporter: Galder Zamarreño
> Assignee: Pedro Ruivo
> Labels: testsuite_stability
>
> http://ci.infinispan.org/job/Infinispan/job/master/118/testReport/junit/o...
> {code}
> java.lang.AssertionError:
> at org.infinispan.xsite.statetransfer.BackupForStateTransferTest$6.assertInCache(BackupForStateTransferTest.java:138)
> at org.infinispan.xsite.AbstractXSiteTest.assertInSite(AbstractXSiteTest.java:178)
> at org.infinispan.xsite.statetransfer.BackupForStateTransferTest.assertNoStateTransferInReceivingSite(BackupForStateTransferTest.java:133)
> at org.infinispan.xsite.statetransfer.BackupForStateTransferTest.testStateTransferWithClusterIdle(BackupForStateTransferTest.java:94)
> 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)
> ... Removed 20 stack frames
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months
[JBoss JIRA] (ISPN-8257) BackupForStateTransferTest.testStateTransferWithClusterIdle random failures
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-8257?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-8257:
------------------------------
Fix Version/s: 9.1.1.Final
> BackupForStateTransferTest.testStateTransferWithClusterIdle random failures
> ---------------------------------------------------------------------------
>
> Key: ISPN-8257
> URL: https://issues.jboss.org/browse/ISPN-8257
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.1.0.Final
> Reporter: Galder Zamarreño
> Assignee: Pedro Ruivo
> Labels: testsuite_stability
> Fix For: 9.1.1.Final
>
>
> http://ci.infinispan.org/job/Infinispan/job/master/118/testReport/junit/o...
> {code}
> java.lang.AssertionError:
> at org.infinispan.xsite.statetransfer.BackupForStateTransferTest$6.assertInCache(BackupForStateTransferTest.java:138)
> at org.infinispan.xsite.AbstractXSiteTest.assertInSite(AbstractXSiteTest.java:178)
> at org.infinispan.xsite.statetransfer.BackupForStateTransferTest.assertNoStateTransferInReceivingSite(BackupForStateTransferTest.java:133)
> at org.infinispan.xsite.statetransfer.BackupForStateTransferTest.testStateTransferWithClusterIdle(BackupForStateTransferTest.java:94)
> 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)
> ... Removed 20 stack frames
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 7 months