[Bug 1177574] New: klp tests fail on "Patch caller of graph traced callee" test on ppc64le
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 Bug ID: 1177574 Summary: klp tests fail on "Patch caller of graph traced callee" test on ppc64le Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: PowerPC-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: petr.vorel@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 842510 --> https://bugzilla.suse.com/attachment.cgi?id=842510&action=edit Full log There are KLP failures on ppc64le. https://openqa.opensuse.org/tests/1427145/file/serial_terminal.txt They look to be unrelated to #1177403 #1176907, but maybe I'm wrong. First failure is: == Patch caller of graph traced callee == [10:31:08] Test Case 10: Patch caller of graph traced callee [10:31:08] *** Compiling kernel live patch [10:31:08] make: Entering directory '/usr/src/linux-5.8.14-1-obj/ppc64le/default' [10:31:09] CC [M] /tmp/live-patch/tc_10/klp_tc_10_livepatch.o [10:31:09] MODPOST /tmp/live-patch/tc_10/Module.symvers [10:31:09] CC [M] /tmp/live-patch/tc_10/klp_tc_10_livepatch.mod.o [10:31:09] LD [M] /tmp/live-patch/tc_10/klp_tc_10_livepatch.ko [10:31:09] make: Leaving directory '/usr/src/linux-5.8.14-1-obj/ppc64le/default' [10:31:09] *** Compile test support module [10:31:09] make: Entering directory '/usr/src/linux-5.8.14-1-obj/ppc64le/default' [10:31:11] CC [M] /tmp/live-patch/tc_10/klp_test_support_mod.o [10:31:11] MODPOST /tmp/live-patch/tc_10/Module.symvers [10:31:11] CC [M] /tmp/live-patch/tc_10/klp_test_support_mod.mod.o [10:31:11] LD [M] /tmp/live-patch/tc_10/klp_test_support_mod.ko [10:31:11] make: Leaving directory '/usr/src/linux-5.8.14-1-obj/ppc64le/default' [10:31:11] *** Load test support module [10:31:11] *** Enable graph tracing for orig_do_sleep [10:31:11] ./klp_tc_10.sh: line 36: echo: write error: Invalid argument [10:31:11] TEST FAILED while executing 'echo "orig_do_sleep" > /sys/kernel/debug/tracing/set_ftrace_filter', EXITING -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 https://bugzilla.suse.com/show_bug.cgi?id=1177574#c1 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |petr.vorel@suse.com --- Comment #1 from Petr Vorel <petr.vorel@suse.com> --- Created attachment 842511 --> https://bugzilla.suse.com/attachment.cgi?id=842511&action=edit dmesg -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 https://bugzilla.suse.com/show_bug.cgi?id=1177574#c2 --- Comment #2 from Petr Vorel <petr.vorel@suse.com> --- Tests has been failing for some time (at least for 20200911, kernel 5.8.7, but probably even before). Sorry for overlooking this issue. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mbenes@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 https://bugzilla.suse.com/show_bug.cgi?id=1177574#c3 Miroslav Beneš <mbenes@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lpechacek@suse.com Assignee|kernel-bugs@opensuse.org |mbenes@suse.com --- Comment #3 from Miroslav Beneš <mbenes@suse.com> --- I cannot reproduce on 5.8.14-1.gcea47bb. The test passes just fine. Inability to write 'orig_do_sleep' to tracing sysfs is strange. Would it be possible to log in to the machine, so I could take a look? Or provide the image of the broken system which I could run locally. CCing Libor, so he's aware. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 https://bugzilla.suse.com/show_bug.cgi?id=1177574#c4 --- Comment #4 from Petr Vorel <petr.vorel@suse.com> --- Unfortunately it's openQA machine, so probably not that easily, but I'll try to find a way. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 Michal Suchanek <msuchanek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msuchanek@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|klp tests fail on "Patch |klp tests fail on |caller of graph traced |klp_tc_10.sh "Patch caller |callee" test on ppc64le |of graph traced callee" | |test on ppc64le -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 https://bugzilla.suse.com/show_bug.cgi?id=1177574#c9 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|PowerPC-64 |All --- Comment #9 from Petr Vorel <petr.vorel@suse.com> --- Problem on ppc64le continues (currently on stable kernel 5.10.16), but also for some time reproducible on x86_64. I'm now able to reproduce the problem on x86_64 as well (5.12.0-rc1-2.g4b1061b-default): # ./klp_tc_10.sh [12:41:51] Test Case 10: Patch caller of graph traced callee [12:41:51] *** Compiling kernel live patch [12:41:51] make: Entering directory '/usr/src/linux-5.12.0-rc1-2.g4b1061b-obj/x86_64/default' [12:41:52] CC [M] /tmp/live-patch/tc_10/klp_tc_10_livepatch.o [12:41:52] MODPOST /tmp/live-patch/tc_10/Module.symvers [12:41:52] CC [M] /tmp/live-patch/tc_10/klp_tc_10_livepatch.mod.o [12:41:52] LD [M] /tmp/live-patch/tc_10/klp_tc_10_livepatch.ko [12:41:52] BTF [M] /tmp/live-patch/tc_10/klp_tc_10_livepatch.ko [12:41:52] Skipping BTF generation for /tmp/live-patch/tc_10/klp_tc_10_livepatch.ko due to unavailability of vmlinux [12:41:52] make: Leaving directory '/usr/src/linux-5.12.0-rc1-2.g4b1061b-obj/x86_64/default' [12:41:52] *** Compile test support module [12:41:53] make: Entering directory '/usr/src/linux-5.12.0-rc1-2.g4b1061b-obj/x86_64/default' [12:41:53] CC [M] /tmp/live-patch/tc_10/klp_test_support_mod.o [12:41:54] MODPOST /tmp/live-patch/tc_10/Module.symvers [12:41:54] CC [M] /tmp/live-patch/tc_10/klp_test_support_mod.mod.o [12:41:54] LD [M] /tmp/live-patch/tc_10/klp_test_support_mod.ko [12:41:54] BTF [M] /tmp/live-patch/tc_10/klp_test_support_mod.ko [12:41:54] Skipping BTF generation for /tmp/live-patch/tc_10/klp_test_support_mod.ko due to unavailability of vmlinux [12:41:54] make: Leaving directory '/usr/src/linux-5.12.0-rc1-2.g4b1061b-obj/x86_64/default' [12:41:54] *** Load test support module [12:41:54] *** Enable graph tracing for orig_do_sleep [12:41:55] ./klp_tc_10.sh: line 36: echo: write error: Invalid argument [12:41:55] TEST FAILED while executing 'echo "orig_do_sleep" > /sys/kernel/debug/tracing/set_ftrace_filter', EXITING -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|klp tests fail on |klp tests fail on |klp_tc_10.sh "Patch caller |klp_tc_10.sh "Patch caller |of graph traced callee" |of graph traced callee" |test on ppc64le |test -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 https://bugzilla.suse.com/show_bug.cgi?id=1177574#c10 --- Comment #10 from Petr Vorel <petr.vorel@suse.com> --- Created attachment 846757 --> https://bugzilla.suse.com/attachment.cgi?id=846757&action=edit Full log (x86_64) -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 https://bugzilla.suse.com/show_bug.cgi?id=1177574#c11 --- Comment #11 from Petr Vorel <petr.vorel@suse.com> --- Created attachment 846758 --> https://bugzilla.suse.com/attachment.cgi?id=846758&action=edit dmesg (x86_64) https://openqa.opensuse.org/tests/1653201/file/serial0.txt -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 https://bugzilla.suse.com/show_bug.cgi?id=1177574#c12 Nicolai Stange <nstange@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nstange@suse.com --- Comment #12 from Nicolai Stange <nstange@suse.com> --- I pushed an attempt to fix that to https://gitlab.suse.de/nstange/qa_test_klp.git Would it be possible to test if it indeed helps? -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 https://bugzilla.suse.com/show_bug.cgi?id=1177574#c13 --- Comment #13 from Petr Vorel <petr.vorel@suse.com> --- It works on my local machine (runn. I'll switch your branch for next build to see whether it helps. Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 https://bugzilla.suse.com/show_bug.cgi?id=1177574#c18 --- Comment #18 from Petr Vorel <petr.vorel@suse.com> --- FYI: both ppc64le and intel has been fixed when using changes proposed in #1182745 (2 Nicolai's commits and Libor's commit [3]). It looks like it's a test bug (now fixed). [1] https://openqa.opensuse.org/tests/1660765#next_previous [2] https://openqa.opensuse.org/tests/1660154#next_previous [3] https://github.com/pevik/qa_test_klp/commits/master -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.suse.com/s | |how_bug.cgi?id=1182745 -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 https://bugzilla.suse.com/show_bug.cgi?id=1177574#c19 --- Comment #19 from Libor Pechacek <lpechacek@suse.com> --- Fixes merged into qa_test_klp upstream (https://github.com/lpechacek/qa_test_klp/commit/6629a3463c2ae36dc7303963bcae...). -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1177574 https://bugzilla.suse.com/show_bug.cgi?id=1177574#c20 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #20 from Petr Vorel <petr.vorel@suse.com> --- (In reply to Libor Pechacek from comment #19)
Fixes merged into qa_test_klp upstream (https://github.com/lpechacek/qa_test_klp/commit/ 6629a3463c2ae36dc7303963bcae5c5fbe853678).
Thanks! Also verified opensuse-Tumbleweed-DVD-x86_64-Build20210502-kernel-live-patching@64bit build is working: http://quasar.suse.cz/tests/6673 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com