[Kernel-packages] [Bug 1878748] Re: fanotify15 from ubuntu_ltp_syscalls failed with E/F

2020-06-15 Thread Po-Hsu Lin
Patch applied on Eoan with stable update (bug 1880758)

Passed on Eoan.

** Changed in: linux (Ubuntu Eoan)
   Status: In Progress => Fix Released

** Changed in: ubuntu-kernel-tests
   Status: In Progress => Fix Released

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

Title:
  fanotify15 from ubuntu_ltp_syscalls failed with E/F

Status in ubuntu-kernel-tests:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  == SRU Justification ==
  The fanotify15 from ubuntu_ltp_syscalls will fail on differenet
  filesystems with Eoan kernel:
fanotify15.c:223: FAIL: Got event: mask=2 (expected 43c0) pid=16744 
fd=-1
fanotify15.c:223: FAIL: Got event: mask=2 (expected 4400) pid=16744 
fd=-1
fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=16744 fd=-1
fanotify15.c:210: FAIL: got unnecessary event: mask=43c0 pid=16744 fd=-1
fanotify15.c:210: FAIL: got unnecessary event: mask=4400 pid=16744 fd=-1

  == Fix ==
  * f367a62a7cad ("fanotify: merge duplicate events on parent and child")

  This patch has been applied to Focal via stable update process, and
  this test will be skipped on Disco and older kernels with
  "FAN_REPORT_FID not supported in kernel".

  Thus Eoan will be the only kernel that needs this patch. It needs to be
  backported because of missing commit dfc2d2594e4 ("fsnotify: replace
  inode pointer with an object id")

  == Test ==
  A test kernel could be found here:
  https://people.canonical.com/~phlin/kernel/lp-1878748-fanotify15/

  This faontify15 test will pass with this patch applied.
  Also tested with the whole ubuntu_ltp_syscalls test suite, no new
  failures were reported.

  == Regression Potential ==
  Low, it's just a minor bug according to the patch author [1] and it's
  testable with positive result.

  [1] https://lwn.net/Articles/812675/

  
  == Original Bug Report ==
  This is a new sub test case added to fanotify15.

  <<>>
  incrementing stop
  tst_device.c:262: INFO: Using test device LTP_DEV='/dev/loop4'
  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:43: INFO: mkfs.btrfs does 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:89: INFO: Formatting /dev/loop4 with ext2 opts='' extra opts=''
  mke2fs 1.45.3 (14-Jul-2019)
  tst_test.c:1244: INFO: Timeout per run is 0h 05m 00s
  fanotify15.c:86: INFO: Test #0: FAN_REPORT_FID on filesystem including 
FAN_DELETE_SELF
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
e0b13469.adbaecba.8001.5c9458d0.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
e0b13469.adbaecba.8002.c2539281.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
e0b13469.adbaecba.8002.aec0582b.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.c25392818002 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1479, 
fid=e0b13469.adbaecba.c25392818002 values
  fanotify15.c:266: PASS: Got event: mask=43c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=4400, pid=1479, 
fid=e0b13469.adbaecba.aec0582b8002 values
  fanotify15.c:86: INFO: Test #1: FAN_REPORT_FID on directory with 
FAN_EVENT_ON_CHILD
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
e0b13469.adbaecba.8001.5c9458d0.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
e0b13469.adbaecba.8002.8610b51a.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
e0b13469.adbaecba.8002.15288504.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1479, 
fid=e0b13469.adbaecba.8610b51a8002 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.8610b51a8002 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 43c0) pid=1479 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 4400) pid=1479 fd=-1
  fanotify15.c:210: FAIL: got 

[Kernel-packages] [Bug 1878748] Re: fanotify15 from ubuntu_ltp_syscalls failed with E/F

2020-05-20 Thread Po-Hsu Lin
https://lists.ubuntu.com/archives/kernel-team/2020-May/110086.html

** Description changed:

  == SRU Justification ==
  The fanotify15 from ubuntu_ltp_syscalls will fail on Eoan with:
-   fanotify15.c:223: FAIL: Got event: mask=2 (expected 43c0) pid=16744 
fd=-1
-   fanotify15.c:223: FAIL: Got event: mask=2 (expected 4400) pid=16744 
fd=-1
-   fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=16744 fd=-1
-   fanotify15.c:210: FAIL: got unnecessary event: mask=43c0 pid=16744 fd=-1
-   fanotify15.c:210: FAIL: got unnecessary event: mask=4400 pid=16744 fd=-1
+   fanotify15.c:223: FAIL: Got event: mask=2 (expected 43c0) pid=16744 
fd=-1
+   fanotify15.c:223: FAIL: Got event: mask=2 (expected 4400) pid=16744 
fd=-1
+   fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=16744 fd=-1
+   fanotify15.c:210: FAIL: got unnecessary event: mask=43c0 pid=16744 fd=-1
+   fanotify15.c:210: FAIL: got unnecessary event: mask=4400 pid=16744 fd=-1
  
  == Fix ==
  * f367a62a7cad ("fanotify: merge duplicate events on parent and child")
  
  This patch has been applied to Focal via stable update process, and this
  test will be skipped on Disco and older kernels with "FAN_REPORT_FID not
  supported in kernel".
  
  Thus Eoan will be the only kernel that needs this patch. It needs to be
  backported because of missing commit dfc2d2594e4 ("fsnotify: replace
  inode pointer with an object id")
  
  == Test ==
  A test kernel could be found here:
  https://people.canonical.com/~phlin/kernel/lp-1878748-fanotify15/
  
  This faontify15 test will pass with this patch applied.
+ Also tested with the whole ubuntu_ltp_syscalls test suite, no new failures 
reported.
  
  == Regression Potential ==
- Low, 
- 
+ Low, it's just a minor bug according to the patch author [1] and patch tested 
with positive result.
+ 
+ [1] https://lwn.net/Articles/812675/
+ 
+ 
+ == Original Bug Report ==
  This is a new sub test case added to fanotify15.
  
  <<>>
  incrementing stop
  tst_device.c:262: INFO: Using test device LTP_DEV='/dev/loop4'
  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:43: INFO: mkfs.btrfs does 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:89: INFO: Formatting /dev/loop4 with ext2 opts='' extra opts=''
  mke2fs 1.45.3 (14-Jul-2019)
  tst_test.c:1244: INFO: Timeout per run is 0h 05m 00s
  fanotify15.c:86: INFO: Test #0: FAN_REPORT_FID on filesystem including 
FAN_DELETE_SELF
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
e0b13469.adbaecba.8001.5c9458d0.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
e0b13469.adbaecba.8002.c2539281.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
e0b13469.adbaecba.8002.aec0582b.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.c25392818002 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1479, 
fid=e0b13469.adbaecba.c25392818002 values
  fanotify15.c:266: PASS: Got event: mask=43c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=4400, pid=1479, 
fid=e0b13469.adbaecba.aec0582b8002 values
  fanotify15.c:86: INFO: Test #1: FAN_REPORT_FID on directory with 
FAN_EVENT_ON_CHILD
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
e0b13469.adbaecba.8001.5c9458d0.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
e0b13469.adbaecba.8002.8610b51a.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
e0b13469.adbaecba.8002.15288504.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1479, 
fid=e0b13469.adbaecba.8610b51a8002 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.8610b51a8002 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 43c0) pid=1479 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 4400) pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=43c0 pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=4400 pid=1479 fd=-1
  

[Kernel-packages] [Bug 1878748] Re: fanotify15 from ubuntu_ltp_syscalls failed with E/F

2020-05-19 Thread Po-Hsu Lin
** Description changed:

