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 stability - OpenTelemetry.Trace.Tests.BatchExportActivityProcessorTest.CheckShutdownExport #5525

Open
reyang opened this issue Apr 9, 2024 · 2 comments
Labels
bug Something isn't working help wanted Good for taking. Extra help will be provided by maintainers infra Infra work - CI/CD, code coverage, linters

Comments

@reyang
Copy link
Member

reyang commented Apr 9, 2024

https://github.com/open-telemetry/opentelemetry-dotnet/actions/runs/8620692586/job/23628054054#step:6:6689

[xUnit.net 00:00:15.67]     OpenTelemetry.Trace.Tests.BatchExportActivityProcessorTest.CheckShutdownExport(timeout: 1) [FAIL]
[xUnit.net 00:00:15.67]       Assert.Single() Failure: The collection was empty
[xUnit.net 00:00:15.68]       Stack Trace:
[xUnit.net 00:00:15.69]         /home/runner/work/opentelemetry-dotnet/opentelemetry-dotnet/test/OpenTelemetry.Tests/Trace/BatchExportActivityProcessorTest.cs(145,0): at OpenTelemetry.Trace.Tests.BatchExportActivityProcessorTest.CheckShutdownExport(Int32 timeout)
@reyang reyang added bug Something isn't working infra Infra work - CI/CD, code coverage, linters labels Apr 9, 2024
@CodeBlanch CodeBlanch added the help wanted Good for taking. Extra help will be provided by maintainers label Apr 9, 2024
@reyang
Copy link
Member Author

reyang commented Apr 24, 2024

It failed again https://github.com/open-telemetry/opentelemetry-dotnet/actions/runs/8807869536/job/24175888451

  Failed OpenTelemetry.Trace.Tests.BatchExportActivityProcessorTest.CheckShutdownExport(timeout: 1) [29 ms]
  Error Message:
   System.InvalidOperationException : Collection was modified; enumeration operation may not execute.
  Stack Trace:
     at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at OpenTelemetry.Trace.Tests.BatchExportActivityProcessorTest.CheckShutdownExport(Int32 timeout) in /home/runner/work/opentelemetry-dotnet/opentelemetry-dotnet/test/OpenTelemetry.Tests/Trace/BatchExportActivityProcessorTest.cs:line 145

@reyang
Copy link
Member Author

reyang commented Apr 24, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Good for taking. Extra help will be provided by maintainers infra Infra work - CI/CD, code coverage, linters
Projects
None yet
Development

No branches or pull requests

2 participants