You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jun Rao (Jira)" <ji...@apache.org> on 2025/07/15 21:42:00 UTC

[jira] [Commented] (KAFKA-19481) Fix flaky test AuthorizerIntegrationTest.testConsumerGroupHeartbeatWithRegex()

    [ https://issues.apache.org/jira/browse/KAFKA-19481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18007339#comment-18007339 ] 

Jun Rao commented on KAFKA-19481:
---------------------------------

Saw the following failure in https://github.com/apache/kafka/actions/runs/16300736076/job/46035062600?pr=20137
{code:java}
2025-07-15T18:25:49.9448574Z Gradle Test Run :core:test > Gradle Test Executor 22 > AuthorizerIntegrationTest > testConsumerGroupHeartbeatWithRegex() FAILED
2025-07-15T18:25:49.9451320Z     org.opentest4j.AssertionFailedError: Unexpected assignment ConsumerGroupHeartbeatResponseData(throttleTimeMs=0, errorCode=0, errorMessage=null, memberId='3JgEGiKDRv6OsViP3dHvAw', memberEpoch=1, heartbeatIntervalMs=5000, assignment=null) ==> expected: not <null>
2025-07-15T18:25:49.9453750Z         at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
2025-07-15T18:25:49.9455042Z         at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
2025-07-15T18:25:49.9456196Z         at app//org.junit.jupiter.api.AssertNotNull.failNull(AssertNotNull.java:49)
2025-07-15T18:25:49.9457159Z         at app//org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:35)
2025-07-15T18:25:49.9458107Z         at app//org.junit.jupiter.api.Assertions.assertNotNull(Assertions.java:312)
2025-07-15T18:25:49.9459326Z         at app//kafka.api.AuthorizerIntegrationTest.sendAndReceiveRegexHeartbeat(AuthorizerIntegrationTest.scala:4085)
2025-07-15T18:25:49.9460890Z         at app//kafka.api.AuthorizerIntegrationTest.testConsumerGroupHeartbeatWithRegex(AuthorizerIntegrationTest.scala:3125)
2025-07-15T18:25:49.9461949Z  {code}

> Fix flaky test AuthorizerIntegrationTest.testConsumerGroupHeartbeatWithRegex()
> ------------------------------------------------------------------------------
>
>                 Key: KAFKA-19481
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19481
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Sushant Mahajan
>            Priority: Major
>
> Observed in 
> [https://github.com/apache/kafka/actions/runs/16086455065/job/45398324767?pr=20104]
>  
> {code:java}
> 2025-07-05T09:11:08.8004324Z Gradle Test Run :core:test > Gradle Test Executor 21 > SaslOAuthBearerSslEndToEndAuthorizationTest > testProduceConsumeViaSubscribe(String) > testProduceConsumeViaSubscribe(String).groupProtocol=classic STARTED 2025-07-05T09:11:09.6005665Z kafka.api.AuthorizerIntegrationTest.testConsumerGroupHeartbeatWithRegex() failed, log available in /home/runner/work/kafka/kafka/core/build/reports/testOutput/kafka.api.AuthorizerIntegrationTest.testConsumerGroupHeartbeatWithRegex().test.stdout 2025-07-05T09:11:09.6008071Z 2025-07-05T09:11:09.6008981Z Gradle Test Run :core:test > Gradle Test Executor 22 > AuthorizerIntegrationTest > testConsumerGroupHeartbeatWithRegex() FAILED 2025-07-05T09:11:09.6011714Z org.opentest4j.AssertionFailedError: Unexpected assignment ConsumerGroupHeartbeatResponseData(throttleTimeMs=0, errorCode=0, errorMessage=null, memberId='dBGv01cmTbOyJoyQDgpFxg', memberEpoch=1, heartbeatIntervalMs=5000, assignment=null) ==> expected: not <null> 2025-07-05T09:11:09.6014642Z at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152) 2025-07-05T09:11:09.6016154Z at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) 2025-07-05T09:11:09.6017649Z at app//org.junit.jupiter.api.AssertNotNull.failNull(AssertNotNull.java:49) 2025-07-05T09:11:09.6018855Z at app//org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:35) 2025-07-05T09:11:09.6020035Z at app//org.junit.jupiter.api.Assertions.assertNotNull(Assertions.java:312) 2025-07-05T09:11:09.6021483Z at app//kafka.api.AuthorizerIntegrationTest.sendAndReceiveRegexHeartbeat(AuthorizerIntegrationTest.scala:4085) 2025-07-05T09:11:09.6051031Z at app//kafka.api.AuthorizerIntegrationTest.testConsumerGroupHeartbeatWithRegex(AuthorizerIntegrationTest.scala:3125){code}
>  



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