spiegel_podman/test/e2e
Urvashi Mohnani 2f29639bd3 Cleanup kube play workloads if error happens
If an error happening while playing a kube yaml,
clean up any pods, containers, and volumes that might
have been created before the error was hit.
This improves the user experience for when they go to
re-run the same yaml with their fixes and podman doesn't
complain about any existing workloads from the previously
failed run.

Suppress the clean up output when clean up happens after an
error as the user doesn't need to see or know about that.

Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2022-12-08 10:30:44 -05:00
..
build remote: fix implementation of build with --userns=auto for API 2022-08-26 16:53:40 +05:30
cdi Add support for CDI device configuration 2021-04-20 09:18:52 -04:00
config add friendly comment 2022-12-01 11:35:51 +08:00
quadlet Merge pull request #16748 from ygalblum/quadlet_kube_userns 2022-12-06 18:03:41 -05:00
sign fix e2e sign tests 2022-08-01 16:21:55 +02:00
testdata Add support for creating sigstore signatures, and providing passphrases 2022-07-30 17:26:08 +02:00
attach_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
benchmarks_test.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
build_test.go e2e: keeps the http_proxy value 2022-12-07 16:30:32 +09:00
checkpoint_image_test.go test: podman run with checkpoint image 2022-12-02 14:39:33 +00:00
checkpoint_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
cleanup_test.go Output messages display rawInput 2022-08-02 18:28:37 +09:00
commit_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
common_test.go Merge pull request #16684 from sstosh/e2e-proxy 2022-12-06 19:57:10 -05:00
config.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
config_amd64.go Update the registry server we test against from 2.6 to 2.8 2022-07-30 17:24:31 +02:00
config_arm64.go Update the registry server we test against from 2.6 to 2.8 2022-07-30 17:24:31 +02:00
config_ppc64le.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
container_clone_test.go podman container clone env patch 2022-09-16 11:43:26 -04:00
container_create_volume_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
container_inspect_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
containers_conf_test.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
cp_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
create_staticip_test.go Fix test flakes caused by improper podman-logs 2022-11-07 11:29:06 -07:00
create_staticmac_test.go all: stop using deprecated GenerateNonCryptoID 2022-09-13 16:26:26 -07:00
create_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
diff_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
events_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
exec_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
exists_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
export_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
generate_kube_test.go Merge pull request #16684 from sstosh/e2e-proxy 2022-12-06 19:57:10 -05:00
generate_spec_test.go Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
generate_systemd_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
healthcheck_run_test.go Add support for startup healthchecks 2022-11-28 13:30:29 -05:00
history_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
image_scp_test.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
image_sign_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
images_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
import_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
info_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
init_test.go Output messages display rawInput 2022-08-02 18:28:37 +09:00
inspect_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
kill_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
libpod_suite_remote_test.go ginkgo testing: fix podman usernamespace join 2022-10-27 15:16:19 +02:00
libpod_suite_test.go ginkgo testing: fix podman usernamespace join 2022-10-27 15:16:19 +02:00
load_test.go enable gocritic linter 2022-04-26 18:12:22 +02:00
login_logout_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
logs_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
manifest_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
mount_rootless_test.go Cirrus: Fix e2e tests for "mount_rootless_test" 2022-08-03 17:01:18 +09:00
mount_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
namespace_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
negative_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
network_connect_disconnect_test.go all: stop using deprecated GenerateNonCryptoID 2022-09-13 16:26:26 -07:00
network_create_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
network_test.go network create: support "-o parent=XXX" for ipvlan 2022-12-05 18:02:46 +01:00
pause_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
play_build_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
play_kube_test.go Cleanup kube play workloads if error happens 2022-12-08 10:30:44 -05:00
pod_clone_test.go [minor] fix duplicate test name 2022-07-07 11:23:17 -06:00
pod_create_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
pod_infra_container_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
pod_initcontainers_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_inspect_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
pod_kill_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_pause_test.go Fix podman pod unpaue TODO 2022-07-05 10:32:49 -04:00
pod_pod_namespaces_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_prune_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_ps_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
pod_restart_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_rm_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
pod_start_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
pod_stats_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_stop_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
pod_top_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
port_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
prune_test.go Add podman system prune --external 2022-12-05 18:09:21 +01:00
ps_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
pull_test.go Merge pull request #16329 from gupttaru/encryption-decryption-feature 2022-11-28 06:33:59 -05:00
push_test.go Merge pull request #16329 from gupttaru/encryption-decryption-feature 2022-11-28 06:33:59 -05:00
quadlet_test.go Quadlet Kube: Add support for userns flag 2022-12-05 21:26:23 +02:00
rename_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
restart_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
rm_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
rmi_test.go remove image podman no prune 2022-08-04 14:55:03 -04:00
run_aardvark_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
run_apparmor_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
run_cgroup_parent_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
run_cleanup_test.go e2e: Add rootless mount cleanup test 2022-08-05 12:01:51 +09:00
run_cpu_test.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
run_device_test.go Merge pull request #16580 from giuseppe/specgen-support-cdi-devices 2022-11-28 06:36:33 -05:00
run_dns_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_entrypoint_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_env_test.go e2e: keeps the http_proxy value 2022-12-07 16:30:32 +09:00
run_exit_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_memory_test.go e2e: Add run --memory-swap test 2022-08-24 18:15:21 +09:00
run_networking_test.go Merge pull request #16758 from Luap99/nv-ipam-none 2022-12-06 20:02:43 -05:00
run_ns_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
run_passwd_test.go libpod: create /etc/passwd if missing 2022-07-21 17:58:16 +02:00
run_privileged_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
run_restart_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_seccomp_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_security_labels_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_selinux_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
run_signal_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_staticip_test.go all: stop using deprecated GenerateNonCryptoID 2022-09-13 16:26:26 -07:00
run_test.go Merge pull request #16329 from gupttaru/encryption-decryption-feature 2022-11-28 06:33:59 -05:00
run_transient_test.go Add some tests for transient store 2022-12-05 18:09:21 +01:00
run_userns_test.go runtime: do not chown idmapped volumes 2022-12-05 14:10:43 +01:00
run_volume_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
run_working_dir_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
runlabel_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
save_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
search_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
secret_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
start_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
stats_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
stop_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
system_connection_test.go fix port issues for CONTAINER_HOST 2022-11-16 11:01:30 -05:00
system_df_test.go fix --format {{json .}} output to match docker 2022-11-09 17:59:05 +01:00
system_dial_stdio_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
system_reset_test.go Do not report that /usr/share/containers/storage.conf has been edited. 2022-10-29 11:24:56 -04:00
system_service_test.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
systemd_activate_test.go e2e: fix e2e tests in proxy environment 2022-12-06 11:14:19 +09:00
systemd_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
tag_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
toolbox_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
top_test.go vendor containers/psgo@v1.8.0 2022-10-14 17:28:15 +02:00
tree_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
trust_test.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
unshare_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
untag_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
update_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
version_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
volume_create_test.go Add podman volume create --ignore 2022-10-24 17:30:31 +02:00
volume_exists_test.go all: stop using deprecated GenerateNonCryptoID 2022-09-13 16:26:26 -07:00
volume_inspect_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
volume_ls_test.go podman volume ls: use report.Formatter over Template 2022-09-13 10:33:13 +02:00
volume_plugin_test.go Add support for 'image' volume driver 2022-09-22 13:07:40 -04:00
volume_prune_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
volume_rm_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
wait_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00