statx09 in ubuntu_ltp_syscalls failed on Focal 5.4

Bug #1966620 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Confirmed
Undecided
Unassigned

Bug Description

Issue found on F-azure-5.4.0-1074.77

This is a new test case.

INFO: Test start time: Sat Mar 26 04:49:49 UTC 2022
COMMAND: /opt/ltp/bin/ltp-pan -q -e -S -a 877593 -n 877593 -f /tmp/ltp-biWtOBHU4a/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_kconfig.c:82: TINFO: Parsing kernel config '/lib/modules/5.4.0-1074-azure/build/.config'
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/test_file1, 0, 0, &buf) passed
statx09.c:50: TFAIL: STATX_ATTR_VERITY flag is not set
statx09.c:57: TPASS: statx(AT_FDCWD, mnt_point/test_file2, 0, 0, &buf) passed
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://github.com/linux-test-project/ltp/commit/681f89d97b195a72b6c796890402b4a29630cc22

Po-Hsu Lin (cypressyew)
tags: added: 5.4 azure focal sru-20220221 ubuntu-ltp-syscalls
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

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

Changed in ubuntu-kernel-tests:
status: New → Confirmed
summary: - statx09 in ubuntu_ltp_syscalls failed on F-azure-5.4
+ statx09 in ubuntu_ltp_syscalls failed on Focal 5.4
tags: added: sru-20230320
Revision history for this message
Andrei Gherzan (agherzan) wrote :

Spotted on focal:linux-fips during the 20230320 cycle.

Revision history for this message
Andrei Gherzan (agherzan) wrote :

I have hinted this test's result on focal:fips for now as a known issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.