spiegel_podman/test/e2e
seonghun lee 655b8cee14 Hide --cpu-rt-period/--cpu-rt-runtime and mark them as NOP
Podman 6 dropped cgroups v1 support, and the kernel real-time
scheduler cgroup settings only exist on cgroups v1. That means the
--cpu-rt-period and --cpu-rt-runtime options can never take effect
anymore: on cgroups v2 the values only produce a warning and are
discarded.

As agreed in the linked issue, the full removal of the options is
deferred to the next major release (7.0) to avoid a breaking change
for anyone still setting them. For 6.x this commit implements the
agreed interim step:

- remove the option documentation (docs/source/markdown/options/
  cpu-rt-period.md and cpu-rt-runtime.md) and drop the @@option
  references from the podman-create, podman-run, podman-update and
  podman-container-clone man pages
- hide both flags from --help output
- change the existing warning to state that the option is a NOP,
  that the value is ignored, and that the option will be removed in
  the next major release

The e2e tests are updated to match the new warning text. Actual
removal of the flags and the spec fields is left for Podman 7.0.

Part of #29750

Signed-off-by: seonghun lee <harrisleesh@gmail.com>
2026-09-17 01:15:52 +09:00
..
build Consolidate build secret tests and assert no podman-build-secret leak 2026-03-25 19:01:32 +01:00
cdi build(deps): bump github.com/container-orchestrated-devices/container-device-interface 2023-02-20 14:51:04 +01:00
config test/e2e: drop dead network_cmd_options config key 2026-09-09 10:30:47 -04:00
quadlet Merge pull request #29375 from Mahajan-Sachin/quadlet-volume-remainafterexit 2026-09-14 08:52:48 -04:00
sign e2e: reduce dependency on /tmp for e2e tests 2023-01-26 22:20:15 +09:00
testdata PARTIALLY TESTED: Add --tls-details, use it to affect libimage and the like 2026-03-05 23:13:17 +01:00
artifact_created_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
artifact_mount_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
artifact_test.go Add --quiet to podman artifact ls 2026-08-20 16:31:13 -04:00
attach_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
build_test.go Don't allocate 1 GB of memory to create a file 2026-08-21 22:30:38 +02:00
buildx_inspect_test.go podman buildx inspect support 2025-06-03 11:07:08 -04:00
checkpoint_image_test.go test/e2e: remove LineInOutputContainsTag 2026-08-25 19:19:39 +05:30
checkpoint_test.go test/e2e: skip tcp-close restore test on non-crun runtimes 2026-08-03 15:49:44 +02:00
cleanup_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
commit_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
common_test.go run modernize -fix ./... 2026-09-04 11:53:04 +02:00
common_windows_test.go Add command podman system hyperv-prep 2026-04-29 23:00:29 +02:00
config.go Rename the fedoraMinimal constant to FEDORA_MINIMAL 2026-03-03 21:34:14 +01:00
config_amd64.go ci: rm allow-unused from nolintlint settings 2025-03-31 12:27:55 -07:00
config_arm64.go Rename the fedoraMinimal constant to FEDORA_MINIMAL 2026-03-03 21:34:14 +01:00
config_ppc64le.go Rename the fedoraMinimal constant to FEDORA_MINIMAL 2026-03-03 21:34:14 +01:00
config_test.go test/e2e: update quay.io/libpod/volume-plugin-test-img 2026-08-07 15:42:44 +02:00
container_clone_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
container_create_volume_test.go Revert "test/e2e: build in subdirectory" 2026-06-15 17:31:51 +02:00
container_iface_name_test.go test/e2e: deduplicate some network subnets 2026-05-28 13:36:45 +02:00
container_inspect_test.go Add dnsnames field & fix alias field 2026-08-03 16:19:14 -04:00
containers_conf_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
cp_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
create_passwd_test.go Add support for --passwd to the create command 2026-08-27 15:46:30 +02:00
create_staticip_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
create_staticmac_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
create_test.go test/e2e: do not assume /etc/containers/policy.json 2026-07-22 12:40:02 +02:00
diff_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
events_test.go events: add missing NETWORK filter to generateEventFilter 2026-09-11 14:31:30 +05:30
exec_test.go podman log-level debug must produce the same oci runtime errors 2026-06-30 13:02:57 +02:00
exists_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
export_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
farm_test.go farm: add --quiet/-q flag to podman farm list 2026-08-15 20:52:18 -04:00
generate_kube_test.go kube generate: gate SELinux volume NOTE on host state and rootless 2026-07-22 14:21:01 +05:30
generate_spec_test.go fix: ensure infra image is set from infra container spec in PodConfigToSpec 2026-04-22 23:47:00 +02:00
generate_systemd_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
healthcheck_run_test.go Merge pull request #29341 from Aryanbhargava18/fix/healthcheck-flake-2 2026-08-11 18:21:56 +02:00
history_test.go test/e2e: rework GetHostDistributionInfo 2026-06-30 10:32:33 +02:00
image_scp_test.go image scp: preserve usernames containing an "@" 2026-06-12 15:23:25 +05:30
image_sign_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_test.go Merge pull request #29653 from Atishyy27/fix/remote-prune-filter-equals-v2 2026-09-10 18:20:31 +02:00
import_test.go test/e2e: do not assume /etc/containers/policy.json 2026-07-22 12:40:02 +02:00
info_test.go test/e2e: remove IsJSONOutputValid 2026-08-26 22:51:51 +05:30
init_test.go libpod: cleanup after failed container init 2026-07-23 22:42:14 +09:00
inspect_test.go fix: handle multiple networks in 'podman inspect --type=all' 2026-06-08 20:37:47 +08:00
kill_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
libpod_suite_remote_test.go test/e2e: split cli tmpdir from per test tempdir 2026-06-15 17:31:51 +02:00
libpod_suite_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
load_test.go test/e2e: do not assume /etc/containers/policy.json 2026-07-22 12:40:02 +02:00
login_logout_test.go test/e2e: fix flake in login tests 2026-06-05 13:06:26 +02:00
logs_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
manifest_test.go test/e2e: rework GetHostDistributionInfo 2026-06-30 10:32:33 +02:00
mount_rootless_test.go test/e2e: split cli tmpdir from per test tempdir 2026-06-15 17:31:51 +02:00
mount_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
negative_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
network_connect_disconnect_test.go Add dnsnames field & fix alias field 2026-08-03 16:19:14 -04:00
network_create_test.go run go fix ./... 2026-09-04 11:53:04 +02:00
network_test.go feat: add --ignore flag to network rm 2026-06-23 10:52:47 +09:00
pause_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
play_build_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
play_kube_test.go run golangci-lint --fix 2026-09-04 16:30:10 +02:00
pod_clone_test.go test/e2e: remove GrepString 2026-08-25 10:40:30 +05:30
pod_create_test.go test/e2e: remove GrepString 2026-08-25 10:40:30 +05:30
pod_infra_container_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pod_initcontainers_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pod_inspect_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pod_kill_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pod_pause_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pod_pod_namespaces_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pod_prune_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pod_ps_test.go Performance: Upgrade sort.Slice to slices.SortFunc across codebase 2026-08-24 14:45:40 +05:30
pod_restart_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pod_rm_test.go test/e2e: remove WaitForContainer 2026-06-22 20:08:36 +02:00
pod_start_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pod_stats_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pod_stop_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pod_top_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
port_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
prune_test.go test/e2e: remove LineInOutputContains 2026-08-25 10:41:59 +05:30
ps_test.go Merge pull request #29606 from vishnukothakapu/perf-slices-sort 2026-09-04 21:19:24 +05:30
pull_chunked_test.go Revert "test/e2e: build in subdirectory" 2026-06-15 17:31:51 +02:00
pull_mirror_fallback_test.go Add blob-level mirror fallback integration tests 2026-09-02 14:19:55 +02:00
pull_test.go Add blob-level mirror fallback integration tests 2026-09-02 14:19:55 +02:00
push_test.go Add --platform to podman push 2026-09-01 11:30:48 -04:00
quadlet_test.go Merge pull request #29417 from sahilnyk/quadlet-umask 2026-08-11 14:05:30 +02:00
rename_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
restart_test.go test/e2e: remove WaitForContainer 2026-06-22 20:08:36 +02:00
rm_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
rmi_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_aardvark_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_apparmor_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_cgroup_parent_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_cleanup_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_cpu_test.go Hide --cpu-rt-period/--cpu-rt-runtime and mark them as NOP 2026-09-17 01:15:52 +09:00
run_device_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_dns_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_entrypoint_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_env_test.go test/e2e: remove PodmanAsUser 2026-06-22 20:08:36 +02:00
run_exit_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_memory_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_networking_test.go added errorlint 2026-08-14 01:35:03 +05:30
run_ns_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_passwd_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_privileged_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_restart_test.go test/e2e: remove WaitForContainer 2026-06-22 20:08:36 +02:00
run_seccomp_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_security_labels_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_selinux_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_signal_test.go test/e2e: rework GetHostDistributionInfo 2026-06-30 10:32:33 +02:00
run_staticip_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_test.go test/e2e: remove GrepString 2026-08-25 10:40:30 +05:30
run_transient_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_userns_test.go specgen: ensure keep-id overrides image USER 2026-08-25 22:26:31 +05:30
run_volume_test.go fix(libpod): keep '=' in a volume subpath 2026-08-27 18:20:55 +05:30
run_working_dir_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
runlabel_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
save_test.go test/e2e: skip the save signature test on remote 2026-08-29 14:19:26 +05:30
search_mock_registry.go Add reasons to all staticcheck suppressions 2026-06-12 10:12:40 +02:00
search_test.go test/e2e: rework GetHostDistributionInfo 2026-06-30 10:32:33 +02:00
secret_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
start_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
stats_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
stop_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
system_connection_test.go test/e2e: skip "sshd and API services required" 2026-05-27 12:44:39 +02:00
system_df_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
system_dial_stdio_test.go pkg/bindings: add dial-stdio fallback for SSH connections 2026-08-26 09:05:12 -07:00
system_hyperv_prep_test.go test/e2e: modernize 2026-05-22 13:11:01 -07:00
system_reset_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
systemd_activate_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
systemd_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
tag_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
tls_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
toolbox_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
top_test.go test/e2e: do not use os.Exit for error handling 2026-08-25 22:50:18 +05:30
tree_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
trust_test.go test/e2e: do not use os.Exit for error handling 2026-08-25 22:50:18 +05:30
unshare_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
untag_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
update_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
version_test.go test/e2e: remove IsJSONOutputValid 2026-08-26 22:51:51 +05:30
volume_create_test.go libpod: fix permissions for imported volumes 2026-08-21 17:35:23 +09:00
volume_exists_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
volume_inspect_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
volume_ls_test.go Fix ErrorToStringArray handling of empty stderr output 2026-08-20 16:24:26 +05:30
volume_plugin_test.go test/e2e: update quay.io/libpod/volume-plugin-test-img 2026-08-07 15:42:44 +02:00
volume_prune_test.go Honor label filters for volume prune when all is set 2026-06-29 17:51:27 +08:00
volume_rename_test.go libpod: add volume rename support 2026-06-11 21:56:15 +01:00
volume_rm_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
wait_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00