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 2020/03/04 22:53:00 UTC
[jira] [Commented] (KAFKA-9283) Flaky Test -
kafka.admin.ReassignPartitionsClusterTest.shouldMoveSinglePartitionWithinBroker
[ https://issues.apache.org/jira/browse/KAFKA-9283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17051674#comment-17051674 ]
Matthias J. Sax commented on KAFKA-9283:
----------------------------------------
[https://builds.apache.org/job/kafka-pr-jdk11-scala2.13/5001/testReport/junit/kafka.admin/ReassignPartitionsClusterTest/shouldMoveSinglePartitionWithinBroker/]
> Flaky Test - kafka.admin.ReassignPartitionsClusterTest.shouldMoveSinglePartitionWithinBroker
> --------------------------------------------------------------------------------------------
>
> Key: KAFKA-9283
> URL: https://issues.apache.org/jira/browse/KAFKA-9283
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 2.4.0
> Environment: OS: Ubuntu 18.04.3 LTS
> Java Version: OpenJDK 11.0.4
> Scala Versions: 12.13.0, 12.13.1
> Gradle Version: 5.6.2
> Reporter: Israel Ekpo
> Assignee: Israel Ekpo
> Priority: Major
> Labels: flaky-test
>
> This same test fails occasionally on when run in Scala 2.12.10 but has been failing consistently in Scala versions 2.13.0, 2.13.1.
> Needs review.
> Also, I had to adjust the scalaVersion variable in the gradle.properties config file to the target version in my environment before it was picked up in the integration test
> cat ~/scratchpad/111744.out/kafka-2.4.0-src/gradle.properties
> OS: Ubuntu 18.04.3 LTS
> Java Version: OpenJDK 11.0.4
> Scala Versions: 12.13.0, 12.13.1
> Gradle Version: 5.6.2
> ./gradlew :core:integrationTest --tests kafka.admin.ReassignPartitionsClusterTest.shouldMoveSinglePartitionWithinBroker
> > Configure project :
> Building project 'core' with Scala version 2.13.1
> Building project 'streams-scala' with Scala version 2.13.1
> > Task :core:integrationTest FAILED
> kafka.admin.ReassignPartitionsClusterTest.shouldMoveSinglePartitionWithinBroker failed, log available in /home/isekpo/scratchpad/111744.out/kafka-2.4.0-src/core/build/reports/testOutput/kafka.admin.ReassignPartitionsClusterTest.shouldMoveSinglePartitionWithinBroker.test.stdout
> kafka.admin.ReassignPartitionsClusterTest > shouldMoveSinglePartitionWithinBroker FAILED
> org.scalatest.exceptions.TestFailedException: Partition should have been moved to the expected log directory
> at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:530)
> at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:529)
> at org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1389)
> at org.scalatest.Assertions.fail(Assertions.scala:1091)
> at org.scalatest.Assertions.fail$(Assertions.scala:1087)
> at org.scalatest.Assertions$.fail(Assertions.scala:1389)
> at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:842)
> at kafka.admin.ReassignPartitionsClusterTest.shouldMoveSinglePartitionWithinBroker(ReassignPartitionsClusterTest.scala:177)
> 1 test completed, 1 failed
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':core:integrationTest'.
> > There were failing tests. See the report at: [file:///home/isekpo/scratchpad/111744.out/kafka-2.4.0-src/core/build/reports/tests/integrationTest/index.html]
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
> * Get more help at [https://help.gradle.org|https://help.gradle.org/]
> Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
> Use '--warning-mode all' to show the individual deprecation warnings.
> See [https://docs.gradle.org/5.6.2/userguide/command_line_interface.html#sec:command_line_warnings]
> BUILD FAILED in 1m 56s
> 13 actionable tasks: 4 executed, 9 up-to-date
--
This message was sent by Atlassian Jira
(v8.3.4#803005)