← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2023566] Re: openat04 in ubuntu_ltp_syscalls failed with J-oracle on EXT2, EXT3, EXT4, BTRFS (Setgid bit is set)

 

Seen on b/azure-4.15 version 4.15.0-1171.186

-- 
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/2023566

Title:
  openat04 in ubuntu_ltp_syscalls failed with J-oracle on EXT2, EXT3,
  EXT4, BTRFS (Setgid bit is set)

Status in ubuntu-kernel-tests:
  New

Bug description:
  When testing the LTP update (LTP 20230516, commit 3ebc2dfa85c) on
  Oracle cloud.

  The openat04 test is now failing on EXT2, EXT3, EXT4, BTRFS (skipped
  on XFS, tmpfs) with J-oracle 5.15.0-1037.43

  Complete test log:
  13:16:50 INFO |     START    ubuntu_ltp_syscalls.openat04    ubuntu_ltp_syscalls.openat04    timestamp=1686575810    timeout=900    localtime=Jun 12 13:16:50    
  13:16:50 DEBUG| Persistent state client._record_indent now set to 2
  13:16:50 DEBUG| Persistent state client.unexpected_reboot now set to ('ubuntu_ltp_syscalls.openat04', 'ubuntu_ltp_syscalls.openat04')
  13:16:50 DEBUG| Waiting for pid 822514 for 900 seconds
  13:16:50 WARNI| System python is too old, crash handling disabled
  13:16:51 ERROR| Exception escaping from test:
  Traceback (most recent call last):
    File "/home/ubuntu/autotest/client/shared/test.py", line 411, in _exec
      _call_test_function(self.execute, *p_args, **p_dargs)
    File "/home/ubuntu/autotest/client/shared/test.py", line 823, in _call_test_function
      return func(*args, **dargs)
    File "/home/ubuntu/autotest/client/shared/test.py", line 291, in execute
      postprocess_profiled_run, args, dargs)
    File "/home/ubuntu/autotest/client/shared/test.py", line 212, in _call_run_once
      self.run_once(*args, **dargs)
    File "/home/ubuntu/autotest/client/tests/ubuntu_ltp_syscalls/ubuntu_ltp_syscalls.py", line 151, in run_once
      print(utils.system_output(cmd, verbose=False))
    File "/home/ubuntu/autotest/client/shared/utils.py", line 1271, in system_output
      verbose=verbose, args=args).stdout
    File "/home/ubuntu/autotest/client/shared/utils.py", line 918, in run
      "Command returned non-zero exit status")
  CmdError: Command  failed, rc=1, Command returned non-zero exit status
  * Command: 
      /opt/ltp/runltp -f /tmp/target -q -C /dev/null -l /dev/null -T /dev/null
  Exit status: 1
  Duration: 1.04103589058

  stdout:
  Checking for required user/group ids

  'root' user id and group found.
  'nobody' user id and group found.
  'bin' user id and group found.
  'daemon' user id and group found.
  Users group found.
  Sys group found.
  Required users/groups exist.
  no big block device was specified on commandline.
  Tests which require a big block device are disabled.
  You can specify it with option -z
  INFO: Test start time: Mon Jun 12 13:16:50 UTC 2023
  COMMAND:    /opt/ltp/bin/ltp-pan -q  -e -S   -a 822520     -n 822520  -f /tmp/ltp-MGUUjsawMr/alltests -l /dev/null  -C /dev/null -T /dev/null
  LOG File: /dev/null
  FAILED COMMAND File: /dev/null
  TCONF COMMAND File: /dev/null
  Running tests.......
  tst_device.c:96: TINFO: Found free device 5 '/dev/loop5'
  tst_test.c:1558: TINFO: Timeout per run is 0h 00m 30s
  tst_supported_fs_types.c:89: TINFO: Kernel supports ext2
  tst_supported_fs_types.c:54: TINFO: mkfs.ext2 does exist
  tst_supported_fs_types.c:89: TINFO: Kernel supports ext3
  tst_supported_fs_types.c:54: TINFO: mkfs.ext3 does exist
  tst_supported_fs_types.c:89: TINFO: Kernel supports ext4
  tst_supported_fs_types.c:54: TINFO: mkfs.ext4 does exist
  tst_supported_fs_types.c:89: TINFO: Kernel supports xfs
  tst_supported_fs_types.c:54: TINFO: mkfs.xfs does exist
  tst_supported_fs_types.c:89: TINFO: Kernel supports btrfs
  tst_supported_fs_types.c:54: TINFO: mkfs.btrfs does exist
  tst_supported_fs_types.c:156: TINFO: Skipping vfat as requested by the test
  tst_supported_fs_types.c:156: TINFO: Skipping exfat as requested by the test
  tst_supported_fs_types.c:89: TINFO: Kernel supports tmpfs
  tst_supported_fs_types.c:41: TINFO: mkfs is not needed for tmpfs
  tst_test.c:1634: TINFO: === Testing on ext2 ===
  tst_test.c:1093: TINFO: Formatting /dev/loop5 with ext2 opts='' extra opts=''
  mke2fs 1.46.5 (30-Dec-2021)
  openat04.c:92: TINFO: User nobody: uid = 65534, gid = 65534
  openat04.c:94: TINFO: Found unused GID 11: SUCCESS (0)
  openat04.c:124: TPASS: buf.st_gid == free_gid (11)
  openat04.c:127: TFAIL: open.tmp: Setgid bit is set
  openat04.c:134: TPASS: open.tmp: S_IXGRP bit is not set
  tst_test.c:1634: TINFO: === Testing on ext3 ===
  tst_test.c:1093: TINFO: Formatting /dev/loop5 with ext3 opts='' extra opts=''
  mke2fs 1.46.5 (30-Dec-2021)
  openat04.c:92: TINFO: User nobody: uid = 65534, gid = 65534
  openat04.c:94: TINFO: Found unused GID 11: SUCCESS (0)
  openat04.c:124: TPASS: buf.st_gid == free_gid (11)
  openat04.c:127: TFAIL: open.tmp: Setgid bit is set
  openat04.c:134: TPASS: open.tmp: S_IXGRP bit is not set
  tst_test.c:1634: TINFO: === Testing on ext4 ===
  tst_test.c:1093: TINFO: Formatting /dev/loop5 with ext4 opts='' extra opts=''
  mke2fs 1.46.5 (30-Dec-2021)
  openat04.c:92: TINFO: User nobody: uid = 65534, gid = 65534
  openat04.c:94: TINFO: Found unused GID 11: SUCCESS (0)
  openat04.c:124: TPASS: buf.st_gid == free_gid (11)
  openat04.c:127: TFAIL: open.tmp: Setgid bit is set
  openat04.c:134: TPASS: open.tmp: S_IXGRP bit is not set
  tst_test.c:1634: TINFO: === Testing on xfs ===
  tst_test.c:1093: TINFO: Formatting /dev/loop5 with xfs opts='' extra opts=''
  openat04.c:54: TCONF: Kernel does not support noacl feature
  tst_test.c:1634: TINFO: === Testing on btrfs ===
  tst_test.c:1093: TINFO: Formatting /dev/loop5 with btrfs opts='' extra opts=''
  openat04.c:92: TINFO: User nobody: uid = 65534, gid = 65534
  openat04.c:94: TINFO: Found unused GID 11: SUCCESS (0)
  openat04.c:124: TPASS: buf.st_gid == free_gid (11)
  openat04.c:127: TFAIL: open.tmp: Setgid bit is set
  openat04.c:134: TPASS: open.tmp: S_IXGRP bit is not set
  tst_test.c:1634: TINFO: === Testing on tmpfs ===
  tst_test.c:1093: TINFO: Skipping mkfs for TMPFS filesystem
  openat04.c:54: TCONF: Kernel does not support noacl feature

  HINT: You _MAY_ be missing kernel fixes:

  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ac6800e279a2
  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=426b4ca2d6a5

  Summary:
  passed   8
  failed   4
  broken   0
  skipped  2
  warnings 0
  INFO: ltp-pan reported some tests FAIL
  LTP Version: 20230516
  INFO: Test end time: Mon Jun 12 13:16:51 UTC 2023

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



References