canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #07095
[Bug 1929527] Re: Mark kprobe_args_user.tc in kselftest/ftrace as unsupported
** Tags added: kernel-daily-bug
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/1929527
Title:
Mark kprobe_args_user.tc in kselftest/ftrace as unsupported
Status in ubuntu-kernel-tests:
Fix Released
Status in linux package in Ubuntu:
Fix Released
Status in linux-oem-5.6 package in Ubuntu:
Invalid
Status in linux source package in Focal:
Fix Released
Status in linux-oem-5.6 source package in Focal:
Won't Fix
Bug description:
[Impact]
This kprobe_args_user.tc test will be marked as "unresolved" and once causing failures in ftrace of our ubuntu_kernel_selftests (lp:1869227)
Our workaround is to blacklist this test in autotest-client-tests [1]
Note that with patch b730d668138cb3 ("ftrace/selftest: make unresolved
cases cause failure if --fail-unresolved set") available, an
unresolved case will not be treated as a failure unless we requested
so.
[1] https://kernel.ubuntu.com/git/ubuntu/autotest-client-
tests.git/commit/ubuntu_kernel_selftests/ubuntu_kernel_selftests.py?id=a381d47a9004388730e825cd20566ef102a29399
[Fix]
* 1e11b7dbef17bb selftests/ftrace: Return unsupported for the unconfigured features
With this patch it will be marked as unsupported, easier to understand
than unresolved.
This patch can be found in Groovy and newer releases, and this test
does not exist in Bionic and older releases.
[Test]
Tested on s390x / PowerPC, this will be marked as unsupported:
$ sudo ./ftracetest test.d/kprobe/kprobe_args_user.tc
=== Ftrace unit tests ===
[1] Kprobe event user-memory access [UNSUPPORTED]
# of passed: 0
# of failed: 0
# of unresolved: 0
# of untested: 0
# of unsupported: 1
# of xfailed: 0
# of undefined(test bug): 0
$ echo $?
0
[Where problems could occur]
Changes limited to testing tool, should not impact real kernel functionality. With this patch and local workaround in autotest-client-tests removed we might see failures in s390x / PowerPC in the future.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1929527/+subscriptions