Dejan Stojadinović created KAFKA-20353:
------------------------------------------

             Summary: [ShareCoordinatorServiceTest in trunk] few methods shows 
`java.lang.Exception: bad stuff` (altough Gradle build shows `BUILD SUCCESSFUL` 
result)
                 Key: KAFKA-20353
                 URL: https://issues.apache.org/jira/browse/KAFKA-20353
             Project: Kafka
          Issue Type: Bug
            Reporter: Dejan Stojadinović


*How to reproduce:* checkout Kafka trunk and execute: _*./gradlew clean 
share-coordinator:test -i*_

{code}
dejan@dejan:~/kafka$ git log --oneline -1
94b0f3e45f (HEAD -> trunk, upstream/trunk, upstream/HEAD, origin/trunk, 
origin/HEAD) KAFKA-20050: Add syntax highlighting for code blocks in getting 
started (#21845)
dejan@dejan:~/kafka$ ./gradlew clean share-coordinator:test -i
{code}

Build log: 
{code}
ShareCoordinatorServiceTest > 
testRecordPruningTaskRetriesRepeatedSameOffsetForTopic() STANDARD_OUT
    [2026-03-24 22:17:44,798] ERROR Exception while deleting records in 
__share_group_state-0 till offset 10. 
(org.apache.kafka.coordinator.share.ShareCoordinatorService:339)
    java.lang.Exception: bad stuff
        at 
org.apache.kafka.coordinator.share.ShareCoordinatorServiceTest.testRecordPruningTaskRetriesRepeatedSameOffsetForTopic(ShareCoordinatorServiceTest.java:1809)
        at 
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:565)
        at 
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:787)
        at 
org.junit.platform.commons.support.ReflectionSupport.invokeMethod(ReflectionSupport.java:479)
        at 
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
        at 
org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:161)
        at 
org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:152)
        at 
org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:91)
        at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:112)
        at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:94)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
        at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:93)
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to