+ == SRU Justification ==
+ The fanotify15 from ubuntu_ltp_syscalls will fail on Eoan with:
+   fanotify15.c:223: FAIL: Got event: mask=2 (expected 43c0) pid=16744 
fd=-1
+   fanotify15.c:223: FAIL: Got event: mask=2 (expected 4400) pid=16744 
fd=-1
+   fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=16744 fd=-1
+   fanotify15.c:210: FAIL: got unnecessary event: mask=43c0 pid=16744 fd=-1
+   fanotify15.c:210: FAIL: got unnecessary event: mask=4400 pid=16744 fd=-1
+ 
+ == Fix ==
+ * f367a62a7cad ("fanotify: merge duplicate events on parent and child")
+ 
+ This patch has been applied to Focal via stable update process, and this
+ test will be skipped on Disco and older kernels with "FAN_REPORT_FID not
+ supported in kernel".
+ 
+ Thus Eoan will be the only kernel that needs this patch. It needs to be
+ backported because of missing commit dfc2d2594e4 ("fsnotify: replace
+ inode pointer with an object id")
+ 
+ == Test ==
+ A test kernel could be found here:
+ https://people.canonical.com/~phlin/kernel/lp-1878748-fanotify15/
+ 
+ This faontify15 test will pass with this patch applied.
+ 
+ == Regression Potential ==
+ Low, 
+ 
  This is a new sub test case added to fanotify15.
  
  <<>>
  incrementing stop
  tst_device.c:262: INFO: Using test device LTP_DEV='/dev/loop4'
  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:43: INFO: mkfs.btrfs does 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:89: INFO: Formatting /dev/loop4 with ext2 opts='' extra opts=''
  mke2fs 1.45.3 (14-Jul-2019)
  tst_test.c:1244: INFO: Timeout per run is 0h 05m 00s
  fanotify15.c:86: INFO: Test #0: FAN_REPORT_FID on filesystem including 
FAN_DELETE_SELF
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
e0b13469.adbaecba.8001.5c9458d0.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
e0b13469.adbaecba.8002.c2539281.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
e0b13469.adbaecba.8002.aec0582b.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.c25392818002 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1479, 
fid=e0b13469.adbaecba.c25392818002 values
  fanotify15.c:266: PASS: Got event: mask=43c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=4400, pid=1479, 
fid=e0b13469.adbaecba.aec0582b8002 values
  fanotify15.c:86: INFO: Test #1: FAN_REPORT_FID on directory with 
FAN_EVENT_ON_CHILD
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
e0b13469.adbaecba.8001.5c9458d0.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
e0b13469.adbaecba.8002.8610b51a.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
e0b13469.adbaecba.8002.15288504.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1479, 
fid=e0b13469.adbaecba.8610b51a8002 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.8610b51a8002 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 43c0) pid=1479 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 4400) pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=43c0 pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=4400 pid=1479 fd=-1
  tst_test.c:1307: INFO: Testing on ext3
  tst_mkfs.c:89: INFO: Formatting /dev/loop4 with ext3 opts='' extra opts=''
  mke2fs 1.45.3 (14-Jul-2019)
  tst_test.c:1244: INFO: Timeout per run is 0h 05m 00s
  fanotify15.c:86: INFO: Test #0: FAN_REPORT_FID on filesystem including 
FAN_DELETE_SELF
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
921e543f.6b2e720c.8001.8cec764f.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
921e543f.6b2e720c.8002.74e4b5b1.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
921e543f.6b2e720c.8002.8b346c81.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1484, 
fid=921e543f.6b2e720c.8cec764f8001 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1484, 

[Kernel-packages] [Bug 1878748] Re: fanotify15 from ubuntu_ltp_syscalls failed with E/F

2020-05-18 Thread Po-Hsu Lin
** Changed in: linux (Ubuntu Eoan)
   Status: New => Confirmed

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

Title:
  fanotify15 from ubuntu_ltp_syscalls failed with E/F

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Eoan:
  Confirmed
Status in linux source package in Focal:
  Fix Released

Bug description:
  This is a new sub test case added to fanotify15.

  <<>>
  incrementing stop
  tst_device.c:262: INFO: Using test device LTP_DEV='/dev/loop4'
  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:43: INFO: mkfs.btrfs does 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:89: INFO: Formatting /dev/loop4 with ext2 opts='' extra opts=''
  mke2fs 1.45.3 (14-Jul-2019)
  tst_test.c:1244: INFO: Timeout per run is 0h 05m 00s
  fanotify15.c:86: INFO: Test #0: FAN_REPORT_FID on filesystem including 
FAN_DELETE_SELF
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
e0b13469.adbaecba.8001.5c9458d0.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
e0b13469.adbaecba.8002.c2539281.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
e0b13469.adbaecba.8002.aec0582b.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.c25392818002 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1479, 
fid=e0b13469.adbaecba.c25392818002 values
  fanotify15.c:266: PASS: Got event: mask=43c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=4400, pid=1479, 
