Bug 1193558 - org.infinispan.iteration.ReplicatedEntryRetrieverEvictionTest.testExpiredEntryNotReturned failing (96% succ rate)
Summary: org.infinispan.iteration.ReplicatedEntryRetrieverEvictionTest.testExpiredEntr...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: TestSuite
Version: 6.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: DR3
: 6.5.0
Assignee: William Burns
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-17 15:27 UTC by Tomas Sykora
Modified: 2015-06-23 12:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-23 12:24:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-5028 0 Blocker Resolved BaseEntryRetrieverEvictionTest.testExpiredEntryNotReturned random failures 2015-02-17 15:51:13 UTC

Description Tomas Sykora 2015-02-17 15:27:33 UTC
Hard to spot this tricky one:


Error Message

expected:<{0=0 stay in cache, 1=1 stay in cache, 2=2 stay in cache, 3=3 stay in cache, 4=4 stay in cache}> but was:<{0=0 stay in cache, 1=1 stay in cache, 2=2 stay in cache, expired=this shouldn't be returned, 3=3 stay in cache, 4=4 stay in cache}>

Stacktrace

java.lang.AssertionError: expected:<{0=0 stay in cache, 1=1 stay in cache, 2=2 stay in cache, 3=3 stay in cache, 4=4 stay in cache}> but was:<{0=0 stay in cache, 1=1 stay in cache, 2=2 stay in cache, expired=this shouldn't be returned, 3=3 stay in cache, 4=4 stay in cache}>
	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:88)
	at org.infinispan.iteration.BaseEntryRetrieverEvictionTest.testExpiredEntryNotReturned(BaseEntryRetrieverEvictionTest.java:60)
	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: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: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.run(FutureTask.java:262)
	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:745)

Standard Output

[testng-ReplicatedEntryRetrieverEvictionTest] Test testExpiredEntryNotReturned(org.infinispan.iteration.ReplicatedEntryRetrieverEvictionTest) failed.
Test suite progress: tests succeeded: 4720, failed: 4, skipped: 0.


http://10.3.10.33:8081/job/JDG_6_5_x_Pull_Requests/552/testReport/junit/org.infinispan.iteration/ReplicatedEntryRetrieverEvictionTest/testExpiredEntryNotReturned/ (will be old soon probably)

Contact tsykora for current info about occurrence ratio.

Comment 1 Tomas Sykora 2015-02-17 15:28:54 UTC
Assigning to the author according to Sebastian's work flow.

Comment 3 William Burns 2015-02-17 15:51:13 UTC
This was fixed in ISPN-5028, it just needs to be ported to JDG.

Comment 4 Sebastian Łaskawiec 2015-02-19 08:41:07 UTC
Test ignored by PR: https://github.com/infinispan/jdg/pull/506

Comment 5 William Burns 2015-02-19 11:35:44 UTC
PR containing cherry-pick is https://github.com/infinispan/jdg/pull/507

Comment 6 Tomas Sykora 2015-02-19 11:58:43 UTC
We also need to make sure we unignore the test.

We are in the "strange" phase when we have a PR with test quarantine and additionally a PR with PR for some of them (like this one).

Comment 7 Sebastian Łaskawiec 2015-02-23 07:52:57 UTC
PR: https://github.com/infinispan/jdg/pull/507

Comment 8 Tomas Sykora 2015-03-09 15:48:29 UTC
190 consequtive local (one test isolated) runs OK.

Marking now as verified. However, this test might cause troubles on slower
environments or when run with full testsuite.

When you spot it, feel free to reopen and we will dig deeper.


Note You need to log in before you can comment on or make changes to this bug.