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

Flaky test ContinuousProfilerTests.ExportAllocationSamples #4019

Open
pellared opened this issue Feb 5, 2025 · 0 comments
Open

Flaky test ContinuousProfilerTests.ExportAllocationSamples #4019

pellared opened this issue Feb 5, 2025 · 0 comments
Assignees

Comments

@pellared
Copy link
Member

pellared commented Feb 5, 2025

When running nuke Workflow on macOS 15 with x64 I get very frequent failures from IntegrationTests.ContinuousProfilerTests.ExportAllocationSamples.

17:31:46 [DBG] [xUnit.net 00:16:38.54] IntegrationTests: --- FAIL: IntegrationTests.RabbitMqTests.SubmitsTraces(6.0.0) (68,17s)
17:31:46 [DBG] [xUnit.net 00:16:38.54] IntegrationTests: === RUN   IntegrationTests.RabbitMqTests.SubmitsTraces(7.0.0)
17:31:46 [DBG]   Niepowodzenie IntegrationTests.RabbitMqTests.SubmitsTraces(packageVersion: "6.0.0") [1 m 8 s]
17:31:46 [DBG]   Komunikat o błędzie:
17:31:46 [DBG]
17:31:46 [DBG] Missing expectations:
17:31:46 [DBG]   - "<no description> Instrumentation Scope Name: 'OpenTelemetry.AutoInstrumentation.RabbitMq', predicate is null: 'False'"
10:49:59 [DBG] [xUnit.net 00:21:27.83] IntegrationTests: === RUN   IntegrationTests.ContinuousProfilerTests.ExportAllocationSamples()
10:50:13 [DBG] [xUnit.net 00:21:41.21] IntegrationTests: --- FAIL: IntegrationTests.ContinuousProfilerTests.ExportAllocationSamples() (13,33s)
10:50:13 [DBG]   Niepowodzenie IntegrationTests.ContinuousProfilerTests.ExportAllocationSamples [13 s]
10:50:13 [DBG]   Komunikat o błędzie:
10:50:13 [DBG]    Resource attribute "os.build_id" was not found
10:50:13 [DBG] Resource attribute "os.description" was not found
10:50:13 [DBG] Resource attribute "os.name" was not found
10:50:13 [DBG] Resource attribute "os.version" was not found

Originally posted by @pellared in #4000 (comment)

It looks like that there is a race condition that the resource is configured after continous profiler is initialized.

@pellared pellared mentioned this issue Feb 5, 2025
6 tasks
@pjanotti pjanotti added this to the vNextContinuousProfiling milestone Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants