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] TestLogsUseAppFiltersAndFilterSpecs fails with Assert.Equal() Failure #4718

Closed
mdh1418 opened this issue Jun 6, 2024 · 3 comments
Closed

Comments

@mdh1418
Copy link
Member

mdh1418 commented Jun 6, 2024

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

@mdh1418 mdh1418 added bug Something isn't working CI Stability labels Jun 6, 2024
@mdh1418 mdh1418 added this to the 9.0.0 milestone Jun 6, 2024
@mdh1418
Copy link
Member Author

mdh1418 commented Jun 6, 2024

Seems like #2541 has extended to non-Windows platforms

@elinor-fung
Copy link
Member

Also affecting TestLogsAllCategoriesDefaultLevel on Ubuntu and macOS:

#4754 - ubuntu 22.04 x64
#4751 - macOS x64

@thaystg thaystg self-assigned this Jul 2, 2024
@mikem8361 mikem8361 added testing Test work item and removed bug Something isn't working labels Jul 10, 2024
@tommcdon
Copy link
Member

Closing this one as a duplicate to #2541

@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants