Seen in build https://ci.vcna.io/vmware/vic/12992:

The Compose Up with link test failed before getting to the docker-compose down step, thereby leaving orphan containers connected to the vic_default network, which caused subsequent docker-compose down commands to fail with
...
Removing network vic_default
vic_default has active endpoints
Proposed solutions:
- docker-compose integration test suites use a
Test Teardown Run Keyword If Test Failed step to clean up orphan containers if a test fails before the cleanup step (docker-compose down).
- See if there's a docker-compose command option to make orphan containers attached to networks non-fatal for
docker-compose down.
Seen in build https://ci.vcna.io/vmware/vic/12992:
The
Compose Up with linktest failed before getting to thedocker-compose downstep, thereby leaving orphan containers connected to thevic_defaultnetwork, which caused subsequentdocker-compose downcommands to fail withProposed solutions:
Test Teardown Run Keyword If Test Failedstep to clean up orphan containers if a test fails before the cleanup step (docker-compose down).docker-compose down.