Skip to content

[Test] TestLogsUseAppFiltersAndFilterSpecs fails with Assert.Equal() Failure #4718

Closed

Description

@mdh1418

TestLogsAllCategoriesDefaultLevel also fails in the same way.

Re-enable thes tests after it is fixed.

Configuration: Ubuntu x64 Release + MacOS x64 Release

Error Message: Assert.Equal() Failure: Strings differ\n ↓ (pos 0)\nExpected: "Another message"\nActual: "Warning message."\n ↑ (pos 0)

Stack Trace:

   at Microsoft.Diagnostics.Monitoring.EventPipe.UnitTests.EventLogsPipelineUnitTests.ValidateLoggerRemoteCategoryWarningMessage(StreamReader reader) in /Users/runner/work/1/s/src/tests/Microsoft.Diagnostics.Monitoring.EventPipe/EventLogsPipelineUnitTests.cs:line 286
   at Microsoft.Diagnostics.Monitoring.EventPipe.UnitTests.EventLogsPipelineUnitTests.TestLogsAllCategoriesDefaultLevel(TestConfiguration config) in /Users/runner/work/1/s/src/tests/Microsoft.Diagnostics.Monitoring.EventPipe/EventLogsPipelineUnitTests.cs:line 88
--- End of stack trace from previous location ---

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=699837&view=ms.vss-test-web.build-test-results-tab&runId=17416832&paneView=debug&resultId=100157

Activity

  1. added
    bug
    on Jun 6, 2024
  2. added this to the 9.0.0 milestone on Jun 6, 2024
  3. mdh1418 commented on Jun 6, 2024

    @mdh1418
    MemberAuthor

    Seems like #2541 has extended to non-Windows platforms

  4. elinor-fung commented on Jun 24, 2024

    @elinor-fung
    Member

    Also affecting TestLogsAllCategoriesDefaultLevel on Ubuntu and macOS:

    #4754 - ubuntu 22.04 x64
    #4751 - macOS x64

  5. self-assigned this
    on Jul 2, 2024
  6. added
    testing
    and removed
    bug
    on Jul 10, 2024
  7. tommcdon commented on Jul 23, 2024

    @tommcdon
    Member

    Closing this one as a duplicate to #2541

  8. locked and limited conversation to collaborators on Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions