Repository navigation
test(e2e): print the namespace's state when the OIDC live test's apply fails - #13426
Merged
Merged
Conversation
…y fails The test failed once in CI with only the SDK's summary, observation query failed, which doesn't show why. On failure it now prints each pod's phase and container states, recent events, and the end of each container's log.
cv
enabled auto-merge (squash)
October 18, 2026 16:25
Contributor
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.
Part of #12692.
Failure
kubernetes_live::oidc::a_managed_gateway_accepts_an_existing_issuers_tokens_and_refuses_another_audiencefailed once in CI (linux_amd64, on #13425). It passed on rerun, onv1at the same base, and locally on ARM64. The log held only the SDK's summary,Apply incomplete / observation query failed, so there was no way to tell why.The obvious guess was that the gateway started before the issuer's CA ConfigMap existed. The pinned chart rules that out: it mounts the ConfigMap as a required volume, so the gateway pod waits for it.
Decision
Diagnose rather than guess. When the test's apply fails, it now prints the deployment namespace's:
Then it fails with the same message as before. Test-only; production code is unchanged.
Validation
cargo cipasses locally: 1,598 unit tests and 149 lifecycle tests.cargo ci live-kindpasses locally: all 7 tests. The diagnostics only run on failure.