semctl09 from ubuntu_ltp_syscalls failed on X / F-oem-5.6 / F-oracle-5.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Triaged
|
Low
|
Unassigned | ||
glibc (Ubuntu) |
Fix Released
|
Undecided
|
Andrei Gherzan | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
* This affects the LTP test plan as it fails one of its IPC semctl tests: semctl09 (https:/
[ Test Plan ]
* Clone https:/
* Compile and run https:/
* Test should pass, reporting no failed checks.
* The change also includes a regression test which can be compiled and verified (see tst-sysvsem-
[ Where problems could occur ]
* The regression risk should be very low as the fix only adds SEM_STAT_ANY as a new semctl command while treating it exactly as SEM_STAT.
[ Other Info ]
Original bug report:
This is a new test case.
Test output:
startup='Tue Jan 5 19:38:52 2021'
tst_test.c:1261: TINFO: Timeout per run is 0h 05m 00s
semctl09.c:67: TINFO: Test SYS_semctl syscall
semctl09.c:132: TINFO: Test SEM_STAT_ANY with nobody user
semctl09.c:154: TPASS: SEM_INFO returned valid index 10 to semid 10
semctl09.c:164: TPASS: Counted used = 1
semctl09.c:112: TPASS: semset_cnt = 1
semctl09.c:119: TPASS: sen_cnt = 2
semctl09.c:132: TINFO: Test SEM_STAT_ANY with root user
semctl09.c:154: TPASS: SEM_INFO returned valid index 10 to semid 10
semctl09.c:164: TPASS: Counted used = 1
semctl09.c:112: TPASS: semset_cnt = 1
semctl09.c:119: TPASS: sen_cnt = 2
tst_test.c:1261: TINFO: Timeout per run is 0h 05m 00s
semctl09.c:70: TINFO: Test libc semctl()
semctl09.c:132: TINFO: Test SEM_STAT_ANY with nobody user
semctl09.c:148: TFAIL: SEM_STAT_ANY doesn't pass the buffer specified by the caller to kernel
semctl09.c:132: TINFO: Test SEM_STAT_ANY with root user
semctl09.c:148: TFAIL: SEM_STAT_ANY doesn't pass the buffer specified by the caller to kernel
Summary:
passed 8
failed 2
broken 0
skipped 0
warnings 0
tag=semctl09 stime=1609875532 dur=0 exit=exited stat=1 core=no cu=0 cs=0
Related branches
- Ubuntu Sponsors: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 295 lines (+278/-0)2 files modifieddebian/patches/all/0001-sysvipc-Fix-SEM_STAT_ANY-kernel-argument-pass-BZ-266.patch (+277/-0)
debian/patches/series (+1/-0)
tags: | added: 5.6 focal sru-20201130 ubuntu-ltp-syscalls |
tags: | added: 4.15 azure bionic |
summary: |
- semctl09 from ubuntu_ltp_syscalls failed on X / F-oem-5.6 + semctl09 from ubuntu_ltp_syscalls failed on X / F-oem-5.6 / F-oracle-5.4 |
tags: | added: 5.4 sru-20210315 |
tags: | added: oem oem-5.6 |
tags: | added: sru-20210510 |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Krzysztof Kozlowski (krzk) |
tags: | added: sru-20230320 |
Changed in glibc (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Andrei Gherzan (agherzan) |
description: | updated |
description: | updated |
description: | updated |
Changed in glibc (Ubuntu Focal): | |
status: | New → In Progress |
Changed in glibc (Ubuntu): | |
status: | In Progress → Fix Released |
tags: |
added: verification-done-focal removed: verification-needed-focal |
Changed in ubuntu-kernel-tests: | |
status: | Confirmed → Triaged |
assignee: | Krzysztof Kozlowski (krzk) → nobody |
Found on Xenial 4.4 as well. With a slightly different error message:
startup='Thu Jan 7 20:03:10 2021'
tst_test.c:1263: TINFO: Timeout per run is 0h 05m 00s
semctl09.c:67: TINFO: Test SYS_semctl syscall
semctl09.c:132: TINFO: Test SEM_STAT_ANY with nobody user
semctl09.c:152: TFAIL: SEM_INFO haven't returned a valid index: SUCCESS (0)
semctl09.c:167: TFAIL: Counted used = 0, semuse = 2
semctl09.c:112: TPASS: semset_cnt = 2
semctl09.c:119: TPASS: sen_cnt = 3
semctl09.c:132: TINFO: Test SEM_STAT_ANY with root user
semctl09.c:152: TFAIL: SEM_INFO haven't returned a valid index: SUCCESS (0)
semctl09.c:167: TFAIL: Counted used = 0, semuse = 2
semctl09.c:112: TPASS: semset_cnt = 2
semctl09.c:119: TPASS: sen_cnt = 3
tst_test.c:1263: TINFO: Timeout per run is 0h 05m 00s
semctl09.c:70: TINFO: Test libc semctl()
semctl09.c:132: TINFO: Test SEM_STAT_ANY with nobody user
semctl09.c:152: TFAIL: SEM_INFO haven't returned a valid index: SUCCESS (0)
semctl09.c:167: TFAIL: Counted used = 0, semuse = 2
semctl09.c:112: TPASS: semset_cnt = 2
semctl09.c:119: TPASS: sen_cnt = 3
semctl09.c:132: TINFO: Test SEM_STAT_ANY with root user
semctl09.c:152: TFAIL: SEM_INFO haven't returned a valid index: SUCCESS (0)
semctl09.c:167: TFAIL: Counted used = 0, semuse = 2
semctl09.c:112: TPASS: semset_cnt = 2
semctl09.c:119: TPASS: sen_cnt = 3
Summary:
passed 8
failed 8
broken 0
skipped 0
warnings 0
tag=semctl09 stime=1610049790 dur=0 exit=exited stat=1 core=no cu=0 cs=0