Skip to content

[Test]: unrecoverable-pending-instance E2E permanently fails on release-1.28/1.29 (no serial reuse on those branches) #11330

Open

Description

@mnencia

The release-1.28 and release-1.29 nightly schedules have failed every night since 2026-08-11, always on the same spec: Unrecoverable pending instance > honors the annotation on a Pending instance (tests/e2e/unrecoverable_pending_instance_test.go:182). The Eventually(300s) waiting on collectPVCUIDs(instanceName) times out with an empty map instead of the expected 2 PVCs. main and release-1.30 pass this spec every night.

The test captures the stuck instance's name before triggering its deletion/recreation, then polls for that same name's PVCs to reappear with fresh UIDs. On main/release-1.30, generateNodeSerial reuses the lowest free serial gap, so the replacement instance comes back under the same name. On release-1.28/release-1.29, nextNodeSerial is a monotonically increasing counter that never reuses a freed serial, so the replacement lands under a new name and the old name's PVCs never come back.

This test was added by #11241 (backported to all four branches on 2026-08-10), but it implicitly relies on the serial-reuse behavior introduced by #10548, which only landed on main/release-1.30 and was never backported (it's a larger behavior change, not a bugfix, so that looks deliberate). The result is a permanent, deterministic CD red on both release-1.28 and release-1.29 rather than a flake.

Since backporting #10548 doesn't look like the right fix, this spec needs to be adapted to work without serial reuse (e.g. discover whichever name/serial the replacement instance actually comes back as, instead of assuming the original name), rather than skipped on those branches.

Activity

  1. added
    E2E tests
    on Aug 16, 2026
  2. added a commit that references this issue on Aug 17, 2026
    1fa31e9
  3. added a commit that references this issue on Aug 18, 2026
    1ae0658
  4. ehtishammubarik commented on Aug 31, 2026

    @ehtishammubarik

    This looks resolved on both branches, and the issue is only still open because of where the fix landed.

    #11331 merged as 1fa31e9cd on release-1.29 (2026-08-17) and was cherry-picked as 1ae065853 onto release-1.28 (2026-08-18). Its description says Closes #11330, but the PR targeted release-1.29 rather than the default branch, so the keyword never fired and this stayed open.

    The nightly continuous-delivery runs bracket the problem exactly. On each branch the red streak begins at the #11241 backport commit itself, and the first green run is the first one whose head contains the fix:

    branch red streak first green first green head fix reachable from it
    release-1.28 08-11 → 08-18 (8 runs, first red head d30fb2231 = #11241 backport) 08-19 e5a534791 1ae065853 yes
    release-1.29 08-11 → 08-17 (7 runs, first red head da11e10cd = #11241 backport) 08-18 bb7233df8 1fa31e9cd yes

    The ten nightlies before the backport were green on both branches, and every nightly since the fix has been green — 5 in a row on release-1.28, 6 on release-1.29, including this morning's.

    In the last red run on release-1.29 (31985248486, 2026-08-17) the spec was the suite's only failure, with the empty-map timeout you described:

    [FAILED] Timed out after 300.001s.
    The function passed to Eventually failed at tests/e2e/unrecoverable_pending_instance_test.go:174 with:
    Expected
        <map[string]string | len:0>: {}
    to have length 2
    
    Summarizing 1 Failure:
      [FAIL] Unrecoverable pending instance [It] honors the annotation on a Pending instance
    Ran 218 of 240 Specs — FAIL! -- 217 Passed | 1 Failed | 0 Pending | 22 Skipped
    

    In this morning's runs the spec runs and passes on both: • [88.718 seconds] on release-1.29 (run 32610583376) and • [96.678 seconds] on release-1.28 (run 32610583333), each with SUCCESS! for the whole suite. So it is passing rather than being skipped or filtered out.

    Nothing looks outstanding on the other two branches either: main and release-1.30 still allocate serials through generateNodeSerial (internal/controller/cluster_create.go:1128 on main), which returns the first free gap, so the original name-based assertions remain correct there and the spec is meant to differ from the release-branch version.

    Unless you are keeping this open to track something else, it looks closeable.

  5. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor

    This issue is stale because it has been open for 60 days with no activity.

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

    E2E testsStale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions