podman/test/e2e
Giuseppe Scrivano 35b4f26c70
test: use private instead of slave for the mount
using "slave" means that every mount operation on the host that
happens between the mount creation for `/host` and running `findmnt`
will be propagated to the container mount.  To prevent new mounts on
the host to appear in the container thus invalidating the test we
have, just create the mount as private and use `/sys` as source as it
has multiple mounts on the top but less likely to get new mounts once
it is configured.

Closes: https://github.com/containers/podman/issues/15241

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-08-24 22:24:09 +02:00
..
build test,manifest-run: declare TARGETPLATFORM before using it 2022-07-12 19:52:11 +05:30
cdi Add support for CDI device configuration 2021-04-20 09:18:52 -04:00
config Add support for containers.conf volume timeouts 2022-08-23 15:42:00 -04: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 enable errcheck linter 2022-04-29 14:06:38 +02:00
benchmarks_test.go benchmarks: fix create test 2022-07-25 17:44:13 +02:00
build_test.go Bump VMs, to Ubuntu 2204 with cgroups v1 2022-07-21 20:08:32 -06:00
checkpoint_image_test.go Bump VMs, to Ubuntu 2204 with cgroups v1 2022-07-21 20:08:32 -06:00
checkpoint_test.go I believe that these tests will now run with crun. 2022-08-09 15:41:33 -04:00
cleanup_test.go Output messages display rawInput 2022-08-02 18:28:37 +09:00
commit_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
common_test.go integration test: fix network backend option with remote 2022-07-22 15:29:18 +02: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 Merge pull request #15415 from cdoern/clone 2022-08-23 11:04:31 -04:00
container_create_volume_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
container_inspect_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
containers_conf_test.go Semiperiodoc cleanup of obsolete FIXMEs 2022-07-25 13:08:35 -06:00
cp_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
create_staticip_test.go Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00
create_staticmac_test.go Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00
create_test.go Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
diff_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
events_test.go Show Health Status events 2022-06-27 10:44:53 -04:00
exec_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
exists_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
export_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
generate_kube_test.go Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09: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 e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
healthcheck_run_test.go inspect, image: alias .Config.HealthCheck to .HealthCheck for compatibility 2022-08-23 13:39:01 +05:30
history_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
image_scp_test.go podman ssh work, using new c/common interface 2022-08-09 14:00:58 -04:00
image_sign_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
images_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
import_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
info_test.go Bump VMs, to Ubuntu 2204 with cgroups v1 2022-07-21 20:08:32 -06:00
init_test.go Output messages display rawInput 2022-08-02 18:28:37 +09:00
inspect_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
kill_test.go Bump VMs, to Ubuntu 2204 with cgroups v1 2022-07-21 20:08:32 -06:00
libpod_suite_remote_test.go integration test: fix network backend option with remote 2022-07-22 15:29:18 +02:00
libpod_suite_test.go manifest_test: safer registry setup and teardown 2022-07-07 14:03:42 -06:00
load_test.go enable gocritic linter 2022-04-26 18:12:22 +02:00
login_logout_test.go Use existing REGISTRY_IMAGE variables in more places 2022-07-30 17:23:38 +02:00
logs_test.go podman logs k8s-file: do not reassemble partial log lines 2022-06-03 15:01:23 +02:00
manifest_test.go Add ProgressWriter to PullOptions 2022-08-19 00:41:22 +03: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 Bump VMs, to Ubuntu 2204 with cgroups v1 2022-07-21 20:08:32 -06:00
network_create_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
network_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
pause_test.go Add pause/unpause --latest, --cidfile, --filter 2022-07-20 19:30:11 +09:00
play_build_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
play_kube_test.go Merge pull request #14567 from cdoern/secrets 2022-07-22 16:07:45 +02:00
pod_clone_test.go [minor] fix duplicate test name 2022-07-07 11:23:17 -06:00
pod_create_test.go Bump VMs, to Ubuntu 2204 with cgroups v1 2022-07-21 20:08:32 -06:00
pod_infra_container_test.go pod create --share none should not create infra 2022-07-25 13:11:06 -04:00
pod_initcontainers_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_inspect_test.go enable errcheck linter 2022-04-29 14:06:38 +02: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 enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_restart_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_rm_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_start_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_stats_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pod_stop_test.go enable errcheck linter 2022-04-29 14:06:38 +02: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 prune filter handling 2022-07-25 09:28:26 -04:00
ps_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pull_test.go Add ProgressWriter to PullOptions 2022-08-19 00:41:22 +03:00
push_test.go Add support for creating sigstore signatures, and providing passphrases 2022-07-30 17:26:08 +02:00
rename_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
restart_test.go Add restart --cidfile, --filter 2022-08-12 09:22:53 +09:00
rm_test.go Add rm --filter option 2022-07-30 10:59:59 +09: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 enable errcheck linter 2022-04-29 14:06:38 +02:00
run_cgroup_parent_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_cleanup_test.go e2e: Add rootless mount cleanup test 2022-08-05 12:01:51 +09:00
run_cpu_test.go Docker uses "-c" to mean "--cpu-shares" in create and run 2022-07-12 14:53:17 -04:00
run_device_test.go enable errcheck linter 2022-04-29 14:06:38 +02: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 Merge pull request #15434 from rhatdan/manifest1 2022-08-24 13:29:20 -04: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 e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
run_ns_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_passwd_test.go libpod: create /etc/passwd if missing 2022-07-21 17:58:16 +02:00
run_privileged_test.go Privileged containers can now restart if the host devices change 2022-06-06 14:14:22 -04: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 enable errcheck linter 2022-04-29 14:06:38 +02:00
run_signal_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_staticip_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
run_test.go test: use private instead of slave for the mount 2022-08-24 22:24:09 +02:00
run_userns_test.go cmd: refuse --userns if a mapping is specified 2022-08-08 14:57:23 +02:00
run_volume_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
run_working_dir_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
runlabel_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
save_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
search_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
secret_test.go Merge pull request #15392 from ashley-cui/quiet 2022-08-22 15:46:47 -04:00
start_test.go Merge pull request #15134 from sstosh/improve-output 2022-08-09 06:13:10 +00:00
stats_test.go Add podman stats --no-trunc option 2022-08-17 13:16:01 -04:00
stop_test.go Output messages display rawInput 2022-08-02 18:28:37 +09:00
system_connection_test.go fix system connection and scp testing 2022-06-23 11:26:19 -04:00
system_df_test.go Merge pull request #14805 from jakecorrenti/df-format-output 2022-07-05 13:34:45 +00:00
system_dial_stdio_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
system_reset_test.go Only allow Rootless runs of Podman Machine 2022-06-29 09:19:09 -04:00
system_service_test.go Report correct RemoteURI 2022-05-04 12:11:32 -04:00
systemd_activate_test.go golangci-lint: update to v1.46.2 2022-06-15 19:58:30 +02:00
systemd_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
tag_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
toolbox_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
top_test.go vendor containers/psgo@v1.7.3 2022-08-24 17:13:58 +02:00
tree_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
trust_test.go enable errcheck linter 2022-04-29 14:06:38 +02: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
version_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
volume_create_test.go Add support for containers.conf volume timeouts 2022-08-23 15:42:00 -04:00
volume_exists_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
volume_inspect_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
volume_ls_test.go Use Regexp in volume ls --filter name 2022-06-27 21:34:39 +03:00
volume_plugin_test.go Add support for containers.conf volume timeouts 2022-08-23 15:42:00 -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