Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10155

Flaky Test ReassignPartitionsUnitTest.testModifyBrokerThrottles

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: admin
    • Labels:
      None

      Description

      Seems to fail more often than not. I've seen this fail on almost every single build of the latest PRs

       

      Stacktrace

      java.lang.NullPointerException at kafka.admin.ReassignPartitionsUnitTest.verifyBrokerThrottleResults(ReassignPartitionsUnitTest.scala:577) at kafka.admin.ReassignPartitionsUnitTest.testModifyBrokerThrottles(ReassignPartitionsUnitTest.scala:540) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:830)

      Standard Output

      Current partition replica assignment {"version":1,"partitions":[

      {"topic":"bar","partition":0,"replicas":[2,3,0],"log_dirs":["any","any","any"]}

      ,{"topic":"foo","partition":0,"replicas":[0,1,2],"log_dirs":["any","any","any"]},{"topic":"foo","partition":1,"replicas":[1,2,3],"log_dirs":["any","any","any"]}]} Proposed partition reassignment configuration {"version":1,"partitions":[

      {"topic":"bar","partition":0,"replicas":[0,3,1],"log_dirs":["any","any","any"]}

      ,{"topic":"foo","partition":0,"replicas":[3,0,1],"log_dirs":["any","any","any"]},{"topic":"foo","partition":1,"replicas":[0,1,3],"log_dirs":["any","any","any"]}]} Current partition replica assignment {"version":1,"partitions":[

      {"topic":"foo","partition":0,"replicas":[0,1,2],"log_dirs":["any","any","any"]}

      ,{"topic":"foo","partition":1,"replicas":[1,2,3],"log_dirs":["any","any","any"]}]} Proposed partition reassignment configuration {"version":1,"partitions":[

      {"topic":"foo","partition":0,"replicas":[3,0,1],"log_dirs":["any","any","any"]}

      ,{"topic":"foo","partition":1,"replicas":[0,1,2],"log_dirs":["any","any","any"]}]}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chia7712 Chia-Ping Tsai
                Reporter:
                ableegoldman A. Sophie Blee-Goldman
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: