Repository navigation
Open
Description
Flaky Test Report: Committed-Code Failures on 2026-05-28
Tests that failed against committed code (Timer runs on main) in the past 24 hours. None of the failures reproduced locally with the original CI seed, confirming they are environment-sensitive flakes.
Summary Table
| Test | Builds Affected (Total) | First Seen | Trend | Build Link |
|---|---|---|---|---|
ClientYamlTestSuiteIT (20_terms/string profiler via global ordinals) |
370 | 2024-03-25 | Stable (chronic) | 78522 |
FlightOutboundHandlerContextPropagationTests.testThreadContextPropagatedThroughErrorResponse |
26 | 2026-04-14 | Worsening | 78542 |
DefaultSslContextProviderFlightIT.testHotReloadWithNewInstance |
5 | 2026-03-11 | Worsening | 78558 |
Detailed Findings
1. ClientYamlTestSuiteIT — search.aggregation/20_terms/string profiler via global ordinals
- Build: 78522
- Seed:
78E73F5B9864354F - Error:
field [profile.shards.0.aggregations.0.debug.segments_with_single_valued_ords] is not greater than [0] - Reproduced locally: No (passed with seed)
- First failure: 2024-03-25 (build 35903)
- Total unique builds affected: 370
- Pattern: Chronic flake present for over 2 years. Peaked at 89 builds in Sep 2024, then dropped. Currently stable at ~8-12 builds/month. The assertion depends on segment topology (single-valued ordinals optimization), which is non-deterministic based on merge timing and segment count.
- Monthly breakdown: Mar 2024: 6, Apr 2024: 32, May 2024: 9, Jun 2024: 12, Jul 2024: 9, Aug 2024: 22, Sep 2024: 89, Oct 2024: 10, Nov 2024: 4, Dec 2024: 8, Jan 2025: 19, Feb 2025: 5, Mar 2025: 1, Apr 2025: 6, May 2025: 2, Jun 2025: 10, Jul 2025: 18, Aug 2025: 11, Sep 2025: 12, Oct 2025: 11, Nov 2025: 10, Dec 2025: 4, Jan 2026: 24, Feb 2026: 4, Mar 2026: 12, Apr 2026: 12, May 2026: 8
2. FlightOutboundHandlerContextPropagationTests.testThreadContextPropagatedThroughErrorResponse
- Build: 78542
- Seed:
7D5D5FEE6CF29862 - Error:
BindTransportException: Failed to bind to [/0:0:0:0:0:0:0:1%lo, /127.0.0.1]:PortsRange{portRange='30901'}— Address already in use - Reproduced locally: No (passed with seed)
- First failure: 2026-04-14 (build 74472)
- Total unique builds affected: 26
- Pattern: New flake that appeared mid-April 2026 (coincides with CI runner migration to m7a.8xlarge). Port collision on a hardcoded port (30901) when another test or process occupies it. 11 failures in April, 15 in May — worsening trend. The test binds to a fixed port rather than using an ephemeral port, making it vulnerable to port conflicts in parallel CI environments.
3. DefaultSslContextProviderFlightIT.testHotReloadWithNewInstance
- Build: 78558
- Seed:
D33F35C47BD97E3F - Error:
expected:<cert[2].example.com> but was:<cert[1].example.com>— TLS certificate hot-reload returned stale cert - Reproduced locally: No (passed with seed)
- First failure: 2026-03-11 (build 72355)
- Total unique builds affected: 5
- Pattern: Low-frequency flake. 1 failure in March, 0 in April, 4 in May — possibly worsening. The test reloads TLS certificates and expects the new cert to be served immediately. Under load or with faster CPUs, a race between the reload trigger and the verification connection may cause the old cert to be returned. The April 2026 CI runner change may have amplified this.
Reproduction Details
All tests were run locally with the exact seed from the failing CI build:
./gradlew :plugins:arrow-flight-rpc:test --tests "*.FlightOutboundHandlerContextPropagationTests.testThreadContextPropagatedThroughErrorResponse" -Dtests.seed=7D5D5FEE6CF29862 # PASSED
./gradlew :plugins:arrow-flight-rpc:internalClusterTest --tests "*.DefaultSslContextProviderFlightIT.testHotReloadWithNewInstance" -Dtests.seed=D33F35C47BD97E3F # PASSED
./gradlew :rest-api-spec:yamlRestTest --tests "*.ClientYamlTestSuiteIT.test *20_terms*string profiler via global ordinals*" -Dtests.seed=78E73F5B9864354F # PASSED
None reproduced, which is expected for environment-sensitive flakes (port conflicts, segment topology, timing races).
Notes
- The FlightOutboundHandlerContextPropagationTests failure onset (2026-04-14) aligns with the CI runner migration from m5.8xlarge to m7a.8xlarge around 2026-04-15.
- The ClientYamlTestSuiteIT test is a chronic, well-known flake that depends on Lucene segment topology.
- The DefaultSslContextProviderFlightIT test is a timing-sensitive TLS reload test with a low but increasing failure rate.
Metadata
Metadata
Assignees
Labels
No labels
Activity