Skip to content

Flaky test: IngestionDockerTest.test_runIndexTask_andKillData #20431

Closed

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: Resolved by #20291
Subject: IngestionDockerTest.test_runIndexTask_andKillData (embedded-tests, docker-tests)
Failures: 1 · First seen: 2026-09-10 · Last seen: 2026-09-10

Root cause

After the kill task, the test waits 240 s for a single segment/schemaCache/dataSource/removed event from the Broker, so one missed or late emission fails the test. The test's sys.segments check was already moved to polling in #19416; this metric wait was not.

Suggested fix

#20291 (merged 2026-09-26) emits segment/schemaCache/dataSource/removed from the Broker's last-segment callback, so the metric no longer depends on a background refresh. Close after 7 days with no recurrence; if it recurs, poll the Broker schema or sys.segments instead of waiting for one metric event.

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-10 8d9545e (#20247) docker-tests job 102752252468 timed out after 240 s waiting for segment/schemaCache/dataSource/removed #20312

Activity

  1. FrankChen021 commented on Oct 3, 2026

    @FrankChen021
    MemberAuthor

    Resolved by #20291; no failures on master since 2026-09-26.

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