[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15935641#comment-15935641 ] ASF GitHub Bot commented on ZOOKEEPER-2712: --- Github user rakeshadr commented on the issue: https://github.com/apache/zookeeper/pull/200 Thanks a lot @hanm for the useful comments, I will merge this changes shortly. > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R >Priority: Critical > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt, > zookeeper-findbugs-warnings-present-in-3.4.9.html > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15934007#comment-15934007 ] Rakesh R commented on ZOOKEEPER-2712: - Thanks [~hanm], Attached sheet contains the warnings present in previous 3.4.x release. Compare to the previous, we have 8 new {{Medium Priority Warnings}} - Correctness Warnings(2), Dodgy code Warnings(3), Malicious code vulnerability Warnings(3) > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R >Priority: Critical > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt, > zookeeper-findbugs-warnings-present-in-3.4.9.html > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15933929#comment-15933929 ] Michael Han commented on ZOOKEEPER-2712: Thanks Rakesh for the explain on the root cause of the issue. I give +1 on the patch. Regarding find bugs, I tend to agree that they are not blockers but I'd like to make sure that these warnings are not introduced after 3.4.9 - in other words, Do these warnings, or a large subset of it also exists in 3.4.9 (and possibly previous 3.4.x releases)? If that is the case I think we can postpone fixing these, as it is not regression and previous releases all contain them. [~rakeshr] Can you please confirm that previous 3.4.x release (at leaset 3.4.9) has similar scale of find bug warnings? > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R >Priority: Critical > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15933922#comment-15933922 ] ASF GitHub Bot commented on ZOOKEEPER-2712: --- Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/200 lgtm! > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R >Priority: Critical > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15932383#comment-15932383 ] Rakesh R commented on ZOOKEEPER-2712: - FYI, I've raised issue ZOOKEEPER-2728 to cleanup {{br-3.4}} findbugs warnings. > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R >Priority: Critical > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931855#comment-15931855 ] Rakesh R commented on ZOOKEEPER-2712: - bq. Regarding find bug warnings - I tried find bugs (3.0.1) locally and I also get 97 warnings. I suspect we did not get such warnings either because we did not run find bugs at all for branch-3.4, or find bug version updates. I think we should fix the warnings before releasing of 3.4.10, not sure if you agree with this or not. Regardless of this, I think fixing findbug warning is out scope of this particular JIRA and we could use another JIRA to track it (same for the javadoc warnings). Thank you [~hanm] for bringing the findbug warnings point. Its true, Jenkins was not running findbug tool for branch-3.4 and the report was not visible. I personally would like to avoid postponing the 3.4.10 release even further as there are many critical, security defects fixed and quorum auth sasl feature available in this. IMHO, we should fix findbugs if anything critical and should cut a {{3.4.10}} release and all the other warnings can be pushed to {{3.4.11}}? I have quickly gone through the warnings and didn't notice any critical items. Please feel free to add if you would like to discuss any specific case. Probably, could raise a jira to fix those and continue discussion over there. > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R >Priority: Critical > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931573#comment-15931573 ] Rakesh R commented on ZOOKEEPER-2712: - Thanks a lot [~hanm] for the unit test results and comments. bq. I am curious what exactly cause the races though - from the description it was not very clear to me. Do you mind to elaborate a little bit with regards to what code in test case that uses what function in the dependency library and what the race condition is? I hope the following explanation will help to understand the concurrency flow. Below is the auth failed exception which frequently hits in our {{KerberosSecurityTestcase}} related unit test cases. {code} 2017-03-17 15:55:51,397 [myid:] - WARN [NioProcessor-3:KerberosProtocolHandler@241] - Server not found in Kerberos database (7) 2017-03-17 15:55:51,398 [myid:] - WARN [NioProcessor-3:KerberosProtocolHandler@242] - Server not found in Kerberos database (7) [Krb5LoginModule] authentication failed Server not found in Kerberos database (7) - Server not found in Kerberos database 2017-03-17 15:55:51,409 [myid:1] - ERROR [Thread-3:QuorumPeerTestBase$MainThread@145] - unexpected exception in run javax.security.sasl.SaslException: Failed to initialize authentication mechanism using SASL [Caused by javax.security.auth.login.LoginException: Server not found in Kerberos database (7) - Server not found in Kerberos database] at org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthServer.(SaslQuorumAuthServer.java:69) at org.apache.zookeeper.server.quorum.QuorumPeer.initialize(QuorumPeer.java:570) at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:162) {code} As we know, test case is creating a ZK cluster of size 3 and uses [QuorumAuthTestBase.startServer() #L186|https://github.com/apache/zookeeper/blob/branch-3.4/src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumAuthTestBase.java#L186] function to start server in a separate thread. Now, we have three servers starting parallel in three different threads. During startup, each server will initialize SaslQuorumAuthServer and SaslQuorumAuthLearner [QuorumPeer#init|https://github.com/apache/zookeeper/blob/branch-3.4/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java#L570] and does auth login. For Krb login, it internally uses ApacheDS library as this test case is based on {{KerberosSecurityTestcase}}. I have experimented a test scenario of doing multiple Krb {{javax.security.auth.login.LoginContext#login()}} simultaneously and hits exactly the same error {{server not found in Kerberos database}}. Later, I made the login in a sequential fashion and never hits server not found problem. I personally feel, that ApacheDS login module is sharing some resources and resulting in concurrency failure. IMHO, fixing ApacheDS is not our scope and the sequential login changes makes the test case more consistent, does this make sense to you? > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R >Priority: Critical > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931553#comment-15931553 ] ASF GitHub Bot commented on ZOOKEEPER-2712: --- Github user rakeshadr commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/200#discussion_r106797401 --- Diff: src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumDigestAuthTest.java --- @@ -87,7 +87,7 @@ public void testValidCredentials() throws Exception { authConfigs.put(QuorumAuth.QUORUM_SERVER_SASL_AUTH_REQUIRED, "true"); authConfigs.put(QuorumAuth.QUORUM_LEARNER_SASL_AUTH_REQUIRED, "true"); -String connectStr = startQuorum(3, authConfigs, 3); +String connectStr = startQuorum(3, authConfigs, 3, false); --- End diff -- This test is not depending on `KerberosSecurityTestcase ` and not required delay. My above comment is answering this question, kindly refer that. > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R >Priority: Critical > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931550#comment-15931550 ] ASF GitHub Bot commented on ZOOKEEPER-2712: --- Github user rakeshadr commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/200#discussion_r106797363 --- Diff: src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumAuthUpgradeTest.java --- @@ -83,7 +83,7 @@ public void testNullAuthLearnerServer() throws Exception { Map authConfigs = new HashMap(); authConfigs.put(QuorumAuth.QUORUM_SASL_AUTH_ENABLED, "false"); -String connectStr = startQuorum(2, authConfigs, 0); +String connectStr = startQuorum(2, authConfigs, 0, false); --- End diff -- Only those test cases which are extending `KerberosSecurityTestcase` class has the dependency with ApacheDS libraries. So, it is not required to add delay for other test cases. Internally, KerberosSecurityTestcase class is instantiating MiniKdc instance and ZK quorum auth module does handshaking using the credentials configured in `jaas.config` file. > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R >Priority: Critical > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931408#comment-15931408 ] Michael Han commented on ZOOKEEPER-2712: [~rakeshr] Good job on hunting down the culprit of the race! I am curious what exactly cause the races though - from the description it was not very clear to me. Do you mind to elaborate a little bit with regards to what code in test case that uses what function in the dependency library and what the race condition is? Regarding find bug warnings - I tried find bugs (3.0.1) locally and I also get 97 warnings. I suspect we did not get such warnings either because we did not run find bugs at all for branch-3.4, or find bug version updates. I think we should fix the warnings before releasing of 3.4.10, not sure if you agree with this or not. Regardless of this, I think fixing findbug warning is out scope of this particular JIRA and we could use another JIRA to track it (same for the javadoc warnings). > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R >Priority: Critical > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931407#comment-15931407 ] ASF GitHub Bot commented on ZOOKEEPER-2712: --- Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/200 I tested this patch, it works good for my local Linux environment. The previous test cases that failed deterministically now pass consistently. I've left a comment here and a couple of comments in the JIRA, let's resolve those before merging this. > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R >Priority: Critical > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931405#comment-15931405 ] ASF GitHub Bot commented on ZOOKEEPER-2712: --- Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/200#discussion_r106792170 --- Diff: src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumDigestAuthTest.java --- @@ -87,7 +87,7 @@ public void testValidCredentials() throws Exception { authConfigs.put(QuorumAuth.QUORUM_SERVER_SASL_AUTH_REQUIRED, "true"); authConfigs.put(QuorumAuth.QUORUM_LEARNER_SASL_AUTH_REQUIRED, "true"); -String connectStr = startQuorum(3, authConfigs, 3); +String connectStr = startQuorum(3, authConfigs, 3, false); --- End diff -- Similarly wondering why no delay is added here. > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R >Priority: Critical > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931404#comment-15931404 ] ASF GitHub Bot commented on ZOOKEEPER-2712: --- Github user hanm commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/200#discussion_r106792158 --- Diff: src/java/test/org/apache/zookeeper/server/quorum/auth/QuorumAuthUpgradeTest.java --- @@ -83,7 +83,7 @@ public void testNullAuthLearnerServer() throws Exception { Map authConfigs = new HashMap(); authConfigs.put(QuorumAuth.QUORUM_SASL_AUTH_ENABLED, "false"); -String connectStr = startQuorum(2, authConfigs, 0); +String connectStr = startQuorum(2, authConfigs, 0, false); --- End diff -- I am curious why we don't need a delay here - is it because the ApacheDS is not used in this test case? > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R >Priority: Critical > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15930308#comment-15930308 ] Rakesh R commented on ZOOKEEPER-2712: - Thanks [~hanm] for the offline discussion about the static tool warnings. {code} -1 javadoc. The javadoc tool appears to have generated 1 warning messages. {code} Jira has broken links, am adding [patchJavadocWarnings.txt|https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/444/artifact/patchprocess/patchJavadocWarnings.txt] link. {code} -1 findbugs. The patch appears to introduce 97 new Findbugs (version 3.0.1) warnings. {code} Jira has broken links, am adding [newPatchFindbugsWarnings.html|https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/444/artifact/build/test/findbugs/newPatchFindbugsWarnings.html] link. It looks like entire project items are showing. The proposed fix is majorily touching test code apart from one source code QuorumPeer.java. So, anything required here? > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15930227#comment-15930227 ] Rakesh R commented on ZOOKEEPER-2712: - [~hanm], Yes the test cases are happily running in my Windows env. Later, I have tried running in Linux and it is failing. After putting the delay between the server startup, I could see it is passing consistently. [~hanm], [~phunt], It would be really helpful if you could post your feedback on the proposed fix. Thanks! > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15930224#comment-15930224 ] Hadoop QA commented on ZOOKEEPER-2712: -- -1 overall. GitHub Pull Request Build +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 18 new or modified tests. -1 javadoc. The javadoc tool appears to have generated 1 warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. -1 findbugs. The patch appears to introduce 97 new Findbugs (version 3.0.1) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/444//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/444//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/444//console This message is automatically generated. > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15930141#comment-15930141 ] ASF GitHub Bot commented on ZOOKEEPER-2712: --- GitHub user rakeshadr opened a pull request: https://github.com/apache/zookeeper/pull/200 ZOOKEEPER-2712: MiniKdc test case intermittently failing due to princ… After long long analysis, I have observed concurrency issues at `ApacheDs `(used for unit test) causing the trouble and failing minikdc test cases. Introduced delay between the ZK server's startup to avoid simultaneous login context init across servers. Also, modified few test code for better debugging. You can merge this pull request into a Git repository by running: $ git pull https://github.com/rakeshadr/zookeeper-1 ZK-2712 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zookeeper/pull/200.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #200 commit 3d1db97770a23ab8a9d9dd5700544518f865647a Author: Rakesh Radhakrishnan Date: 2017-03-17T15:25:56Z ZOOKEEPER-2712: MiniKdc test case intermittently failing due to principal not found in Kerberos database > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R > Fix For: 3.4.10 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928606#comment-15928606 ] Michael Han commented on ZOOKEEPER-2712: [~rakeshr] Yes it is sad that we still need 1.6 support otherwise this is not an issue. Since you mentioned that these tests (with ZOOKEEPER-2689) pass consistently on your windows, could this be a JDK / OS issue? Otherwise if the test itself is flaky then I would imagine windows test will fail sometimes. > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R > Fix For: 3.4.11 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15927849#comment-15927849 ] Rakesh R commented on ZOOKEEPER-2712: - [~hanm], Yes test case was consistently passing with Kerby dependency. Also, it was pretty simple compares to ApacheDS but Kerby has build requirement of jdk1.7+, http://directory.apache.org/kerby/developer-guide.html]. Since branch-3.4.x support Java 1.6 or higher, Apache Kerby dependency is not possible, right? I'm still searching the root cause of this test failure, kerb related logs are not helping much to identify the real problem. > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R > Fix For: 3.4.11 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (ZOOKEEPER-2712) MiniKdc test case intermittently failing due to principal not found in Kerberos database
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15925486#comment-15925486 ] Michael Han commented on ZOOKEEPER-2712: The culprit is https://github.com/apache/zookeeper/commit/e8247eec1103e387e02bbb1e8859b4d468688f48 (ZOOKEEPER-2689). These tests fail consistently after this commit. > MiniKdc test case intermittently failing due to principal not found in > Kerberos database > > > Key: ZOOKEEPER-2712 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2712 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Rakesh R >Assignee: Rakesh R > Fix For: 3.4.11 > > Attachments: > TEST-org.apache.zookeeper.server.quorum.auth.QuorumKerberosAuthTest.txt > > > MiniKdc test cases are intermittently failing due to not finding the > principal. Below is the failure stacktrace. > {code} > 2017-03-08 13:21:10,843 [myid:] - ERROR > [NioProcessor-1:AuthenticationService@187] - Error while searching for client > lear...@example.com : Client not found in Kerberos database > 2017-03-08 13:21:10,843 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@241] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-2:KerberosProtocolHandler@242] - Server not found in Kerberos > database (7) > 2017-03-08 13:21:10,844 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@241] - Client not found in Kerberos > database (6) > 2017-03-08 13:21:10,845 [myid:] - WARN > [NioProcessor-1:KerberosProtocolHandler@242] - Client not found in Kerberos > database (6) > {code} > Will attach the detailed log to jira. -- This message was sent by Atlassian JIRA (v6.3.15#6346)