You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michael Han (JIRA)" <ji...@apache.org> on 2018/09/14 23:24:00 UTC
[jira] [Comment Edited] (ZOOKEEPER-3141)
testLeaderElectionWithDisloyalVoter is flaky
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16615502#comment-16615502 ]
Michael Han edited comment on ZOOKEEPER-3141 at 9/14/18 11:23 PM:
------------------------------------------------------------------
Thanks [~lvfangmin], appreciate your help on fixing this.
To identify a build where this test fail, you can start at flaky test dashboard:
[https://builds.apache.org/job/zOOkeeper-Find-Flaky-Tests/lastSuccessfulBuild/artifact/report.html]
You will see this test is currently ranking as one of the top flaky tests. Then click the show/hide label of the right most column it will expand and list the builds.
Currently, these builds can be used to triage
[179|https://builds.apache.org/job/ZooKeeper-trunk//179] [181|https://builds.apache.org/job/ZooKeeper-trunk//181] [189|https://builds.apache.org/job/ZooKeeper-trunk//189]
was (Author: hanm):
Thanks [~lvfangmin], appreciate your help on fixing this.
To identify a build where this test fail, you can start at flaky test dashboard:
[https://builds.apache.org/job/zOOkeeper-Find-Flaky-Tests/lastSuccessfulBuild/artifact/report.html]
You will see this test is currently ranking on of the top flaky tests. Then click the show/hide label of the right most column it will expand and list the builds.
Currently, these builds can be used to triage
[179|https://builds.apache.org/job/ZooKeeper-trunk//179] [181|https://builds.apache.org/job/ZooKeeper-trunk//181] [189|https://builds.apache.org/job/ZooKeeper-trunk//189]
> testLeaderElectionWithDisloyalVoter is flaky
> --------------------------------------------
>
> Key: ZOOKEEPER-3141
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3141
> Project: ZooKeeper
> Issue Type: Bug
> Components: leaderElection, server, tests
> Affects Versions: 3.6.0
> Reporter: Michael Han
> Priority: Major
>
> The unit test added in ZOOKEEPER-3109 turns out to be quite flaky.
> See [https://builds.apache.org/job/zOOkeeper-Find-Flaky-Tests/511/artifact/report.html]
> Recent failure builds:
> [https://builds.apache.org/job/ZooKeeper-trunk//181]
> [https://builds.apache.org/job/ZooKeeper-trunk//179]
> [https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/2123/testReport/junit/org.apache.zookeeper.server.quorum/QuorumPeerMainTest/testLeaderElectionWithDisloyalVoter_stillHasMajority/]
>
> Snapshot of the failure:
> {code:java}
> org.apache.zookeeper.server.quorum.QuorumPeerMainTest.testLeaderElectionWithDisloyalVoter_stillHasMajority
> Error Message
> Server 0 should have joined quorum by now
> Stacktrace
> junit.framework.AssertionFailedError: Server 0 should have joined quorum by now
> at org.apache.zookeeper.server.quorum.QuorumPeerMainTest.testLeaderElection(QuorumPeerMainTest.java:1482)
> at org.apache.zookeeper.server.quorum.QuorumPeerMainTest.testLeaderElectionWithDisloyalVoter_stillHasMajority(QuorumPeerMainTest.java:1431)
> at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)