[Kernel-packages] [Bug 1785198] Re: mkfs.vfat is causing failure on fallocate05 / fsync01 / msync04 / preadv03 / pwritev03 / setxattr01 tests in ubuntu_ltp_syscall on Trusty

2018-10-15 Thread Po-Hsu Lin
** Also affects: ubuntu-kernel-tests
   Importance: Undecided
   Status: New

-- 
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 / fsync01 / msync04 /
  preadv03 / pwritev03 / 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=''
  mkfs.vfat: /dev/loop0 contains a mounted filesystem.
  tst_mkfs.c:94: BROK: mkfs.vfat:1: tst_test.c failed with 732

  Summary:
  passed   8
  failed   0
  skipped  2
  warnings 0
  <<>>
  initiation_status="ok"
  duration=8 termination_type=exited termination_id=2 corefile=no
  cutime=6 cstime=105
  <<>>
  

[Kernel-packages] [Bug 1785198] Re: mkfs.vfat is causing failure on fallocate05 / fsync01 / msync04 / preadv03 / pwritev03 / setxattr01 tests in ubuntu_ltp_syscall on Trusty

2018-08-03 Thread Joseph Salisbury
** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu)
   Status: Confirmed => Triaged

-- 
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 / fsync01 / msync04 /
  preadv03 / pwritev03 / setxattr01 tests in ubuntu_ltp_syscall on
  Trusty

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=''
  mkfs.vfat: /dev/loop0 contains a mounted filesystem.
  tst_mkfs.c:94: BROK: mkfs.vfat:1: tst_test.c failed with 732

  Summary:
  passed   8
  failed   0
  skipped  2
  warnings 0
  <<>>
  initiation_status="ok"
  duration=8 termination_type=exited termination_id=2 corefile=no
  cutime=6 

[Kernel-packages] [Bug 1785198] Re: mkfs.vfat is causing failure on fallocate05 / fsync01 / msync04 / preadv03 / pwritev03 / setxattr01 tests in ubuntu_ltp_syscall on Trusty

2018-08-03 Thread Po-Hsu Lin
** Description changed:

  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=''
  mkfs.vfat: /dev/loop0 contains a mounted filesystem.
  tst_mkfs.c:94: BROK: mkfs.vfat:1: tst_test.c failed with 732
  
  Summary:
  passed   8
  failed   0
  skipped  2
  warnings 0
  <<>>
  initiation_status="ok"
  duration=8 termination_type=exited termination_id=2 corefile=no
  cutime=6 cstime=105
  <<>>
  INFO: ltp-pan reported some tests FAIL
  LTP Version: 20180515
  
     ###
  
  Done executing testcases.
  LTP Version:  20180515
     ###
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-153-generic 3.13.0-153.203
  ProcVersionSignature: User Name 3.13.0-153.203-generic