You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Julia (JIRA)" <ji...@apache.org> on 2017/03/18 01:56:41 UTC

[jira] [Commented] (REEF-1473) Fix CanRunClrBridgeExampleOnLocalRuntime failures in AppVeyor

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

Julia commented on REEF-1473:
-----------------------------

This test fails for the following possible time related reasons:
Didn't get driverUrl when trying to send request to http service The is because at the time it was trying to get driverurl, the driver url is not available yet. 
The Driver could be shut down when trying to send request to http service. This is because the code close the context right after receiving the completed task. 

Both cases will result in null in strStatus. 



> Fix CanRunClrBridgeExampleOnLocalRuntime failures in AppVeyor
> -------------------------------------------------------------
>
>                 Key: REEF-1473
>                 URL: https://issues.apache.org/jira/browse/REEF-1473
>             Project: REEF
>          Issue Type: Sub-task
>          Components: REEF.NET
>            Reporter: Mariia Mykhailova
>            Assignee: Julia
>
> {{O.A.R.Tests.Functional.Bridge.TestBridgeClient.CanRunClrBridgeExampleOnLocalRuntime}} fails sometimes in AppVeyor runs ([example|https://ci.appveyor.com/project/tcNickolas/reef/build/158-master/tests]). The error is 
> {noformat}
> Error message:
> System.NullReferenceException : Object reference not set to an instance of an object.
> Error stack trace:
>    at Org.Apache.REEF.Tests.Functional.Bridge.TestBridgeClient.<RunClrBridgeClient>d__3.MoveNext() in C:\projects\reef\lang\cs\Org.Apache.REEF.Tests\Functional\Bridge\TestBridgeClient.cs:line 60
> --- End of stack trace from previous location where exception was thrown ---
>    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
>    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
>    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
>    at Org.Apache.REEF.Tests.Functional.Bridge.TestBridgeClient.<CanRunClrBridgeExampleOnLocalRuntime>d__2.MoveNext() in C:\projects\reef\lang\cs\Org.Apache.REEF.Tests\Functional\Bridge\TestBridgeClient.cs:line 50
> {noformat}
> Looks like {{strStatus}} can be null sometimes due to some await problem.



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