Skip to content

test: wait for Linux datapath pods to be deleted - #4863

Open
Ethan Ermovick (Arleee1) wants to merge 1 commit into
Azure:masterfrom
Arleee1:eermovick/datapath-wait-for-pod-cleanup
Open

Ethan Ermovick (Arleee1) wants to merge 1 commit into
Azure:masterfrom
Arleee1:eermovick/datapath-wait-for-pod-cleanup

Conversation

@Arleee1

@Arleee1 Ethan Ermovick (Arleee1) commented Sep 14, 2026

Copy link
Copy Markdown

Reason for Change:

Consecutive IPv6 and IPv4 datapath tests reuse Goldpinger labels. Terminating pods left by cleanup can satisfy the next invocation's readiness check, then cause Less than 2 pods on node.

Wait for both the deployment's and DaemonSet's pod selectors to become empty after the existing deletion calls, using WaitForPodsDelete. Report wait failures with t.Error. Both selectors are needed when -podName is customized.

Readiness checks, RBAC cleanup, and timeouts are unchanged.

Issue Fixed:

Fixes #4864

Requirements:

Notes:

Compilation-only check passed; no tests were selected.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI review requested due to automatic review settings September 14, 2026 17:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Arleee1

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree company="Microsoft"

@Arleee1
Ethan Ermovick (Arleee1) force-pushed the eermovick/datapath-wait-for-pod-cleanup branch from f834179 to 935bc36 Compare September 14, 2026 19:04
@Arleee1

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 4863 in repo Azure/azure-container-networking

@Arleee1
Ethan Ermovick (Arleee1) marked this pull request as ready for review September 15, 2026 14:14
@Arleee1
Ethan Ermovick (Arleee1) requested a review from a team as a code owner September 15, 2026 14:14
Copilot AI review requested due to automatic review settings September 15, 2026 14:14
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Update the stale install-go.sh fallback digest to match the refreshed Go pin.

Review details

Suppressed comments (1)

cns/Dockerfile:8

  • This refresh updates the generated Go pin to 3c78e..., but .pipelines/build/scripts/install-go.sh still falls back to the old 8f638... digest. The Go-version workflow explicitly treats that mismatch as digest drift, and builds that cannot resolve a component Dockerfile will install the stale toolchain; update DEFAULT_IMAGE in the same refresh.
FROM --platform=linux/${ARCH} mcr.microsoft.com/oss/go/microsoft/golang:1.26-azurelinux3.0@sha256:3c78e9858004d1c43aea08829306c76c3bf870c26b98c8c07ea6ca74c54787cf AS go
  • Files reviewed: 13/13 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

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

Successfully merging this pull request may close these issues.

Linux datapath tests can accept terminating pods from a previous invocation

2 participants