fid=e0b13469.adbaecba.aec0582b8002 values
  fanotify15.c:86: INFO: Test #1: FAN_REPORT_FID on directory with 
FAN_EVENT_ON_CHILD
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
e0b13469.adbaecba.8001.5c9458d0.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
e0b13469.adbaecba.8002.8610b51a.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
e0b13469.adbaecba.8002.15288504.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1479, 
fid=e0b13469.adbaecba.8610b51a8002 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.8610b51a8002 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 43c0) pid=1479 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 4400) pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=43c0 pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=4400 pid=1479 fd=-1
  tst_test.c:1307: INFO: Testing on ext3
  tst_mkfs.c:89: INFO: Formatting /dev/loop4 with ext3 opts='' extra opts=''
  mke2fs 1.45.3 (14-Jul-2019)
  tst_test.c:1244: INFO: Timeout per run is 0h 05m 00s
  fanotify15.c:86: INFO: Test #0: FAN_REPORT_FID on filesystem including 
FAN_DELETE_SELF
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
921e543f.6b2e720c.8001.8cec764f.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
921e543f.6b2e720c.8002.74e4b5b1.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
921e543f.6b2e720c.8002.8b346c81.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1484, 
fid=921e543f.6b2e720c.8cec764f8001 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1484, 
fid=921e543f.6b2e720c.74e4b5b18002 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1484, 
fid=921e543f.6b2e720c.74e4b5b18002 values
  fanotify15.c:266: PASS: Got event: mask=43c0, pid=1484, 
fid=921e543f.6b2e720c.8cec764f8001 values
  fanotify15.c:266: PASS: Got event: mask=4400, pid=1484, 
fid=921e543f.6b2e720c.8b346c818002 values
  fanotify15.c:86: INFO: Test #1: FAN_REPORT_FID on directory with 
FAN_EVENT_ON_CHILD
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
921e543f.6b2e720c.8001.8cec764f.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
921e543f.6b2e720c.8002.f46c1bf5.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 

[Kernel-packages] [Bug 1878748] Re: fanotify15 from ubuntu_ltp_syscalls failed with E/F

2020-05-18 Thread Po-Hsu Lin
These required feature are not supported in Bionic:
tst_test.c:1246: INFO: Timeout per run is 0h 05m 00s
fanotify15.c:300: CONF: FAN_REPORT_FID not supported in kernel
tst_test.c:1307: INFO: Testing on ext3
tst_mkfs.c:90: INFO: Formatting /dev/loop0 with ext3 opts='' extra opts=''
mke2fs 1.44.1 (24-Mar-2018)
tst_test.c:1246: INFO: Timeout per run is 0h 05m 00s
fanotify15.c:300: CONF: FAN_REPORT_FID not supported in kernel
tst_test.c:1307: INFO: Testing on ext4
tst_mkfs.c:90: INFO: Formatting /dev/loop0 with ext4 opts='' extra opts=''
mke2fs 1.44.1 (24-Mar-2018)
tst_test.c:1246: INFO: Timeout per run is 0h 05m 00s
fanotify15.c:300: CONF: FAN_REPORT_FID not supported in kernel
tst_test.c:1307: INFO: Testing on xfs
tst_mkfs.c:90: INFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
tst_test.c:1246: INFO: Timeout per run is 0h 05m 00s
fanotify15.c:300: CONF: FAN_REPORT_FID not supported in kernel
tst_test.c:1307: INFO: Testing on btrfs
tst_mkfs.c:90: INFO: Formatting /dev/loop0 with btrfs opts='' extra opts=''
tst_test.c:1246: INFO: Timeout per run is 0h 05m 00s
fanotify15.c:300: CONF: FAN_REPORT_FID not supported in kernel
tst_test.c:1307: INFO: Testing on vfat
tst_mkfs.c:90: INFO: Formatting /dev/loop0 with vfat opts='' extra opts=''
tst_test.c:1246: INFO: Timeout per run is 0h 05m 00s
fanotify15.c:300: CONF: FAN_REPORT_FID not supported in kernel

So it's just Eoan that was affected.

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

Title:
  fanotify15 from ubuntu_ltp_syscalls failed with E/F

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Eoan:
  Confirmed
Status in linux source package in Focal:
  Fix Released

Bug description:
  This is a new sub test case added to fanotify15.

  <<>>
  incrementing stop
  tst_device.c:262: INFO: Using test device LTP_DEV='/dev/loop4'
  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:43: INFO: mkfs.btrfs does 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:89: INFO: Formatting /dev/loop4 with ext2 opts='' extra opts=''
  mke2fs 1.45.3 (14-Jul-2019)
  tst_test.c:1244: INFO: Timeout per run is 0h 05m 00s
  fanotify15.c:86: INFO: Test #0: FAN_REPORT_FID on filesystem including 
FAN_DELETE_SELF
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
e0b13469.adbaecba.8001.5c9458d0.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
e0b13469.adbaecba.8002.c2539281.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
e0b13469.adbaecba.8002.aec0582b.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.c25392818002 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1479, 
fid=e0b13469.adbaecba.c25392818002 values
  fanotify15.c:266: PASS: Got event: mask=43c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=4400, pid=1479, 
fid=e0b13469.adbaecba.aec0582b8002 values
  fanotify15.c:86: INFO: Test #1: FAN_REPORT_FID on directory with 
FAN_EVENT_ON_CHILD
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
e0b13469.adbaecba.8001.5c9458d0.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
e0b13469.adbaecba.8002.8610b51a.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
e0b13469.adbaecba.8002.15288504.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1479, 
fid=e0b13469.adbaecba.8610b51a8002 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.8610b51a8002 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 43c0) pid=1479 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 4400) pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=43c0 pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=4400 pid=1479 fd=-1
  tst_test.c:1307: INFO: Testing on ext3
  tst_mkfs.c:89: INFO: Formatting /dev/loop4 

[Kernel-packages] [Bug 1878748] Re: fanotify15 from ubuntu_ltp_syscalls failed with E/F

2020-05-18 Thread Po-Hsu Lin
Patch applied into Focal with stable update (5.4.0-32-generic)

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

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

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

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

Title:
  fanotify15 from ubuntu_ltp_syscalls failed with E/F

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Eoan:
  New
Status in linux source package in Focal:
  Fix Released

Bug description:
  This is a new sub test case added to fanotify15.

  <<>>
  incrementing stop
  tst_device.c:262: INFO: Using test device LTP_DEV='/dev/loop4'
  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:43: INFO: mkfs.btrfs does 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:89: INFO: Formatting /dev/loop4 with ext2 opts='' extra opts=''
  mke2fs 1.45.3 (14-Jul-2019)
  tst_test.c:1244: INFO: Timeout per run is 0h 05m 00s
  fanotify15.c:86: INFO: Test #0: FAN_REPORT_FID on filesystem including 
FAN_DELETE_SELF
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
e0b13469.adbaecba.8001.5c9458d0.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
e0b13469.adbaecba.8002.c2539281.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
e0b13469.adbaecba.8002.aec0582b.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.c25392818002 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1479, 
fid=e0b13469.adbaecba.c25392818002 values
  fanotify15.c:266: PASS: Got event: mask=43c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=4400, pid=1479, 
fid=e0b13469.adbaecba.aec0582b8002 values
  fanotify15.c:86: INFO: Test #1: FAN_REPORT_FID on directory with 
FAN_EVENT_ON_CHILD
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
e0b13469.adbaecba.8001.5c9458d0.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
e0b13469.adbaecba.8002.8610b51a.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
e0b13469.adbaecba.8002.15288504.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1479, 
fid=e0b13469.adbaecba.8610b51a8002 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.8610b51a8002 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 43c0) pid=1479 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 4400) pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=43c0 pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=4400 pid=1479 fd=-1
  tst_test.c:1307: INFO: Testing on ext3
  tst_mkfs.c:89: INFO: Formatting /dev/loop4 with ext3 opts='' extra opts=''
  mke2fs 1.45.3 (14-Jul-2019)
  tst_test.c:1244: INFO: Timeout per run is 0h 05m 00s
  fanotify15.c:86: INFO: Test #0: FAN_REPORT_FID on filesystem including 
FAN_DELETE_SELF
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
921e543f.6b2e720c.8001.8cec764f.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
921e543f.6b2e720c.8002.74e4b5b1.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
921e543f.6b2e720c.8002.8b346c81.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1484, 
fid=921e543f.6b2e720c.8cec764f8001 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1484, 
fid=921e543f.6b2e720c.74e4b5b18002 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1484, 
fid=921e543f.6b2e720c.74e4b5b18002 values
  fanotify15.c:266: PASS: Got event: mask=43c0, pid=1484, 
fid=921e543f.6b2e720c.8cec764f8001 values
  fanotify15.c:266: PASS: Got event: mask=4400, pid=1484, 
fid=921e543f.6b2e720c.8b346c818002 values
  fanotify15.c:86: INFO: Test #1: FAN_REPORT_FID on directory with 
FAN_EVENT_ON_CHILD
  fanotify.h:183: INFO: 

[Kernel-packages] [Bug 1878748] Re: fanotify15 from ubuntu_ltp_syscalls failed with E/F

2020-05-17 Thread Po-Hsu Lin
** Summary changed:

- fanotify15 from ubuntu_ltp_syscalls failed with E
+ fanotify15 from ubuntu_ltp_syscalls failed with E/F

** Tags added: focal

** Tags added: sru-20200427

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

Title:
  fanotify15 from ubuntu_ltp_syscalls failed with E/F

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

Bug description:
  This is a new sub test case added to fanotify15.

  <<>>
  incrementing stop
  tst_device.c:262: INFO: Using test device LTP_DEV='/dev/loop4'
  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:43: INFO: mkfs.btrfs does 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:89: INFO: Formatting /dev/loop4 with ext2 opts='' extra opts=''
  mke2fs 1.45.3 (14-Jul-2019)
  tst_test.c:1244: INFO: Timeout per run is 0h 05m 00s
  fanotify15.c:86: INFO: Test #0: FAN_REPORT_FID on filesystem including 
FAN_DELETE_SELF
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
e0b13469.adbaecba.8001.5c9458d0.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
e0b13469.adbaecba.8002.c2539281.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
e0b13469.adbaecba.8002.aec0582b.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.c25392818002 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1479, 
fid=e0b13469.adbaecba.c25392818002 values
  fanotify15.c:266: PASS: Got event: mask=43c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=4400, pid=1479, 
fid=e0b13469.adbaecba.aec0582b8002 values
  fanotify15.c:86: INFO: Test #1: FAN_REPORT_FID on directory with 
FAN_EVENT_ON_CHILD
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
e0b13469.adbaecba.8001.5c9458d0.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
e0b13469.adbaecba.8002.8610b51a.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
e0b13469.adbaecba.8002.15288504.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d08001 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1479, 
fid=e0b13469.adbaecba.8610b51a8002 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.8610b51a8002 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 43c0) pid=1479 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 4400) pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=43c0 pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=4400 pid=1479 fd=-1
  tst_test.c:1307: INFO: Testing on ext3
  tst_mkfs.c:89: INFO: Formatting /dev/loop4 with ext3 opts='' extra opts=''
  mke2fs 1.45.3 (14-Jul-2019)
  tst_test.c:1244: INFO: Timeout per run is 0h 05m 00s
  fanotify15.c:86: INFO: Test #0: FAN_REPORT_FID on filesystem including 
FAN_DELETE_SELF
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
921e543f.6b2e720c.8001.8cec764f.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
921e543f.6b2e720c.8002.74e4b5b1.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
921e543f.6b2e720c.8002.8b346c81.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1484, 
fid=921e543f.6b2e720c.8cec764f8001 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1484, 
fid=921e543f.6b2e720c.74e4b5b18002 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1484, 
fid=921e543f.6b2e720c.74e4b5b18002 values
  fanotify15.c:266: PASS: Got event: mask=43c0, pid=1484, 
fid=921e543f.6b2e720c.8cec764f8001 values
  fanotify15.c:266: PASS: Got event: mask=4400, pid=1484, 
fid=921e543f.6b2e720c.8b346c818002 values
  fanotify15.c:86: INFO: Test #1: FAN_REPORT_FID on directory with 
FAN_EVENT_ON_CHILD
  fanotify.h:183: INFO: fid(mntpoint/test_dir) = 
921e543f.6b2e720c.8001.8cec764f.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
921e543f.6b2e720c.8002.f46c1bf5.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) =