msgctl02 in ubuntu_ltp_syscalls failed with X/B

Bug #1782091 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Bionic by Po-Hsu Lin
Nominated for Xenial by Po-Hsu Lin

Bug Description

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

$ cat /tmp/test.txt
msgctl01 msgctl01
msgctl02 msgctl02
msgctl03 msgctl03
msgctl04 msgctl04
msgstress01 msgstress01
msgstress02 msgstress02
msgstress03 msgstress03
msgstress04 msgstress04
msgctl12 msgctl12

$ sudo /opt/ltp/runltp -f /tmp/test.txt

Test output:
<<<test_start>>>
tag=msgctl02 stime=1531815429
cmdline="msgctl02"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1015: INFO: Timeout per run is 0h 05m 00s
tst_safe_sysv_ipc.c:51: BROK: msgctl02.c:68: msgget(1627521041, 7b0) failed: EEXIST

Summary:
passed 0
failed 0
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
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 for the first time.
    tst_test.c:1015: INFO: Timeout per run is 0h 05m 00s
    msgctl02.c:47: PASS: msgctl(IPC_SET) msg_qbytes - 1
    msgctl02.c:54: PASS: msg_qbytes = 16383

There is a recent change for msgctl02 (79eac0a) 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
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:15:58 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=<set>
 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
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

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Po-Hsu Lin (cypressyew)
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Can be reproduced with Bionic.

summary: - msgctl02 in ubuntu_ltp_syscalls failed with X
+ msgctl02 in ubuntu_ltp_syscalls failed with X/B
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Verified with 4.18.0-041800rc5-generic, the bug still exists.

tags: added: bionic
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Issue reported upstream and fixed.
https://github.com/linux-test-project/ltp/issues/369

Changed in ubuntu-kernel-tests:
status: New → Fix Released
Changed in linux (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.