[LTP] shmctl01 failure // Was: Re: FAIL: Test report for kernel 5.1.0-8317cc1.cki (mainline.kernel.org)
Jan Stancek
jstancek@redhat.com
Thu May 16 09:33:07 CEST 2019
----- Original Message -----
>
>
> ----- Original Message -----
> > 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
> 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 <manfred@colorfullife.com>
> 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.
>
More information about the ltp
mailing list