Repository navigation
test(e2e): stop the kind HCL case's cleanup from waiting out namespace deletion - #14177
Merged
Merged
Conversation
…e deletion The kind module's one Helm release held the three namespaces and waited on uninstall too, so tofu test's cleanup waited about 12 s for Kubernetes to finalize the namespaces of a cluster the runner deletes next. Release the namespaces, pull Secret, and CA without waiting, and the stub model and issuer in a second release that still waits for readiness. Part of #14087.
Collaborator
Author
Authoring session — opening
|
Contributor
sandl99
added a commit
that referenced
this pull request
Nov 4, 2026
With #14177's cleanup change merged, the development case took 137.9 s and 136.9 s and the step 243.0 s and 232.6 s, within 180 s and 300 s.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Failure
On
linux_amd64, thekind-openshift-agentsHCL case (hcl_live::case, which replaced the three-agent Rust test) took 110.7-132.6 s in the last ninev1Live / Kind runs, against a per-test limit raised to 180 s while #14087 is investigated.A local
cargo ci live-kindonlinux_arm64(20 CPUs) split one run of the case like this:The cleanup is the only large phase that this repository's test code controls.
The kind module's single Helm release held the three namespaces with
wait = true, and the Helm provider applieswaitto uninstall too, sotofu testwaited for the namespaces to finish deleting from a cluster that the runner deletes next.Decision
wait = true, as before, so the first apply still starts after both are ready.default, which outlives the namespaces it deletes. Before, Helm created that namespace outside the release, and nothing deleted it until the cluster was deleted.The per-test limit stays at 180 s for now; it should go back to 150 s once Live / Kind runs on
linux_amd64show the margin.Part of #14087. Still open: the destroy grace period (#13959, waiting on ai-openshell/openshell#5025), and returning the Live / Kind limits to 150 s and 270 s.
Validation
Same machine (
linux_arm64, 20 CPUs, no CPU limit),cargo ci live-kind,hcl_live::case:v1at 259d08b)cargo ci live-kind: passed twice with the change. A pod and namespace monitor on the kind node showed all three namespacesTerminatingafter cleanup.cargo ci(fmt, clippy, build, test, schema, bundle, lifecycle): passed.cargo run --locked -p nemoclaw-build -- fern check: passed, 0 errors (Node 25.9.0 rather than the pinned 24.22.1).tofu fmt -checkonkind/main.tf: passed.hcl_live::casetook 101.9 s onlinux_amd64and 101.1 s onlinux_arm64, against 110.7-132.6 s and 113.3-119.7 s in the last ninev1runs. One run doesn't justify lowering the limit to 150 s, so that stays open.