Skip to content

Test failure System.Net.Http.Functional.Tests.TelemetryTest_Http11.EventSource_UnsuccessfulRequest_LogsStartFailedStop #52095

Closed

Description

@VincentBu

Run: runtime-libraries-coreclr outerloop 20210429.4

Failed tests:

net6.0-OSX-Release-arm64-CoreCLR_release-OSX.1100.ARM64.Open
 -System.Net.Http.Functional.Tests.TelemetryTest_Http11.EventSource_UnsuccessfulRequest_LogsStartFailedStop(testMethod: \"UnbufferedSendAsync\")
 -System.Net.Http.Functional.Tests.TelemetryTest_Http11.EventSource_UnsuccessfulRequest_LogsStartFailedStop(testMethod: \"SendAsync\")

Error message:

Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Remote process failed with an unhandled exception.


Stack trace

Child exception:
  System.NullReferenceException: Object reference not set to an instance of an object.
   at System.SZArrayHelper.CopyTo[T](T[] array, Int32 index) in /_/src/coreclr/System.Private.CoreLib/src/System/Array.CoreCLR.cs:line 477
   at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source) in /_/src/libraries/Common/src/System/Collections/Generic/EnumerableHelpers.Linq.cs:line 70
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) in /_/src/libraries/System.Linq/src/System/Linq/ToCollection.cs:line 17
   at System.Net.Http.Functional.Tests.TelemetryTest.ValidateStartFailedStopEvents(ConcurrentQueue`1 events, Boolean shouldHaveFailures, Int32 count) in /_/src/libraries/System.Net.Http/tests/FunctionalTests/TelemetryTest.cs:line 412
   at System.Net.Http.Functional.Tests.TelemetryTest.<>c.<<EventSource_UnsuccessfulRequest_LogsStartFailedStop>b__4_0>d.MoveNext() in /_/src/libraries/System.Net.Http/tests/FunctionalTests/TelemetryTest.cs:line 286
--- End of stack trace from previous location ---
   at Microsoft.DotNet.RemoteExecutor.Program.Main(String[] args) in /_/src/Microsoft.DotNet.RemoteExecutor/src/Program.cs:line 65

Child process:
  System.Net.Http.Functional.Tests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 System.Net.Http.Functional.Tests.TelemetryTest+<>c System.Threading.Tasks.Task <EventSource_UnsuccessfulRequest_LogsStartFailedStop>b__4_0(System.String, System.String)

Child arguments:
  1.1, SendAsync

Activity

  1. ghost added
    untriaged
    on Apr 30, 2021
  2. added
    test-run-core
    and removed
    untriaged
    on May 4, 2021
  3. added this to the 6.0.0 milestone on May 4, 2021
  4. karelz commented on May 10, 2021

    @karelz
    Member

    Test failures 2/23-5/10:
    9x in official run on OSX.1100.ARM64.Open only:

    • 4/29 - 2x
    • 5/1
    • 5/2
    • 5/3
    • 5/4 - 2x
    • 5/5 - 2x

    @sdmaclea this seems to be OSX arm64 related.
    Moving to Future, waiting for the platform to be more stable.

  5. modified the milestones: 6.0.0, Future on May 10, 2021
  6. karelz commented on May 13, 2021

    @karelz
    Member

    Test failures 2/23-5/10:

    Also affects other similar tests (same NullReferenceException on arm64 OSX.11):

    • System.Net.Http.Functional.Tests.TelemetryTest_Http11
      • EventSource_SendingRequestContent_LogsRequestContentStartStop - 1x
    • System.Net.Sockets.Tests.TelemetryTest:
      • EventSource_SocketConnectsLoopback_LogsConnectAcceptStartStop - 1x official run + 2x PR Improve Http Telemetry tests #50226
      • EventSource_SocketConnectsRemote_LogsConnectStartStop - 5x
      • EventSource_ConnectAsyncCanceled_LogsConnectFailed - 3x
      • EventSource_SocketAcceptFailure_LogsAcceptFailed - 1x
  7. VincentBu commented on Jun 21, 2021

    @VincentBu
    Author
  8. VincentBu commented on Jul 5, 2021

    @VincentBu
    Author
  9. VincentBu commented on Jul 19, 2021

    @VincentBu
    ContributorAuthor

    Failed again in runtime-libraries-coreclr outerloop 20210718.3
    Failed test:

    net6.0-Linux-Release-x64-CoreCLR_release-(Alpine.312.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.12-helix-20200601195603-e06dc59
    
    - System.Buffers.ArrayPool.Tests.CollectionTests.BuffersAreCollectedWhenStale(trim: True)
    - System.Buffers.ArrayPool.Tests.CollectionTests.BuffersAreCollectedWhenStale(trim: False)
    
    net6.0-windows-Release-x86-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open
    
    - System.Buffers.ArrayPool.Tests.CollectionTests.BuffersAreCollectedWhenStale(trim: False)
    - System.Buffers.ArrayPool.Tests.CollectionTests.BuffersAreCollectedWhenStale(trim: True)
    
    net6.0-windows-Release-x86-CoreCLR_release-Windows.10.Amd64.Server19H1.Open
    
    - System.Buffers.ArrayPool.Tests.CollectionTests.BuffersAreCollectedWhenStale(trim: True)
    - System.Buffers.ArrayPool.Tests.CollectionTests.BuffersAreCollectedWhenStale(trim: False)
    
    net6.0-OSX-Release-arm64-CoreCLR_release-OSX.1100.ARM64.Open
    
    - System.Buffers.ArrayPool.Tests.CollectionTests.BuffersAreCollectedWhenStale(trim: False)
    - System.Buffers.ArrayPool.Tests.CollectionTests.BuffersAreCollectedWhenStale(trim: True)
    
    net6.0-Linux-Release-arm64-CoreCLR_release-(Ubuntu.1804.ArmArch.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-16.04-helix-arm64v8-20210106155927-56c6673
    
    - System.Buffers.ArrayPool.Tests.CollectionTests.BuffersAreCollectedWhenStale(trim: True)
    - System.Buffers.ArrayPool.Tests.CollectionTests.BuffersAreCollectedWhenStale(trim: False)
    

    One of error message:

    Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Remote process failed with an unhandled exception.
    
    
    Stack trace
    
    Child exception:
      System.NullReferenceException: Object reference not set to an instance of an object.
       at System.Buffers.ArrayPool.Tests.CollectionTests.ValidateTrimState(Object pool, String trimString) in /_/src/libraries/System.Buffers/tests/ArrayPool/CollectionTests.cs:line 140
       at System.Buffers.ArrayPool.Tests.CollectionTests.<>c.<BuffersAreCollectedWhenStale>b__0_0(String trimString) in /_/src/libraries/System.Buffers/tests/ArrayPool/CollectionTests.cs:line 26
    
    Child process:
      System.Buffers.Tests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 System.Buffers.ArrayPool.Tests.CollectionTests+<>c Void <BuffersAreCollectedWhenStale>b__0_0(System.String)
    
    Child arguments:
      False
    
  10. ManickaP commented on Sep 20, 2023

    @ManickaP
    Member

    Doesn't fail anymore.

  11. modified the milestones: Future, 9.0.0 on Oct 11, 2023
  12. ghost locked as resolved and limited conversation to collaborators on Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-arm64area-System.Net.Httpos-macostest-run-core

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions