← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2083183] Re: landlock04 from ubuntu_ltp_syscalls failed on Jammy (TBROK: landlock_add_rule)

 

LANDLOCK_ACCESS_FS_TRUNCATE starts to be supported in kernel v6.2
b9f5ce27c8f8b landlock: Support file truncation

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

Title:
  landlock04 from ubuntu_ltp_syscalls failed on Jammy (TBROK:
  landlock_add_rule)

Status in ubuntu-kernel-tests:
  New

Bug description:
  This is a new test case added on Aug. 8
  https://github.com/linux-test-project/ltp/commit/0e19ce15690055231fe4954e8b3711a3a47c937a

  And we got our fork updated recently in order to cover Oracular.
  So this is not a regression.

  Test failed with:
    TBROK: landlock_add_rule(8, 1, 0xfffd3c6ffff4, 0): EINVAL (22)

  On all 7 testable filesystems in the end of the test.

  Partial test log:
  tst_supported_fs_types.c:96: TINFO: Kernel supports ext2
  tst_supported_fs_types.c:61: TINFO: mkfs.ext2 does exist
  tst_supported_fs_types.c:96: TINFO: Kernel supports ext3
  tst_supported_fs_types.c:61: TINFO: mkfs.ext3 does exist
  tst_supported_fs_types.c:96: TINFO: Kernel supports ext4
  tst_supported_fs_types.c:61: TINFO: mkfs.ext4 does exist
  tst_supported_fs_types.c:96: TINFO: Kernel supports xfs
  tst_supported_fs_types.c:61: TINFO: mkfs.xfs does exist
  tst_supported_fs_types.c:96: TINFO: Kernel supports btrfs
  tst_supported_fs_types.c:61: TINFO: mkfs.btrfs does exist
  tst_supported_fs_types.c:104: TINFO: Skipping bcachefs because of FUSE blacklist
  tst_supported_fs_types.c:96: TINFO: Kernel supports vfat
  tst_supported_fs_types.c:61: TINFO: mkfs.vfat does exist
  tst_supported_fs_types.c:96: TINFO: Kernel supports exfat
  tst_supported_fs_types.c:57: TINFO: mkfs.exfat does not exist
  tst_supported_fs_types.c:96: TINFO: Kernel supports tmpfs
  tst_supported_fs_types.c:48: TINFO: mkfs is not needed for tmpfs
  tst_test.c:1799: TINFO: === Testing on ext2 ===
  tst_test.c:1158: TINFO: Formatting /dev/loop3 with ext2 opts='' extra opts=''
  mke2fs 1.46.5 (30-Dec-2021)
  tst_test.c:1170: TINFO: Mounting /dev/loop3 to /tmp/ltp-D4KJMsmJ4p/LTP_lan6iBSdk/sandbox fstyp=ext2 flags=0
  landlock_common.h:31: TINFO: Landlock ABI v1
  landlock04.c:151: TINFO: Testing LANDLOCK_ACCESS_FS_TRUNCATE
  landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/aarch64-linux-gnu/libc.so.6
  landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1
  landlock04.c:171: TBROK: landlock_add_rule(8, 1, 0xfffd3c6ffff4, 0): EINVAL (22)
  tst_test.c:1799: TINFO: === Testing on ext3 ===
  tst_test.c:1158: TINFO: Formatting /dev/loop3 with ext3 opts='' extra opts=''
  mke2fs 1.46.5 (30-Dec-2021)
  tst_test.c:1170: TINFO: Mounting /dev/loop3 to /tmp/ltp-D4KJMsmJ4p/LTP_lan6iBSdk/sandbox fstyp=ext3 flags=0
  landlock_common.h:31: TINFO: Landlock ABI v1
  landlock04.c:151: TINFO: Testing LANDLOCK_ACCESS_FS_TRUNCATE
  landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/aarch64-linux-gnu/libc.so.6
  landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1
  landlock04.c:171: TBROK: landlock_add_rule(8, 1, 0xfffd3c6ffff4, 0): EINVAL (22)
  tst_test.c:1799: TINFO: === Testing on ext4 ===
  tst_test.c:1158: TINFO: Formatting /dev/loop3 with ext4 opts='' extra opts=''
  mke2fs 1.46.5 (30-Dec-2021)
  tst_test.c:1170: TINFO: Mounting /dev/loop3 to /tmp/ltp-D4KJMsmJ4p/LTP_lan6iBSdk/sandbox fstyp=ext4 flags=0
  landlock_common.h:31: TINFO: Landlock ABI v1
  landlock04.c:151: TINFO: Testing LANDLOCK_ACCESS_FS_TRUNCATE
  landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/aarch64-linux-gnu/libc.so.6
  landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1
  landlock04.c:171: TBROK: landlock_add_rule(8, 1, 0xfffd3c6ffff4, 0): EINVAL (22)
  tst_test.c:1799: TINFO: === Testing on xfs ===
  tst_test.c:1158: TINFO: Formatting /dev/loop3 with xfs opts='' extra opts=''
  tst_test.c:1170: TINFO: Mounting /dev/loop3 to /tmp/ltp-D4KJMsmJ4p/LTP_lan6iBSdk/sandbox fstyp=xfs flags=0
  landlock_common.h:31: TINFO: Landlock ABI v1
  landlock04.c:151: TINFO: Testing LANDLOCK_ACCESS_FS_TRUNCATE
  landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/aarch64-linux-gnu/libc.so.6
  landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1
  landlock04.c:171: TBROK: landlock_add_rule(8, 1, 0xfffd3c6ffff4, 0): EINVAL (22)
  tst_test.c:1799: TINFO: === Testing on btrfs ===
  tst_test.c:1158: TINFO: Formatting /dev/loop3 with btrfs opts='' extra opts=''
  tst_test.c:1170: TINFO: Mounting /dev/loop3 to /tmp/ltp-D4KJMsmJ4p/LTP_lan6iBSdk/sandbox fstyp=btrfs flags=0
  landlock_common.h:31: TINFO: Landlock ABI v1
  landlock04.c:151: TINFO: Testing LANDLOCK_ACCESS_FS_TRUNCATE
  landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/aarch64-linux-gnu/libc.so.6
  landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1
  landlock04.c:171: TBROK: landlock_add_rule(8, 1, 0xfffd3c6ffff4, 0): EINVAL (22)
  tst_test.c:1799: TINFO: === Testing on vfat ===
  tst_test.c:1158: TINFO: Formatting /dev/loop3 with vfat opts='' extra opts=''
  tst_test.c:1170: TINFO: Mounting /dev/loop3 to /tmp/ltp-D4KJMsmJ4p/LTP_lan6iBSdk/sandbox fstyp=vfat flags=0
  landlock_common.h:31: TINFO: Landlock ABI v1
  landlock04.c:151: TINFO: Testing LANDLOCK_ACCESS_FS_TRUNCATE
  landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/aarch64-linux-gnu/libc.so.6
  landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1
  landlock04.c:171: TBROK: landlock_add_rule(8, 1, 0xfffd3c6ffff4, 0): EINVAL (22)
  tst_test.c:1799: TINFO: === Testing on tmpfs ===
  tst_test.c:1158: TINFO: Skipping mkfs for TMPFS filesystem
  tst_test.c:1134: TINFO: Limiting tmpfs size to 32MB
  tst_test.c:1170: TINFO: Mounting ltp-tmpfs to /tmp/ltp-D4KJMsmJ4p/LTP_lan6iBSdk/sandbox fstyp=tmpfs flags=0
  landlock_common.h:31: TINFO: Landlock ABI v1
  landlock04.c:151: TINFO: Testing LANDLOCK_ACCESS_FS_TRUNCATE
  landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/aarch64-linux-gnu/libc.so.6
  landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1
  landlock04.c:171: TBROK: landlock_add_rule(8, 1, 0xfffd3c6ffff4, 0): EINVAL (22)

  Summary:
  passed   1039
  failed   0
  broken   7
  skipped  0
  warnings 0

  Please find the attachment for the complete test log.

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



References