Skip to content

soak churn.sh silently no-ops when kubeconfig has no current-context: every roll FAILED for 58 min and the run looked alive #951

Closed

Description

@bpalermo

What happened (2026-09-26, rev239 soak, T0 12:05:40Z)

e2e/soak/churn.sh was launched per the README (nohup setsid bash …/churn.sh "rev239/0.94.0-d526bf2"). 58 minutes later the log had 0 ROLLED and four FAILED lines:

The connection to the server localhost:8080 was refused - did you specify the right host or port?
2026-09-26T12:17:40Z FAILED aether-test/deployment/svc-1
… svc-2, aether-mesh-dns, svc-3 likewise

churn.sh calls bare kubectl (lines 118/150/179/185) and relies on the kubeconfig's current-context. ~/.kube/config had no current-context: kind delete cluster clears it when the current context pointed at the kind cluster, and two e2e/l4routes.sh clusters had been created and deleted on this workstation earlier the same day. The driver kept its schedule, logged a FAILED line per roll, and continued — the k6 load and the prober ran normally, so from every dashboard the soak looked healthy. Only reading /tmp/soak-churn.log showed it was a no-op.

The run was killed (kill -9), the context restored (kubectl config use-context talos-main), k6 restarted and the churn relaunched with a new T0.

Why it matters

A soak with no churn passes every SLI by construction (aether#853 shape). The 07-23 and 07-25 runs lost their windows to a driver that died; this one would have lost its window to a driver that lived and did nothing.

Fix

  1. churn.sh takes/uses an explicit context (CTX="${CTX:-talos-main}", kubectl --context "$CTX"), like anyport-probe.sh already does.
  2. Pre-flight, before T0: kubectl --context "$CTX" auth can-i patch deployments -n aether-test (or a dry-run rollout restart --dry-run=server) must succeed, or the driver refuses to start.
  3. Abort on the first FAILED roll (exit non-zero, restore SHRINK if in progress) instead of continuing; a schedule with holes is not a soak.
  4. README "Run" step 3: add kubectl config current-context to the pre-flight and note the kind delete cluster interaction.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions