You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Mariia Mykhailova (JIRA)" <ji...@apache.org> on 2016/09/27 22:36:20 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=15527616#comment-15527616 ] 

Mariia Mykhailova commented on REEF-1473:
-----------------------------------------

I haven't seen this error for the past two months. 

One thing we could do is to add check {{strStatus}} for null before {{Assert.True(strStatus.Equals("..."));}}, so that if the failure reappears, we have an explicit report of the cause.

> 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
>
> {{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.4#6332)