Galsza opened a new pull request, #5347:
URL: https://github.com/apache/ozone/pull/5347

   ## What changes were proposed in this pull request?
   
   In rare occasions there is a race condition between closing a docker 
container and that container leaving the network. When the container is still 
connected to the network but the network is being shut down it will cause an 
error that makes the acceptance tests fail.
   
   This pr adds a retry mechanism for docker-compose down as well as ignoring 
the possible error coming from it, since it's irrelevant to the result of the 
test itself.
   
   ## What is the link to the Apache JIRA
   
   [HDDS-7531](https://issues.apache.org/jira/browse/HDDS-7531)
   
   ## How was this patch tested?
   
   The error is hard to reproduce directly. I observed that the CI still runs. 
Locally I've also changed the docker-comose.yaml while running an acceptance 
test thus creating an orphan container that can't be removed. When the test 
shut down it was retried and the test was still successful in result.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to