Skip to content

Skip e2e tests on Windows to limit OOM failures#52027

Open
chouetz wants to merge 1 commit into
mainfrom
dd/skip-e2e-tests-windows-oom
Open

Skip e2e tests on Windows to limit OOM failures#52027
chouetz wants to merge 1 commit into
mainfrom
dd/skip-e2e-tests-windows-oom

Conversation

@chouetz

@chouetz chouetz commented Jun 9, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Adds a condition to skip e2e framework tests on Windows platforms to prevent out-of-memory allocation failures during test execution.

Motivation

The tests_windows-x64 job has been regularly failing with virtualalloc out-of-memory errors (errno 1455) since commit dc2eacd. Multiple allocation failures ranging from 8KB to 114KB have been reported, indicating memory pressure on the Windows test runner. By restricting the e2e framework tests to Linux, we can limit these OOM failures and allow the Windows test suite to complete successfully.

Describe how you validated your changes

The change is a configuration update that conditionally excludes the e2e framework tests from running on Windows while maintaining normal execution on Linux platforms. This follows the existing pattern in modules.yml where platform-specific test conditions are already in use.

Additional Notes

This is a targeted fix to stabilize the Windows test pipeline. The e2e framework tests can continue to run on Linux where resource constraints are not an issue.


PR by Bits - View session in Datadog

Comment @DataDog to request changes

The test/e2e-framework module defaulted to should_test_condition: always,
so its (platform-agnostic, cloud/pulumi-heavy) test suite was compiled and
run on Windows. It is only consumed by test/new-e2e (already is_linux) and
no agent/production code imports it, so it is unused on Windows. Gating it
to is_linux removes one of the largest link steps from tests_windows-x64,
reducing the memory pressure behind the recent VirtualAlloc errno=1455 OOM
and 2h-timeout failures, with no loss of Windows coverage.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@datadog-official

Copy link
Copy Markdown
Contributor

View session in Datadog

Bits Code status: ✅ Done

CI Auto-fix: Disabled | Enable

Comment @DataDog to request changes

@datadog-datadog-prod-us1

Copy link
Copy Markdown
Contributor

I can only run on private repositories.

@datadog-official

datadog-official Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 5 Pipeline jobs failed

DataDog/datadog-agent | new-e2e-cws-windows   View in Datadog   GitLab

DataDog/datadog-agent | unit_tests_notify   View in Datadog   GitLab

Label analysis | release-note-check   View in Datadog   GitHub Actions

View all 5 failed jobs.

ℹ️ Info

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 50.59% (-0.01%)

Useful? React with 👍 / 👎

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

@github-actions github-actions Bot added the short review PR is simple enough to be reviewed quickly label Jun 9, 2026
@dd-octo-sts dd-octo-sts Bot added internal Identify a non-fork PR team/agent-runtimes labels Jun 9, 2026
@dd-octo-sts

dd-octo-sts Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Files inventory check summary

File checks results against ancestor 2e9ccff8:

Results for datadog-agent_7.81.0~devel.git.638.a9eafbe.pipeline.117819522-1_amd64.deb:

No change detected

@chouetz chouetz added changelog/no-changelog No changelog entry needed qa/no-code-change No code change in Agent code requiring validation labels Jun 9, 2026
@chouetz chouetz changed the title Skip e2e tests on Windows to prevent OOM failures Skip e2e tests on Windows to limit OOM failures Jun 10, 2026
@chouetz chouetz marked this pull request as ready for review June 10, 2026 09:57
@chouetz chouetz requested a review from a team as a code owner June 10, 2026 09:57
@chouetz chouetz requested a review from fabbing June 10, 2026 09:57
@github-actions github-actions Bot deleted a comment from chatgpt-codex-connector Bot Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bits AI changelog/no-changelog No changelog entry needed internal Identify a non-fork PR qa/no-code-change No code change in Agent code requiring validation short review PR is simple enough to be reviewed quickly team/agent-runtimes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant