← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 1910312] Re: semctl09 from ubuntu_ltp_syscalls failed on X / F-oem-5.6 / F-oracle-5.4

 

We have tested the 2.31-0ubuntu9.12 version, which passes the affected
test. Thanks for releasing the fix.

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/1910312

Title:
  semctl09 from ubuntu_ltp_syscalls failed on X / F-oem-5.6 /
  F-oracle-5.4

Status in ubuntu-kernel-tests:
  Triaged
Status in glibc package in Ubuntu:
  Fix Released
Status in glibc source package in Focal:
  Fix Released

Bug description:
  [ Impact ]

   * This affects the LTP test plan as it fails one of its IPC semctl
  tests: semctl09 (https://git.launchpad.net/~canonical-kernel-
  team/+git/ltp/tree/testcases/kernel/syscalls/ipc/semctl/semctl09.c?h=sru)

  [ Test Plan ]

   * Clone https://git.launchpad.net/~canonical-kernel-team/+git/ltp/tree/?h=sru on the sru branch
   * Compile and run https://git.launchpad.net/~canonical-kernel-team/+git/ltp/tree/testcases/kernel/syscalls/ipc/semctl/semctl09.c?h=sru
   * Test should pass, reporting no failed checks.
   * The change also includes a regression test which can be compiled and verified (see tst-sysvsem-linux.c).

  [ 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1910312/+subscriptions