openat04 in ubuntu_ltp_syscalls failed with J-oracle on EXT2, EXT3, EXT4, BTRFS (Setgid bit is set)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
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_
13:16:50 DEBUG| Persistent state client.
13:16:50 DEBUG| Persistent state client.
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/
_call_
File "/home/
return func(*args, **dargs)
File "/home/
postprocess
File "/home/
self.
File "/home/
print(
File "/home/
verbose=
File "/home/
"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/
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_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
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:/
https:/
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
Seen on 1171.186~ 16.04.1
- b/azure-4.15 version 4.15.0-1171.186
- x/azure version 4.15.0-