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

Yanwen Lin edited comment on KAFKA-12933 at 8/14/21, 9:18 PM:
--------------------------------------------------------------

Similar issue happens to me.

In this integration test ReassignPartitionsIntegrationTest:

Not only the *testReassignmentWithAlterIsrDisabled* is flaky, another test 
*testReassignment* always failed with the following stacktrace:
{code:java}
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
        at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
        at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:40)
        at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:35)
        at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:162)
        at 
kafka.admin.ReassignPartitionsIntegrationTest.executeAndVerifyReassignment(ReassignPartitionsIntegrationTest.scala:130)
        at 
kafka.admin.ReassignPartitionsIntegrationTest.testReassignment(ReassignPartitionsIntegrationTest.scala:62)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
{code}
I ran the test in MacOS 10.13.4 with the following command:
{code:java}
workspace$ ./gradlew core:test --tests ReassignPartitionsIntegrationTest{code}
 


was (Author: ll1124278064):
Similar issue happens to me.

In this integration test ReassignPartitionsIntegrationTest:

Not only the *testReassignmentWithAlterIsrDisabled* is flaky, another test 
*testReassignment* always failed with the following stacktrace:

 
{code:java}
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
        at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
        at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:40)
        at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:35)
        at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:162)
        at 
kafka.admin.ReassignPartitionsIntegrationTest.executeAndVerifyReassignment(ReassignPartitionsIntegrationTest.scala:130)
        at 
kafka.admin.ReassignPartitionsIntegrationTest.testReassignment(ReassignPartitionsIntegrationTest.scala:62)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
{code}
I ran the test in MacOS 10.13.4 with the following command:

 

 
{code:java}
workspace$ ./gradlew core:test --tests ReassignPartitionsIntegrationTest{code}
 

> Flaky test 
> ReassignPartitionsIntegrationTest.testReassignmentWithAlterIsrDisabled
> ---------------------------------------------------------------------------------
>
>                 Key: KAFKA-12933
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12933
>             Project: Kafka
>          Issue Type: Test
>          Components: admin
>            Reporter: Matthias J. Sax
>            Priority: Critical
>              Labels: flaky-test
>
> {quote}org.opentest4j.AssertionFailedError: expected: <true> but was: <false> 
> at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55) at 
> org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:40) at 
> org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:35) at 
> org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:162) at 
> kafka.admin.ReassignPartitionsIntegrationTest.executeAndVerifyReassignment(ReassignPartitionsIntegrationTest.scala:130)
>  at 
> kafka.admin.ReassignPartitionsIntegrationTest.testReassignmentWithAlterIsrDisabled(ReassignPartitionsIntegrationTest.scala:74){quote}



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

Reply via email to