Bug can be found on Bionic.
Verified with 4.18.0-041800rc5-generic, the bug still exists.
** Description changed:
Steps as root:
- 1. git clone --depth=1 https://github.com/linux-test-project/ltp.git
- 2. cd ltp; make autotools
- 3. ./configure
- 4. make
- 5. make install
+ 1. git clone --depth=1 https://github.com/linux-test-project/ltp.git
+ 2. cd ltp; make autotools
+ 3. ./configure
+ 4. make
+ 5. make install
$ sudo /opt/ltp/runltp -s msgctl02
Test output:
<<>>
tag=msgctl04 stime=1531753902
cmdline="msgctl04"
contacts=""
analysis=exit
<<>>
tst_test.c:1015: INFO: Timeout per run is 0h 05m 00s
tst_safe_sysv_ipc.c:51: BROK: msgctl04.c:93: msgget(1627521048, 600) failed:
EEXIST
Summary:
passed 0
failed 0
skipped 0
warnings 0
<<>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<>>
This failure can be reproduced with the kernel in -release
4.4.0-130-generic, therefore it should not be considered as a
regression.
- There is a recent change for msgctl02 (79eac0a) in the ltp repo. It's
- worthy to revert it to see if it's the tool change that cause this.
+ If you run only this test after a reboot, it will pass:
+ incrementing stop
+ tst_test.c:1015: INFO: Timeout per run is 0h 05m 00s
+ msgctl04.c:72: PASS: msgctl(458754, 2, 0x55d59a243980): EACCES
+ msgctl04.c:72: PASS: msgctl(491523, 2, 0x): EFAULT
+ msgctl04.c:72: PASS: msgctl(491523, 1, 0x): EFAULT
+ 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-4.4.0-130-generic 4.4.0-130.156
ProcVersionSignature: User Name 4.4.0-130.156-generic 4.4.134
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
+ 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-256color
- PATH=(custom, no user)
- XDG_RUNTIME_DIR=
- LANG=en_US.UTF-8
- SHELL=/bin/bash
+ TERM=xterm-256color
+ PATH=(custom, no user)
+ XDG_RUNTIME_DIR=
+ LANG=en_US.UTF-8
+ SHELL=/bin/bash
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-130-generic.efi.signed
root=UUID=051b34ce-dfed-4e36-aa78-851c5a284ee4 ro
RelatedPackageVersions:
- linux-restricted-modules-4.4.0-130-generic N/A
- linux-backports-modules-4.4.0-130-generic N/A
- linux-firmware 1.157.20
+ linux-restricted-modules-4.4.0-130-generic N/A
+ linux-backports-modules-4.4.0-130-generic N/A
+ 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:bvrP89:bd12/27/2015:svnHP:pnProLiantDL360Gen9:pvr:rvnHP:rnProLiantDL360Gen9:rvr:cvnHP:ct23:cvr:
dmi.product.name: ProLiant DL360 Gen9
dmi.sys.vendor: HP
** Also affects: ubuntu-kernel-tests
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1782093
Title:
msgctl04 in ubuntu_ltp_syscalls failed with X
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1782093/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs