Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
VincentBu opened this issue Apr 30, 2021 · 7 comments
Labels
arch-arm64 area-System.Net.Http os-mac-os-x macOS aka OSX test-run-core Test failures in .NET Core test runs
Milestone

Comments

@VincentBu
Copy link
Contributor

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
@ghost
Copy link

ghost commented Apr 30, 2021

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

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
Author: VincentBu
Assignees: -
Labels:

arch-arm64, area-System.Net.Http, os-mac-os-x

Milestone: -

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Apr 30, 2021
@karelz karelz added test-run-core Test failures in .NET Core test runs and removed untriaged New issue has not been triaged by the area owner labels May 4, 2021
@karelz karelz added this to the 6.0.0 milestone May 4, 2021
@karelz
Copy link
Member

karelz commented May 10, 2021

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.

@karelz karelz modified the milestones: 6.0.0, Future May 10, 2021
@karelz
Copy link
Member

karelz commented May 13, 2021

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

@VincentBu

This comment has been minimized.

@VincentBu

This comment has been minimized.

@VincentBu
Copy link
Contributor Author

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

@ManickaP
Copy link
Member

Doesn't fail anymore.

@karelz karelz modified the milestones: Future, 9.0.0 Oct 11, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Nov 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 area-System.Net.Http os-mac-os-x macOS aka OSX test-run-core Test failures in .NET Core test runs
Projects
None yet
Development

No branches or pull requests

3 participants