paunch/paunch/tests
Alex Schultz f1a0879fea Actually fail if a stop or remove call fails
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 523465fe8c)
2021-01-11 14:37:17 +00:00
..
__init__.py Initial Cookiecutter Commit. 2017-01-25 11:24:31 +13:00
base.py Initial Cookiecutter Commit. 2017-01-25 11:24:31 +13:00
test_builder_base.py Fix inspect images calls to not use the index format keyword 2020-11-12 19:03:14 +00:00
test_builder_compose1.py podman: get cpus allowed list only when isolcpus in cmdline 2020-06-24 06:37:31 -06:00
test_builder_podman.py [USSURI-ONLY] Add new parameter: pids_limit 2020-08-26 06:00:47 +00:00
test_paunch.py Allow to not cleanup containers that aren't in config 2020-02-18 02:15:04 +00:00
test_runner.py Actually fail if a stop or remove call fails 2021-01-11 14:37:17 +00:00
test_utils_common.py Do not set cpuset-cpus if cconfig['cpuset_cpus'] == 'all' 2020-03-19 17:21:57 -04:00
test_utils_systemctl.py Check if container is running before doing an exec 2019-08-27 23:19:05 +00:00
test_utils_systemd.py Make sure failed containers get stopped by systemd 2020-07-21 12:48:31 +00:00