spiegel_podman/test/e2e
Valentin Rothberg 219c69ef03 generate systemd: do not set KillMode
`KillMode=none` has been deprecated in systemd and is now throwing big
warnings when being used.  Users have reported the issues upstream
(see #8615) and on the mailing list.

This deprecation was mainly motivated by an abusive use of third-party
vendors causing all kinds of undesired side-effects.  For instance, busy
mounts that delay reboot.

After talking to the systemd team, we came up with the following plan:

 **Short term**: we can use TimeoutStopSec and remove KillMode=none which
 will default to cgroup.

 **Long term**: we want to change the type to sdnotify. The plumbing for
 Podman is done but we need it for conmon. Once sdnotify is working, we
 can get rid of the pidfile handling etc. and let Podman handle it.
 Michal Seklatar came up with a nice idea that Podman increase the time
 out on demand. That's a much cleaner way than hard-coding the time out
 in the unit as suggest in the short-term solution.

This change is executing the short-term plan and sets a minimum timeout
of 60 seconds.  User-specified timeouts are added to that.

Fixes: #8615
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-01-05 16:37:24 +01:00
..
build fix podman cp can create an extra directory level 2020-06-15 23:56:45 +08:00
config Add ability to set system wide options for slirp4netns 2020-12-04 13:37:22 -05: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 support multi-image (docker) archives 2020-09-08 08:47:19 +02:00
attach_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
build_test.go More docker compat API fixes 2020-12-04 15:58:46 +01:00
checkpoint_test.go Remove build \!remote flags from test 2020-11-18 10:44:35 -05:00
commit_test.go e2e tests: SkipIfRemote(): add a reason 2020-09-23 08:09:31 -06:00
common_test.go Spelling 2020-12-22 13:34:31 -05:00
config.go move from docker.io 2020-10-28 13:16:37 -06:00
config_amd64.go use lookaside storage for remote tests 2020-11-16 08:15:44 -06:00
config_ppc64le.go use imagecaches for local tests 2019-05-29 15:12:05 -05:00
container_inspect_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
containers_conf_test.go Disable incompatible rootless + CGroupsV1 tests 2020-12-15 18:49:10 -05:00
cp_test.go Spelling 2020-12-22 13:34:31 -05:00
create_staticip_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
create_staticmac_test.go Fix custom mac address with a custom cni network 2020-11-24 15:16:23 +01:00
create_test.go Spelling 2020-12-22 13:34:31 -05:00
diff_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
events_test.go podman events allow future time for --until 2020-12-11 23:15:09 +01:00
exec_test.go exec: honor --privileged 2020-12-24 22:11:14 +01:00
exists_test.go Prefer read/write images over read/only images 2020-12-22 10:41:39 -05:00
export_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
generate_kube_test.go Disable incompatible rootless + CGroupsV1 tests 2020-12-15 18:49:10 -05:00
generate_systemd_test.go generate systemd: do not set KillMode 2021-01-05 16:37:24 +01:00
healthcheck_run_test.go move from docker.io 2020-10-28 13:16:37 -06:00
history_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
image_sign_test.go Sign multi-arch images 2020-12-11 14:15:56 -05:00
images_test.go Spelling 2020-12-22 13:34:31 -05:00
import_test.go Fix typo in tests 2020-12-01 15:08:26 -05:00
info_test.go build(deps): bump github.com/containers/common from 0.26.0 to 0.26.3 2020-10-27 07:25:23 -04:00
init_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
inspect_test.go Restore json format for fields as well as whole structs 2020-12-07 15:39:43 -07:00
kill_test.go add --cidfile to container kill 2020-12-23 12:01:46 -06:00
libpod_suite_remote_test.go Remove varlink support from Podman 2020-11-26 16:50:42 -05:00
libpod_suite_test.go Remove varlink support from Podman 2020-11-26 16:50:42 -05:00
load_test.go use lookaside storage for remote tests 2020-11-16 08:15:44 -06:00
login_logout_test.go Spelling 2020-12-22 13:34:31 -05:00
logs_test.go Add LogSize to container inspect 2020-12-15 17:22:06 -05:00
manifest_test.go use lookaside storage for remote tests 2020-11-16 08:15:44 -06:00
mount_rootless_test.go Spelling 2020-12-22 13:34:31 -05:00
mount_test.go Remove build \!remote flags from test phase 2 2020-11-18 13:02:44 -05:00
namespace_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
negative_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
network_connect_disconnect_test.go Spelling 2020-12-22 13:34:31 -05:00
network_create_test.go Always add the default gateway to the cni config file 2020-12-16 20:59:45 +01:00
network_test.go Fix network ls --filter invalid value flake 2020-12-07 21:14:13 +01:00
pause_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
play_kube_test.go Set NetNS mode instead of value 2020-12-23 19:28:32 +01:00
pod_create_test.go Revert "Allow multiple --network flags for podman run/create" 2020-11-30 18:10:26 +01:00
pod_infra_container_test.go Disable incompatible rootless + CGroupsV1 tests 2020-12-15 18:49:10 -05:00
pod_inspect_test.go Fix podman pod inspect show wrong MAC string 2020-11-18 18:06:06 +08:00
pod_kill_test.go Disable incompatible rootless + CGroupsV1 tests 2020-12-15 18:49:10 -05:00
pod_pause_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
pod_pod_namespaces_test.go Rename e2e test files to include _test.go suffix 2020-11-17 21:18:27 +01:00
pod_prune_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
pod_ps_test.go Disable incompatible rootless + CGroupsV1 tests 2020-12-15 18:49:10 -05:00
pod_restart_test.go Examine all SkipIfRemote functions 2020-09-22 16:55:37 -04:00
pod_rm_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
pod_start_test.go Examine all SkipIfRemote functions 2020-09-22 16:55:37 -04:00
pod_stats_test.go Disable rootless pod stats tests w/ CgroupV1 2020-12-15 18:49:09 -05:00
pod_stop_test.go Examine all SkipIfRemote functions 2020-09-22 16:55:37 -04:00
pod_top_test.go Examine all SkipIfRemote functions 2020-09-22 16:55:37 -04:00
port_test.go Fix typo in tests 2020-12-01 15:08:26 -05:00
prune_test.go Add volume filters to system prune 2020-12-21 10:55:39 -06:00
ps_test.go add pod filter for ps 2020-12-22 09:40:39 -06:00
pull_test.go Spelling 2020-12-22 13:34:31 -05:00
push_test.go Remove build \!remote flags from test phase 2 2020-11-18 13:02:44 -05:00
restart_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
rm_test.go This PR allows users to remove external containers directly 2020-10-09 06:06:08 -04:00
rmi_test.go Spelling 2020-12-22 13:34:31 -05:00
run_apparmor_test.go Properly handle podman run --pull command 2020-09-27 07:25:28 -04:00
run_cgroup_parent_test.go Remove build \!remote flags from test phase 2 2020-11-18 13:02:44 -05:00
run_cleanup_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
run_cpu_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
run_device_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
run_dns_test.go Fix typo in tests 2020-12-01 15:08:26 -05:00
run_entrypoint_test.go Fix typo in tests 2020-12-01 15:08:26 -05:00
run_env_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
run_exit_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
run_memory_test.go Do not mount sysfs as rootless in more cases 2020-12-04 13:49:56 -05:00
run_networking_test.go Correct port range logic for port generation 2020-12-08 16:23:14 -05:00
run_ns_test.go Disable incompatible rootless + CGroupsV1 tests 2020-12-15 18:49:10 -05:00
run_passwd_test.go Examine all SkipIfRemote functions 2020-09-22 16:55:37 -04:00
run_privileged_test.go Merge pull request #8863 from mgoltzsche/fix_seccomp_when_privileged 2021-01-04 14:49:41 +01:00
run_restart_test.go Attempt to turn on some more remote tests 2020-10-07 10:19:08 -04:00
run_seccomp_test.go Rename e2e test files to include _test.go suffix 2020-11-17 21:18:27 +01:00
run_security_labels_test.go Rename e2e test files to include _test.go suffix 2020-11-17 21:18:27 +01:00
run_selinux_test.go Disable incompatible rootless + CGroupsV1 tests 2020-12-15 18:49:10 -05:00
run_signal_test.go Remove build \!remote flags from test phase 2 2020-11-18 13:02:44 -05:00
run_staticip_test.go Make all Skips specify a reason 2020-09-29 16:01:26 -04:00
run_test.go Spelling 2020-12-22 13:34:31 -05:00
run_userns_test.go libpod: read mappings when joining a container userns 2020-09-10 19:17:01 +02:00
run_volume_test.go Ensure we do not double-lock the same volume in create 2020-11-11 16:06:03 -05:00
run_working_dir_test.go Rename e2e test files to include _test.go suffix 2020-11-17 21:18:27 +01:00
runlabel_test.go Spelling 2020-12-22 13:34:31 -05:00
save_test.go use lookaside storage for remote tests 2020-11-16 08:15:44 -06:00
search_test.go Spelling 2020-12-22 13:34:31 -05:00
start_test.go Handle --rm when starting a container 2020-12-11 06:07:14 -05:00
stats_test.go Spelling 2020-12-22 13:34:31 -05:00
stop_test.go podman create doesn't support creating detached containers 2020-10-21 21:00:50 -04:00
system_connection_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
system_df_test.go use lookaside storage for remote tests 2020-11-16 08:15:44 -06:00
system_reset_test.go Remove varlink support from Podman 2020-11-26 16:50:42 -05:00
systemd_test.go test: fix variable name 2021-01-04 14:19:59 +01:00
tag_test.go use lookaside storage for remote tests 2020-11-16 08:15:44 -06:00
test.yaml Add support for RunAsUser and RunAsGroup 2019-11-06 10:35:37 -05:00
toolbox_test.go Disable incompatible rootless + CGroupsV1 tests 2020-12-15 18:49:10 -05:00
top_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
tree_test.go Spelling 2020-12-22 13:34:31 -05:00
trust_test.go Remove build \!remote flags from test phase 2 2020-11-18 13:02:44 -05:00
unshare_test.go e2e tests: SkipIfRemote(): add a reason 2020-09-23 08:09:31 -06:00
untag_test.go use lookaside storage for remote tests 2020-11-16 08:15:44 -06:00
version_test.go Restore "table" --format from V1 2020-10-02 06:58:02 -07:00
volume_create_test.go Fix missing options in volumes display while setting uid and gid 2020-12-23 09:13:20 +08:00
volume_inspect_test.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
volume_ls_test.go Add support for volume ls --filter label=key=value 2020-11-14 20:18:52 +01:00
volume_prune_test.go Add volume prune --filter support 2020-12-12 20:07:04 -06:00
volume_rm_test.go Fix handling of remove of bogus volumes, networks and Pods 2020-09-29 15:52:43 -04:00
wait_test.go Fix handling and documentation of podman wait --interval 2020-10-21 06:25:36 -04:00