[
https://issues.apache.org/jira/browse/IGNITE-10891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitriy Govorukhin updated IGNITE-10891:
----------------------------------------
Description:
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 is not
done. We can got IgniteInterruptedException
[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}
was:
The main problem test suggests none exception will be throw until reads and
interrupt threads, but there are case
[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}
> 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
>
> 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 is not
> done. We can got IgniteInterruptedException
>
> [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)