-
Notifications
You must be signed in to change notification settings - Fork 558
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
Rerun failed tests automatically and detect flaky tests #4347
Comments
Issue is postponed until prioritization of flaky tests is discussed. |
@menski I could use your help here. I googled my way to a PoC, but I struggle to get it running on the Zeebe Pipeline. The PoC is here: https://github.com/pihme/jenkinsTestBed/tree/rerun-failed-tests It works as follows:
In Zeebe the second step seems to be not working. Maybe it's because of the "container" tag and the file I write isn't visible to the world outside. Besides that there is potential for improvement:
vs a test that always fails:
I will continue working on this myself. |
@pihme is there a branch where I can see this applied to the Zeebe Pipeline, as you mentioned that the second step is failing there? |
@menski: Made several improvements. It is now so close to something usable that the missing piece is all the more infuriating. The missing piece is the capture of the exit code of a piped command. In my toy project this works with:
In Zeebe it doesn't. Might have to do with the first line in the script. In my toy project I use Any help is welcome. |
@pihme regarding the |
4625: chore(ci): rerun failed tests, scan log, report flaky tests r=menski a=pihme ## Description * rerun failing tests * extract flaky tests from log * collect flaky tests at the end and add them to description ## Related issues closes #4347 # Co-authored-by: pihme <pihme@users.noreply.github.com>
Description
The text was updated successfully, but these errors were encountered: