Skip to content

test(e2e/windows): enable log_level: debug in service-test fixtures#51141

Open
clarkb7 wants to merge 1 commit into
mainfrom
branden.clark/e2e-svc-tests-debug-logs
Open

test(e2e/windows): enable log_level: debug in service-test fixtures#51141
clarkb7 wants to merge 1 commit into
mainfrom
branden.clark/e2e-svc-tests-debug-logs

Conversation

@clarkb7
Copy link
Copy Markdown
Contributor

@clarkb7 clarkb7 commented May 20, 2026

What does this PR do?

Adds log_level: debug to every fixture used by test/new-e2e/tests/windows/service-test/ — core agent (datadog*.yaml), system-probe (system-probe*.yaml), and security-agent (security-agent*.yaml).

Motivation

When these tests fail (especially the driver-verifier variants), the captured agent logs only contain INFO and above. Several startup paths log at DEBUG only (e.g. the workloadmeta-readiness retry in comp/core/autodiscovery/autodiscoveryimpl/autoconfig.go:174), which makes it hard to tell, from artifacts alone, whether a long gap in the log is one slow call or many fast retries spaced apart. Enabling debug-level logging in the fixtures means future failures land with the information needed to diagnose timing issues without a re-run.

Describe how you validated your changes

Test-fixture-only change. No new tests added.

Add log_level: debug to the core agent, system-probe, and security-agent
fixtures used by the Windows service-test suite so that future failures
(especially under driver verifier) include debug-level diagnostics.
@clarkb7 clarkb7 added changelog/no-changelog No changelog entry needed qa/no-code-change No code change in Agent code requiring validation team/windows-products labels May 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

@codex review

@dd-octo-sts dd-octo-sts Bot added the internal Identify a non-fork PR label May 20, 2026
@github-actions github-actions Bot added the medium review PR review might take time label May 20, 2026
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@datadog-datadog-prod-us1
Copy link
Copy Markdown
Contributor

datadog-datadog-prod-us1 Bot commented May 20, 2026

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 2 Pipeline jobs failed

DataDog/datadog-agent | oracle: [21.3.0-xe]   View in Datadog   GitLab

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. Failed to ping oracle instance: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.

DataDog/datadog-agent | unit_tests_notify   View in Datadog   GitLab

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. Command 'ls junit-tests_*.tgz' returned exit code 2: No such file or directory.

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 0b6d103 | Docs | Datadog PR Page | Give us feedback!

@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 20, 2026

Files inventory check summary

File checks results against ancestor a5a9a89a:

Results for datadog-agent_7.81.0~devel.git.128.0b6d103.pipeline.114382410-1_amd64.deb:

No change detected

@clarkb7 clarkb7 marked this pull request as ready for review May 21, 2026 13:16
@clarkb7 clarkb7 requested a review from a team as a code owner May 21, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog No changelog entry needed internal Identify a non-fork PR medium review PR review might take time qa/no-code-change No code change in Agent code requiring validation team/windows-products

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant