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

Test failure: org.apache.kafka.common.requests.BrokerRegistrationRequestTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.7.0
    • None
    • None

    Description

      2 tests for versions 0 and 1 fails consistently.

      Build: https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-14767/15/tests/

       

      org.opentest4j.AssertionFailedError: BrokerRegistrationRequestData(brokerId=0, clusterId='test', incarnationId=Xil73H5bSZ2vYTWUVlf07Q, listeners=[], features=[], rack='a', isMigratingZkBroker=false, logDirs=[], previousBrokerEpoch=1) ==> expected: <-1> but was: <1>Stacktraceorg.opentest4j.AssertionFailedError: BrokerRegistrationRequestData(brokerId=0, clusterId='test', incarnationId=Xil73H5bSZ2vYTWUVlf07Q, listeners=[], features=[], rack='a', isMigratingZkBroker=false, logDirs=[], previousBrokerEpoch=1) ==> expected: <-1> but was: <1>	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)	at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)	at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)	at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:166)	at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:660)	at app//org.apache.kafka.common.requests.BrokerRegistrationRequestTest.testBasicBuild(BrokerRegistrationRequestTest.java:57)	at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)	at java.base@17.0.7/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.base@17.0.7/java.lang.reflect.Method.invoke(Method.java:568)	at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)	at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)	at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)	at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)	at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestTemplateMethod(TimeoutExtension.java:94)	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) 

      Attachments

        Activity

          People

            cmccabe Colin McCabe
            apoorvmittal10 Apoorv Mittal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: