Skip to content
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

Successful retry on failure attempts are reported as failure #290

Open
nandodelauni opened this issue Jul 17, 2024 · 0 comments · May be fixed by #293
Open

Successful retry on failure attempts are reported as failure #290

nandodelauni opened this issue Jul 17, 2024 · 0 comments · May be fixed by #293
Assignees

Comments

@nandodelauni
Copy link
Contributor

nandodelauni commented Jul 17, 2024

We have enabled retry on failure mechanism in test plans for our CI. Whenever there is a flaky test that requires more than one iteration to succeed, the output is an unstable build on the CI (we are using Jenkins). This is the command we run:

xcodebuild test ... | xcbeautify --report junit --preserve-unbeautified --report-path some_path

The junit.xml output file from xcbeautify doesn't filter out failures if there is a retry.

I don't know the codebase but at a glance I guess that we could add some retry regex/logic here to filter out previous attempts if there was a successful retry.

I'm happy to contribute to the project if you think this is a valid issue. Any hint would also be appreciated. Wdyt?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant