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 1812824
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.
** Changed in: linux (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1812824
Title:
Multiple TRACE_syscall related failures in seccomp test from
ubuntu_kernel_selftests found on B s390x
Status in ubuntu-kernel-tests:
New
Status in linux package in Ubuntu:
Incomplete
Bug description:
There are multiple failures related to the TRACE_SYSCALL:
[ FAIL ] TRACE_syscall.ptrace_syscall_dropped
[ FAIL ] TRACE_syscall.syscall_dropped
[ FAIL ] TRACE_syscall.skip_after_RET_TRACE
[ FAIL ] TRACE_syscall.kill_after_RET_TRACE
[ FAIL ] TRACE_syscall.skip_after_ptrace
[ FAIL ] TRACE_syscall.kill_after_ptrace
TRACE_syscall.ptrace_syscall_dropped: Test failed at step #223
TRACE_syscall.syscall_dropped: Test failed at step #2
seccomp_bpf.c:1884:TRACE_syscall.skip_after_RET_TRACE:Expected -1
(18446744073709551615) == syscall(20) (9627)
seccomp_bpf.c:1885:TRACE_syscall.skip_after_RET_TRACE:Expected 1 (1) ==
(*__errno_location ()) (0)
TRACE_syscall.skip_after_RET_TRACE: Test failed at step #12
TRACE_syscall.kill_after_RET_TRACE: Test exited normally instead of by
signal (code: 0)
seccomp_bpf.c:1946:TRACE_syscall.skip_after_ptrace:Expected -1
(18446744073709551615) == syscall(20) (9627)
seccomp_bpf.c:1947:TRACE_syscall.skip_after_ptrace:Expected 1 (1) ==
(*__errno_location ()) (0)
TRACE_syscall.skip_after_ptrace: Test failed at step #15
TAP version 13
selftests: seccomp_bpf
========================================
seccomp_bpf.c:608:global.KILL_one_arg_six:Expected ((void *) -1)
(18446744073709551615) != map1 (18446744073709551615)
[==========] Running 64 tests from 1 test cases.
[ RUN ] global.mode_strict_support
[ OK ] global.mode_strict_support
[ RUN ] global.mode_strict_cannot_call_prctl
[ OK ] global.mode_strict_cannot_call_prctl
[ RUN ] global.no_new_privs_support
[ OK ] global.no_new_privs_support
[ RUN ] global.mode_filter_support
[ OK ] global.mode_filter_support
[ RUN ] global.mode_filter_without_nnp
[ OK ] global.mode_filter_without_nnp
[ RUN ] global.filter_size_limits
[ OK ] global.filter_size_limits
[ RUN ] global.filter_chain_limits
[ OK ] global.filter_chain_limits
[ RUN ] global.mode_filter_cannot_move_to_strict
[ OK ] global.mode_filter_cannot_move_to_strict
[ RUN ] global.mode_filter_get_seccomp
[ OK ] global.mode_filter_get_seccomp
[ RUN ] global.ALLOW_all
[ OK ] global.ALLOW_all
[ RUN ] global.empty_prog
[ OK ] global.empty_prog
[ RUN ] global.log_all
[ OK ] global.log_all
[ RUN ] global.unknown_ret_is_kill_inside
[ OK ] global.unknown_ret_is_kill_inside
[ RUN ] global.unknown_ret_is_kill_above_allow
[ OK ] global.unknown_ret_is_kill_above_allow
[ RUN ] global.KILL_all
[ OK ] global.KILL_all
[ RUN ] global.KILL_one
[ OK ] global.KILL_one
[ RUN ] global.KILL_one_arg_one
[ OK ] global.KILL_one_arg_one
[ RUN ] global.KILL_one_arg_six
[ OK ] global.KILL_one_arg_six
[ RUN ] global.KILL_thread
TRACE_syscall.ptrace_syscall_dropped: Test failed at step #223
TRACE_syscall.syscall_dropped: Test failed at step #2
seccomp_bpf.c:1884:TRACE_syscall.skip_after_RET_TRACE:Expected -1
(18446744073709551615) == syscall(20) (9627)
seccomp_bpf.c:1885:TRACE_syscall.skip_after_RET_TRACE:Expected 1 (1) ==
(*__errno_location ()) (0)
TRACE_syscall.skip_after_RET_TRACE: Test failed at step #12
TRACE_syscall.kill_after_RET_TRACE: Test exited normally instead of by
signal (code: 0)
seccomp_bpf.c:1946:TRACE_syscall.skip_after_ptrace:Expected -1
(18446744073709551615) == syscall(20) (9627)
seccomp_bpf.c:1947:TRACE_syscall.skip_after_ptrace:Expected 1 (1) ==
(*__errno_location ()) (0)
TRACE_syscall.skip_after_ptrace: Test failed at step #15
[==========] Running 64 tests from 1 test cases.
[ RUN ] global.mode_strict_support
[ OK ] global.mode_strict_support
[ RUN ] global.mode_strict_cannot_call_prctl
[ OK ] global.mode_strict_cannot_call_prctl
[ RUN ] global.no_new_privs_support
[ OK ] global.no_new_privs_support
[ RUN ] global.mode_filter_support
[ OK ] global.mode_filter_support
[ RUN ] global.mode_filter_without_nnp
[ OK ] global.mode_filter_without_nnp
[ RUN ] global.filter_size_limits
[ OK ] global.filter_size_limits
[ RUN ] global.filter_chain_limits
[ OK ] global.filter_chain_limits
[ RUN ] global.mode_filter_cannot_move_to_strict
[ OK ] global.mode_filter_cannot_move_to_strict
[ RUN ] global.mode_filter_get_seccomp
[ OK ] global.mode_filter_get_seccomp
[ RUN ] global.ALLOW_all
[ OK ] global.ALLOW_all
[ RUN ] global.empty_prog
[ OK ] global.empty_prog
[ RUN ] global.log_all
[ OK ] global.log_all
TRACE_syscall.kill_after_ptrace: Test exited normally instead of by signal
(code: 0)
[ RUN ] global.unknown_ret_is_kill_inside
[ OK ] global.unknown_ret_is_kill_inside
[ RUN ] global.unknown_ret_is_kill_above_allow
[ OK ] global.unknown_ret_is_kill_above_allow
[ RUN ] global.KILL_all
[ OK ] global.KILL_all
[ RUN ] global.KILL_one
[ OK ] global.KILL_one
[ RUN ] global.KILL_one_arg_one
[ OK ] global.KILL_one_arg_one
[ RUN ] global.KILL_one_arg_six
[ OK ] global.KILL_one_arg_six
[ RUN ] global.KILL_thread
[ OK ] global.KILL_thread
[ RUN ] global.KILL_process
[ OK ] global.KILL_process
[ RUN ] global.arg_out_of_range
[ OK ] global.arg_out_of_range
[ RUN ] global.ERRNO_valid
[ OK ] global.ERRNO_valid
[ RUN ] global.ERRNO_zero
[ OK ] global.ERRNO_zero
[ RUN ] global.ERRNO_capped
[ OK ] global.ERRNO_capped
[ RUN ] global.ERRNO_order
[ OK ] global.ERRNO_order
[ RUN ] TRAP.dfl
[ OK ] TRAP.dfl
[ RUN ] TRAP.ign
[ OK ] TRAP.ign
[ RUN ] TRAP.handler
[ OK ] TRAP.handler
[ RUN ] precedence.allow_ok
[ OK ] precedence.allow_ok
[ RUN ] precedence.kill_is_highest
[ OK ] precedence.kill_is_highest
[ RUN ] precedence.kill_is_highest_in_any_order
[ OK ] precedence.kill_is_highest_in_any_order
[ RUN ] precedence.trap_is_second
[ OK ] precedence.trap_is_second
[ RUN ] precedence.trap_is_second_in_any_order
[ OK ] precedence.trap_is_second_in_any_order
[ RUN ] precedence.errno_is_third
[ OK ] precedence.errno_is_third
[ RUN ] precedence.errno_is_third_in_any_order
[ OK ] precedence.errno_is_third_in_any_order
[ RUN ] precedence.trace_is_fourth
[ OK ] precedence.trace_is_fourth
[ RUN ] precedence.trace_is_fourth_in_any_order
[ OK ] precedence.trace_is_fourth_in_any_order
[ RUN ] precedence.log_is_fifth
[ OK ] precedence.log_is_fifth
[ RUN ] precedence.log_is_fifth_in_any_order
[ OK ] precedence.log_is_fifth_in_any_order
[ RUN ] TRACE_poke.read_has_side_effects
[ OK ] TRACE_poke.read_has_side_effects
[ RUN ] TRACE_poke.getpid_runs_normally
[ OK ] TRACE_poke.getpid_runs_normally
[ RUN ] TRACE_syscall.ptrace_syscall_redirected
[ OK ] TRACE_syscall.ptrace_syscall_redirected
[ RUN ] TRACE_syscall.ptrace_syscall_dropped
[ FAIL ] TRACE_syscall.ptrace_syscall_dropped
[ RUN ] TRACE_syscall.syscall_allowed
[ OK ] TRACE_syscall.syscall_allowed
[ RUN ] TRACE_syscall.syscall_redirected
[ OK ] TRACE_syscall.syscall_redirected
[ RUN ] TRACE_syscall.syscall_dropped
[ FAIL ] TRACE_syscall.syscall_dropped
[ RUN ] TRACE_syscall.skip_after_RET_TRACE
[ FAIL ] TRACE_syscall.skip_after_RET_TRACE
[ RUN ] TRACE_syscall.kill_after_RET_TRACE
[ FAIL ] TRACE_syscall.kill_after_RET_TRACE
[ RUN ] TRACE_syscall.skip_after_ptrace
[ FAIL ] TRACE_syscall.skip_after_ptrace
[ RUN ] TRACE_syscall.kill_after_ptrace
[ FAIL ] TRACE_syscall.kill_after_ptrace
[ RUN ] global.seccomp_syscall
[ OK ] global.seccomp_syscall
[ RUN ] global.seccomp_syscall_mode_lock
[ OK ] global.seccomp_syscall_mode_lock
[ RUN ] global.detect_seccomp_filter_flags
[ OK ] global.detect_seccomp_filter_flags
[ RUN ] global.TSYNC_first
[ OK ] global.TSYNC_first
[ RUN ] TSYNC.siblings_fail_prctl
[ OK ] TSYNC.siblings_fail_prctl
[ RUN ] TSYNC.two_siblings_with_ancestor
[ OK ] TSYNC.two_siblings_with_ancestor
[ RUN ] TSYNC.two_sibling_want_nnp
[ OK ] TSYNC.two_sibling_want_nnp
[ RUN ] TSYNC.two_siblings_with_no_filter
[ OK ] TSYNC.two_siblings_with_no_filter
[ RUN ] TSYNC.two_siblings_with_one_divergence
[ OK ] TSYNC.two_siblings_with_one_divergence
[ RUN ] TSYNC.two_siblings_not_under_filter
[ OK ] TSYNC.two_siblings_not_under_filter
[ RUN ] global.syscall_restart
[ OK ] global.syscall_restart
[ RUN ] global.filter_flag_log
[ OK ] global.filter_flag_log
[ RUN ] global.get_action_avail
[ OK ] global.get_action_avail
[ RUN ] global.get_metadata
[ FAIL ] global.get_metadata
seccomp_bpf.c:2913:global.get_metadata:Expected sizeof(md) (16) ==
ptrace(0x420d, pid, sizeof(md), &md) (18446744073709551615)
global.get_metadata: Test terminated by assertion
[==========] 57 / 64 tests passed.
[ FAILED ]
not ok 1..1 selftests: seccomp_bpf [FAIL]
selftests: seccomp_benchmark
========================================
Calibrating reasonable sample size...
1547556662.685514984 - 1547556662.685511561 = 3423
1547556662.685524074 - 1547556662.685517590 = 6484
1547556662.685537650 - 1547556662.685524710 = 12940
1547556662.685564041 - 1547556662.685538197 = 25844
1547556662.685616238 - 1547556662.685564592 = 51646
1547556662.685720070 - 1547556662.685616780 = 103290
1547556662.685926714 - 1547556662.685720611 = 206103
1547556662.686340213 - 1547556662.685927269 = 412944
1547556662.687182426 - 1547556662.686340767 = 841659
1547556662.688827737 - 1547556662.687183019 = 1644718
1547556662.692103625 - 1547556662.688828328 = 3275297
1547556662.708406373 - 1547556662.692104316 = 16302057
1547556662.736775160 - 1547556662.708410125 = 28365035
1547556662.763684125 - 1547556662.736777792 = 26906333
1547556662.817027186 - 1547556662.763688482 = 53338704
1547556662.924480311 - 1547556662.817032207 = 107448104
1547556663.139037436 - 1547556662.924484395 = 214553041
1547556663.575995823 - 1547556663.139041355 = 436954468
1547556664.435247875 - 1547556663.576001710 = 859246165
1547556666.165215500 - 1547556664.435254267 = 1729961233
1547556669.604404063 - 1547556666.165222299 = 3439181764
1547556676.445414498 - 1547556669.604413590 = 6841000908
Benchmarking 67108864 samples...
20.529020669 - 13.730311033 = 6798709636
getpid native: 101 ns
32.996770569 - 20.529222674 = 12467547895
getpid RET_ALLOW: 185 ns
Estimated seccomp overhead per syscall: 84 ns
ok 1..2 selftests: seccomp_benchmark [PASS]
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-44-generic 4.15.0-44.47
ProcVersionSignature: Ubuntu 4.15.0-44.47-generic 4.15.18
Uname: Linux 4.15.0-44-generic s390x
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code
2: ls: cannot access '/dev/snd/': No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: s390x
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord':
'arecord'
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211
not found.
CurrentDmesg:
Date: Tue Jan 22 09:08:26 2019
HibernationDevice: RESUME=UUID=caaee9b2-6bc1-4c8e-b26c-69038c092091
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lspci:
Lsusb: Error: command ['lsusb'] failed with exit code 1:
PciMultimedia:
ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb'
ProcKernelCmdLine: root=UUID=c7d7bbcb-a039-4ead-abfe-7672dea0add4
crashkernel=196M
RelatedPackageVersions:
linux-restricted-modules-4.15.0-44-generic N/A
linux-backports-modules-4.15.0-44-generic N/A
linux-firmware 1.173.3
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1812824/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp