Skip to content

e2e: the leak-guard allowlist and the suite docs assume every suite is a chainsaw-test.yaml #4659

Closed

Description

The e2e selectors now see every layout Chainsaw runs (#4630): chainsaw-test.yaml, chainsaw-test.yml, numbered step files, and a Test nested below a suite directory. Three places still assume the first layout only.

  • hack/e2e-chainsaw/_lib/leak-guard.sh, lg_allowlist_validate, accepts only <suite>/chainsaw-test.y*ml entries, so a step-file or nested suite cannot be put on the allowlist and fails validation loudly.
  • hack/e2e-chainsaw/README.md says each suite has a chainsaw-test.yaml.
  • docs/agents/e2e-testing.md calls the Proxmox suite the one disabled suite, but hack/e2e-chainsaw/backup/ also holds only a chainsaw-test.yaml.disabled.

Fix shape: validate allowlist entries against the same discovery rule the selectors use, and describe the layouts once in the README with the doc pointing at it. Drop the "one suite" count rather than fixing it.

Activity

  1. added
    kind/bugCategorizes issue or PR as related to a bug
    area/testingIssues or PRs related to testing (e2e, bats, unit tests)
    on Oct 1, 2026
  2. lexfrei commented on Oct 1, 2026

    @lexfrei
    ContributorAuthor

    Two more selector edges of the same kind, found while finishing #4658, both unchanged from main:

    • A file in a subdirectory of examples/backups/ whose name matches no suite (for example examples/backups/common/helpers.sh) selects nothing. ci: the e2e selectors miss Chainsaw step-file suites and loose files under examples/backups #4630 covered only files placed directly in examples/backups/, plus _lib/.
    • hack/e2e-chainsaw-run.sh refuses a top-level test with the globs chainsaw-test.y*ml and [0-9]*-*.y*ml, which are wider than Chainsaw's own step-file pattern. It fails closed (stops the run), so this is a precision issue, not a coverage hole.
  3. lexfrei commented on Oct 1, 2026

    @lexfrei
    ContributorAuthor

    One more instance of the same drift: hack/e2e-chainsaw/README.md has no entries for the backup, kafka-metadata and kubernetes-proxmox suites (#4678 adds monitoring).

  4. themoriarti commented on Oct 19, 2026

    @themoriarti
    Collaborator

    Fix in #4972 for the allowlist validation (same discovery rule as select-e2e.sh, with unit tests for every layout) and the docs. Two items are left as they are, with the reasons in the PR: the backup directory is gone from main, so the "one parked suite" sentence is correct now, and the runner's top-level globs are wider than Chainsaw's pattern but fail closed.

  5. added 2 commits that reference this issue on Nov 1, 2026
    782e0ab
    ba0b1ac
  6. added 2 commits that reference this issue on Nov 10, 2026
    ae36143
    3d68d41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/testingIssues or PRs related to testing (e2e, bats, unit tests)kind/bugCategorizes issue or PR as related to a bugtriage/acceptedIndicates an issue is ready to be actively worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions