ioctl_ficlone03 from ubuntu_ltp_syscalls failed on Bionic when testing xfs/btrfs

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

Bug Description

This is a new test case added on Jul. 24
https://github.com/linux-test-project/ltp/commit/620f1b142a2288b731ed8a70039bf386a9d06eb3

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

Test failed with:
* XFS
  - ioctl_ficlone03.c:57: TFAIL: destination is immutable expected EPERM: EINVAL (22)
* BTRFS
  - ioctl_ficlone03.c:51: TFAIL: destination is immutable succeeded
  - ioctl_ficlone03.c:57: TFAIL: destination is immutable expected EPERM: EINVAL (22)

Test log:
INFO: Test start time: Sat Sep 28 10:09:03 UTC 2024
COMMAND: /opt/ltp/bin/ltp-pan -q -e -S -a 25693 -n 25693 -f /tmp/ltp-2kvk8xB7PY/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_buffers.c:57: TINFO: Test is using guarded buffers
tst_tmpdir.c:317: TINFO: Using /tmp/ltp-2kvk8xB7PY/LTP_ioc3hTdRc as tmpdir (ext2/ext3/ext4 filesystem)
tst_device.c:97: TINFO: Found free device 0 '/dev/loop0'
tst_test.c:1860: TINFO: LTP version: 20240524
tst_test.c:1864: TINFO: Tested kernel: 4.15.0-230-generic #242-Ubuntu SMP Fri Sep 27 16:41:24 UTC 2024 s390x
tst_test.c:1705: TINFO: Timeout per run is 0h 00m 30s
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:127: TINFO: Filesystem exfat is not supported
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 xfs ===
tst_test.c:1158: TINFO: Formatting /dev/loop0 with xfs opts='-m reflink=1' extra opts=''
tst_test.c:1171: TINFO: Mounting /dev/loop0 to /tmp/ltp-2kvk8xB7PY/LTP_ioc3hTdRc/mnt fstyp=xfs flags=0
ioctl_ficlone03.c:51: TPASS: invalid source : EBADF (9)
ioctl_ficlone03.c:57: TPASS: invalid source : EBADF (9)
ioctl_ficlone03.c:51: TPASS: invalid destination : EBADF (9)
ioctl_ficlone03.c:57: TPASS: invalid destination : EBADF (9)
ioctl_ficlone03.c:51: TPASS: read-only destination : EBADF (9)
ioctl_ficlone03.c:57: TPASS: read-only destination : EBADF (9)
ioctl_ficlone03.c:51: TPASS: write-only source : EBADF (9)
ioctl_ficlone03.c:57: TPASS: write-only source : EBADF (9)
ioctl_ficlone03.c:51: TPASS: source is a directory : EISDIR (21)
ioctl_ficlone03.c:57: TPASS: source is a directory : EISDIR (21)
ioctl_ficlone03.c:51: TPASS: destination is a directory : EISDIR (21)
ioctl_ficlone03.c:57: TPASS: destination is a directory : EISDIR (21)
ioctl_ficlone03.c:51: TPASS: destination is immutable : EPERM (1)
ioctl_ficlone03.c:57: TFAIL: destination is immutable expected EPERM: EINVAL (22)
ioctl_ficlone03.c:51: TPASS: destination is on a different mount : EXDEV (18)
ioctl_ficlone03.c:57: TPASS: destination is on a different mount : EXDEV (18)
ioctl_ficlone03.c:51: TPASS: source is on a different mount : EXDEV (18)
ioctl_ficlone03.c:57: TPASS: source is on a different mount : EXDEV (18)
tst_test.c:1799: TINFO: === Testing on btrfs ===
tst_test.c:1158: TINFO: Formatting /dev/loop0 with btrfs opts='' extra opts=''
tst_test.c:1171: TINFO: Mounting /dev/loop0 to /tmp/ltp-2kvk8xB7PY/LTP_ioc3hTdRc/mnt fstyp=btrfs flags=0
ioctl_ficlone03.c:51: TPASS: invalid source : EBADF (9)
ioctl_ficlone03.c:57: TPASS: invalid source : EBADF (9)
ioctl_ficlone03.c:51: TPASS: invalid destination : EBADF (9)
ioctl_ficlone03.c:57: TPASS: invalid destination : EBADF (9)
ioctl_ficlone03.c:51: TPASS: read-only destination : EBADF (9)
ioctl_ficlone03.c:57: TPASS: read-only destination : EBADF (9)
ioctl_ficlone03.c:51: TPASS: write-only source : EBADF (9)
ioctl_ficlone03.c:57: TPASS: write-only source : EBADF (9)
ioctl_ficlone03.c:51: TPASS: source is a directory : EISDIR (21)
ioctl_ficlone03.c:57: TPASS: source is a directory : EISDIR (21)
ioctl_ficlone03.c:51: TPASS: destination is a directory : EISDIR (21)
ioctl_ficlone03.c:57: TPASS: destination is a directory : EISDIR (21)
ioctl_ficlone03.c:51: TFAIL: destination is immutable succeeded
ioctl_ficlone03.c:57: TFAIL: destination is immutable expected EPERM: EINVAL (22)
ioctl_ficlone03.c:51: TPASS: destination is on a different mount : EXDEV (18)
ioctl_ficlone03.c:57: TPASS: destination is on a different mount : EXDEV (18)
ioctl_ficlone03.c:51: TPASS: source is on a different mount : EXDEV (18)
ioctl_ficlone03.c:57: TPASS: source is on a different mount : EXDEV (18)

Summary:
passed 33
failed 3
broken 0
skipped 0
warnings 0

Po-Hsu Lin (cypressyew)
tags: added: sru-s20240902
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.