Skip to content

[Android] Android x86 emulator failures in System.Diagnostics.DiagnosticSource runtime metrics #105203

@matouskozak

Description

@matouskozak

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=748618
Build error leg or test failing: System.Diagnostics.DiagnosticSource.Tests
Affected CI: android_x86_release_allsubsets_mono (runtime-extra-platforms)

Stack trace example:

07-20 10:08:58.329 16840 16860 I DOTNET  : 1) 	[FAIL] System.Diagnostics.Metrics.Tests.RuntimeMetricsTests.GcCollectionsCount   Test name: System.Diagnostics.Metrics.Tests.RuntimeMetricsTests.GcCollectionsCount
07-20 10:08:58.329 16840 16860 I DOTNET  :    Assembly:  [System.Diagnostics.DiagnosticSource.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
07-20 10:08:58.329 16840 16860 I DOTNET  :    Exception messages: Expected to find a measurement for 'gen0'.   Exception stack traces:    at System.Diagnostics.Metrics.Tests.RuntimeMetricsTests.GcCollectionsCount() in /_/src/libraries/System.Diagnostics.DiagnosticSource/tests/RuntimeMetricsTests.cs:line 111
07-20 10:08:58.329 16840 16860 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
07-20 10:08:58.329 16840 16860 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "Expected to find a measurement for 'gen0'",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=748618
Error message validated: [Expected to find a measurement for 'gen0']
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/21/2024 4:49:54 PM UTC

Report

Build Definition Test Pull Request
758343 dotnet/runtime System.Diagnostics.Metrics.Tests.RuntimeMetricsTests.GcCollectionsCount
748618 dotnet/runtime System.Diagnostics.Metrics.Tests.RuntimeMetricsTests.GcCollectionsCount

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions