[JBoss JIRA] (ISPN-4611) Explore ability to use Put-Async in some operations on the Lucene Directory
by Sanne Grinovero (JIRA)
Sanne Grinovero created ISPN-4611:
-------------------------------------
Summary: Explore ability to use Put-Async in some operations on the Lucene Directory
Key: ISPN-4611
URL: https://issues.jboss.org/browse/ISPN-4611
Project: Infinispan
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: Lucene Directory
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
I just noticed that if I change all put operations in FileListOperations to be putAsync, the stress tests against index corruption and parallel queries run flawlessly.
It's possible that these particular operation might not need the synchronous flush, but we need to verify if a committed index change is immediately visible to queries.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (ISPN-3494) org.infinispan.lucene.cachestore.CacheLoaderAPITest.testLoadAllKeysWithChunkExclusion test fails periodically
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/ISPN-3494?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero resolved ISPN-3494.
-----------------------------------
Resolution: Out of Date
> org.infinispan.lucene.cachestore.CacheLoaderAPITest.testLoadAllKeysWithChunkExclusion test fails periodically
> -------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-3494
> URL: https://issues.jboss.org/browse/ISPN-3494
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Lucene Directory
> Affects Versions: 6.0.0.Alpha4
> Reporter: Anna Manukyan
> Assignee: Sanne Grinovero
> Labels: testsuite_stability
>
> The test org.infinispan.lucene.cachestore.CacheLoaderAPITest.testLoadAllKeysWithChunkExclusion almost always fails during the run on all environments/jdks (Windows, Solaris, RHEL - Oracle JDK 1.7, Open JDK 1.7, IBM JDK 1.7).
> The error is:
> {code}
> java.lang.AssertionError: expected:<false> but was:<true>
> 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:185)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:192)
> at org.infinispan.lucene.cachestore.CacheLoaderAPITest.checkIfExists(CacheLoaderAPITest.java:331)
> at org.infinispan.lucene.cachestore.CacheLoaderAPITest.testLoadAllKeysWithChunkExclusion(CacheLoaderAPITest.java:276)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
> 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:334)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:724)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (ISPN-3494) org.infinispan.lucene.cachestore.CacheLoaderAPITest.testLoadAllKeysWithChunkExclusion test fails periodically
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/ISPN-3494?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero commented on ISPN-3494:
---------------------------------------
Apparently this test was run more than 2300 times and never failed on CI: http://ci.infinispan.org/project.html?projectId=Infinispan&testNameId=-29...
I guess the issue is outdated
> org.infinispan.lucene.cachestore.CacheLoaderAPITest.testLoadAllKeysWithChunkExclusion test fails periodically
> -------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-3494
> URL: https://issues.jboss.org/browse/ISPN-3494
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Lucene Directory
> Affects Versions: 6.0.0.Alpha4
> Reporter: Anna Manukyan
> Assignee: Sanne Grinovero
> Labels: testsuite_stability
>
> The test org.infinispan.lucene.cachestore.CacheLoaderAPITest.testLoadAllKeysWithChunkExclusion almost always fails during the run on all environments/jdks (Windows, Solaris, RHEL - Oracle JDK 1.7, Open JDK 1.7, IBM JDK 1.7).
> The error is:
> {code}
> java.lang.AssertionError: expected:<false> but was:<true>
> 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:185)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:192)
> at org.infinispan.lucene.cachestore.CacheLoaderAPITest.checkIfExists(CacheLoaderAPITest.java:331)
> at org.infinispan.lucene.cachestore.CacheLoaderAPITest.testLoadAllKeysWithChunkExclusion(CacheLoaderAPITest.java:276)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
> 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:334)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:724)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (ISPN-3329) DatabaseStoredIndexTest.indexWasStored random failures
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/ISPN-3329?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero updated ISPN-3329:
----------------------------------
Fix Version/s: 7.0.0.Beta1
> DatabaseStoredIndexTest.indexWasStored random failures
> ------------------------------------------------------
>
> Key: ISPN-3329
> URL: https://issues.jboss.org/browse/ISPN-3329
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Lucene Directory
> Affects Versions: 6.0.0.Alpha1
> Reporter: Dan Berindei
> Assignee: Sanne Grinovero
> Labels: testsuite_stability
> Fix For: 7.0.0.Beta1
>
>
> The test fails quite often with an assertion error like this:
> {noformat}
> java.lang.AssertionError:
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24)
> at org.testng.AssertJUnit.assertFalse(AssertJUnit.java:41)
> at org.testng.AssertJUnit.assertFalse(AssertJUnit.java:49)
> at org.infinispan.lucene.DatabaseStoredIndexTest.indexWasStored(DatabaseStoredIndexTest.java:111)
> ------- Stdout: -------
> Failure on key[_0.nrm|0|16384|testing index] expected value:
> ByteArray{size=6, array=0x4e524dff7c79..} actual value:
> null
> {noformat}
> See http://ci.infinispan.org/project.html?projectId=Infinispan&tab=testDetail...
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months