reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julia (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (REEF-1804) TestFailMapperEvaluatorsWithFailedResultHandlerOnDispose test fails in AppVeyor
Date Thu, 01 Jun 2017 03:20:04 GMT

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

Julia commented on REEF-1804:
-----------------------------

In TaskRuntime, we SetResult back to driver first, then throw exception that is caused by
Dispose in this test. 

There are two possibilities:

Update task is enforced to be closed by driver caused by other two failed elevators. TaskRuntime.Close()
will throw exception, and Failed Evaluator event will be received by driver. In this case,
there is only one event from Updatetask. 

If the task is completed before receiving closed event from driver, returnResultToDriver will
be not null. SetResult will trigger heart beat and CompletedTask event will be received by
driver. Then as exceptionThrownByTaskDispose is not null, another event will be sent to driver.
In this case, driver will receive both CompltedTask and FailedEvaluator events from the same
task. That is why we see 10 events but there are only 9 tasks in total. 

> TestFailMapperEvaluatorsWithFailedResultHandlerOnDispose test fails in AppVeyor
> -------------------------------------------------------------------------------
>
>                 Key: REEF-1804
>                 URL: https://issues.apache.org/jira/browse/REEF-1804
>             Project: REEF
>          Issue Type: Bug
>            Reporter: Mariia Mykhailova
>
> {{TestFailMapperEvaluatorsWithFailedResultHandlerOnDispose.TestFailedMapperOnLocalRuntime}}
fails in AppVeyor very frequently (around 9 runs out of 10). 
> {noformat}
> Assert.Equal() Failure
> Expected: 9
> Actual:   10
> {noformat}
> I suspect the culprit is REEF-1778, since this change does modify behavior of task disposal,
and the test started failing around that time.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message