Bug 847158
| Summary: | Test org.infinispan.loaders.decorators.BatchAsyncCacheStoreTest.indexWasStored fails randomly | |||
|---|---|---|---|---|
| Product: | [JBoss] JBoss Data Grid 6 | Reporter: | Anna Manukyan <amanukya> | |
| Component: | Infinispan | Assignee: | Tristan Tarrant <ttarrant> | |
| Status: | CLOSED UPSTREAM | QA Contact: | Martin Gencur <mgencur> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.0.1 | CC: | jdg-bugs | |
| Target Milestone: | ER12 | |||
| Target Release: | 6.1.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 987466 (view as bug list) | Environment: | ||
| Last Closed: | 2025-02-10 03:20:29 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 987466 | |||
|
Description
Anna Manukyan
2012-08-09 22:37:40 UTC
This link is the same as the above, except it is persistent (build number instead of lastCompletedBuild specified): https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EDG6/view/EDG-REPORTS-FUNC/job/edg-60-ispn-testsuite-rhel/jdk=openjdk-1.7.0-local,label=RHEL6_x86_64/18/testReport/junit/org.infinispan.loaders.decorators/BatchAsyncCacheStoreTest/indexWasStored/ ttarrant will add jira links as appropriate. Sanne Grinovero <sanne.grinovero> made a comment on jira ISPN-2519 links to failure logs are reporting me a 404 server error :-( amanukya reports the issue hasn't happened recently, so it might be safe to assume it is resolved This bug doesn't appear anymore. Was verified for JDG 6.1.0.ER12 build. Anna Manukyan <amanukya> updated the status of jira ISPN-2519 to Resolved Anna Manukyan <amanukya> made a comment on jira ISPN-2519 This issue doesn't appear any more. Pedro Ruivo <pedroruivo2> updated the status of jira ISPN-2519 to Reopened Pedro Ruivo <pedroruivo2> made a comment on jira ISPN-2519 the fail still occurs in my laptop Pedro Ruivo <pedroruivo2> made a comment on jira ISPN-2519 trace log of the test... Pedro Ruivo <pedroruivo2> made a comment on jira ISPN-2519 trace log of the test... It looks like it has not enough time to write the data in the disk. In the previous test I have errors like: {code} ISPN000063: Exception while saving bucket Bucket{entries={k3=ImmortalCacheEntry{key=k3, value=ImmortalCacheValue {value=V1992}}, k4=ImmortalCacheEntry{key=k4, value=ImmortalCacheValue {value=V1993}}, k5=ImmortalCacheEntry{key=k5, value=ImmortalCacheValue {value=V1851}}, k6=ImmortalCacheEntry{key=k6, value=ImmortalCacheValue {value=V1852}}, k7=ImmortalCacheEntry{key=k7, value=ImmortalCacheValue {value=V1996}}, k8=ImmortalCacheEntry{key=k8, value=ImmortalCacheValue {value=V1854}}, k9=ImmortalCacheEntry{key=k9, value=ImmortalCacheValue {value=V1855}}, k0=ImmortalCacheEntry{key=k0, value=ImmortalCacheValue {value=V1989}}, k1=ImmortalCacheEntry{key=k1, value=ImmortalCacheValue {value=V1990}}, k2=ImmortalCacheEntry{key=k2, value=ImmortalCacheValue {value=V1991}}}, bucketId='3072'} java.nio.channels.ClosedChannelException {code} and in the test I have errors like: {code} Failure on key 'kXX' expected value: 'Vzzzz' actual value: 'Vyyyy' {code} Anna Manukyan <amanukya> made a comment on jira 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} Anna Manukyan <amanukya> made a comment on jira 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 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} Pedro Ruivo <pedroruivo2> made a comment on jira ISPN-2519 I found the problem: my hard drive is too slow. If I increase the cache stop timeout (eg. 30000ms) it passes the test. I'll close the JIRA again. Pedro Ruivo <pedroruivo2> updated the status of jira ISPN-2519 to Closed Anna Manukyan <amanukya> made a comment on jira ISPN-2519 Hi Pedro, exactly - I wanted to write to you about it. Anyway, I'll modify the test so that it waits until the data is stored in the cache before stopping for avoiding the failures. Regards, Anna. Sanne Grinovero <sanne.grinovero> made a comment on jira ISPN-2519 Passing the test should not rely on the speed of your disk: means we still need to fix the test. Sanne Grinovero <sanne.grinovero> made a comment on jira ISPN-2519 Anna, just saw you comment. +1000 Sanne Grinovero <sanne.grinovero> updated the status of jira ISPN-2519 to Reopened This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |