Mark kprobe_args_user.tc in kselftest/ftrace as unsupported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux-oem-5.6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Won't Fix
|
Undecided
|
Po-Hsu Lin |
Bug Description
[Impact]
This kprobe_args_user.tc test will be marked as "unresolved" and once causing failures in ftrace of our ubuntu_
Our workaround is to blacklist this test in autotest-
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.
[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/
=== 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-
CVE References
summary: |
- Skip unsupported kprobe-direct.tc and kprobe_args_user.tc in - kselftest/ftrace + Skip unsupported kprobe_args_user.tc in kselftest/ftrace |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
summary: |
- Skip unsupported kprobe_args_user.tc in kselftest/ftrace + Mark kprobe_args_user.tc in kselftest/ftrace as unsupported |
Changed in linux-oem-5.6 (Ubuntu): | |
status: | New → Invalid |
Changed in linux (Ubuntu): | |
status: | New → Fix Released |
Changed in linux (Ubuntu Focal): | |
status: | New → In Progress |
Changed in linux-oem-5.6 (Ubuntu Focal): | |
status: | New → In Progress |
Changed in ubuntu-kernel-tests: | |
status: | New → In Progress |
Changed in linux (Ubuntu Focal): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux-oem-5.6 (Ubuntu Focal): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux-oem-5.6 (Ubuntu Focal): | |
status: | In Progress → Won't Fix |
Changed in ubuntu-kernel-tests: | |
status: | In Progress → Fix Released |
BTW that patch b730d668138cb3 ("ftrace/selftest: make unresolved cases cause failure if --fail-unresolved set") has already landed in bug 1877958