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

ZOOKEEPER-4221: Improve the error message when message goes above jute.maxbufer size #1614

Closed
wants to merge 1 commit into from

Conversation

mariemat
Copy link

No description provided.

@mariemat
Copy link
Author

HI,

The CI failed with a timeout.

[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.zookeeper.server.quorum.Zab1_0Test
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.352 s - in org.apache.zookeeper.server.quorum.Zab1_0Test
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0

I reran the following successfully:

mvn -Dtest=Zab1_0Test  -Pfull-build verify -Dsurefire-forkcount=1 -DskipCppUnit -Dsurefire.rerunFailingTestsCount=5
...
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.zookeeper.server.quorum.Zab1_0Test
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.352 s - in org.apache.zookeeper.server.quorum.Zab1_0Test
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 43.262 s
[INFO] Finished at: 2021-02-24T20:53:12+01:00

Is there a way to rerun the CI?

Copy link
Contributor

@symat symat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great, thank you!

we can re-trigger the CI job on jenkins / travis / wherever (I'm not really sure). But this was a quite trivial change and also AFAICS only the java 11 unit tests timeouted, so I wouldn't care much...

@ztzg , @maoling PTAL - I remember an other PR where we discussed some logging improvement with one of you around the jute.maxbuffer. (but it is also very possible that I remember wrong... anyway, can you take a look?)

@symat
Copy link
Contributor

symat commented Feb 25, 2021

using the link on the failed GitHub CI job (the one with label "Details"), you can select "Rerun Jobs". But that would re-run all GitHub based CI jobs for this PR, and that potentially can cause more flaky tests. So I think this is good enough.

(we are working right now in the community to stabilize the CI for the master branch, as it is less reliable than it used to be)

@symat
Copy link
Contributor

symat commented Feb 25, 2021

anyway, I just re-triggered the job. (actually there is only a single GitHub check that is running the java unit tests)
it succeeded now

Copy link
Contributor

@ztzg ztzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@symat wrote:

I remember an other PR where we discussed some logging improvement with one of you around the jute.maxbuffer.

I suppose it was #1580, which predates this submission, but whose message is a bit less informative.

(we are working right now in the community to stabilize the CI for the master branch, as it is less reliable than it used to be)

Indeed. And FWIW, I had noted the failing test (Zab1_0Test.testNormalFollowerRunWithDiff, failing at Zab1_0Test.java:790); once more, the failure can be ascribed to a timing assumption. I've been collecting a few of those, and am planning to submit patches at some point.

@symat
Copy link
Contributor

symat commented Feb 25, 2021

thanks @ztzg for the review! :)

@symat
Copy link
Contributor

symat commented Feb 26, 2021

I'm merging it now.

@asfgit asfgit closed this in 94d0c4d Feb 26, 2021
@symat
Copy link
Contributor

symat commented Feb 26, 2021

@ztzg I merged this to master and branch-3.7. I think this can go to 3.7.0. Do I need to cherry-pick this to some 3.7.0 release branch, or you will cut a new release branch from branch-3.7 later?

asfgit pushed a commit that referenced this pull request Feb 26, 2021
…e.maxbufer size

Author: Mathieu Marie <[email protected]>

Reviewers: Damien Diederen <[email protected]>, Mate Szalay-Beko <[email protected]>

Closes #1614 from mariemat/ZOOKEEPER-4221

(cherry picked from commit 94d0c4d)
Signed-off-by: Mate Szalay-Beko <[email protected]>
@ztzg
Copy link
Contributor

ztzg commented Mar 2, 2021

Hi @symat, thank you.

@ztzg I merged this to master and branch-3.7. I think this can go to 3.7.0. Do I need to cherry-pick this to some 3.7.0 release branch, or you will cut a new release branch from branch-3.7 later?

Same as #1611 (comment): don't worry about it, as I have to reconcile both branches anyway. I have added this ticket to my list of things to check.

asfgit pushed a commit that referenced this pull request Mar 6, 2021
…e.maxbufer size

Author: Mathieu Marie <[email protected]>

Reviewers: Damien Diederen <[email protected]>, Mate Szalay-Beko <[email protected]>

Closes #1614 from mariemat/ZOOKEEPER-4221

(cherry picked from commit 94d0c4d)
Signed-off-by: Mate Szalay-Beko <[email protected]>
@ztzg
Copy link
Contributor

ztzg commented Mar 6, 2021

Hi @symat, thank you.

@ztzg I merged this to master and branch-3.7. I think this can go to 3.7.0. Do I need to cherry-pick this to some 3.7.0 release branch, or you will cut a new release branch from branch-3.7 later?

Same as #1611 (comment): don't worry about it, as I have to reconcile both branches anyway. I have added this ticket to my list of things to check.

Now also in branch-3.7.0. Thanks!

RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
…e.maxbufer size

Author: Mathieu Marie <[email protected]>

Reviewers: Damien Diederen <[email protected]>, Mate Szalay-Beko <[email protected]>

Closes apache#1614 from mariemat/ZOOKEEPER-4221
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
…e.maxbufer size

Author: Mathieu Marie <[email protected]>

Reviewers: Damien Diederen <[email protected]>, Mate Szalay-Beko <[email protected]>

Closes apache#1614 from mariemat/ZOOKEEPER-4221
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
…e.maxbufer size

Author: Mathieu Marie <[email protected]>

Reviewers: Damien Diederen <[email protected]>, Mate Szalay-Beko <[email protected]>

Closes apache#1614 from mariemat/ZOOKEEPER-4221
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Sep 3, 2022
…e.maxbufer size

Author: Mathieu Marie <[email protected]>

Reviewers: Damien Diederen <[email protected]>, Mate Szalay-Beko <[email protected]>

Closes apache#1614 from mariemat/ZOOKEEPER-4221
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Sep 29, 2022
…e.maxbufer size

Author: Mathieu Marie <[email protected]>

Reviewers: Damien Diederen <[email protected]>, Mate Szalay-Beko <[email protected]>

Closes apache#1614 from mariemat/ZOOKEEPER-4221
anuragmadnawat1 pushed a commit to anuragmadnawat1/zookeeper that referenced this pull request Nov 2, 2022
…e.maxbufer size

Author: Mathieu Marie <[email protected]>

Reviewers: Damien Diederen <[email protected]>, Mate Szalay-Beko <[email protected]>

Closes apache#1614 from mariemat/ZOOKEEPER-4221
anuragmadnawat1 added a commit to anuragmadnawat1/zookeeper that referenced this pull request Nov 2, 2022
…e.maxbufer size (#107)

Author: Mathieu Marie <[email protected]>

Reviewers: Damien Diederen <[email protected]>, Mate Szalay-Beko <[email protected]>

Closes apache#1614 from mariemat/ZOOKEEPER-4221

Co-authored-by: Mathieu Marie <[email protected]>
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 this pull request may close these issues.

3 participants