Skip to content

Test failure:System.Diagnostics.Metrics.Tests.MetricEventSourceTests.EventSourceFiltersInstruments #55313

Closed

Description

@VincentBu

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.EventSourceFiltersInstruments

Error message

Assert.True() Failure
Expected: True
Actual:   False


Stack trace
   at System.Diagnostics.Metrics.Tests.MetricEventSourceTests.AssertCounterEventsPresent(EventWrittenEventArgs[] events, String meterName, String instrumentName, String tags, String expectedUnit, String[] expectedRates) in /_/src/libraries/System.Diagnostics.DiagnosticSource/tests/MetricEventSourceTests.cs:line 710
   at System.Diagnostics.Metrics.Tests.MetricEventSourceTests.EventSourceFiltersInstruments() in /_/src/libraries/System.Diagnostics.DiagnosticSource/tests/MetricEventSourceTests.cs:line 292

Activity

  1. added
    os-linux
    on Jul 8, 2021
  2. ghost added
    untriaged
    on Jul 8, 2021
  3. added and removed
    untriaged
    on Jul 8, 2021
  4. tarekgh commented on Jul 8, 2021

    @tarekgh
    Member

    @noahfalk could you please have a look at this one?

  5. added this to the 6.0.0 milestone on Jul 8, 2021
  6. noahfalk commented on Jul 12, 2021

    @noahfalk
    Member

    This is hopefully resolved with #55385, if it fails again please reopen and I can investigate further

  7. added a commit that references this issue on Jul 30, 2021
    1cadd17
  8. ghost added
    in-pr
    on Jul 30, 2021
  9. added a commit that references this issue on Aug 4, 2021
    2360161
  10. ghost removed
    in-pr
    on Aug 4, 2021
  11. noahfalk commented on Aug 4, 2021

    @noahfalk
    Member

    New issue is hopefully resolved. Ultimately this test is timing dependent so we can't guarantee it works, we can just keep increasing the allowed time window making it increasingly likely that code runs fast enough to complete in the expected time. The penalty for being overly conservative is that we make the test take a very long time to run.

  12. ghost locked as resolved and limited conversation to collaborators on Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions