← 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

 

Verified with libc-dev-bin 2.31-0ubuntu9.10 from Focal proposed pocket.

Test passed as expected. Thanks!

<<<test_start>>>
tag=semctl09 stime=1686810268
cmdline="semctl09"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_test.c:1526: TINFO: Timeout per run is 0h 00m 30s
semctl09.c:76: TINFO: Test SYS_semctl syscall
semctl09.c:141: TINFO: Test SEM_STAT_ANY with nobody user
semctl09.c:163: TPASS: SEM_INFO returned valid index 2 to semid 2
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:141: TINFO: Test SEM_STAT_ANY with root user
semctl09.c:163: TPASS: SEM_INFO returned valid index 2 to semid 2
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:79: TINFO: Test libc semctl()
semctl09.c:141: TINFO: Test SEM_STAT_ANY with nobody user
semctl09.c:163: TPASS: SEM_INFO returned valid index 3 to semid 3
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2
semctl09.c:141: TINFO: Test SEM_STAT_ANY with root user
semctl09.c:163: TPASS: SEM_INFO returned valid index 3 to semid 3
semctl09.c:173: TPASS: Counted used = 1
semctl09.c:121: TPASS: semset_cnt = 1
semctl09.c:128: TPASS: sen_cnt = 2

Summary:
passed   16
failed   0
broken   0
skipped  0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: 20220527

       ###############################################################

            Done executing testcases.
            LTP Version:  20220527
       ###############################################################


** Tags removed: verification-needed
** Tags added: verification-done

-- 
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:
  Confirmed
Status in glibc package in Ubuntu:
  Fix Released
Status in glibc source package in Focal:
  Fix Committed

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