-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flaky test detection is broken #8373
Comments
As this has an impact on our day to day, let's fix it soon - I also think I have an idea what the issue is. |
I think the issue is that we changed (and by we, I mean, myself) the pattern when grepping for results. The flaky test plugin adds a |
8472: Fix aggregation of flaky test results in Jenkins r=npepinpe a=npepinpe ## Description This PR fixes the aggregation of flaky test results. There was an issue where I changed the glob pattern which caused flaky tests to be ignored when collecting the reports. Essentially, the flaky test plugin adds a `-FLAKY` suffix to the test name and creates a new report for that run under `surefire-reports` or `failsafe-reports`, so we were missing a glob `*` at the end of the pattern. ## Related issues closes #8373 Co-authored-by: Nicolas Pepin-Perreault <nicolas.pepin-perreault@camunda.com>
Describe the bug
Some builds report flaky tests, but no failing test cases are reported in Jenkins. It's unclear whether or not the issue is with the plugin or with our Jenkins pipeline.
To Reproduce
Not sure. Here's an example build: https://ci.zeebe.camunda.cloud/blue/organizations/jenkins/camunda-cloud%2Fzeebe/detail/develop/1171/pipeline. I've saved the build forever, please delete it once this is fixed.
Expected behavior
Flaky tests are properly reported as separate failures for easier debugging.
The text was updated successfully, but these errors were encountered: