Attila Doroszlai created HDDS-9875:
--------------------------------------

             Summary: Create stack dump if cannot remove docker network
                 Key: HDDS-9875
                 URL: https://issues.apache.org/jira/browse/HDDS-9875
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: docker, test
    Affects Versions: 1.4.0
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


Sometimes acceptance tests fail due to docker not being able to remove the 
network during teardown.  HDDS-7531 added retry, but it looks like it may fail 
on repeated attempts, too.

To find out why some container cannot be stopped, let's create stack dump of 
such containers if {{docker-compose down}} fails.

{code:title=https://github.com/adoroszlai/ozone-build-results/blob/master/2023/12/07/27364/acceptance-compat/output.log}
Removing network xcompat_default
error while removing network: network xcompat_default id 
81e9a46c74c2487fbfe428b07f25da18f053e8410562334d2dc7a013e254cd33 has active 
endpoints
...
Failed to remove all docker containers in 3 attempts.
ERROR: Test execution of xcompat/test.sh is FAILED!!!!
{code}



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

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

Reply via email to