mirror of
https://github.com/containers/podman.git
synced 2025-06-28 22:53:21 +08:00
Merge pull request #15894 from edsantiago/reenable_some_aarch64_tests
System tests: reenable some skipped aarch64 tests
This commit is contained in:
@ -3,7 +3,6 @@
|
|||||||
load helpers
|
load helpers
|
||||||
|
|
||||||
@test "podman run - basic tests" {
|
@test "podman run - basic tests" {
|
||||||
skip_if_aarch64 "FIXME: #15074 - fails on aarch64"
|
|
||||||
rand=$(random_string 30)
|
rand=$(random_string 30)
|
||||||
|
|
||||||
err_no_such_cmd="Error:.*/no/such/command.*[Nn]o such file or directory"
|
err_no_such_cmd="Error:.*/no/such/command.*[Nn]o such file or directory"
|
||||||
|
@ -6,8 +6,6 @@
|
|||||||
load helpers
|
load helpers
|
||||||
|
|
||||||
@test "podman exec - basic test" {
|
@test "podman exec - basic test" {
|
||||||
skip_if_aarch64 "FIXME: #15074 - fails on aarch64"
|
|
||||||
|
|
||||||
rand_filename=$(random_string 20)
|
rand_filename=$(random_string 20)
|
||||||
rand_content=$(random_string 50)
|
rand_content=$(random_string 50)
|
||||||
|
|
||||||
|
@ -142,7 +142,6 @@ READY=1" "sdnotify sent MAINPID and READY"
|
|||||||
# These tests can fail in dev. environment because of SELinux.
|
# These tests can fail in dev. environment because of SELinux.
|
||||||
# quick fix: chcon -t container_runtime_exec_t ./bin/podman
|
# quick fix: chcon -t container_runtime_exec_t ./bin/podman
|
||||||
@test "sdnotify : container" {
|
@test "sdnotify : container" {
|
||||||
skip_if_aarch64 "FIXME: #15277 sdnotify doesn't work on aarch64"
|
|
||||||
# Sigh... we need to pull a humongous image because it has systemd-notify.
|
# Sigh... we need to pull a humongous image because it has systemd-notify.
|
||||||
# (IMPORTANT: fedora:32 and above silently removed systemd-notify; this
|
# (IMPORTANT: fedora:32 and above silently removed systemd-notify; this
|
||||||
# caused CI to hang. That's why we explicitly require fedora:31)
|
# caused CI to hang. That's why we explicitly require fedora:31)
|
||||||
@ -248,8 +247,6 @@ READY=1" "sdnotify sent MAINPID and READY"
|
|||||||
}
|
}
|
||||||
|
|
||||||
@test "sdnotify : play kube - with policies" {
|
@test "sdnotify : play kube - with policies" {
|
||||||
skip_if_aarch64 "FIXME: #15277 sdnotify doesn't work on aarch64"
|
|
||||||
|
|
||||||
# Sigh... we need to pull a humongous image because it has systemd-notify.
|
# Sigh... we need to pull a humongous image because it has systemd-notify.
|
||||||
# (IMPORTANT: fedora:32 and above silently removed systemd-notify; this
|
# (IMPORTANT: fedora:32 and above silently removed systemd-notify; this
|
||||||
# caused CI to hang. That's why we explicitly require fedora:31)
|
# caused CI to hang. That's why we explicitly require fedora:31)
|
||||||
|
@ -39,12 +39,10 @@ function check_label() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@test "podman selinux: container with label=disable" {
|
@test "podman selinux: container with label=disable" {
|
||||||
skip_if_aarch64 "FIXME: #15074 - fails on aarch64"
|
|
||||||
check_label "--security-opt label=disable" "spc_t"
|
check_label "--security-opt label=disable" "spc_t"
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "podman selinux: privileged container" {
|
@test "podman selinux: privileged container" {
|
||||||
skip_if_aarch64 "FIXME: #15074 - fails on aarch64"
|
|
||||||
check_label "--privileged --userns=host" "spc_t"
|
check_label "--privileged --userns=host" "spc_t"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -65,7 +63,6 @@ function check_label() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@test "podman selinux: pid=host" {
|
@test "podman selinux: pid=host" {
|
||||||
skip_if_aarch64 "FIXME: #15074 - fails on aarch64"
|
|
||||||
# FIXME this test fails when run rootless with runc:
|
# FIXME this test fails when run rootless with runc:
|
||||||
# Error: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: readonly path /proc/asound: operation not permitted: OCI permission denied
|
# Error: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: readonly path /proc/asound: operation not permitted: OCI permission denied
|
||||||
if is_rootless; then
|
if is_rootless; then
|
||||||
|
Reference in New Issue
Block a user