Skip to content

soak: the prober grade leaves out a series seen at T0 that has no sample in the window, so a silent node cannot fail the unpinned gate #1469

Closed

Description

@bpalermo

e2e/soak/prober-grade.sh builds its audit from the range query over the window. A series that the T0 instant query returns but that has no sample inside the window is left out entirely:

  • a prober pod deleted right after T0 is missing from PODS at_start instead of being reported GONE;
  • an agent that exports nothing for the whole window does not make the unpinned-cluster gate UNPROVEN: the gate can report PASS from the remaining nodes.

A missing node is visible to a reader (UNPINNED … nodes=N, one line per node, PODS at_end) but not to the exit status, so the gate can pass on less than the fleet.

Not a one-line fix: the T0 instant query also returns a series whose last sample is up to five minutes old (the lookback), so "present at T0, silent in the window" is also what a pod replaced just before T0 looks like, and that ordinary case must not become exit 2. It needs a rule to tell the two apart (the age of the T0 sample, or expecting one unpinned series per node at the window's end, checked against the node list) and a fixture for each case, each seen red.

Raised in review of #1458, which introduced the audit.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsoak

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions