f1a0879fea
As part of the container rename actions, attempt to stop and remove
containers without actually checking if they exist. Additionally we
don't actually fail if these command fail which leads to other errors
later that may be unrelated to the core issue. This change adds
additional checks around the stop and remove container actions to ensure
that the container is running before stopping and exists before
removing.
Backport note:
This change includes the subsequent change[1] to fix the wrong method
name used.
[1] Ie0462cd89f0beb2a2adc82768dea7d42dc343192
Change-Id: I82172f5a2d4683509c802c0f14d571a40e21e6cc
Closes-Bug: #1907833
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
test_builder_base.py | ||
test_builder_compose1.py | ||
test_builder_podman.py | ||
test_paunch.py | ||
test_runner.py | ||
test_utils_common.py | ||
test_utils_systemctl.py | ||
test_utils_systemd.py |