Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-1462 Fix transient test failures in .NET
  3. REEF-1473

Fix CanRunClrBridgeExampleOnLocalRuntime failures in AppVeyor

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.16
    • REEF.NET
    • None

    Description

      O.A.R.Tests.Functional.Bridge.TestBridgeClient.CanRunClrBridgeExampleOnLocalRuntime fails sometimes in AppVeyor runs (example). The error is

      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
      

      Looks like strStatus can be null sometimes due to some await problem.

      Attachments

        Activity

          People

            juliaw Julia Wang
            MariiaMykhailova Mariia Mykhailova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: