Public bug reported:

This issue has been fixed in bug 1865967 for other kernels.

Issue found on Trusty 3.13.0-177-generic:
<<<test_start>>>
tag=fallocate06 stime=1590054538
cmdline="fallocate06"
contacts=""
analysis=exit
<<<test_output>>>
tst_device.c:262: INFO: Using test device LTP_DEV='/dev/loop0'
incrementing stop
tst_device.c:300: INFO: Skipping $LTP_DEV size 256MB, requested size 512MB
tst_device.c:88: INFO: Found free device 1 '/dev/loop1'
tst_supported_fs_types.c:59: INFO: Kernel supports ext2
tst_supported_fs_types.c:43: INFO: mkfs.ext2 does exist
tst_supported_fs_types.c:59: INFO: Kernel supports ext3
tst_supported_fs_types.c:43: INFO: mkfs.ext3 does exist
tst_supported_fs_types.c:59: INFO: Kernel supports ext4
tst_supported_fs_types.c:43: INFO: mkfs.ext4 does exist
tst_supported_fs_types.c:59: INFO: Kernel supports xfs
tst_supported_fs_types.c:43: INFO: mkfs.xfs does exist
tst_supported_fs_types.c:59: INFO: Kernel supports btrfs
tst_supported_fs_types.c:39: INFO: mkfs.btrfs does not exist
tst_supported_fs_types.c:59: INFO: Kernel supports vfat
tst_supported_fs_types.c:43: INFO: mkfs.vfat does exist
tst_supported_fs_types.c:82: INFO: Filesystem exfat is not supported
tst_test.c:1307: INFO: Testing on ext2
tst_mkfs.c:90: INFO: Formatting /dev/loop1 with ext2 opts='' extra opts=''
mke2fs 1.42.9 (4-Feb-2014)
tst_test.c:1246: INFO: Timeout per run is 0h 05m 00s
fallocate06.c:117: INFO: Copy-on-write is supported
fallocate06.c:168: INFO: Case 1. Fill FS: no; Use copy on write: no
fallocate06.c:189: CONF: fallocate() not supported: EOPNOTSUPP (95)
tst_test.c:1307: INFO: Testing on ext3
tst_mkfs.c:90: INFO: Formatting /dev/loop1 with ext3 opts='' extra opts=''
mke2fs 1.42.9 (4-Feb-2014)
tst_test.c:1246: INFO: Timeout per run is 0h 05m 00s
fallocate06.c:117: INFO: Copy-on-write is supported
fallocate06.c:168: INFO: Case 1. Fill FS: no; Use copy on write: no
fallocate06.c:189: CONF: fallocate() not supported: EOPNOTSUPP (95)
tst_test.c:1307: INFO: Testing on ext4
tst_mkfs.c:90: INFO: Formatting /dev/loop1 with ext4 opts='' extra opts=''
mke2fs 1.42.9 (4-Feb-2014)
tst_test.c:1246: INFO: Timeout per run is 0h 05m 00s
fallocate06.c:117: INFO: Copy-on-write is supported
fallocate06.c:168: INFO: Case 1. Fill FS: no; Use copy on write: no
fallocate06.c:157: PASS: write() successful
fallocate06.c:201: PASS: Misaligned allocation works as expected
fallocate06.c:157: PASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) 
successful
fallocate06.c:237: PASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) 
cleared the correct file range
fallocate06.c:168: INFO: Case 2. Fill FS: yes; Use copy on write: no
tst_fill_fs.c:32: INFO: Creating file mntpoint/file0 size 21710183
tst_fill_fs.c:32: INFO: Creating file mntpoint/file1 size 8070086
tst_fill_fs.c:32: INFO: Creating file mntpoint/file2 size 3971177
tst_fill_fs.c:32: INFO: Creating file mntpoint/file3 size 36915315
tst_fill_fs.c:32: INFO: Creating file mntpoint/file4 size 70310993
tst_fill_fs.c:32: INFO: Creating file mntpoint/file5 size 4807935
tst_fill_fs.c:32: INFO: Creating file mntpoint/file6 size 90739786
tst_fill_fs.c:32: INFO: Creating file mntpoint/file7 size 76896492
tst_fill_fs.c:32: INFO: Creating file mntpoint/file8 size 72228649
tst_fill_fs.c:32: INFO: Creating file mntpoint/file9 size 36207821
tst_fill_fs.c:32: INFO: Creating file mntpoint/file10 size 81483962
tst_fill_fs.c:59: INFO: write(): ENOSPC (28)
fallocate06.c:157: PASS: write() successful
fallocate06.c:201: PASS: Misaligned allocation works as expected
fallocate06.c:157: PASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) 
successful
fallocate06.c:237: PASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) 
cleared the correct file range
fallocate06.c:168: INFO: Case 3. Fill FS: no; Use copy on write: yes
fallocate06.c:157: PASS: write() successful
fallocate06.c:201: PASS: Misaligned allocation works as expected
fallocate06.c:157: PASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) 
successful
fallocate06.c:237: PASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) 
cleared the correct file range
fallocate06.c:168: INFO: Case 4. Fill FS: yes; Use copy on write: yes
tst_fill_fs.c:32: INFO: Creating file mntpoint/file0 size 92198827
tst_fill_fs.c:32: INFO: Creating file mntpoint/file1 size 49365490
tst_fill_fs.c:32: INFO: Creating file mntpoint/file2 size 53944059
tst_fill_fs.c:32: INFO: Creating file mntpoint/file3 size 52603363
tst_fill_fs.c:32: INFO: Creating file mntpoint/file4 size 80077126
tst_fill_fs.c:32: INFO: Creating file mntpoint/file5 size 2031740
tst_fill_fs.c:32: INFO: Creating file mntpoint/file6 size 72377026
tst_fill_fs.c:32: INFO: Creating file mntpoint/file7 size 94373972
tst_fill_fs.c:32: INFO: Creating file mntpoint/file8 size 45164536
tst_fill_fs.c:59: INFO: write(): ENOSPC (28)
fallocate06.c:157: PASS: write() successful
fallocate06.c:201: PASS: Misaligned allocation works as expected
fallocate06.c:157: PASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) 
successful
fallocate06.c:237: PASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) 
cleared the correct file range
tst_test.c:1307: INFO: Testing on xfs
tst_mkfs.c:90: INFO: Formatting /dev/loop1 with xfs opts='' extra opts=''
tst_test.c:1246: INFO: Timeout per run is 0h 05m 00s
fallocate06.c:117: INFO: Copy-on-write is not supported
fallocate06.c:168: INFO: Case 1. Fill FS: no; Use copy on write: no
fallocate06.c:157: PASS: write() successful
fallocate06.c:201: PASS: Misaligned allocation works as expected
fallocate06.c:157: PASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) 
successful
fallocate06.c:237: PASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) 
cleared the correct file range
fallocate06.c:168: INFO: Case 2. Fill FS: yes; Use copy on write: no
tst_fill_fs.c:32: INFO: Creating file mntpoint/file0 size 21710183
tst_fill_fs.c:32: INFO: Creating file mntpoint/file1 size 8070086
tst_fill_fs.c:32: INFO: Creating file mntpoint/file2 size 3971177
tst_fill_fs.c:32: INFO: Creating file mntpoint/file3 size 36915315
tst_fill_fs.c:32: INFO: Creating file mntpoint/file4 size 70310993
tst_fill_fs.c:32: INFO: Creating file mntpoint/file5 size 4807935
tst_fill_fs.c:32: INFO: Creating file mntpoint/file6 size 90739786
tst_fill_fs.c:32: INFO: Creating file mntpoint/file7 size 76896492
tst_fill_fs.c:32: INFO: Creating file mntpoint/file8 size 72228649
tst_fill_fs.c:32: INFO: Creating file mntpoint/file9 size 36207821
tst_fill_fs.c:32: INFO: Creating file mntpoint/file10 size 81483962
tst_fill_fs.c:32: INFO: Creating file mntpoint/file11 size 92198827
tst_fill_fs.c:59: INFO: write(): ENOSPC (28)
fallocate06.c:153: FAIL: Unexpected return value from write(): 7680 (expected 
8192)
fallocate06.c:157: PASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) 
successful
fallocate06.c:237: PASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE) 
cleared the correct file range
fallocate06.c:168: INFO: Case 3. Fill FS: no; Use copy on write: yes
fallocate06.c:174: CONF: File system does not support copy-on-write
tst_test.c:1307: INFO: Testing on vfat
tst_mkfs.c:90: INFO: Formatting /dev/loop1 with vfat opts='' extra opts=''
tst_test.c:1246: INFO: Timeout per run is 0h 05m 00s
fallocate06.c:117: INFO: Copy-on-write is not supported
fallocate06.c:168: INFO: Case 1. Fill FS: no; Use copy on write: no
fallocate06.c:189: CONF: fallocate() not supported: EOPNOTSUPP (95)

HINT: You _MAY_ be missing kernel fixes, see:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e093c4be760e

Summary:
passed   22
failed   1
skipped  4
warnings 0
<<<execution_status>>>

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

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: linux (Ubuntu Trusty)
     Importance: Undecided
         Status: New


** Tags: 3.13 sru-20200518 trusty ubuntu-ltp-syscalls

** Tags added: 3.13 sru-20200518 trusty ubuntu-ltp-syscalls

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1879909

Title:
  xfs fill_fs test in fallocate06 from ubuntu_ltp_syscalls failed on T

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to