You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Igor Soarez (Jira)" <ji...@apache.org> on 2022/06/16 09:21:00 UTC
[jira] [Comment Edited] (KAFKA-6527) Transient failure in DynamicBrokerReconfigurationTest.testDefaultTopicConfig
[ https://issues.apache.org/jira/browse/KAFKA-6527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17554981#comment-17554981 ]
Igor Soarez edited comment on KAFKA-6527 at 6/16/22 9:20 AM:
-------------------------------------------------------------
+1 on re-enabling. I ran this over 20k iterations, couldn't get a single failure.
{code:java}
#!/bin/bash
set -euo pipefail
test() {
./gradlew \
:core:integrationTest \
-Prerun-tests \
-PtestLoggingEvents=failed \
--tests kafka.network.SocketServerTest.closingChannelWithBufferedReceives \
--tests kafka.server.DynamicBrokerReconfigurationTest.testDefaultTopicConfig \
--tests kafka.server.DynamicBrokerReconfigurationTest.testMetricsReporterUpdate \
--tests kafka.server.DynamicBrokerReconfigurationTest.testUncleanLeaderElectionEnable \
--fail-fast \
--quiet
}
I=0
while test
do (( I=$I+1 ))
echo "Completed run: $I"
sleep 1
done {code}
was (Author: soarez):
+1 on re-enabling. I ran this over 20k iterations, couldn't get a single failure.
{{{}#!/bin/bash{}}}{{{}set -euo pipefail{}}}{{{}test() {{}}}
{{ ./gradlew \}}
{{ :core:integrationTest \}}
{{ -Prerun-tests \}}
{{ -PtestLoggingEvents=failed \}}
{{ --tests kafka.network.SocketServerTest.closingChannelWithBufferedReceives \}}
{{ --tests kafka.server.DynamicBrokerReconfigurationTest.testDefaultTopicConfig \}}
{{ --tests kafka.server.DynamicBrokerReconfigurationTest.testMetricsReporterUpdate \}}
{{ --tests kafka.server.DynamicBrokerReconfigurationTest.testUncleanLeaderElectionEnable \}}
{{ --fail-fast \}}
{{ --quiet}}
{{{}}{}}}{{{}I=0{}}}
{{while test}}
{{do (( I=$I+1 ))}}
{{ echo "Completed run: $I"}}
{{ sleep 1}}
{{done}}
> Transient failure in DynamicBrokerReconfigurationTest.testDefaultTopicConfig
> ----------------------------------------------------------------------------
>
> Key: KAFKA-6527
> URL: https://issues.apache.org/jira/browse/KAFKA-6527
> Project: Kafka
> Issue Type: Bug
> Reporter: Jason Gustafson
> Priority: Blocker
> Fix For: 3.3.0
>
>
> {code:java}
> java.lang.AssertionError: Log segment size increase not applied
> at kafka.utils.TestUtils$.fail(TestUtils.scala:355)
> at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:865)
> at kafka.server.DynamicBrokerReconfigurationTest.testDefaultTopicConfig(DynamicBrokerReconfigurationTest.scala:348)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)