seccomp_bpf:syscall_faked from kselftests fail on s390x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Thadeu Lima de Souza Cascardo | ||
Focal |
Fix Released
|
Undecided
|
Thadeu Lima de Souza Cascardo | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
kselftests seccomp_bpf will start failing on s390x, though due to a test problem, not a kernel regression, thus wasting people's time doing test review.
[Regression potential]
Though this is only changing the test, we might be missing or miss failures in the future because some tests are not executed anymore.
ptrace_
[Fix]
The fix is to consider that s390x cannot change syscall and errno at once by using ptrace. It can, however, change the errno at syscall exit time, which could even be used with seccomp SECCOMP_RET_TRACE as long as ptrace is used to track the exit transitions. But the test is not designed to deal with such situations.
[Test case]
seccomp_bpf was run, ptrace_faked passed and no new subtests have failed.
-------
This is a scripted bug report about ADT failures while running linux tests for linux/4.
Testing failed on:
s390x: https:/
tags: | added: kernel-adt-failure |
summary: |
- linux ADT test failure with linux/4.15.0-144.148 + seccomp_bpf from ubuntu_kernel_selftests.seccomp in linux ADT test + failure with linux/4.15.0-144.148 |
description: | updated |
description: | updated |
summary: |
- seccomp_bpf from ubuntu_kernel_selftests.seccomp in linux ADT test - failure with linux/4.15.0-144.148 + seccomp_bpf:syscall_faked from kselftests fail on s390x |
Changed in linux (Ubuntu Groovy): | |
status: | New → Fix Released |
Changed in linux (Ubuntu Focal): | |
status: | New → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
assignee: | nobody → Thadeu Lima de Souza Cascardo (cascardo) |
Changed in linux (Ubuntu Focal): | |
assignee: | nobody → Thadeu Lima de Souza Cascardo (cascardo) |
tags: | added: 4.15 bionic s390x sru-20210510 |
tags: | added: ubuntu-kernel-selftests |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1928522
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.