Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.4.0
-
None
-
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
Description
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
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
Attachments
Issue Links
- duplicates
-
KAFKA-9240 Flaky test kafka.admin.ReassignPartitionsClusterTest.shouldMoveSinglePartitionWithinBroker
- Resolved