Repository navigation
test(e2e): ✅ serialize shared-state e2e specs for parallel nodes (CI-4) - #103
Merged
Merged
Conversation
The nightly full-pyramid e2e runs with 3 ginkgo processes (run-e2e.sh default; the PR gate pins KURATOR_E2E_NODES=1) and failed 3/3 attempts once the CI-1/CI-3 fixes let it reach the test phase. Two specs mutate state shared across processes: - "recovers QueueManagerConnection readiness after secret rotation" corrupts the namespace-wide mq-credentials Secret and deletes the shared e2e-qm1 QueueManagerConnection. Siblings then time out waiting for QMC readiness (runs 29115477497), and its own delete is denied by the referential webhook while sibling Queues still reference the connection (runs 29115407083 attempts 1+2). - "v1alpha1 to v1beta1 CRD upgrade" re-applies the cluster-wide CRD bundle mid-spec. Mark both Serial so they run alone on process 1 after all parallel specs and their cleanups complete — the pattern already used by the Manager smoke and mq-auth containers.
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.
Summary
Fixes CI-4: nightly full-pyramid
e2e (kustomize)red 3/3 since CI-1 (#100) + CI-3 (#101) unblocked it (runs29114368981→29115407083attempts 1+2,29115477497).The nightly runs the suite with 3 parallel ginkgo processes (
run-e2e.shdefault; the PR gate pinsKURATOR_E2E_NODES=1, which is why PR e2e stayed green). Two specs mutate cross-process shared state:recovers QueueManagerConnection readiness after secret rotationmq-credentialsSecret; deletes/recreates sharede2e-qm1QMC29115477497, 2 victims); its own delete denied 2m by referential webhook while sibling Queues reference the QMC (29115407083×2)v1alpha1 to v1beta1 CRD upgradeupgradeMKuratorCRDs()re-applies cluster-wide CRD bundle mid-specFix
Mark both
Serial— ginkgo runs them alone on process 1 after all parallel specs (and theirDeferCleanups) finish. Same pattern the suite already uses for theManagersmoke andmq-authcontainers. No spec logic changed.Gates
go vet -tags e2e ./test/e2e/✅task verify✅ ·task lint✅ ·task test:run✅ 91.0% (floor 90)e2e (kustomize)(1-node) exercises both specs incl. the Serial pathe2e (kustomize)greenFollow-up filed (separate slice)
listConnectionDependentsdouble-lists every dependent (same objects read via both v1alpha1 and v1beta1 lists), producingQueue "e2e-orders-n1", Queue "e2e-orders-n1"in deny messages — cosmetic dedup fix for the validation package.