spiegel_podman/test/e2e
Victor Irzak fb0d9e3dcc Omit unlimited pids limit for rootless cgroupfs
Rootless with the cgroupfs manager the pids controller is often not
delegated, as on WSL machines. The default path already skips the pids
limit there, but an explicit unlimited value (--pids-limit -1 or 0, the
PidsLimit=0 every Docker client sends, or pids.limit 0 on the libpod
API) still reached crun, which then failed with "controller `pids` is
not available".

A new cgroup has no pids limit anyway, so drop an unlimited limit in
that case. Finite limits are left as they are.

Fixes: https://github.com/podman-container-tools/podman/issues/29909
Signed-off-by: Victor Irzak <victor.irzak@zomp.com>
(cherry picked from commit f41dc744b2)
2026-10-06 13:51:19 +02: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 Read kube_generate_type from containers.conf 2023-04-11 09:15:05 -04:00
quadlet Add support for ImageVolume option in Podman Quadlet 2026-06-17 07:19:07 +01: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 RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
attach_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
build_test.go Replace os.Is* error checks with errors.Is 2026-05-21 13:09:42 -07:00
buildx_inspect_test.go podman buildx inspect support 2025-06-03 11:07:08 -04:00
checkpoint_image_test.go Rework podman run checkpoint test 2026-09-29 08:36:40 -04:00
checkpoint_test.go test/e2e: rework GetHostDistributionInfo 2026-06-30 10:32:33 +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-11 09:07:26 -04: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-09-11 09:08:45 -04: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 HostIp() method to InspectHostPort for Docker template compat 2026-07-13 16:08:11 +02: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_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 Omit unlimited pids limit for rootless cgroupfs 2026-10-06 13:51:19 +02:00
diff_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
events_test.go events: support artifact events with refactored event forwarding 2026-05-18 00:05:10 +00:00
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 RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05: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 libpod: remove extra state lookup in HealthCheck() 2026-06-23 18:47:07 +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 RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
import_test.go test/e2e: do not assume /etc/containers/policy.json 2026-07-22 12:40:02 +02:00
info_test.go feat(info): add memAvailable to host info 2026-07-22 08:41:59 +02:00
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 RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
network_create_test.go run go fix ./... 2026-09-11 09:07:25 -04: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 chore: fix some comments to improve readability 2026-07-19 22:18:33 +08:00
pod_clone_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pod_create_test.go Fix duplicated command in inspect Args when container has single-element command 2026-07-09 17:31:21 +02:00
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 RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
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 filters: add annotation filter for containers Fixes: #28562 2026-05-11 20:24:28 +09:00
ps_test.go filters: add annotation filter for containers Fixes: #28562 2026-05-11 20:24:28 +09:00
pull_chunked_test.go Revert "test/e2e: build in subdirectory" 2026-06-15 17:31:51 +02:00
pull_test.go test/e2e: rework GetHostDistributionInfo 2026-06-30 10:32:33 +02:00
push_test.go test/e2e: rework GetHostDistributionInfo 2026-06-30 10:32:33 +02:00
quadlet_test.go Use atomic file writer for quadlet unit files 2026-06-29 22:23:57 +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 RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05: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 Skip pesto IPv6 forwarding tests pending pasta release 2026-07-28 18:29:59 +02:00
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: fix cgroups=split flake by adding Delegate=yes to scope 2026-07-26 12:44:16 +05:30
run_transient_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_userns_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
run_volume_test.go test/e2e: rework GetHostDistributionInfo 2026-06-30 10:32:33 +02:00
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: do not assume /etc/containers/policy.json 2026-07-22 12:40:02 +02:00
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 RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05: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 RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
tree_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
trust_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
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 RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
volume_create_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05: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 filtering with negated labels 2026-04-29 11:18:03 +02:00
volume_plugin_test.go test/e2e: update quay.io/libpod/volume-plugin-test-img 2026-09-11 09:08:45 -04: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