Skip to content

Flaky test report: committed-code failures on 2026-05-31 #282

Open

Description

@andrross

Summary

5 distinct tests failed against committed code (Timer/main and Post Merge Action builds) in the 24 hours ending 2026-05-31T10:00Z. This report documents each failure, its historical pattern, and local reproduction results.

Failing Tests

1. IndicesRequestCacheIT.testDeleteAndCreateSameIndexShardOnSameNode

  • Build: 78838
  • Trigger: Post Merge Action (main)
  • Error: Suite timeout exceeded (>= 1200000 msec)
  • Seed: 2DD75A3E053A190D
  • Reproduced locally: No
  • First seen: 2024-03-27
  • Total unique builds affected: 636
  • Pattern: Chronic high-frequency flake. Major spike in Mar-Jun 2024 (209-237 builds/month), subsided Jul 2024, resurgent in Mar 2026 (56 builds). Currently at 10 builds in May 2026. Worsening (recent resurgence after quiet period).

2. RemoteStoreStatsIT.testNonZeroPrimaryStatsOnNewlyCreatedIndexWithZeroDocs

  • Build: 78818
  • Trigger: Timer (main)
  • Error: java.lang.AssertionError in assertBusy at RemoteStoreStatsIT.java:602
  • Seed: 8C8D204923570A43
  • Reproduced locally: No
  • First seen: 2024-03-27
  • Total unique builds affected: 436
  • Pattern: Chronic steady flake. Peaked Aug-Oct 2024 (42-56 builds/month), declined to single digits since. Currently 14 builds in May 2026. Stable (low-level chronic).

3. RetryTests.classMethod

  • Build: 78863
  • Trigger: Timer (main)
  • Error: SpanData validation failed for validator AllSpansAreEndedProperly - a fetch phase span was not ended (hasEnded=false)
  • Seed: 8AEEE78AF387E940
  • Reproduced locally: No
  • First seen: 2024-03-28
  • Total unique builds affected: 79
  • Pattern: Chronic low-frequency flake. Spike in Apr 2025 (14 builds), otherwise 1-6 builds/month. Currently 6 builds in May 2026. Stable (low-level chronic with occasional spikes).

4. IngestPipelineFromKafkaIT.testPipelineWithFieldMappingMapper

  • Build: 78818
  • Trigger: Timer (main)
  • Error: ContainerLaunchException: Container startup failed for image confluentinc/cp-kafka:6.2.1
  • Seed: 8C8D204923570A43
  • Reproduced locally: No (requires Docker/testcontainers infrastructure)
  • First seen: 2026-03-16
  • Total unique builds affected: 20
  • Pattern: New test (first appeared Mar 2026). Accelerating failure rate: 2 builds in Mar, 4 in Apr, 14 in May 2026. Worsening (infrastructure-dependent, Docker container startup failures).

5. StarTreeNestedAggregatorTests.testStarTreeNestedAggregations

  • Build: 78847
  • Trigger: Timer (main)
  • Error: NullPointerException: Cannot invoke "StarTreeValues.getDimensionValuesIterator(String)" because "starTreeValues" is null
  • Seed: BC46461167AB5A99
  • Reproduced locally: Yes (deterministic with seed)
  • First seen: 2025-06-06
  • Total unique builds affected: 10
  • Pattern: Low-frequency flake, ~1 build/month. Stable but deterministically reproducible - likely a genuine code bug triggered by specific randomized parameters.

Summary Table

Test Builds Affected First Seen Reproduced Trend
IndicesRequestCacheIT.testDeleteAndCreateSameIndexShardOnSameNode 636 2024-03-27 No Worsening
RemoteStoreStatsIT.testNonZeroPrimaryStatsOnNewlyCreatedIndexWithZeroDocs 436 2024-03-27 No Stable
RetryTests.classMethod 79 2024-03-28 No Stable
IngestPipelineFromKafkaIT.testPipelineWithFieldMappingMapper 20 2026-03-16 No Worsening
StarTreeNestedAggregatorTests.testStarTreeNestedAggregations 10 2025-06-06 Yes Stable

Notes

  • The StarTreeNestedAggregatorTests failure is deterministically reproducible with the seed and appears to be a genuine code bug (NPE when starTreeValues is null for certain randomized index configurations).
  • The IngestPipelineFromKafkaIT failure is infrastructure-related (Docker container startup) and cannot be reproduced locally without testcontainers/Docker.
  • The IndicesRequestCacheIT failure is a suite timeout (20 minutes), suggesting the test hangs under certain conditions rather than failing an assertion.
  • The RetryTests failure is a telemetry span validation issue (span not ended properly), suggesting a race condition in span lifecycle management during the fetch phase.
  • The RemoteStoreStatsIT failure is an assertBusy timeout, suggesting a timing-sensitive condition that doesn't stabilize within the polling window.

Data Source

Failures queried from metrics.opensearch.org gradle-check indices. Historical patterns include all build types (PR, Timer, Post Merge Action).

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