You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2021/06/16 20:25:00 UTC

[jira] [Commented] (KAFKA-12401) Flaky Test FeatureCommandTest#testUpgradeAllFeaturesSuccess

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

Matthias J. Sax commented on KAFKA-12401:
-----------------------------------------

kafka.admin.FeatureCommandTest.testDescribeFeaturesSuccess()
{quote}org.opentest4j.AssertionFailedError: expected: <Feature: feature_1 SupportedMinVersion: 1 SupportedMaxVersion: 3 FinalizedMinVersionLevel: 1 FinalizedMaxVersionLevel: 3 Epoch: 1 Feature: feature_2 SupportedMinVersion: 1 SupportedMaxVersion: 5 FinalizedMinVersionLevel: 1 FinalizedMaxVersionLevel: 5 Epoch: 1 > but was: <Feature: feature_1 SupportedMinVersion: 1 SupportedMaxVersion: 3 FinalizedMinVersionLevel: - FinalizedMaxVersionLevel: - Epoch: 0 Feature: feature_2 SupportedMinVersion: 1 SupportedMaxVersion: 5 FinalizedMinVersionLevel: - FinalizedMaxVersionLevel: - Epoch: 0 >{quote}
Bunch of exceptions in the log:
{quote}2021-06-16 19:13:39,839] WARN [RequestSendThread controllerId=2] Controller 2's connection to broker localhost:33561 (id: 1 rack: null) was unsuccessful (kafka.controller.RequestSendThread:72) java.io.IOException: Connection to localhost:33561 (id: 1 rack: null) failed. at org.apache.kafka.clients.NetworkClientUtils.awaitReady(NetworkClientUtils.java:71) at kafka.controller.RequestSendThread.brokerReady(ControllerChannelManager.scala:291) at kafka.controller.RequestSendThread.doWork(ControllerChannelManager.scala:245) at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:96){quote}

> Flaky Test FeatureCommandTest#testUpgradeAllFeaturesSuccess
> -----------------------------------------------------------
>
>                 Key: KAFKA-12401
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12401
>             Project: Kafka
>          Issue Type: Test
>          Components: admin, unit tests
>            Reporter: Matthias J. Sax
>            Priority: Critical
>              Labels: flaky-test
>
> {quote}kafka.admin.UpdateFeaturesException: 2 feature updates failed! at kafka.admin.FeatureApis.maybeApplyFeatureUpdates(FeatureCommand.scala:289) at kafka.admin.FeatureApis.upgradeAllFeatures(FeatureCommand.scala:191) at kafka.admin.FeatureCommandTest.$anonfun$testUpgradeAllFeaturesSuccess$3(FeatureCommandTest.scala:134){quote}
> STDOUT
> {quote}[Add] Feature: feature_1 ExistingFinalizedMaxVersion: - NewFinalizedMaxVersion: 3 Result: OK [Add] Feature: feature_2 ExistingFinalizedMaxVersion: - NewFinalizedMaxVersion: 5 Result: OK [Add] Feature: feature_1 ExistingFinalizedMaxVersion: - NewFinalizedMaxVersion: 3 Result: OK [Add] Feature: feature_2 ExistingFinalizedMaxVersion: - NewFinalizedMaxVersion: 5 Result: OK{quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)