Skip to content

Flaky test: IndexParallelTaskTest.test_runIndexTask_andReindexIntoAnotherDatasource #20809

Not planned

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: IndexParallelTaskTest.test_runIndexTask_andReindexIntoAnotherDatasource with SingleDimensionPartitionsSpec (embedded-tests, unit tests (25, I*,L*,J*))
Failures: 2 · First seen: 2026-10-31 · Last seen: 2026-10-31

Root cause

The first index_parallel task in the test (IndexParallelTaskTest.java:134) did not emit task/run/time within LatchableEmitter's default 10 s wait in EmbeddedClusterApis.waitForTaskToFinish. With SingleDimensionPartitionsSpec (parameter [3]) the supervisor task runs three sequential phases (dimension distribution, range-partitioned segment generation, merge), each spawning sub-tasks on the Indexer, so it is the slowest variant and has the least headroom on a loaded runner. Both failures came from commits merged within 5 minutes of each other, whose CI runs overlapped; 317feddae9, merged between them, passed the same job, and neither commit touches batch indexing.

Suggested fix

Give runTask in IndexParallelTaskTest a longer wait for multi-phase tasks (for example, an EmbeddedClusterApis.runTask overload that takes a timeout, used with ~60 s for range and hash partitioning) instead of the 10 s default.

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-10-31 5abae39 (#20781) unit tests / unit tests(main) (25, I*,L*,J*) / test-jdk25-[I*,L*,J*] job 124378508194 [3] (SingleDimensionPartitionsSpec): Timed out waiting for event after [10,000]ms waiting for the first task to finish; 1 attempt, no retry
2026-10-31 36d8e07 (#20299) unit tests / unit tests(main) (25, I*,L*,J*) / test-jdk25-[I*,L*,J*] job 124379850631 [3] (SingleDimensionPartitionsSpec): same 10 s timeout on the first task; 1 attempt, no retry

Activity

  1. PrakarshSrivastav commented on Nov 1, 2026

    @PrakarshSrivastav

    Can i be assigned? I would like to look into this.

  2. FrankChen021 commented on Nov 2, 2026

    @FrankChen021
    MemberAuthor

    @PrakarshSrivastav Assigned. Thank you for taking this one.

  3. FrankChen021 commented on Dec 1, 2026

    @FrankChen021
    MemberAuthor

    No failures on master in 30 days; closing. The routine will reopen this if it recurs.

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions