spiegel_podman/test/e2e
Brent Baude 2a524fcaec fix healthcheck timeouts and ut8 coercion
this commit fixes two bugs and adds regression tests.

when getting healthcheck values from an image, if the image does not
have a timeout defined, this resulted in a 0 value for timeout.  The
default as described in the man pages is 30s.

when inspecting a container with a healthcheck command, a customer
observed that the &, <, and > characters were being converted into a
unicode escape value.  It turns out json marshalling will by default
coerce string values to ut8.

Fixes: bz2028408

Signed-off-by: Brent Baude <bbaude@redhat.com>
2022-01-06 13:56:54 -06:00
..
build podman-remote: prevent leaking secret into image 2021-11-30 15:44:10 +05:30
cdi Add support for CDI device configuration 2021-04-20 09:18:52 -04:00
config Fix network mode in play kube 2021-11-12 18:32:01 +01:00
hooks Add hooks support to podman 2018-04-05 14:13:49 +00:00
sign save image remove signatures 2020-10-21 10:00:08 -04:00
testdata migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
attach_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
build_test.go container creation: don't apply reserved annotations from image 2021-12-23 13:40:46 +01:00
checkpoint_test.go Error out early if system does not support pre-copy checkpointing 2021-12-23 09:51:38 +00:00
commit_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
common_test.go Avoid collisions on RemoteSocket paths 2022-01-03 12:31:47 +01:00
config.go fix CI 2021-11-18 15:19:14 +01:00
config_amd64.go e2e tests: enable golint 2021-11-29 08:30:00 -07:00
config_ppc64le.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
container_create_volume_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
container_inspect_test.go Eighty-six eighty-eighty 2021-09-22 07:49:19 -06:00
containers_conf_test.go e2e: yet more cleanup of BeTrue/BeFalse 2021-11-30 15:19:57 -07:00
cp_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
create_staticip_test.go support advanced network configuration via cli 2021-12-14 15:23:39 +01:00
create_staticmac_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
create_test.go Manual fixes 2021-12-02 07:54:53 -07:00
diff_test.go Same thing, with BeNumerically("==", x) 2021-12-02 07:54:53 -07:00
events_test.go Manual fixes 2021-12-02 07:54:53 -07:00
exec_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
exists_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
export_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
generate_kube_test.go fix(generate): fix up podman generate kube missing env field bug 2021-12-18 09:25:37 +08:00
generate_systemd_test.go Add restart-sec option to systemd generate 2021-12-03 12:11:28 +01:00
healthcheck_run_test.go fix healthcheck timeouts and ut8 coercion 2022-01-06 13:56:54 -06:00
history_test.go Same thing, with BeNumerically("==", x) 2021-12-02 07:54:53 -07:00
image_scp_test.go podman image scp never enter podman user NS 2021-12-23 10:10:51 -05:00
image_sign_test.go e2e tests: more cleanup of BeTrue()s 2021-11-30 09:51:06 -07:00
images_test.go vendor c/common@main 2021-12-06 09:33:39 +01:00
import_test.go tests: clean up FIXMEs and noise 2021-12-06 08:30:59 -07:00
info_test.go Podman info output plugin information 2021-08-19 17:33:20 +02:00
init_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
inspect_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
kill_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
libpod_suite_remote_test.go Avoid collisions on RemoteSocket paths 2022-01-03 12:31:47 +01:00
libpod_suite_test.go Image caches: allow overriding cache dir 2021-12-01 14:06:22 -07:00
load_test.go e2e: yet more cleanup of BeTrue/BeFalse 2021-11-30 15:19:57 -07:00
login_logout_test.go Fix AVC denials in tests of volume mounts 2021-08-18 12:04:06 -04:00
logs_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
manifest_test.go tag: Support tagging manifest list instead of resolving to images 2021-10-21 17:44:31 +05:30
mount_rootless_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
mount_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
namespace_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
negative_test.go bump go module to v3 2021-02-22 09:03:51 +01:00
network_connect_disconnect_test.go support advanced network configuration via cli 2021-12-14 15:23:39 +01:00
network_create_test.go CNI: fix network create --ip-range 2021-10-12 22:36:24 +02:00
network_test.go fix e2e test missing network cleanup 2021-12-10 16:23:40 +01:00
pause_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
play_build_test.go e2e tests: a little more minor cleanup 2021-12-02 07:54:53 -07:00
play_kube_test.go play kube add support for multiple networks 2021-12-14 15:23:40 +01:00
pod_create_test.go Pod Security Option support 2021-12-27 13:39:36 -05:00
pod_infra_container_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
pod_initcontainers_test.go test/e2e/pod_initcontainers: fix a flake 2022-01-04 17:45:34 -08:00
pod_inspect_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
pod_kill_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_pause_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_pod_namespaces_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
pod_prune_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
pod_ps_test.go Manual fixes 2021-12-02 07:54:53 -07:00
pod_restart_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_rm_test.go Use BeEmpty() instead of len(x).To(Equal(0)) 2021-12-02 07:54:53 -07:00
pod_start_test.go Eighty-six eighty-eighty 2021-09-22 07:49:19 -06:00
pod_stats_test.go e2e tests: more cleanup of BeTrue()s 2021-11-30 09:51:06 -07:00
pod_stop_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
pod_top_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
port_test.go Oops! Manual edits to broken tests 2021-11-22 15:23:08 -07:00
prune_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
ps_test.go Manual fixes 2021-12-02 07:54:53 -07:00
pull_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
push_test.go podman, push: expose --compression-format 2021-12-01 09:39:03 +01:00
rename_test.go Ensure pod ID bucket is properly updated on rename 2021-09-28 14:12:18 -04:00
restart_test.go e2e: yet more cleanup of BeTrue/BeFalse 2021-11-30 15:19:57 -07:00
rm_test.go Add --time out for podman * rm -f commands 2021-10-04 07:07:56 -04:00
rmi_test.go Manual fixes 2021-12-02 07:54:53 -07:00
run_apparmor_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_cgroup_parent_test.go Semiperiodic cleanup of obsolete Skip()s 2021-11-19 08:49:57 -07:00
run_cleanup_test.go Semiperiodic cleanup of obsolete Skip()s 2021-11-19 08:49:57 -07:00
run_cpu_test.go e2e tests: clean up antihelpful BeTrue()s 2021-11-22 14:37:43 -07:00
run_device_test.go oci: configure the devices cgroup with default devices 2021-12-16 13:25:43 +01:00
run_dns_test.go e2e: yet more cleanup of BeTrue/BeFalse 2021-11-30 15:19:57 -07:00
run_entrypoint_test.go specgen: honor empty args for entrypoint 2021-12-08 20:26:36 +05:30
run_env_test.go Use BeEmpty() instead of len(x).To(Equal(0)) 2021-12-02 07:54:53 -07:00
run_exit_test.go If container exits with 125 podman should exit with 125 2021-09-13 14:04:01 -04:00
run_memory_test.go Warn on use of --kernel-memory 2021-12-22 06:20:21 -05:00
run_networking_test.go tests: clean up FIXMEs and noise 2021-12-06 08:30:59 -07:00
run_ns_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_passwd_test.go Podman run --passwd 2021-12-21 17:19:41 -05:00
run_privileged_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
run_restart_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_seccomp_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_security_labels_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
run_selinux_test.go e2e tests: enable golint 2021-11-29 08:30:00 -07:00
run_signal_test.go e2e: yet more cleanup of BeTrue/BeFalse 2021-11-30 15:19:57 -07:00
run_staticip_test.go add --ip6 flag to podman create/run 2022-01-03 14:26:34 +01:00
run_test.go test/e2e/run: don't use date +%N on Alpine 2022-01-04 17:33:44 -08:00
run_userns_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
run_volume_test.go volume: apply exact permission of target directory without adding extra 0111 2021-12-07 15:42:12 +05:30
run_working_dir_test.go e2e tests: clean up antihelpful BeTrue()s 2021-11-22 14:37:43 -07:00
runlabel_test.go remove runlabel test for global opts 2021-12-08 11:37:13 +01:00
save_test.go Find and fix empty Expect()s 2021-11-23 15:39:04 -07:00
search_test.go e2e: search flake: skip test on registry.redhat.io 2021-12-16 11:14:42 +01:00
secret_test.go Add secret list --filter to cli 2021-12-14 10:41:03 +01:00
start_test.go podman start: remove containers configured for auto removal 2021-07-16 10:57:40 +02:00
stats_test.go Same thing, with BeNumerically("==", x) 2021-12-02 07:54:53 -07:00
stop_test.go Warn if podman stop timeout expires that sigkill was sent 2021-10-08 07:06:37 -04:00
system_connection_test.go Manual fixes 2021-12-02 07:54:53 -07:00
system_df_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
system_dial_stdio_test.go Fixes #11668 2021-10-06 19:18:26 +00:00
system_reset_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
system_service_test.go pprof flakes: bump timeout to 20 seconds 2021-12-14 10:59:56 +01:00
systemd_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
tag_test.go Remove StringInSlice(), part 1 2021-11-23 13:50:35 -07:00
toolbox_test.go e2e tests: enable golint 2021-11-29 08:30:00 -07:00
top_test.go top: parse ps(1) args correctly 2021-12-01 11:42:37 +01:00
tree_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
trust_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
unshare_test.go rename rootless cni ns to rootless netns 2021-11-05 15:44:37 +01:00
untag_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
version_test.go Fix help message case for podman version 2021-10-29 11:49:49 -07:00
volume_create_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
volume_exists_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00
volume_inspect_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
volume_ls_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
volume_plugin_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
volume_prune_test.go Use HaveLen(x) instead of Expect(len(y)).To(Equal(x)) 2021-12-02 07:54:53 -07:00
volume_rm_test.go Use BeEmpty() instead of len(x).To(Equal(0)) 2021-12-02 07:54:53 -07:00
wait_test.go e2e tests: use Should(Exit()) and ExitWithError() 2021-07-15 05:06:33 -06:00