ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Pereslegin (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-5973) [Test Failed] GridCacheAbstractDataStructuresFailoverSelfTest.testSemaphoreNonFailoverSafe
Date Fri, 08 Jun 2018 10:19:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505888#comment-16505888
] 

Pavel Pereslegin edited comment on IGNITE-5973 at 6/8/18 10:18 AM:
-------------------------------------------------------------------

Log output from TemCity:
{noformat}
class org.apache.ignite.IgniteInterruptedException: Got interrupted while waiting for future
to complete.
    at org.apache.ignite.internal.util.IgniteUtils$3.apply(IgniteUtils.java:829)
    at org.apache.ignite.internal.util.IgniteUtils$3.apply(IgniteUtils.java:827)
    at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:985)
    at org.apache.ignite.internal.processors.datastructures.GridCacheSemaphoreImpl.close(GridCacheSemaphoreImpl.java:969)
    at org.apache.ignite.internal.processors.cache.datastructures.GridCacheAbstractDataStructuresFailoverSelfTest.testSemaphoreNonFailoverSafe(GridCacheAbstractDataStructuresFailoverSelfTest.java:481)
    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 junit.framework.TestCase.runTest(TestCase.java:176)
    at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2086)
    at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:140)
    at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:2001)
    at java.lang.Thread.run(Thread.java:748)
{noformat}

In IGNITE-6005 was added ability to close datastructure on interrupted thread.
Retry of "close" operation was added in case of InterruptedException, but in some cases InterruptedException
does not thrown.
For example GridFutureAdapter#get0 checks interruption flag and throws IgniteInterruptedCheckedException.


was (Author: xtern):
In IGNITE-6005 was added ability to close datastructure on interrupted thread.
Retry of "close" operation was added in case of InterruptedException, but in some cases InterruptedException
does not thrown.
For example GridFutureAdapter#get0 checks interruption flag and throws IgniteInterruptedCheckedException.

> [Test Failed] GridCacheAbstractDataStructuresFailoverSelfTest.testSemaphoreNonFailoverSafe
> ------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-5973
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5973
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Eduard Shangareev
>            Assignee: Pavel Pereslegin
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain
>
> Success right is 93.3%. Fails locally.
> Example of failing - http://ci.ignite.apache.org/viewLog.html?buildId=757906&tab=buildResultsDiv&buildTypeId=Ignite20Tests_IgniteDataStrucutures#testNameId-979977708202725050



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message