[Kernel-packages] [Bug 1785198] Re: mkfs.vfat is causing failure on fallocate05, fsetxattr01, fgetxattr01, fsync01, msync04, preadv03, preadv03, pwritev03, pwritev03_64, setxattr01 tests in ubuntu_ltp

2018-11-13 Thread Po-Hsu Lin
For AWS T-4.4, the result is a bit different, it's failing with ext2
mkfs.

18:42:24 DEBUG| [stdout] tag=setxattr01 stime=1542048144
18:42:24 DEBUG| [stdout] cmdline="setxattr01"
18:42:24 DEBUG| [stdout] contacts=""
18:42:24 DEBUG| [stdout] analysis=exit
18:42:24 DEBUG| [stdout] <<>>
18:42:24 DEBUG| [stdout] tst_device.c:230: INFO: Using test device 
LTP_DEV='/dev/loop0'
18:42:24 DEBUG| [stdout] tst_supported_fs_types.c:72: INFO: Kernel supports ext2
18:42:24 DEBUG| [stdout] tst_supported_fs_types.c:56: INFO: mkfs.ext2 does exist
18:42:24 DEBUG| [stdout] tst_supported_fs_types.c:72: INFO: Kernel supports ext3
18:42:24 DEBUG| [stdout] tst_supported_fs_types.c:56: INFO: mkfs.ext3 does exist
18:42:24 DEBUG| [stdout] tst_supported_fs_types.c:72: INFO: Kernel supports ext4
18:42:24 DEBUG| [stdout] tst_supported_fs_types.c:56: INFO: mkfs.ext4 does exist
18:42:24 DEBUG| [stdout] tst_supported_fs_types.c:72: INFO: Kernel supports xfs
18:42:24 DEBUG| [stdout] tst_supported_fs_types.c:56: INFO: mkfs.xfs does exist
18:42:24 DEBUG| [stdout] tst_supported_fs_types.c:72: INFO: Kernel supports 
btrfs
18:42:24 DEBUG| [stdout] tst_supported_fs_types.c:52: INFO: mkfs.btrfs does not 
exist
18:42:24 DEBUG| [stdout] tst_supported_fs_types.c:72: INFO: Kernel supports vfat
18:42:24 DEBUG| [stdout] tst_supported_fs_types.c:56: INFO: mkfs.vfat does exist
18:42:24 DEBUG| [stdout] tst_supported_fs_types.c:95: INFO: Filesystem exfat is 
not supported
18:42:24 DEBUG| [stdout] tst_supported_fs_types.c:99: INFO: FUSE does support 
ntfs
18:42:24 DEBUG| [stdout] tst_supported_fs_types.c:56: INFO: mkfs.ntfs does exist
18:42:24 DEBUG| [stdout] tst_test.c:1146: INFO: Testing on ext2
18:42:24 DEBUG| [stdout] tst_mkfs.c:90: INFO: Formatting /dev/loop0 with ext2 
opts='' extra opts=''
18:42:24 DEBUG| [stdout] mke2fs 1.42.9 (4-Feb-2014)
18:42:24 DEBUG| [stdout] /dev/loop0 is mounted; will not make a filesystem here!
18:42:24 DEBUG| [stdout] tst_mkfs.c:101: BROK: mkfs.ext2:1: tst_test.c failed 
with 749

And there are more failed test cases with these listed above:
lchown03 lchown03_16 linkat02 lchown03 lchown03_16 mknod07 mmap16 mmap16 
mount01 mount02 mount03 mount04 mount06 open12 quotactl02 quotactl03 rename11 
renameat01 umount01 umount02 umount03 umount2_01 umount2_02 umount2_03 utime06

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1785198

Title:
  mkfs.vfat is causing failure on  fallocate05, fsetxattr01,
  fgetxattr01, fsync01, msync04, preadv03, preadv03, pwritev03,
  pwritev03_64, setxattr01 tests in ubuntu_ltp_syscall on Trusty

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Triaged

Bug description:
  This test failed due to:
  mkfs.vfat: /dev/loop0 contains a mounted filesystem.
  tst_mkfs.c:94: BROK: mkfs.vfat:1: tst_test.c failed with 732

  fallocate05 / fsync01 / msync04 / preadv03 / preadv03_64 / pwritev03 /
  pwrite03_64 / setxattr01 are failing with the same issue.

  The mkfs.vfat command only works once for the first test.

  So if you run the same test case (e.g. msync04) on a recently rebooted
  system, it will pass for the first run.

  <<>>
  tag=fallocate05 stime=1533288629
  cmdline="fallocate05"
  contacts=""
  analysis=exit
  <<>>
  tst_device.c:230: INFO: Using test device LTP_DEV='/dev/loop0'
  incrementing stop
  tst_supported_fs_types.c:72: INFO: Kernel supports ext2
  tst_supported_fs_types.c:56: INFO: mkfs.ext2 does exist
  tst_supported_fs_types.c:72: INFO: Kernel supports ext3
  tst_supported_fs_types.c:56: INFO: mkfs.ext3 does exist
  tst_supported_fs_types.c:72: INFO: Kernel supports ext4
  tst_supported_fs_types.c:56: INFO: mkfs.ext4 does exist
  tst_supported_fs_types.c:72: INFO: Kernel supports xfs
  tst_supported_fs_types.c:56: INFO: mkfs.xfs does exist
  tst_supported_fs_types.c:72: INFO: Kernel supports btrfs
  tst_supported_fs_types.c:52: INFO: mkfs.btrfs does not exist
  tst_supported_fs_types.c:72: INFO: Kernel supports vfat
  tst_supported_fs_types.c:56: INFO: mkfs.vfat does exist
  tst_supported_fs_types.c:95: INFO: Filesystem exfat is not supported
  tst_supported_fs_types.c:72: INFO: Kernel supports ntfs
  tst_supported_fs_types.c:56: INFO: mkfs.ntfs does exist
  tst_test.c:1079: INFO: Testing on ext2
  tst_mkfs.c:83: INFO: Formatting /dev/loop0 with ext2 opts='' extra opts=''
  mke2fs 1.42.9 (4-Feb-2014)
  tst_test.c:1018: INFO: Timeout per run is 0h 05m 00s
  fallocate05.c:46: CONF: fallocate() not supported: EOPNOTSUPP
  tst_test.c:1079: INFO: Testing on ext3
  tst_mkfs.c:83: INFO: Formatting /dev/loop0 with ext3 opts='' extra opts=''
  mke2fs 1.42.9 (4-Feb-2014)
  tst_test.c:1018: INFO: Timeout per run is 0h 05m 00s
  fallocate05.c:46: CONF: fallocate() not supported: EOPNOTSUPP
  tst_test.c:1079: INFO: Testing on ext4
  tst_mkfs.c:83: INFO: Formatting /dev/loop0 with ext4 opts='' extra opts=''
  mke2fs 1.42.9 (4-Feb-2014)
  tst_test.c:1018: INFO

[Kernel-packages] [Bug 1785198] Re: mkfs.vfat is causing failure on fallocate05, fsetxattr01, fgetxattr01, fsync01, msync04, preadv03, preadv03, pwritev03, pwritev03_64, setxattr01 tests in ubuntu_ltp

2018-10-15 Thread Po-Hsu Lin
** Summary changed:

- mkfs.vfat is causing failure on fallocate05 / fsync01 / msync04 / preadv03 / 
pwritev03 / setxattr01 tests in ubuntu_ltp_syscall on Trusty
+ mkfs.vfat is causing failure on  fallocate05, fsetxattr01, fgetxattr01, 
fsync01, msync04, preadv03, preadv03, pwritev03, pwritev03_64, setxattr01 tests 
in ubuntu_ltp_syscall on Trusty

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1785198

Title:
  mkfs.vfat is causing failure on  fallocate05, fsetxattr01,
  fgetxattr01, fsync01, msync04, preadv03, preadv03, pwritev03,
  pwritev03_64, setxattr01 tests in ubuntu_ltp_syscall on Trusty

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Triaged

Bug description:
  This test failed due to:
  mkfs.vfat: /dev/loop0 contains a mounted filesystem.
  tst_mkfs.c:94: BROK: mkfs.vfat:1: tst_test.c failed with 732

  fallocate05 / fsync01 / msync04 / preadv03 / preadv03_64 / pwritev03 /
  pwrite03_64 / setxattr01 are failing with the same issue.

  The mkfs.vfat command only works once for the first test.

  So if you run the same test case (e.g. msync04) on a recently rebooted
  system, it will pass for the first run.

  <<>>
  tag=fallocate05 stime=1533288629
  cmdline="fallocate05"
  contacts=""
  analysis=exit
  <<>>
  tst_device.c:230: INFO: Using test device LTP_DEV='/dev/loop0'
  incrementing stop
  tst_supported_fs_types.c:72: INFO: Kernel supports ext2
  tst_supported_fs_types.c:56: INFO: mkfs.ext2 does exist
  tst_supported_fs_types.c:72: INFO: Kernel supports ext3
  tst_supported_fs_types.c:56: INFO: mkfs.ext3 does exist
  tst_supported_fs_types.c:72: INFO: Kernel supports ext4
  tst_supported_fs_types.c:56: INFO: mkfs.ext4 does exist
  tst_supported_fs_types.c:72: INFO: Kernel supports xfs
  tst_supported_fs_types.c:56: INFO: mkfs.xfs does exist
  tst_supported_fs_types.c:72: INFO: Kernel supports btrfs
  tst_supported_fs_types.c:52: INFO: mkfs.btrfs does not exist
  tst_supported_fs_types.c:72: INFO: Kernel supports vfat
  tst_supported_fs_types.c:56: INFO: mkfs.vfat does exist
  tst_supported_fs_types.c:95: INFO: Filesystem exfat is not supported
  tst_supported_fs_types.c:72: INFO: Kernel supports ntfs
  tst_supported_fs_types.c:56: INFO: mkfs.ntfs does exist
  tst_test.c:1079: INFO: Testing on ext2
  tst_mkfs.c:83: INFO: Formatting /dev/loop0 with ext2 opts='' extra opts=''
  mke2fs 1.42.9 (4-Feb-2014)
  tst_test.c:1018: INFO: Timeout per run is 0h 05m 00s
  fallocate05.c:46: CONF: fallocate() not supported: EOPNOTSUPP
  tst_test.c:1079: INFO: Testing on ext3
  tst_mkfs.c:83: INFO: Formatting /dev/loop0 with ext3 opts='' extra opts=''
  mke2fs 1.42.9 (4-Feb-2014)
  tst_test.c:1018: INFO: Timeout per run is 0h 05m 00s
  fallocate05.c:46: CONF: fallocate() not supported: EOPNOTSUPP
  tst_test.c:1079: INFO: Testing on ext4
  tst_mkfs.c:83: INFO: Formatting /dev/loop0 with ext4 opts='' extra opts=''
  mke2fs 1.42.9 (4-Feb-2014)
  tst_test.c:1018: INFO: Timeout per run is 0h 05m 00s
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file0 size 21710183
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file1 size 8070086
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file2 size 3971177
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file3 size 36915315
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file4 size 70310993
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file5 size 4807935
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file6 size 90739786
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file7 size 76896492
  tst_fill_fs.c:61: INFO: write(): ENOSPC
  fallocate05.c:62: PASS: write() wrote 8192 bytes
  fallocate05.c:71: PASS: fallocate() on full FS: ENOSPC
  fallocate05.c:80: PASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE)
  fallocate05.c:86: PASS: write()
  tst_test.c:1079: INFO: Testing on xfs
  tst_mkfs.c:83: INFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
  tst_test.c:1018: INFO: Timeout per run is 0h 05m 00s
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file0 size 21710183
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file1 size 8070086
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file2 size 3971177
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file3 size 36915315
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file4 size 70310993
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file5 size 4807935
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file6 size 90739786
  tst_fill_fs.c:41: INFO: Creating file mntpoint/file7 size 76896492
  tst_fill_fs.c:61: INFO: write(): ENOSPC
  fallocate05.c:62: PASS: write() wrote 8192 bytes
  fallocate05.c:71: PASS: fallocate() on full FS: ENOSPC
  fallocate05.c:80: PASS: fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE)
  fallocate05.c:86: PASS: write()
  tst_test.c:1079: INFO: Testing on vfat
  tst_mkfs.c:83: INFO: Formatting /dev/loop0 with vfat opts='' extra opts