Skip to content

Try to fix dynamic instrumentation tests#7415

Merged
andrewlock merged 1 commit intomasterfrom
andrew/fix-debugger-tests
Aug 19, 2025
Merged

Try to fix dynamic instrumentation tests#7415
andrewlock merged 1 commit intomasterfrom
andrew/fix-debugger-tests

Conversation

@andrewlock
Copy link
Member

@andrewlock andrewlock commented Aug 19, 2025

Summary of changes

Try to fix dynamic instrumentation tests

Reason for change

The debugger tests are broken in master because #7398 didn't trigger the debugger tests to run

Implementation details

Add the log message it expects

Test coverage

Will trigger a dedicated test run to make sure we test the debugger

Other details

We should probably update the Instrumentation file to be co-owned, to make sure this kind of thing doesn't happen again

@andrewlock andrewlock requested a review from a team as a code owner August 19, 2025 14:53
@andrewlock andrewlock added the area:tests unit tests, integration tests label Aug 19, 2025
@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Aug 19, 2025

⚠️ Tests

⚠️ Warnings

❄️ 5 New flaky tests detected

SubmitTraces from Datadog.Trace.ClrProfiler.IntegrationTests.AerospikeTests (Datadog)
Docker API responded with status code=InternalServerError, response={"message":"Head \"https://registry-1.docker.io/v2/aerospike/aerospike-server/manifests/6.2.0.6\": Get \"https://auth.docker.io/token?scope=repository%3Aaerospike%2Faerospike-server%3Apull&service=registry.docker.io\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
SubmitTraces from Datadog.Trace.ClrProfiler.IntegrationTests.AerospikeTests (Datadog)
Docker API responded with status code=InternalServerError, response={"message":"Head \"https://registry-1.docker.io/v2/aerospike/aerospike-server/manifests/6.2.0.6\": Get \"https://auth.docker.io/token?scope=repository%3Aaerospike%2Faerospike-server%3Apull&service=registry.docker.io\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
SubmitTraces from Datadog.Trace.ClrProfiler.IntegrationTests.AerospikeTests (Datadog)
Docker API responded with status code=InternalServerError, response={"message":"Head \"https://registry-1.docker.io/v2/aerospike/aerospike-server/manifests/6.2.0.6\": Get \"https://auth.docker.io/token?scope=repository%3Aaerospike%2Faerospike-server%3Apull&service=registry.docker.io\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
View all

ℹ️ Info

🧪 All tests passed

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: c053848 | Docs | Was this helpful? Give us feedback!

andrewlock added a commit that referenced this pull request Aug 19, 2025
## Summary of changes

Make the `Instrumentation.cs` file owned by everyone

## Reason for change

#7398 was a change to
debugger initialization, but it didn't run the debugger tests because
the Instrumentation.cs file wasn't owned by them. So had to run them
manually in #7415.

## Implementation details

Add all the teams to be Instrumentation.cs owners, because it can impact
all products

## Test coverage

N/A

## Other details
<!-- Fixes #{issue} -->


<!--  ⚠️ Note:

Where possible, please obtain 2 approvals prior to merging. Unless
CODEOWNERS specifies otherwise, for external teams it is typically best
to have one review from a team member, and one review from apm-dotnet.
Trivial changes do not require 2 reviews.

MergeQueue is NOT enabled in this repository. If you have write access
to the repo, the PR has 1-2 approvals (see above), and all of the
required checks have passed, you can use the Squash and Merge button to
merge the PR. If you don't have write access, or you need help, reach
out in the #apm-dotnet channel in Slack.
-->
@andrewlock andrewlock merged commit 6d260d6 into master Aug 19, 2025
155 of 156 checks passed
@andrewlock andrewlock deleted the andrew/fix-debugger-tests branch August 19, 2025 17:24
@github-actions github-actions bot added this to the vNext-v3 milestone Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:tests unit tests, integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants