Skip to content

Flaky test: KinesisFaultToleranceTest.test_supervisorRecovers_afterSuspendResume_withEmptyShards #20433

Description

@FrankChen021

This issue was generated automatically by Claude Code (Anthropic's AI coding agent) running a scheduled CI-triage routine on behalf of @FrankChen021. Analysis and suggested fixes are AI-produced; please verify before acting on them.

Status: Open: no fix PR
Subject: KinesisFaultToleranceTest.test_supervisorRecovers_afterSuspendResume_withEmptyShards (embedded-tests, unit tests (25, K*,U*,Z*,Y*,X*))
Failures: 2 · First seen: 2026-09-23 · Last seen: 2026-10-08

Root cause

StreamIndexTestBase.verifyRowCount gates on waitForAllSegmentsToBeAvailable, which counts Broker schema-refresh metrics. That count can be reached before the handed-off segments are queryable, and the suspend has already dropped the realtime segments, so COUNT(*) returned 2001 instead of 3000.

Suggested fix

Switch verifyRowCount to EmbeddedClusterApis.waitForAllSegmentsToBeQueryable (added in #20319), or poll COUNT(*) until it matches.

Occurrences

Failed push-triggered master jobs only. The daily triage routine adds one row per new failed job.

Date Commit Job Failure log Detail Reported in
2026-09-23 a379ea8 (#20397) unit tests (25, K*,U*,Z*,Y*,X*) job 107010233701 COUNT(*) 2001 vs expected 3000; 1/1 attempt #20414
2026-10-08 51b66c7 (#20516) unit tests / unit tests(main) (25, K*,U*,Z*,Y*,X*) / test-jdk25-[K*,U*,Z*,Y*,X*] job 113291222476 COUNT(*) 2001 vs expected 3000 in verifyAndTearDown; 1/1 attempt

Activity

  1. FrankChen021 commented on Oct 9, 2026

    @FrankChen021
    MemberAuthor

    Failed again on 2026-10-08: 51b66c7 job 113291222476, COUNT(*) 2001 vs expected 3000 (1/1 attempt).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions