Message ID | e2ba3f8c-80e6-477d-9cea-1c9af820e0ed@alu.unizg.hr (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [BUG,net-next,selftests/pidfd] Hang in ./pidfd_setns_test pidfd_send_signal() | expand |
Hi, There seems to be some additional insight. Trying to kill the processes so the testsuite might hopefully continue, this was the result: unkillable (-SIGKILL) processes, which can also not be traced with strace, and neither the selftest suite continued. root 1000955 2931 0 01:05 pts/2 00:00:00 ./pidfd_setns_test root 1000956 1000955 99 01:05 pts/2 14:09:03 [pidfd_setns_tes] <defunct> root 1037946 1005609 0 15:19 pts/3 00:00:00 grep --color=auto pidfd_setns_tes root@defiant:/home/marvin/linux/kernel/net-next# strace -p 1000955 strace: Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf: Operation not permitted strace: attach: ptrace(PTRACE_SEIZE, 1000955): Operation not permitted root@defiant:/home/marvin/linux/kernel/net-next# strace -p 1000956 strace: Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf: Operation not permitted strace: attach: ptrace(PTRACE_SEIZE, 1000956): Operation not permitted root@defiant:/home/marvin/linux/kernel/net-next# Hope this helps. It would be very interesting to see now what exactly eats 99% of a CPU core, but I am not enough technologically savvy for this task ATM. Best regards, Mirsad Todorovac
P.S. Please consider this additional dmesg diagnostics possibly coinciding with the kill -KILL <stale pids>: [Sat Mar 9 15:18:05 2024] proc-empty-vm[1007004] vsyscall read attempt denied -- look up the vsyscall kernel parameter if you need a workaround ip:5a0754238702 cs:33 sp:7ffed57b6ec0 ax:0 si:0 di:0 [Sat Mar 9 15:18:06 2024] proc-pid-vm[1007025] vsyscall read attempt denied -- look up the vsyscall kernel parameter if you need a workaround ip:5cf038710e22 cs:33 sp:7ffc3cc4ee60 ax:0 si:0 di:0 [Sat Mar 9 15:18:08 2024] ICMPv6: process `read' is using deprecated sysctl (syscall) net.ipv6.neigh.default.base_reachable_time - use net.ipv6.neigh.default.base_reachable_time_ms instead [Sat Mar 9 15:18:09 2024] sysrq: HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(v) show-blocked-tasks(w) dump-ftrace-buffer(z) [Sat Mar 9 15:18:55 2024] signal: openat2_test[1025119] overflowed sigaltstack [Sat Mar 9 15:18:55 2024] signal: resolve_test[1025139] overflowed sigaltstack Best regards, Mirsad Todorovac
diff --git a/tools/testing/selftests/breakpoints/Makefile b/tools/testing/selftests/breakpoints/Makefile index 9ec2c78de8ca..76a0e3837136 100644 --- a/tools/testing/selftests/breakpoints/Makefile +++ b/tools/testing/selftests/breakpoints/Makefile @@ -3,7 +3,7 @@ uname_M := $(shell uname -m 2>/dev/null || echo not) ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) -TEST_GEN_PROGS := step_after_suspend_test +# TEST_GEN_PROGS := step_after_suspend_test ifeq ($(ARCH),x86) TEST_GEN_PROGS += breakpoint_test