[
https://issues.apache.org/jira/browse/IGNITE-10891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16740621#comment-16740621
]
Ignite TC Bot commented on IGNITE-10891:
----------------------------------------
{panel:title=--> Run :: All: No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
[TeamCity *--> Run :: All*
Results|https://ci.ignite.apache.org/viewLog.html?buildId=2771736&buildTypeId=IgniteTests24Java8_RunAll]
> IgnitePdsThreadInterruptionTest.testInterruptsOnLFSRead flaky in PDS indexing
> -----------------------------------------------------------------------------
>
> Key: IGNITE-10891
> URL: https://issues.apache.org/jira/browse/IGNITE-10891
> Project: Ignite
> Issue Type: Bug
> Reporter: Dmitriy Govorukhin
> Assignee: Dmitriy Govorukhin
> Priority: Major
> Labels: MakeTeamcityGreenAgain
> Fix For: 2.8
>
>
> The main problem in the test. The test suggests none exception will be thrown
> during reads and interrupt threads, but oh there is a case when this
> condition is not met. We can get IgniteInterruptedException
> GridCacheAdapter.asyncOpsSem during reads if current thread was interrupted
> before asyncOpsSem.acquire();
>
> [TC link to test
> history|https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=4074948011040554273&tab=testDetails&branch_IgniteTests24Java8=%3Cdefault%3E]
> {code:java}
> [2019-01-10 22:46:23,224][ERROR][main][root] Test failed.
> junit.framework.AssertionFailedError: Expected: <null> but was:
> javax.cache.CacheException: class
> org.apache.ignite.IgniteInterruptedException: Failed to wait for asynchronous
> operation permit (thread got interrupted).
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.Assert.assertTrue(Assert.java:22)
> at junit.framework.Assert.assertNull(Assert.java:277)
> at junit.framework.Assert.assertNull(Assert.java:268)
> at
> org.apache.ignite.internal.processors.cache.persistence.db.file.IgnitePdsThreadInterruptionTest.testInterruptsOnLFSRead(IgnitePdsThreadInterruptionTest.java:170)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at
> org.apache.ignite.testframework.junits.GridAbstractTest$6.run(GridAbstractTest.java:2088)
> at java.lang.Thread.run(Thread.java:748)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)