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

[improve][CI] Remove cmd-line level test retries #16524

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

nicoloboschi
Copy link
Contributor

@nicoloboschi nicoloboschi commented Jul 11, 2022

Motivation

It is common that some tests suite in our CI times out. This is because when a test fails the entire suite is retried from the beginning (max 3 times). (example: https://github.com/apache/pulsar/runs/7281063499?check_suite_focus=true)

The command-line retries may sound helpful in making the CI green for a given pull but they actually hide test failures (that may be flakies or real issues!!).

Another issue is that you can't easily see the failed test and most of the time the quickest solution is just to blindly restart the failed jobs. This is not the correct behaviour and it will make the CI less stable over time.

Modifications

Removed the retry from ALL the test suites

  • doc-not-needed

@nodece nodece requested a review from codelipenghui July 12, 2022 07:09
@merlimat merlimat added this to the 2.11.0 milestone Jul 12, 2022
@merlimat merlimat added area/test area/build doc-not-needed Your PR changes do not impact docs labels Jul 12, 2022
@codelipenghui codelipenghui merged commit 0dee92d into apache:master Jul 13, 2022
@codelipenghui codelipenghui added the type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages label Jul 13, 2022
@codelipenghui codelipenghui changed the title [ci] Remove cmd-line level test retries [improve][CI] Remove cmd-line level test retries Jul 13, 2022
@nicoloboschi nicoloboschi deleted the remove-retries branch July 13, 2022 07:44
wuxuanqicn pushed a commit to wuxuanqicn/pulsar that referenced this pull request Jul 14, 2022
nicoloboschi added a commit to datastax/pulsar that referenced this pull request Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build area/test doc-not-needed Your PR changes do not impact docs type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants