statx09 in ubuntu_ltp_syscalls failed on Focal 5.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Issue found on F-azure-
This is a new test case.
INFO: Test start time: Sat Mar 26 04:49:49 UTC 2022
COMMAND: /opt/ltp/
LOG File: /dev/null
FAILED COMMAND File: /dev/null
TCONF COMMAND File: /dev/null
Running tests.......
tst_kconfig.c:82: TINFO: Parsing kernel config '/lib/modules/
tst_cmd.c:285: TINFO: Parsing mkfs.ext4 version
tst_device.c:88: TINFO: Found free device 3 '/dev/loop3'
tst_test.c:996: TINFO: Formatting /dev/loop3 with ext4 opts='-O verity' extra opts=''
mke2fs 1.45.5 (07-Jan-2020)
tst_test.c:1456: TINFO: Timeout per run is 0h 05m 00s
statx09.c:43: TPASS: statx(AT_FDCWD, mnt_point/
statx09.c:50: TFAIL: STATX_ATTR_VERITY flag is not set
statx09.c:57: TPASS: statx(AT_FDCWD, mnt_point/
statx09.c:61: TPASS: STATX_ATTR_VERITY flag is not set
Summary:
passed 3
failed 1
broken 0
skipped 0
warnings 0
INFO: ltp-pan reported some tests FAIL
LTP Version: 20220121
INFO: Test end time: Sat Mar 26 04:49:49 UTC 2022
https:/
tags: | added: 5.4 azure focal sru-20220221 ubuntu-ltp-syscalls |
tags: | added: sru-20230320 |
According to this test, minimum Linux version required is v5.5.
It will need STATX_ATTR_VERITY related patches:
docs: fs-verity: mention statx() support
f2fs: support STATX_ATTR_VERITY
ext4: support STATX_ATTR_VERITY
statx: define STATX_ATTR_VERITY
docs: fs-verity: document first supported kernel version
Which we don't have in Focal 5.4