← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2111901] [NEW] ioctl_fiemap01 from ubuntu_ltp_syscalls failed with btfs on 4.4

 

*** This bug is a duplicate of bug 2111892 ***
    https://bugs.launchpad.net/bugs/2111892

Public bug reported:

Issue found with X-fips 4.4.0-1114.121 and X-kvm 4.4.0-1145.156

Test failed with btrfs:
 tst_test.c:1887: TINFO: === Testing on btrfs ===
 tst_test.c:1216: TINFO: Formatting /dev/loop0 with btrfs opts='' extra opts=''
 tst_test.c:1229: TINFO: Mounting /dev/loop0 to /tmp/ltp-KM8pLuPjQW/LTP_iocXbmFcb/mntpoint fstyp=btrfs flags=0
 ioctl_fiemap01.c:74: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) : EBADR (53)
 ioctl_fiemap01.c:77: TFAIL: ioctl(fd, FS_IOC_FIEMAP, fiemap) invalid retval 1: SUCCESS (0)
 ioctl_fiemap01.c:80: TPASS: Expect: Empty file should have 0 extends mapped

Complete test output:
 INFO: Test start time: Tue May 27 09:05:46 UTC 2025
 COMMAND:    /opt/ltp/bin/ltp-pan -q  -e -S   -a 30577     -n 30577  -f /tmp/ltp-KM8pLuPjQW/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_tmpdir.c:317: TINFO: Using /tmp/ltp-KM8pLuPjQW/LTP_iocXbmFcb as tmpdir (ext2/ext3/ext4 filesystem)
 tst_device.c:99: TINFO: Found free device 0 '/dev/loop0'
 tst_test.c:1952: TINFO: LTP version: 20250130
 tst_test.c:1955: TINFO: Tested kernel: 4.4.0-1114-fips #121-Ubuntu SMP Thu May 22 05:57:27 UTC 2025 x86_64
 tst_kconfig.c:88: TINFO: Parsing kernel config '/lib/modules/4.4.0-1114-fips/build/.config'
 tst_test.c:1775: TINFO: Overall 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:169: TINFO: Skipping vfat as requested by the test
 tst_supported_fs_types.c:169: TINFO: Skipping exfat as requested by the test
 tst_supported_fs_types.c:169: TINFO: Skipping tmpfs as requested by the test
 tst_test.c:1887: TINFO: === Testing on ext2 ===
 tst_test.c:1216: TINFO: Formatting /dev/loop0 with ext2 opts='' extra opts=''
 mke2fs 1.42.13 (17-May-2015)
 tst_test.c:1229: TINFO: Mounting /dev/loop0 to /tmp/ltp-KM8pLuPjQW/LTP_iocXbmFcb/mntpoint fstyp=ext2 flags=0
 ioctl_fiemap01.c:74: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) : EBADR (53)
 ioctl_fiemap01.c:77: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
 ioctl_fiemap01.c:80: TPASS: Expect: Empty file should have 0 extends mapped
 ioctl_fiemap01.c:86: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
 ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 1
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
 ioctl_fiemap01.c:96: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
 ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 3
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
 tst_test.c:1887: TINFO: === Testing on ext3 ===
 tst_test.c:1216: TINFO: Formatting /dev/loop0 with ext3 opts='' extra opts=''
 mke2fs 1.42.13 (17-May-2015)
 tst_test.c:1229: TINFO: Mounting /dev/loop0 to /tmp/ltp-KM8pLuPjQW/LTP_iocXbmFcb/mntpoint fstyp=ext3 flags=0
 ioctl_fiemap01.c:74: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) : EBADR (53)
 ioctl_fiemap01.c:77: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
 ioctl_fiemap01.c:80: TPASS: Expect: Empty file should have 0 extends mapped
 ioctl_fiemap01.c:86: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
 ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 1
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
 ioctl_fiemap01.c:96: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
 ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 3
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
 tst_test.c:1887: TINFO: === Testing on ext4 ===
 tst_test.c:1216: TINFO: Formatting /dev/loop0 with ext4 opts='' extra opts=''
 mke2fs 1.42.13 (17-May-2015)
 tst_test.c:1229: TINFO: Mounting /dev/loop0 to /tmp/ltp-KM8pLuPjQW/LTP_iocXbmFcb/mntpoint fstyp=ext4 flags=0
 ioctl_fiemap01.c:74: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) : EBADR (53)
 ioctl_fiemap01.c:77: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
 ioctl_fiemap01.c:80: TPASS: Expect: Empty file should have 0 extends mapped
 ioctl_fiemap01.c:86: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
 ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 1
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
 ioctl_fiemap01.c:96: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
 ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 3
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
 tst_test.c:1887: TINFO: === Testing on xfs ===
 tst_test.c:1216: TINFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
 tst_test.c:1229: TINFO: Mounting /dev/loop0 to /tmp/ltp-KM8pLuPjQW/LTP_iocXbmFcb/mntpoint fstyp=xfs flags=0
 ioctl_fiemap01.c:74: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) : EBADR (53)
 ioctl_fiemap01.c:77: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
 ioctl_fiemap01.c:80: TPASS: Expect: Empty file should have 0 extends mapped
 ioctl_fiemap01.c:86: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
 ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 1
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
 ioctl_fiemap01.c:96: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
 ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 3
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
 tst_test.c:1887: TINFO: === Testing on btrfs ===
 tst_test.c:1216: TINFO: Formatting /dev/loop0 with btrfs opts='' extra opts=''
 tst_test.c:1229: TINFO: Mounting /dev/loop0 to /tmp/ltp-KM8pLuPjQW/LTP_iocXbmFcb/mntpoint fstyp=btrfs flags=0
 ioctl_fiemap01.c:74: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) : EBADR (53)
 ioctl_fiemap01.c:77: TFAIL: ioctl(fd, FS_IOC_FIEMAP, fiemap) invalid retval 1: SUCCESS (0)
 ioctl_fiemap01.c:80: TPASS: Expect: Empty file should have 0 extends mapped
 ioctl_fiemap01.c:86: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
 ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 1
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
 ioctl_fiemap01.c:96: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
 ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 3
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
 ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
 ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
 ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
 
 Summary:
 passed   94
 failed   1
 broken   0
 skipped  0
 warnings 0

