Gaurav Narula created KAFKA-20007:
-------------------------------------

             Summary: 
AclCommandTest#testAclCliWithMisusingBootstrapControllerToServer crashes Gradle 
Executor
                 Key: KAFKA-20007
                 URL: https://issues.apache.org/jira/browse/KAFKA-20007
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 4.1.1
            Reporter: Gaurav Narula


{{AclCommandTest#testAclCliWithMisusingBootstrapControllerToServer}} crashes 
Gradle Executor with the following message:


{code}
> Task :tools:integrationTest FAILED
[Incubating] Problems report is available at: 
file:///Users/gaurav/dev/kafka/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':tools:integrationTest'.
> Test process encountered an unexpected problem.
   > Process 'Gradle Test Executor 7' finished with non-zero exit value 1
* Try:
> Check common problems 
> https://docs.gradle.org/9.2.1/userguide/java_testing.html#sec:java_testing_troubleshooting.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.
{code}

I was able to deduce it's this particular test by running the suite with 
{{-PtestLoggingEvents=started,passed,failed}} and noting the failed executor 
starts the aforementioned test and crashes without it passing/failing.

The fix is to override exit procedure using {{Exit.setExitProcedure}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to