msgctl04 in ubuntu_ltp_syscalls failed with X
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
Steps as root:
1. git clone --depth=1 https:/
2. cd ltp; make autotools
3. ./configure
4. make
5. make install
$ sudo /opt/ltp/runltp -s msgctl02
Test output:
<<<test_start>>>
tag=msgctl04 stime=1531753902
cmdline="msgctl04"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1015: INFO: Timeout per run is 0h 05m 00s
tst_safe_
Summary:
passed 0
failed 0
skipped 0
warnings 0
<<<execution_
initiation_
duration=0 termination_
cutime=0 cstime=0
<<<test_end>>>
This failure can be reproduced with the kernel in -release 4.4.0-130-generic, therefore it should not be considered as a regression.
If you run only this test after a reboot, it will pass:
incrementing stop
tst_
msgctl04.c:72: PASS: msgctl(458754, 2, 0x55d59a243980): EACCES
msgctl04.c:72: PASS: msgctl(491523, 2, 0xfffffffffffff
msgctl04.c:72: PASS: msgctl(491523, 1, 0xfffffffffffff
msgctl04.c:72: PASS: msgctl(491523, -1, 0x55d59a243980): EINVAL
msgctl04.c:72: PASS: msgctl(-1, 2, 0x55d59a243980): EINVAL
msgctl04.c:72: PASS: msgctl(-1, 1, 0x55d59a243980): EINVAL
msgctl04.c:72: PASS: msgctl(425985, 0, (nil)): EPERM
(Also the msgctl02 test can pass multiple times after this)
There is a recent change for msgctl in the ltp repo. This test can pass with with commit revert back to 1a11467414
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.4.0-130-generic x86_64
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Jul 17 07:55 seq
crw-rw---- 1 root audio 116, 33 Jul 17 07:55 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Tue Jul 17 08:25:57 2018
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
MachineType: HP ProLiant DL360 Gen9
PciMultimedia:
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.157.20
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/27/2015
dmi.bios.vendor: HP
dmi.bios.version: P89
dmi.board.name: ProLiant DL360 Gen9
dmi.board.vendor: HP
dmi.chassis.type: 23
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnHP:
dmi.product.name: ProLiant DL360 Gen9
dmi.sys.vendor: HP
This change was made by a bot.