[ https://issues.apache.org/jira/browse/KAFKA-2587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934498#comment-14934498 ]
Parth Brahmbhatt commented on KAFKA-2587: ----------------------------------------- [~ijuma] I tried to reproduce this locally by running the test in loop for 50 times and it never failed. {code} for i in `seq 1 50`; do ./gradlew clean core:test -Dtest.single=SimpleAclAuthorizerTest; done {code} Just analyzing the failure shows that the transient failure is reported during removal of the acl on this line. https://github.com/apache/kafka/blob/0990b6ba6a28276f79a1a8bfaf48455c6eddfa1f/core/src/test/scala/unit/kafka/security/auth/SimpleAclAuthorizerTest.scala#L190 Looking at the code given we update the local authorizer's cache immediately I am not entirely sure why would we see transient failures. I have modified the failure message to indicate a little bit more debug info and I have bumped up the timeout from 5 seconds to 10 seconds in case notification processing delay interleaved with the changes made to cache is somehow resulting in this failure. {code} kafka.security.auth.SimpleAclAuthorizerTest > testAclManagementAPIs FAILED java.lang.AssertionError: changes not propagated in timeout period. at org.junit.Assert.fail(Assert.java:88) at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:655) at kafka.security.auth.SimpleAclAuthorizerTest.changeAclAndVerify(SimpleAclAuthorizerTest.scala:229) at kafka.security.auth.SimpleAclAuthorizerTest.testAclManagementAPIs(SimpleAclAuthorizerTest.scala:190) {code} > Transient test failure: `SimpleAclAuthorizerTest` > ------------------------------------------------- > > Key: KAFKA-2587 > URL: https://issues.apache.org/jira/browse/KAFKA-2587 > Project: Kafka > Issue Type: Sub-task > Reporter: Ismael Juma > Assignee: Parth Brahmbhatt > > I've seen `SimpleAclAuthorizerTest ` fail a couple of times since its recent > introduction. Here's one such build: > https://builds.apache.org/job/kafka-trunk-git-pr/576/console > [~parth.brahmbhatt], can you please take a look and see if it's an easy fix? -- This message was sent by Atlassian JIRA (v6.3.4#6332)