Skip to content

Conversation

gaobinlong
Copy link
Contributor

@gaobinlong gaobinlong commented Sep 22, 2025

Description

From the failure message: java.lang.AssertionError: Failure at [painless/130_script_fields_profile:69]: profile.shards.0.fetch.0.children.0.breakdown.set_next_reader_count didn't match expected value: profile.shards.0.fetch.0.children.0.breakdown.set_next_reader_count: expected Integer [1] but was Integer [2], there maybe two segments generated after indexing, so we need to forcemerge the index before search.

Related Issues

Resolves #19243

Check List

- [ ] Functionality includes testing.
- [ ] API changes companion pull request created, if applicable.
- [ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@github-actions github-actions bot added bug Something isn't working Build Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement. labels Sep 22, 2025
@gaobinlong gaobinlong added skip-changelog and removed bug Something isn't working Build Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement. labels Sep 22, 2025
@github-actions github-actions bot added bug Something isn't working Build Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement. labels Sep 22, 2025
@gaobinlong gaobinlong removed the Build Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement. label Sep 22, 2025
@gaobinlong gaobinlong added flaky-test Random test failure that succeeds on second run and removed bug Something isn't working labels Sep 22, 2025
Copy link
Contributor

❌ Gradle check result for d08649a: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

❌ Gradle check result for d08649a: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

❌ Gradle check result for d08649a: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

❌ Gradle check result for d08649a: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@github-actions github-actions bot added bug Something isn't working Build Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement. labels Sep 23, 2025
Copy link
Contributor

❌ Gradle check result for 8a0a4ad: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

✅ Gradle check result for efc5819: SUCCESS

Copy link

codecov bot commented Sep 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.81%. Comparing base (af75e0b) to head (efc5819).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #19356      +/-   ##
============================================
- Coverage     72.84%   72.81%   -0.03%     
+ Complexity    69857    69806      -51     
============================================
  Files          5674     5674              
  Lines        320901   320901              
  Branches      46394    46394              
============================================
- Hits         233756   233674      -82     
- Misses        68205    68307     +102     
+ Partials      18940    18920      -20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gaobinlong gaobinlong merged commit bb5f0e8 into opensearch-project:main Sep 24, 2025
32 checks passed
vinaykpud pushed a commit to vinaykpud/OpenSearch that referenced this pull request Sep 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Build Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement. flaky-test Random test failure that succeeds on second run skip-changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] [Flaky Test] LangPainlessClientYamlTestSuiteIT painless/130_script_fields_profile is flaky

2 participants