Skip to content

Flaky test report: committed-code failures on 2026-06-02 #284

Open

Description

@andrross

Summary

Two distinct tests failed against committed code (Timer builds on main) in the 24 hours ending 2026-06-02T10:00 UTC.

Failing Tests

1. OsProbeTests.testGetProcessNativeMemoryBytes_returnsDifferenceWhenRssAnonExceedsCommitted

Field Value
Build 79090
Module :server (unit test)
Seed 58E573169AA95E21
Reproduced locally Yes — deterministic with seed
First failure 2026-05-25 (build 78260)
Total unique builds affected 6
Trend Worsening — 4 builds in May, 2 builds in first 2 days of June

Error: java.lang.AssertionError: expected:<67108864> but was:<67043328>

Pattern: The test asserts an exact byte value for native memory computation (RSS anon minus committed). The assertion value is hardcoded but the underlying computation produces a slightly different result. This reproduces deterministically with the seed, suggesting a test logic bug rather than a race condition — the test likely computes expected values incorrectly for certain random inputs.


2. IngestPipelineFromKafkaIT.testFieldMappingWithDropPipeline

Field Value
Build 79065
Module :plugins:ingestion-kafka (internalClusterTest)
Seed 95B6C54C7267B2F
Reproduced locally No — passed with same seed
First failure 2026-06-01 (build 79065)
Total unique builds affected 1
Trend Stable (single occurrence so far)

Error: ConditionTimeoutException: Condition was not fulfilled within 1 minutes during KafkaUtils.createTopic in test setup.

Pattern: Infrastructure timeout — the embedded Kafka broker did not become ready within the 1-minute awaitility window during @Before setup. This is environmental (not seed-deterministic) and likely caused by resource contention on the CI runner. Single occurrence suggests an isolated environmental issue rather than a chronic flake.


Summary Table

Test Builds Affected First Failure Reproduced Locally Trend
OsProbeTests.testGetProcessNativeMemoryBytes_returnsDifferenceWhenRssAnonExceedsCommitted 6 2026-05-25 ✅ Yes (deterministic) Worsening
IngestPipelineFromKafkaIT.testFieldMappingWithDropPipeline 1 2026-06-01 ❌ No Stable (single occurrence)

Methodology

  • Failures queried from metrics.opensearch.org gradle-check indices, filtered to invoke_type=Timer with git_reference=main
  • Historical data aggregated across all build types (including PR builds) using monthly date histogram with unique build count
  • Seeds extracted from Jenkins test report API (errorStackTrace field)
  • Local reproduction attempted using the exact seed from each failing build
  • Builds verified on current main branch checkout

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