spiegel_podman/test/e2e
Miloslav Trmač 2a3418c72e [v4.4.1-rhel] Introduce PodmanTestIntegration.PodmanExitCleanly
This significantly simplifies the ceromony of running a Podman command
in integration tests, from

> session := p.Podman([]string{"stop", id})
> session.WaitWithDefaultTimeout()
> Expect(session).Should(ExitCleanly())

to
> p.PodmanExitCleanly("stop", id)

There are >4650 instances of ExitCleanly() in the tests,
and many could be migrated; this does not do that.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
(cherry picked from commit 0c18beaea7)
Signed-off-by: Tom Sweeney <tsweeney@redhat.com>
2026-04-14 19:16:29 -04:00
..
build remote,test: remove .dockerignore which is a symlink 2024-04-16 09:05:59 -04:00
cdi build(deps): bump CDI spec version to 0.3.0 2026-01-29 18:41:51 +05:30
config Vendor in latest containers/common with default capabilities 2022-12-15 14:28:30 -05:00
quadlet kube play: only enforce passthrough in Quadlet 2023-02-20 07:53:56 +00:00
sign Add (podman {image,manifest} push --sign-by-sigstore=param-file.yaml) 2023-01-27 16:46:28 +01:00
testdata Add (podman {image,manifest} push --sign-by-sigstore=param-file.yaml) 2023-01-27 16:46:28 +01:00
attach_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
benchmarks_test.go e2e tests: stop using UBI images 2023-01-06 08:21:50 -07:00
build_test.go test/e2e: exclude build_test from remote testing 2026-02-02 17:40:20 +05:30
checkpoint_image_test.go test: disable all checkpoint tests 2026-02-02 21:41:24 +05:30
checkpoint_test.go test: disable all checkpoint tests 2026-02-02 21:41:24 +05:30
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 [v4.4.1-rhel] Introduce PodmanTestIntegration.PodmanExitCleanly 2026-04-14 19:16:29 -04:00
config.go [v4.4.1-rhel] CI: stop using registry.k8s.io 2024-07-20 16:44:53 -04:00
config_amd64.go e2e tests: stop using UBI images 2023-01-06 08:21:50 -07:00
config_arm64.go e2e tests: stop using UBI images 2023-01-06 08:21:50 -07: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 e2e: fix some tests on remote 2026-02-04 20:31:11 +05:30
cp_test.go test/e2e: close and remove temp file before cp in cp_test 2026-02-04 16:31:15 +05:30
create_staticip_test.go e2e: use isRootless() instead of rootless.IsRootless() 2023-01-18 10:34:51 +09:00
create_staticmac_test.go e2e: use isRootless() instead of rootless.IsRootless() 2023-01-18 10:34:51 +09: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 e2e tests: fix incorrect os.User.Name 2026-02-04 20:36:34 +05:30
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 test/e2e: skip healthcheck test for remote 2026-02-02 21:41:24 +05:30
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 test/e2e: skip "podman builder prune" for remote 2026-02-02 21:41:25 +05:30
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 Add container error message to ContainerState 2023-01-03 13:21:24 -05:00
kill_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
libpod_suite_remote_test.go e2e: use isRootless() instead of rootless.IsRootless() 2023-01-18 10:34:51 +09:00
libpod_suite_test.go e2e: use isRootless() instead of rootless.IsRootless() 2023-01-18 10:34:51 +09:00
load_test.go test/e2e: fix "podman load localhost registry from dir" test 2026-01-29 19:09:26 +05:30
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 Fix integration test build failures 2026-01-29 18:41:51 +05:30
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 network create: do not allow default as name 2023-01-20 14:52:07 +01:00
network_test.go test/e2e: fix network ID test 2026-01-29 18:41:51 +05:30
pause_test.go ginkgo tests: apply ginkgolinter fixes 2022-11-25 14:41:43 +01:00
play_build_test.go Vendor in latest containers/common with default capabilities 2022-12-15 14:28:30 -05:00
play_kube_test.go Fix integration test build failures 2026-01-29 18:41:51 +05:30
pod_clone_test.go [minor] fix duplicate test name 2022-07-07 11:23:17 -06:00
pod_create_test.go test/e2e: skip pod userns=auto test in remote mode 2026-02-04 22:08:04 +05:30
pod_infra_container_test.go Vendor in latest containers/common with default capabilities 2022-12-15 14:28:30 -05: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 test/e2e: skip "podman image prune dangling images" for remote 2026-02-02 18:38:38 +05:30
ps_test.go fix: don't output "ago" when container is currently up and running 2023-01-27 19:47:33 +00:00
pull_test.go Fix OCI directory pull tests for vendored libimage behavior 2026-01-29 18:41:51 +05:30
push_test.go tests: fix "Storing signatures" check 2026-01-29 18:41:43 +05:30
quadlet_test.go kube play: only enforce passthrough in Quadlet 2023-02-20 07:53:56 +00: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 test/e2e: skip "podman rmi with cached images" for remote 2026-02-02 18:38:48 +05:30
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 test/e2e: skip cgroup parent test for rootless cgroupfs 2026-02-04 20:18:29 +05:30
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 ginkgo tests: apply ginkgolinter fixes 2022-12-20 16:47:17 +01: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 remote: allow --http-proxy for remote clients 2022-12-08 17:08:37 +01: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 Fix nc listen command for ncat compatibility 2026-01-29 18:41:51 +05:30
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 Vendor in latest containers/common with default capabilities 2022-12-15 14:28:30 -05:00
run_selinux_test.go e2e tests: stop using UBI images 2023-01-06 08:21:50 -07:00
run_signal_test.go e2e: use isRootless() instead of rootless.IsRootless() 2023-01-18 10:34:51 +09:00
run_staticip_test.go all: stop using deprecated GenerateNonCryptoID 2022-09-13 16:26:26 -07:00
run_test.go test/e2e: skip "podman run from manifest list" for remote 2026-02-02 21:41:24 +05:30
run_transient_test.go Describe copy volume options 2023-01-04 14:58:51 -05:00
run_userns_test.go test/e2e: skip build userns=auto test in remote mode 2026-02-06 20:32:32 +05:30
run_volume_test.go [v4.4.1-rhel] do not pass [no]copy as bind mounts options to runtime 2026-04-06 11:49:21 -04: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 e2e: use isRootless() instead of rootless.IsRootless() 2023-01-18 10:34:51 +09:00
search_test.go test/e2e: skip search insecure registry test in remote mode 2026-02-04 21:06:48 +05:30
secret_test.go test/e2e: fix secret bad name validation test 2026-01-29 18:41:51 +05:30
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 e2e: use isRootless() instead of rootless.IsRootless() 2023-01-18 10:34:51 +09:00
system_service_test.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
systemd_activate_test.go e2e: use isRootless() instead of rootless.IsRootless() 2023-01-18 10:34:51 +09:00
systemd_test.go test/e2e: skip cgroup path check for rootless cgroupfs in systemd test 2026-02-04 21:14:39 +05:30
tag_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
toolbox_test.go Clean up more language for inclusiveness 2023-01-27 18:00:59 -05: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 e2e: fix some tests on remote 2026-02-04 20:31:11 +05:30
untag_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
update_test.go Fix default handling of pids-limit 2023-02-03 16:13:22 +00: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 test/e2e: add delay after WaitForFile for volume plugin sockets 2026-01-29 20:04:59 +05:30
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