PrasanthV454 opened a new pull request, #14191:
URL: https://github.com/apache/kafka/pull/14191

   AK Builds are exiting while running the tests. After going through various 
builds here is what I found - 
   
   - Clients which ever aren't closed while running the tests are trying to 
connect to the broker even when broker got shutdown. And when a gradle worker 
starts running on the same port which is a system assigned port as gradle by 
default bind a worker to port:0 and if broker was running previously it starts 
accepting the connection from the hanging clients and result in 
MessageIOException and eventually gradle worker starts shutting down with a 
ConnectException. All the tests expect MetadataQuorumCommandTest may be the 
reason for this. 
    
   - Whenever the build initiates the shutdown process it starts removing the 
shutdown hooks and these shutdown hooks can only be removed when all the 
executing threads were able to gracefully shutdown. But few tests in 
MetadataQuorumCommandTest aren't able to catch the InterruptSignal and 
resulting in failure of removing shutdown hooks.
   
   These two issues are mainly contributing for the build failures. 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to