spiegel_podman/test/e2e
Matthew Heon dce3d6ee9d Add support for containers.conf volume timeouts
Also, do a general cleanup of all the timeout code. Changes
include:
- Convert from int to *uint where possible. Timeouts cannot be
  negative, hence the uint change; and a timeout of 0 is valid,
  so we need a new way to detect that the user set a timeout
  (hence, pointer).
- Change name in the database to avoid conflicts between new data
  type and old one. This will cause timeouts set with 4.2.0 to be
  lost, but considering nobody is using the feature at present
  (and the lack of validation means we could have invalid,
  negative timeouts in the DB) this feels safe.
- Ensure volume plugin timeouts can only be used with volumes
  created using a plugin. Timeouts on the local driver are
  nonsensical.
- Remove the existing test, as it did not use a volume plugin.
  Write a new test that does.

The actual plumbing of the containers.conf timeout in is one line
in volume_api.go; the remainder are the above-described cleanups.

Backported to v4.2.0-rhel per RHBZ 2125241

Signed-off-by: Matthew Heon <mheon@redhat.com>
2022-10-06 15:07:10 -04:00
..
build test,manifest-run: declare TARGETPLATFORM before using it 2022-07-26 13:04:47 -04:00
cdi Add support for CDI device configuration 2021-04-20 09:18:52 -04:00
config Add support for containers.conf volume timeouts 2022-10-06 15:07:10 -04:00
sign Add support for creating sigstore signatures, and providing passphrases 2022-08-02 16:52:56 +02:00
testdata Add support for creating sigstore signatures, and providing passphrases 2022-08-02 16:52:56 +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-26 14:43:08 -04:00
build_test.go Fix Remote filtering embedded directory test 2022-06-09 14:31:53 -04:00
checkpoint_image_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
checkpoint_test.go Fix: Restore a container which name is equal to a image name 2022-08-10 16:46:05 -04: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-26 14:42:48 -04: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-08-02 16:52:56 +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 #14059 from cdoern/clone 2022-05-05 05:51:19 -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-26 14:43:23 -04: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 e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06: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 Add ports and hostname correctly in kube yaml 2022-07-08 11:21:48 -04:00
generate_systemd_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
healthcheck_run_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
history_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
image_scp_test.go podman image scp remote support & podman image scp tagging 2022-06-28 08:54:19 -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 Report correct RemoteURI 2022-05-04 12:11:32 -04:00
init_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
inspect_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
kill_test.go First batch of resolutions to FIXMEs 2022-05-25 13:28:04 -04:00
libpod_suite_remote_test.go integration test: fix network backend option with remote 2022-07-26 14:42:48 -04: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-08-02 16:52:56 +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 test: verify manifest inspect must contain OCI annotations 2022-08-10 16:46:05 -04:00
mount_rootless_test.go Cirrus: Fix e2e tests for "mount_rootless_test" 2022-08-10 16:46:05 -04: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 test/e2e: network dis-/connect test remove unhelpful assertions 2022-06-07 15:17:12 +02: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 e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06:00
play_build_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
play_kube_test.go Update init ctr default for play kube 2022-07-26 13:39:20 -04:00
pod_clone_test.go [minor] fix duplicate test name 2022-07-07 11:23:17 -06:00
pod_create_test.go fix namespace reporting 2022-07-07 09:51:20 -04:00
pod_infra_container_test.go pod create --share none should not create infra 2022-07-26 14:46:12 -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 Refactored networkPrune function 2022-07-08 08:33:20 +09:00
ps_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
pull_test.go Podman pull --all-tags shorthand option 2022-07-26 13:27:55 -04:00
push_test.go Add support for creating sigstore signatures, and providing passphrases 2022-08-02 16:52:56 +02:00
rename_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
restart_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
rm_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
rmi_test.go e2e tests: cleanup: capitalize CONSTANTS 2022-07-05 15:36:08 -06: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-10 16:46:05 -04:00
run_cpu_test.go Docker uses "-c" to mean "--cpu-shares" in create and run 2022-07-26 13:05:59 -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 enable errcheck linter 2022-04-29 14:06:38 +02:00
run_exit_test.go enable errcheck linter 2022-04-29 14:06:38 +02:00
run_memory_test.go enable errcheck linter 2022-04-29 14:06:38 +02: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-26 13:58:18 -04: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 Add container GID to additional groups 2022-09-08 15:33:29 +00:00
run_userns_test.go cmd: refuse --userns if a mapping is specified 2022-08-10 16:46:05 -04: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 enable errcheck linter 2022-04-29 14:06:38 +02:00
start_test.go start filter flag changes 2022-08-10 16:46:05 -04:00
stats_test.go Non-running containers now report statistics via the podman stats 2022-06-13 15:03:22 -04:00
stop_test.go Podman stop --filter flag 2022-07-26 13:25:36 -04: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 enable errcheck linter 2022-04-29 14:06:38 +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-10-06 15:07:10 -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-10-06 15:07:10 -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