Skip to content

test(e2e): run the live Kind cluster tests side by side - #13440

Merged
cv merged 1 commit into
v1from
perf/live-kind
Oct 19, 2026
Merged

cv merged 1 commit into
v1from
perf/live-kind

Conversation

@cv

@cv cv commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

Failure

The live Kind suite exceeded its 270-second wall budget on #13434 (279 s), although all 7 tests passed. The four cluster tests ran one at a time, so their durations added up. A run that recorded the cluster's events showed where the time went. In each of the three tests that deploy a sandbox, about 31 seconds pass between Kubernetes stopping the sandbox's agent and supervisor containers and the next destroy step. That's the default 30-second termination grace period expiring, because those OpenShell containers don't exit on SIGTERM. That's about 95 of 231 seconds locally.

Decision

Keep every check, and stop paying those waits one after another:

  • Side by side: the live Kind profile runs up to four tests at once. Each cluster test already uses its own namespace, Helm release, issuer namespace and local ports, and after a run the cluster holds no per-test cluster-wide objects.
  • The registry test runs alone (threads-required = "num-test-threads"). It seeds its private registry by tagging, pushing and untagging the node's shared agent image. In the first side-by-side attempt, the OIDC test's sandbox failed to pull that image (ErrImagePull … failed to resolve reference) while the registry test ran.

Not changed: the grace period itself. Shortening it from NemoClaw would work around OpenShell's signal handling, and force-deleting pods in tests would stop testing the real destroy path.

Validation

cargo ci live-kind locally: all 7 tests pass, in 175.6 s of wall time, down from 231 s run one at a time.

@cv
cv enabled auto-merge (squash) October 19, 2026 02:10
@github-actions

Copy link
Copy Markdown
Contributor

@cv
cv merged commit 116f5ff into v1 Oct 19, 2026
@cv
cv deleted the perf/live-kind branch October 19, 2026 02:22
@wscurran wscurran added area: ci CI workflows, checks, release automation, or GitHub Actions area: e2e End-to-end tests, nightly failures, or validation infrastructure chore Build, CI, dependency, or tooling maintenance platform: k8s Affects Kubernetes deployments v1 NemoClaw v1 branch labels Oct 23, 2026
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, checks, release automation, or GitHub Actions area: e2e End-to-end tests, nightly failures, or validation infrastructure chore Build, CI, dependency, or tooling maintenance platform: k8s Affects Kubernetes deployments v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants