add_key01 from ubuntu_ltp_syscalls failed on Bionic s390x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Issue found on s2lp3 s390x Ubuntu LPAR
Test failed with:
add_key01.c:77: FAIL: add_key call failed unexpectedly: ENOMEM (12)
<<<test_start>>>
tag=add_key01 stime=1581482840
cmdline="add_key01"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_buffers.c:55: INFO: Test is using guarded buffers
tst_test.c:1217: INFO: Timeout per run is 0h 05m 00s
add_key01.c:63: INFO: The key type is keyrings and plen is 0
add_key01.c:79: PASS: add_key call succeeded as expected
add_key01.c:63: INFO: the key type is keyrings and plen is 1
add_key01.c:83: PASS: add_key call failed as expected: EINVAL (22)
add_key01.c:63: INFO: The key type is user and plen is 32767
add_key01.c:79: PASS: add_key call succeeded as expected
add_key01.c:63: INFO: The key type is user and plen is 32768
add_key01.c:83: PASS: add_key call failed as expected: EINVAL (22)
add_key01.c:63: INFO: The key type is logon and plen is 32767
add_key01.c:79: PASS: add_key call succeeded as expected
add_key01.c:63: INFO: The key type is logon and plen is 32768
add_key01.c:83: PASS: add_key call failed as expected: EINVAL (22)
add_key01.c:63: INFO: The key type is big_key and plen is 1048575
add_key01.c:77: FAIL: add_key call failed unexpectedly: ENOMEM (12)
add_key01.c:63: INFO: The key type is big_key and plen is 1048576
add_key01.c:83: PASS: add_key call failed as expected: EINVAL (22)
Summary:
passed 7
failed 1
skipped 0
warnings 0
<<<execution_
initiation_
duration=0 termination_
cutime=0 cstime=0
<<<test_end>>>
dmesg output:
[ 847.773454] BUG: non-zero pgtables_bytes on freeing mm: 16384
[ 847.773603] BUG: non-zero pgtables_bytes on freeing mm: 16384
[ 848.733118] LTP: starting add_key01
[ 848.736003] WARNING: CPU: 2 PID: 4833 at /build/
[ 848.736004] Modules linked in: xt_conntrack ipt_REJECT nf_reject_ipv4 ebtable_filter ebtables ip6table_filter ip6_tables aufs xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_
[ 848.736051] btrfs zstd_compress zlib_deflate raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 linear mlx4_en mlx4_ib ib_core ptp pps_core crc32_vx_s390 ghash_s390 prng aes_s390 des_s390 des_generic sha512_s390 sha256_s390 sha1_s390 sha_common mlx4_core devlink zfcp qdio scsi_transport_fc dasd_eckd_mod dasd_mod
[ 848.736077] CPU: 2 PID: 4833 Comm: add_key01 Tainted: P O 4.15.0-87-generic #87-Ubuntu
[ 848.736077] Hardware name: IBM 2964 N63 400 (LPAR)
[ 848.736079] Krnl PSW : 000000004532b723 000000000968d01f (__alloc_
[ 848.736082] R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:0 PM:0 RI:0 EA:3
[ 848.736083] Krnl GPRS: 0000000000000000 0000000000000001 00000000014040c0 0000000000000009
[ 848.736084] 0000000000000000 0000000000000000 00000000000fffff 0000000000000009
[ 848.736085] 000000000050663c 000000000010000f 00000000014000c0 00000000000fffff
[ 848.736086] 0000000000000000 0000000000943a68 00000003b436fc90 00000003b436fb00
[ 848.736094] Krnl Code: 00000000002e16b2: a7210200 tmll %r2,512
[ 848.736106] Call Trace:
[ 848.736108] ([<00000003b436
[ 848.736112] [<000000000030e
[ 848.736116] [<0000000000506
[ 848.736117] [<00000000004fd
[ 848.736119] [<0000000000500
[ 848.736122] [<00000000008fa
[ 848.736123] Last Breaking-
[ 848.736124] [<00000000002e1
[ 848.736125] ---[ end trace 15ff0cd6918f24ba ]---
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-87-generic s390x
NonfreeKernelMo
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.10
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.
Date: Wed Feb 12 04:10:36 2020
HibernationDevice: RESUME=
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb: Error: command ['lsusb'] failed with exit code 1:
PciMultimedia:
ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb'
ProcKernelCmdLine: root=UUID=
RelatedPackageV
linux-
linux-
linux-firmware 1.173.15
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
This issue seems to related to the latest change in LTP for this test case /github. com/linux- test-project/ ltp/commit/ c50f05195ac1c6c 62749fee360f1cf bba2606407
https:/
With this test reverted, the test result will be:
<<<test_start>>>
tag=add_key01 stime=1581483125
cmdline="add_key01"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_test.c:1217: INFO: Timeout per run is 0h 05m 00s
add_key01.c:21: PASS: add_key call succeeded
Summary: status> >> status= "ok" type=exited termination_id=0 corefile=no
passed 1
failed 0
skipped 0
warnings 0
<<<execution_
initiation_
duration=0 termination_
cutime=0 cstime=0
<<<test_end>>>
dmesg output:
[ 1132.663932] BUG: non-zero pgtables_bytes on freeing mm: 16384
[ 1132.664848] BUG: non-zero pgtables_bytes on freeing mm: 16384
[ 1133.521332] LTP: starting add_key01