[JBoss JIRA] (ISPN-2519) Test org.infinispan.loaders.decorators.BatchAsyncCacheStoreTest.indexWasStored fails randomly
by Anna Manukyan (JIRA)
[ https://issues.jboss.org/browse/ISPN-2519?page=com.atlassian.jira.plugin.... ]
Anna Manukyan edited comment on ISPN-2519 at 3/5/13 9:29 AM:
-------------------------------------------------------------
Hmmm, interesting - I run the job for all environments and the tests doesn't fail at all. 10 pass from 10.
But I run the tests on my local too, and they are randomly failing with assertion error:
{code}
2013-03-05 15:23:27,619 WARN [AsyncStore] (main) ISPN000142: The async store shutdown timeout (25000 ms) is too high compared to cache stop timeout (1000 ms), so instead using 900 ms for async store stop wait
2013-03-05 15:23:27,626 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k3' expected value: 'V1992' actual value: 'null'
2013-03-05 15:23:27,626 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k11' expected value: 'V1987' actual value: 'V1805'
2013-03-05 15:23:27,626 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k4' expected value: 'V1993' actual value: 'null'
2013-03-05 15:23:27,627 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k5' expected value: 'V1994' actual value: 'null'
2013-03-05 15:23:27,627 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k6' expected value: 'V1995' actual value: 'null'
2013-03-05 15:23:27,627 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k7' expected value: 'V1996' actual value: 'null'
2013-03-05 15:23:27,627 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k8' expected value: 'V1997' actual value: 'null'
2013-03-05 15:23:27,627 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k9' expected value: 'V1998' actual value: 'null'
2013-03-05 15:23:27,628 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k0' expected value: 'V1989' actual value: 'null'
2013-03-05 15:23:27,628 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k1' expected value: 'V1990' actual value: 'null'
2013-03-05 15:23:27,628 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k2' expected value: 'V1991' actual value: 'null'
java.lang.AssertionError: expected [false] but found [true]
at org.testng.Assert.fail(Assert.java:89)
at org.testng.Assert.failNotEquals(Assert.java:489)
at org.testng.Assert.assertFalse(Assert.java:58)
at org.testng.Assert.assertFalse(Assert.java:68)
at org.infinispan.loaders.decorators.BatchAsyncCacheStoreTest.indexWasStored(BatchAsyncCacheStoreTest.java:114)
{code}
was (Author: amanukyan):
Hmmm, interesting - I run the job for all environments and the tests doesn't fail at all. 10 pass from 10.
But I run the tests on my local too, and they are randomly failing but with another error:
{code}
2013-03-05 15:23:27,619 WARN [AsyncStore] (main) ISPN000142: The async store shutdown timeout (25000 ms) is too high compared to cache stop timeout (1000 ms), so instead using 900 ms for async store stop wait
2013-03-05 15:23:27,626 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k3' expected value: 'V1992' actual value: 'null'
2013-03-05 15:23:27,626 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k11' expected value: 'V1987' actual value: 'V1805'
2013-03-05 15:23:27,626 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k4' expected value: 'V1993' actual value: 'null'
2013-03-05 15:23:27,627 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k5' expected value: 'V1994' actual value: 'null'
2013-03-05 15:23:27,627 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k6' expected value: 'V1995' actual value: 'null'
2013-03-05 15:23:27,627 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k7' expected value: 'V1996' actual value: 'null'
2013-03-05 15:23:27,627 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k8' expected value: 'V1997' actual value: 'null'
2013-03-05 15:23:27,627 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k9' expected value: 'V1998' actual value: 'null'
2013-03-05 15:23:27,628 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k0' expected value: 'V1989' actual value: 'null'
2013-03-05 15:23:27,628 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k1' expected value: 'V1990' actual value: 'null'
2013-03-05 15:23:27,628 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k2' expected value: 'V1991' actual value: 'null'
java.lang.AssertionError: expected [false] but found [true]
at org.testng.Assert.fail(Assert.java:89)
at org.testng.Assert.failNotEquals(Assert.java:489)
at org.testng.Assert.assertFalse(Assert.java:58)
at org.testng.Assert.assertFalse(Assert.java:68)
at org.infinispan.loaders.decorators.BatchAsyncCacheStoreTest.indexWasStored(BatchAsyncCacheStoreTest.java:114)
{code}
> Test org.infinispan.loaders.decorators.BatchAsyncCacheStoreTest.indexWasStored fails randomly
> ---------------------------------------------------------------------------------------------
>
> Key: ISPN-2519
> URL: https://issues.jboss.org/browse/ISPN-2519
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Reporter: Anna Manukyan
> Assignee: Mircea Markus
> Labels: testsuite_stability
> Fix For: 5.3.0.Alpha1
>
> Attachments: trace-infinispan.log.gz
>
>
> The failure takes place in case of running testsuit for JDG.
> Failure log:
> https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EDG6/view/EDG-REPOR...
> Another failure:
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-ispn-testsuite...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 10 months
[JBoss JIRA] (ISPN-2889) AbstractIterator shouldn't allocate a larger result array than is necessary
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/ISPN-2889?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero commented on ISPN-2889:
---------------------------------------
Very good idea.
> AbstractIterator shouldn't allocate a larger result array than is necessary
> ---------------------------------------------------------------------------
>
> Key: ISPN-2889
> URL: https://issues.jboss.org/browse/ISPN-2889
> Project: Infinispan
> Issue Type: Enhancement
> Components: Querying
> Reporter: Marko Lukša
> Assignee: Marko Lukša
> Fix For: 5.3.0.Alpha1
>
>
> Currently {{AbstractIterator}} (superclass of LazyIterator and EagerIterator) always allocates an {{Object[]}} array of size {{fetchSize}}, even when the actual number of results is smaller than {{fetchSize}}.
> This is especially problematic when the user wants to fetch all the results at once (by setting fetchSize to a very large number such as Integer.MAX_VALUE). This results in an OutOfMemoryError: Requested array size exceeds VM limit.
> Since the number of results is known up-front, {{AbstractIterator}} can allocate a smaller array.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 10 months
[JBoss JIRA] (ISPN-2889) AbstractIterator shouldn't allocate a larger result array than is necessary
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/ISPN-2889?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero updated ISPN-2889:
----------------------------------
Fix Version/s: 5.3.0.Alpha1
> AbstractIterator shouldn't allocate a larger result array than is necessary
> ---------------------------------------------------------------------------
>
> Key: ISPN-2889
> URL: https://issues.jboss.org/browse/ISPN-2889
> Project: Infinispan
> Issue Type: Enhancement
> Components: Querying
> Reporter: Marko Lukša
> Assignee: Marko Lukša
> Fix For: 5.3.0.Alpha1
>
>
> Currently {{AbstractIterator}} (superclass of LazyIterator and EagerIterator) always allocates an {{Object[]}} array of size {{fetchSize}}, even when the actual number of results is smaller than {{fetchSize}}.
> This is especially problematic when the user wants to fetch all the results at once (by setting fetchSize to a very large number such as Integer.MAX_VALUE). This results in an OutOfMemoryError: Requested array size exceeds VM limit.
> Since the number of results is known up-front, {{AbstractIterator}} can allocate a smaller array.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 10 months
[JBoss JIRA] (ISPN-2890) Make Infinispan to compile with IBM JDK 1.6
by Radoslav Husar (JIRA)
Radoslav Husar created ISPN-2890:
------------------------------------
Summary: Make Infinispan to compile with IBM JDK 1.6
Key: ISPN-2890
URL: https://issues.jboss.org/browse/ISPN-2890
Project: Infinispan
Issue Type: Feature Request
Components: Build process
Affects Versions: 5.2.0.CR3
Reporter: Radoslav Husar
Assignee: Mircea Markus
Richard would be happy to have this fixed:
https://bugzilla.redhat.com/show_bug.cgi?id=908338
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project infinispan-core: Compilation failure: Compilation failure:
[ERROR] /qa/hudson_ws/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL5_x86_64/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[48,40] incompatible types
[ERROR] found : org.infinispan.jmx.annotations.DataType
[ERROR] required: org.infinispan.jmx.annotations.DataType
[ERROR] /qa/hudson_ws/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL5_x86_64/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[50,49] incompatible types
[ERROR] found : org.infinispan.jmx.annotations.DisplayType
[ERROR] required: org.infinispan.jmx.annotations.DisplayType
[ERROR] /qa/hudson_ws/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL5_x86_64/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[52,61] incompatible types
[ERROR] found : org.infinispan.jmx.annotations.MeasurementType
[ERROR] required: org.infinispan.jmx.annotations.MeasurementType
[ERROR] /qa/hudson_ws/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL5_x86_64/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[54,31] incompatible types
[ERROR] found : org.infinispan.jmx.annotations.Units
[ERROR] required: org.infinispan.jmx.annotations.Units
[ERROR] /qa/hudson_ws/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL5_x86_64/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[48,40] incompatible types
[ERROR] found : org.infinispan.jmx.annotations.DataType
[ERROR] required: org.infinispan.jmx.annotations.DataType
[ERROR] /qa/hudson_ws/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL5_x86_64/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[50,49] incompatible types
[ERROR] found : org.infinispan.jmx.annotations.DisplayType
[ERROR] required: org.infinispan.jmx.annotations.DisplayType
[ERROR] /qa/hudson_ws/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL5_x86_64/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[52,61] incompatible types
[ERROR] found : org.infinispan.jmx.annotations.MeasurementType
[ERROR] required: org.infinispan.jmx.annotations.MeasurementType
[ERROR] /qa/hudson_ws/workspace/eap-6x-infinispan-rhel-ibm16-matrix/jdk/ibm16/label/RHEL5_x86_64/Infinispan/core/src/main/java/org/infinispan/jmx/annotations/ManagedAttribute.java:[54,31] incompatible types
[ERROR] found : org.infinispan.jmx.annotations.Units
[ERROR] required: org.infinispan.jmx.annotations.Units
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :infinispan-core
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 10 months
[JBoss JIRA] (ISPN-2519) Test org.infinispan.loaders.decorators.BatchAsyncCacheStoreTest.indexWasStored fails randomly
by Anna Manukyan (JIRA)
[ https://issues.jboss.org/browse/ISPN-2519?page=com.atlassian.jira.plugin.... ]
Anna Manukyan commented on ISPN-2519:
-------------------------------------
Hmmm, interesting - I run the job for all environments and the tests doesn't fail at all. 10 pass from 10.
But I run the tests on my local too, and they are randomly failing but with another error:
{code}
2013-03-05 15:23:27,619 WARN [AsyncStore] (main) ISPN000142: The async store shutdown timeout (25000 ms) is too high compared to cache stop timeout (1000 ms), so instead using 900 ms for async store stop wait
2013-03-05 15:23:27,626 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k3' expected value: 'V1992' actual value: 'null'
2013-03-05 15:23:27,626 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k11' expected value: 'V1987' actual value: 'V1805'
2013-03-05 15:23:27,626 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k4' expected value: 'V1993' actual value: 'null'
2013-03-05 15:23:27,627 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k5' expected value: 'V1994' actual value: 'null'
2013-03-05 15:23:27,627 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k6' expected value: 'V1995' actual value: 'null'
2013-03-05 15:23:27,627 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k7' expected value: 'V1996' actual value: 'null'
2013-03-05 15:23:27,627 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k8' expected value: 'V1997' actual value: 'null'
2013-03-05 15:23:27,627 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k9' expected value: 'V1998' actual value: 'null'
2013-03-05 15:23:27,628 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k0' expected value: 'V1989' actual value: 'null'
2013-03-05 15:23:27,628 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k1' expected value: 'V1990' actual value: 'null'
2013-03-05 15:23:27,628 ERROR [BatchAsyncCacheStoreTest] (main) Failure on key 'k2' expected value: 'V1991' actual value: 'null'
java.lang.AssertionError: expected [false] but found [true]
at org.testng.Assert.fail(Assert.java:89)
at org.testng.Assert.failNotEquals(Assert.java:489)
at org.testng.Assert.assertFalse(Assert.java:58)
at org.testng.Assert.assertFalse(Assert.java:68)
at org.infinispan.loaders.decorators.BatchAsyncCacheStoreTest.indexWasStored(BatchAsyncCacheStoreTest.java:114)
{code}
> Test org.infinispan.loaders.decorators.BatchAsyncCacheStoreTest.indexWasStored fails randomly
> ---------------------------------------------------------------------------------------------
>
> Key: ISPN-2519
> URL: https://issues.jboss.org/browse/ISPN-2519
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Reporter: Anna Manukyan
> Assignee: Mircea Markus
> Labels: testsuite_stability
> Fix For: 5.3.0.Alpha1
>
> Attachments: trace-infinispan.log.gz
>
>
> The failure takes place in case of running testsuit for JDG.
> Failure log:
> https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EDG6/view/EDG-REPOR...
> Another failure:
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-ispn-testsuite...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 10 months
[JBoss JIRA] (ISPN-2889) AbstractIterator shouldn't allocate a larger result array than is necessary
by Marko Lukša (JIRA)
Marko Lukša created ISPN-2889:
---------------------------------
Summary: AbstractIterator shouldn't allocate a larger result array than is necessary
Key: ISPN-2889
URL: https://issues.jboss.org/browse/ISPN-2889
Project: Infinispan
Issue Type: Enhancement
Components: Querying
Reporter: Marko Lukša
Assignee: Marko Lukša
Currently {{AbstractIterator}} (superclass of LazyIterator and EagerIterator) always allocates an {{Object[]}} array of size {{fetchSize}}, even when the actual number of results is smaller than {{fetchSize}}.
This is especially problematic when the user wants to fetch all the results at once (by setting fetchSize to a very large number such as Integer.MAX_VALUE). This results in an OutOfMemoryError: Requested array size exceeds VM limit.
Since the number of results is known up-front, {{AbstractIterator}} can allocate a smaller array.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 10 months