Skip to contentSkip to conversation

shmctl01 failure // Was: Re: FAIL: Test report for kernel 5.1.0-8317cc1.cki (mainline.kernel.org)

LTP Jan Stancek 1 participant 1 message May 16, 2019 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

----- Original Message -----

Quoted 26 lines

----- Original Message -----

Quoted 21 lines

Hello,

We ran automated tests on a recent commit from this kernel tree:

       Kernel repo:
       https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
            Commit: 5ac94332248e - Merge tag 'for-linus' of
            git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma

The results of these automated tests are provided below.

Overall result: FAILED (see details below)
Merge: OK
Compile: OK
Tests: FAILED

One or more kernel tests failed:

x86_64:
� LTP lite

cc LTP list

Quoted 23 lines

Test fails on SHM_STAT:
shmctl01 5 TFAIL : shmctl01.c:173: shmctl01 call failed - errno = 22
: Invalid argument
shmctl(0, SHM_STAT, 0x601060) = -EINVAL

Which likely started failing after:
commit 99db46ea292780cd978d56932d9445b1e8bdafe8
Author: Manfred Spraul <[email protected]>
Date: Tue May 14 15:46:36 2019 -0700
ipc: do cyclic id allocation for the ipc object.

Per man page:
"A successful IPC_INFO or SHM_INFO operation returns the index of the highest used entry
in the kernel's internal array recording information about all shared memory segments.
(This information can be used with repeated SHM_STAT or SHM_STAT_ANY operations to obtain
information about all shared memory segments on the system.)"

Which however doesn't guarantee there won't be any gaps. I'm leaning towards updating test at the moment.