Skip to content

fix(template): Match kuttl 0.23+ namespace log lines in auto-retry-tests - #665

Merged
lfrancke merged 2 commits into
mainfrom
push-ntxmkuyrrmxq
Nov 25, 2026
Merged

lfrancke merged 2 commits into
mainfrom
push-ntxmkuyrrmxq

Conversation

@lfrancke

@lfrancke lfrancke commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Description

kuttl 0.23 quotes the namespace in its "Creating namespace" log line and drops the colon, and 0.26 renames generated namespaces from kuttl-test- to kuttl--. With the old pattern a retried test that passed would leave its namespace behind and a failed test reported no namespace for debugging.

The new pattern now accepts both formats.

Tip

prek complains about pre-existing stuff in the retry script. So I'll include those in the PR. Just so it's green.

kuttl 0.23 quotes the namespace in its "Creating namespace" log line and drops the colon, and 0.26 renames generated namespaces from kuttl-test-<pet> to kuttl-<pet>-<suffix>.
With the old pattern a retried test that passed would leave its
namespace behind and a failed test reported no namespace for debugging.

The new pattern now accepts both formats.
@lfrancke lfrancke self-assigned this Nov 18, 2026
@lfrancke lfrancke moved this to Development: Waiting for Review in Stackable Engineering Nov 18, 2026
…y's ruff rules

Touching the file for the kuttl namespace pattern made prek lint all of it, and the existing code
broke 53 rules. Annotations use the built-in generics and `| None`, kept importable on Python 3.9
by postponed evaluation; subprocess calls say check=False, which is what they relied on; the broad
excepts stay, marked, because the retry run reports an error and carries on.
Comment thread template/scripts/auto-retry-tests.py Resolved
@sbernauer sbernauer moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Nov 25, 2026
@lfrancke
lfrancke enabled auto-merge November 25, 2026 08:46
@lfrancke lfrancke moved this from Development: In Review to Development: Done in Stackable Engineering Nov 25, 2026
@lfrancke
lfrancke added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit 26cad70 Nov 25, 2026
2 checks passed
@lfrancke
lfrancke deleted the push-ntxmkuyrrmxq branch November 25, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development: Done

Development

Successfully merging this pull request may close these issues.

2 participants