shmctl01 failure // Was: Re: FAIL: Test report for kernel 5.1.0-8317cc1.cki (mainline.kernel.org)
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]
----- 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/rdmaThe results of these automated tests are provided below.
Overall result: FAILED (see details below)
Merge: OK
Compile: OK
Tests: FAILEDOne 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)=-EINVALWhich likely started failing after:
commit99db46ea292780cd978d56932d9445b1e8bdafe8
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 successfulIPC_INFOorSHM_INFOoperation 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 repeatedSHM_STATorSHM_STAT_ANYoperations 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.