Skip to content
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

Test failure:System.Diagnostics.Metrics.Tests.MetricEventSourceTests.EventSourcePublishesTimeSeriesWithMetadata #55315

Closed
VincentBu opened this issue Jul 8, 2021 · 3 comments · Fixed by #55385
Assignees
Labels
Milestone

Comments

@VincentBu
Copy link
Contributor

Run: runtime 20210707.124
Failed test:

net6.0-Linux-Release-arm64-CoreCLR_checked-(Alpine.312.Arm64.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.12-helix-arm64v8-20200602002604-25f8a3e

- System.Diagnostics.Metrics.Tests.MetricEventSourceTests.EventSourcePublishesTimeSeriesWithMetadata

Error message

Unexpected Error event: An error occurred when writing to a listener.
at System.Diagnostics.Tracing.EventSource.DispatchToAllListeners(EventWrittenEventArgs eventCallbackArgs) in //src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs:line 2126
at System.Diagnostics.Tracing.EventSource.WriteEventVarargs(Int32 eventId, Guid* childActivityID, Object[] args) in //src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs:line 1989
at System.Diagnostics.Tracing.EventSource.WriteEvent(Int32 eventId, Object[] args) in //src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs:line 1399
at System.Diagnostics.Metrics.MetricsEventSource.CollectionStop(String sessionId, DateTime intervalStartTime, DateTime intervalEndTime) in //src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/MetricsEventSource.cs:line 92
at System.Diagnostics.Metrics.MetricsEventSource.CommandHandler.<>c__DisplayClass2_0.<OnEventCommand>b__2(DateTime startIntervalTime, DateTime endIntervalTime) in //src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/MetricsEventSource.cs:line 299
at System.Diagnostics.Metrics.AggregationManager.CollectWorker(CancellationToken cancelToken) in //src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/AggregationManager.cs:line 196
Expected: True
Actual:   False


Stack trace
   at System.Diagnostics.Metrics.Tests.MetricsEventListener.AssertOnError() in /_/src/libraries/System.Diagnostics.DiagnosticSource/tests/MetricEventSourceTests.cs:line 1005
   at System.Diagnostics.Metrics.Tests.MetricsEventListener.GetCountCollectionStops() in /_/src/libraries/System.Diagnostics.DiagnosticSource/tests/MetricEventSourceTests.cs:line 1014
   at System.Diagnostics.Metrics.Tests.MetricsEventListener.WaitForCollectionStop(TimeSpan timeout, Int32 numStops) in /_/src/libraries/System.Diagnostics.DiagnosticSource/tests/MetricEventSourceTests.cs:line 937
   at System.Diagnostics.Metrics.Tests.MetricEventSourceTests.EventSourcePublishesTimeSeriesWithMetadata() in /_/src/libraries/System.Diagnostics.DiagnosticSource/tests/MetricEventSourceTests.cs:line 75
@VincentBu VincentBu added arch-arm64 os-linux Linux OS (any supported distro) labels Jul 8, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added area-System.Diagnostics.Tracing untriaged New issue has not been triaged by the area owner labels Jul 8, 2021
@ghost
Copy link

ghost commented Jul 8, 2021

Tagging subscribers to this area: @tarekgh, @tommcdon, @pjanotti
See info in area-owners.md if you want to be subscribed.

Issue Details

Run: runtime 20210707.124
Failed test:

net6.0-Linux-Release-arm64-CoreCLR_checked-(Alpine.312.Arm64.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.12-helix-arm64v8-20200602002604-25f8a3e

- System.Diagnostics.Metrics.Tests.MetricEventSourceTests.EventSourcePublishesTimeSeriesWithMetadata

Error message

Unexpected Error event: An error occurred when writing to a listener.
at System.Diagnostics.Tracing.EventSource.DispatchToAllListeners(EventWrittenEventArgs eventCallbackArgs) in //src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs:line 2126
at System.Diagnostics.Tracing.EventSource.WriteEventVarargs(Int32 eventId, Guid* childActivityID, Object[] args) in //src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs:line 1989
at System.Diagnostics.Tracing.EventSource.WriteEvent(Int32 eventId, Object[] args) in //src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs:line 1399
at System.Diagnostics.Metrics.MetricsEventSource.CollectionStop(String sessionId, DateTime intervalStartTime, DateTime intervalEndTime) in //src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/MetricsEventSource.cs:line 92
at System.Diagnostics.Metrics.MetricsEventSource.CommandHandler.<>c__DisplayClass2_0.<OnEventCommand>b__2(DateTime startIntervalTime, DateTime endIntervalTime) in //src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/MetricsEventSource.cs:line 299
at System.Diagnostics.Metrics.AggregationManager.CollectWorker(CancellationToken cancelToken) in //src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/AggregationManager.cs:line 196
Expected: True
Actual:   False


Stack trace
   at System.Diagnostics.Metrics.Tests.MetricsEventListener.AssertOnError() in /_/src/libraries/System.Diagnostics.DiagnosticSource/tests/MetricEventSourceTests.cs:line 1005
   at System.Diagnostics.Metrics.Tests.MetricsEventListener.GetCountCollectionStops() in /_/src/libraries/System.Diagnostics.DiagnosticSource/tests/MetricEventSourceTests.cs:line 1014
   at System.Diagnostics.Metrics.Tests.MetricsEventListener.WaitForCollectionStop(TimeSpan timeout, Int32 numStops) in /_/src/libraries/System.Diagnostics.DiagnosticSource/tests/MetricEventSourceTests.cs:line 937
   at System.Diagnostics.Metrics.Tests.MetricEventSourceTests.EventSourcePublishesTimeSeriesWithMetadata() in /_/src/libraries/System.Diagnostics.DiagnosticSource/tests/MetricEventSourceTests.cs:line 75
Author: VincentBu
Assignees: -
Labels:

arch-arm64, area-System.Diagnostics.Tracing, os-linux, untriaged

Milestone: -

@tarekgh tarekgh added area-System.Diagnostics.Metric and removed area-System.Diagnostics.Tracing untriaged New issue has not been triaged by the area owner labels Jul 8, 2021
@tarekgh tarekgh added this to the 6.0.0 milestone Jul 8, 2021
@tarekgh
Copy link
Member

tarekgh commented Jul 8, 2021

@noahfalk looks we have issue in general on Linux arm architecture.

@noahfalk
Copy link
Member

noahfalk commented Jul 8, 2021

Thanks @tarekgh, I'll look into this today. If anyone is seeing this failure in the PRs I think it is safe to assume it is a test failure and can be ignored.

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jul 9, 2021
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Jul 11, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants