OSDN Git Service

selftests/bpf: Add selftest deny_namespace to s390x deny list
authorYonghong Song <yhs@fb.com>
Thu, 6 Oct 2022 05:34:29 +0000 (22:34 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 6 Oct 2022 15:27:18 +0000 (08:27 -0700)
commit8206e4e95230daeeba43c59fc7c39656883ecd62
tree68d3498ac8bd9ebc0665e6869c4ecf0ff0dbd2b5
parentce3e44a09dce74ca68fa56c23333378d936969b0
selftests/bpf: Add selftest deny_namespace to s390x deny list

BPF CI reported that selftest deny_namespace failed with s390x.

  test_unpriv_userns_create_no_bpf:PASS:no-bpf unpriv new user ns 0 nsec
  test_deny_namespace:PASS:skel load 0 nsec
  libbpf: prog 'test_userns_create': failed to attach: ERROR: strerror_r(-524)=22
  libbpf: prog 'test_userns_create': failed to auto-attach: -524
  test_deny_namespace:FAIL:attach unexpected error: -524 (errno 524)
  #57/1    deny_namespace/unpriv_userns_create_no_bpf:FAIL
  #57      deny_namespace:FAIL

BPF program test_userns_create is a BPF LSM type program which is
based on trampoline and s390x does not support s390x. Let add the
test to x390x deny list to avoid this failure in BPF CI.

Signed-off-by: Yonghong Song <yhs@fb.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20221006053429.3549165-1-yhs@fb.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/DENYLIST.s390x