This is a new test case added this Apr. not a regression. Failure reported when testing LTP update on Openstack this May.
https://github.com/linux-test-project/ltp/commit/e0ff0da58267959e4a13ff7b7038106976ed24ab

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New


** Tags: 4.4 sru-s20250414 ubuntu-ltp-syscalls xenial

** This bug has been marked a duplicate of bug 2111892
   ubuntu_ltp_syscalls/ ioctl_fiemap01: ioctl_fiemap01.c:77: TFAIL: ioctl(fd, FS_IOC_FIEMAP, fiemap) invalid retval 1: SUCCESS (0) on btrfs

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

Title:
  ioctl_fiemap01 from ubuntu_ltp_syscalls failed with btfs on 4.4

Status in ubuntu-kernel-tests:
  New

Bug description:
  Issue found with X-fips 4.4.0-1114.121 and X-kvm 4.4.0-1145.156

  Test failed with btrfs:
   tst_test.c:1887: TINFO: === Testing on btrfs ===
   tst_test.c:1216: TINFO: Formatting /dev/loop0 with btrfs opts='' extra opts=''
   tst_test.c:1229: TINFO: Mounting /dev/loop0 to /tmp/ltp-KM8pLuPjQW/LTP_iocXbmFcb/mntpoint fstyp=btrfs flags=0
   ioctl_fiemap01.c:74: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) : EBADR (53)
   ioctl_fiemap01.c:77: TFAIL: ioctl(fd, FS_IOC_FIEMAP, fiemap) invalid retval 1: SUCCESS (0)
   ioctl_fiemap01.c:80: TPASS: Expect: Empty file should have 0 extends mapped

  Complete test output:
   INFO: Test start time: Tue May 27 09:05:46 UTC 2025
   COMMAND:    /opt/ltp/bin/ltp-pan -q  -e -S   -a 30577     -n 30577  -f /tmp/ltp-KM8pLuPjQW/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_tmpdir.c:317: TINFO: Using /tmp/ltp-KM8pLuPjQW/LTP_iocXbmFcb as tmpdir (ext2/ext3/ext4 filesystem)
   tst_device.c:99: TINFO: Found free device 0 '/dev/loop0'
   tst_test.c:1952: TINFO: LTP version: 20250130
   tst_test.c:1955: TINFO: Tested kernel: 4.4.0-1114-fips #121-Ubuntu SMP Thu May 22 05:57:27 UTC 2025 x86_64
   tst_kconfig.c:88: TINFO: Parsing kernel config '/lib/modules/4.4.0-1114-fips/build/.config'
   tst_test.c:1775: TINFO: Overall 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:169: TINFO: Skipping vfat as requested by the test
   tst_supported_fs_types.c:169: TINFO: Skipping exfat as requested by the test
   tst_supported_fs_types.c:169: TINFO: Skipping tmpfs as requested by the test
   tst_test.c:1887: TINFO: === Testing on ext2 ===
   tst_test.c:1216: TINFO: Formatting /dev/loop0 with ext2 opts='' extra opts=''
   mke2fs 1.42.13 (17-May-2015)
   tst_test.c:1229: TINFO: Mounting /dev/loop0 to /tmp/ltp-KM8pLuPjQW/LTP_iocXbmFcb/mntpoint fstyp=ext2 flags=0
   ioctl_fiemap01.c:74: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) : EBADR (53)
   ioctl_fiemap01.c:77: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
   ioctl_fiemap01.c:80: TPASS: Expect: Empty file should have 0 extends mapped
   ioctl_fiemap01.c:86: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
   ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 1
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
   ioctl_fiemap01.c:96: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
   ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 3
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
   tst_test.c:1887: TINFO: === Testing on ext3 ===
   tst_test.c:1216: TINFO: Formatting /dev/loop0 with ext3 opts='' extra opts=''
   mke2fs 1.42.13 (17-May-2015)
   tst_test.c:1229: TINFO: Mounting /dev/loop0 to /tmp/ltp-KM8pLuPjQW/LTP_iocXbmFcb/mntpoint fstyp=ext3 flags=0
   ioctl_fiemap01.c:74: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) : EBADR (53)
   ioctl_fiemap01.c:77: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
   ioctl_fiemap01.c:80: TPASS: Expect: Empty file should have 0 extends mapped
   ioctl_fiemap01.c:86: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
   ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 1
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
   ioctl_fiemap01.c:96: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
   ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 3
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
   tst_test.c:1887: TINFO: === Testing on ext4 ===
   tst_test.c:1216: TINFO: Formatting /dev/loop0 with ext4 opts='' extra opts=''
   mke2fs 1.42.13 (17-May-2015)
   tst_test.c:1229: TINFO: Mounting /dev/loop0 to /tmp/ltp-KM8pLuPjQW/LTP_iocXbmFcb/mntpoint fstyp=ext4 flags=0
   ioctl_fiemap01.c:74: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) : EBADR (53)
   ioctl_fiemap01.c:77: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
   ioctl_fiemap01.c:80: TPASS: Expect: Empty file should have 0 extends mapped
   ioctl_fiemap01.c:86: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
   ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 1
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
   ioctl_fiemap01.c:96: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
   ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 3
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (1024)
   tst_test.c:1887: TINFO: === Testing on xfs ===
   tst_test.c:1216: TINFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
   tst_test.c:1229: TINFO: Mounting /dev/loop0 to /tmp/ltp-KM8pLuPjQW/LTP_iocXbmFcb/mntpoint fstyp=xfs flags=0
   ioctl_fiemap01.c:74: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) : EBADR (53)
   ioctl_fiemap01.c:77: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
   ioctl_fiemap01.c:80: TPASS: Expect: Empty file should have 0 extends mapped
   ioctl_fiemap01.c:86: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
   ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 1
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
   ioctl_fiemap01.c:96: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
   ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 3
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
   tst_test.c:1887: TINFO: === Testing on btrfs ===
   tst_test.c:1216: TINFO: Formatting /dev/loop0 with btrfs opts='' extra opts=''
   tst_test.c:1229: TINFO: Mounting /dev/loop0 to /tmp/ltp-KM8pLuPjQW/LTP_iocXbmFcb/mntpoint fstyp=btrfs flags=0
   ioctl_fiemap01.c:74: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) : EBADR (53)
   ioctl_fiemap01.c:77: TFAIL: ioctl(fd, FS_IOC_FIEMAP, fiemap) invalid retval 1: SUCCESS (0)
   ioctl_fiemap01.c:80: TPASS: Expect: Empty file should have 0 extends mapped
   ioctl_fiemap01.c:86: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
   ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 1
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
   ioctl_fiemap01.c:96: TPASS: ioctl(fd, FS_IOC_FIEMAP, fiemap) passed
   ioctl_fiemap01.c:42: TPASS: Expect: extent fm_mapped_extents is 3
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (0)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
   ioctl_fiemap01.c:50: TPASS: (extent->fe_flags & fe_mask) == fe_flags (1)
   ioctl_fiemap01.c:51: TPASS: Expect: fe_physical > 1
   ioctl_fiemap01.c:52: TPASS: extent->fe_length == fe_length (4096)
   
   Summary:
   passed   94
   failed   1
   broken   0
   skipped  0
   warnings 0

  This is a new test case added this Apr. not a regression. Failure reported when testing LTP update on Openstack this May.
  https://github.com/linux-test-project/ltp/commit/e0ff0da58267959e4a13ff7b7038106976ed24ab

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