Skip to content

Add additional details on Gradle Check failures autocut issues #13950

Closed
@prudhvigodithi

Description

@prudhvigodithi

Is your feature request related to a problem? Please describe

Coming from #11217 and #3713 we now have the the failure analytics for OpenSearch Gradle Check failures. For more details check the Developer Guide. The next step is to highlight the flaky failures as GitHub Issues so they can be prioritized and fixed. Additionally, when a test fails during the creation of a new PR but is not related to the PR's code changes, this process will help make the contributor aware of the existing flaky test.

Describe the solution you'd like

From the OpenSearch Gradle Check MetricsOpenSearch Gradle Check Metrics dashboard create an issue (with specific format) on failing tests that are part of post merge actions. The failing tests from post merge actions which are executed after the PR is merged are for sure the flaky tests.
Screenshot 2024-06-03 at 11 50 59 AM

Related component

Build

Describe alternatives you've considered

Today the gradle check failure issues are created from https://github.com/opensearch-project/OpenSearch/blob/main/.github/workflows/gradle-check.yml#L161-L168 which sometimes fails to execute https://github.com/opensearch-project/OpenSearch/actions/runs/9320653340/job/25657907035, so clean up the issues and disable the functionality in the gradle-check.yml.

Additional context

Coming from @dblock #11217 (comment) we should also

  1. For any failed test, lookup an existing flaky test issue, if it exists, comment.
  2. For any new failure, highlight it in comments with something like "new flaky test? please check and open one manually".

Metadata

Metadata

Labels

BuildBuild Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement.enhancementEnhancement or improvement to existing feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions