** Description changed:

+ == SRU Justification ==
+ The fanotify15 from ubuntu_ltp_syscalls will fail on Eoan with:
+   fanotify15.c:223: FAIL: Got event: mask=2 (expected 400003c0) pid=16744 
fd=-1
+   fanotify15.c:223: FAIL: Got event: mask=2 (expected 40000400) 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=400003c0 pid=16744 fd=-1
+   fanotify15.c:210: FAIL: got unnecessary event: mask=40000400 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.
  
  <<<test_output>>>
  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.5c9458d000008001 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.c253928100008002 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1479, 
fid=e0b13469.adbaecba.c253928100008002 values
  fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d000008001 values
  fanotify15.c:266: PASS: Got event: mask=40000400, pid=1479, 
fid=e0b13469.adbaecba.aec0582b00008002 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.5c9458d000008001 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1479, 
fid=e0b13469.adbaecba.8610b51a00008002 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.8610b51a00008002 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 400003c0) pid=1479 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 40000400) 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=400003c0 pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=40000400 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.8cec764f00008001 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1484, 
fid=921e543f.6b2e720c.74e4b5b100008002 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1484, 
fid=921e543f.6b2e720c.74e4b5b100008002 values
  fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1484, 
fid=921e543f.6b2e720c.8cec764f00008001 values
  fanotify15.c:266: PASS: Got event: mask=40000400, pid=1484, 
fid=921e543f.6b2e720c.8b346c8100008002 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) = 
921e543f.6b2e720c.8002.fa8f76e2.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1484, 
fid=921e543f.6b2e720c.8cec764f00008001 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1484, 
fid=921e543f.6b2e720c.f46c1bf500008002 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1484, 
fid=921e543f.6b2e720c.f46c1bf500008002 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 400003c0) pid=1484 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 40000400) pid=1484 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1484 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=400003c0 pid=1484 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=40000400 pid=1484 fd=-1
  tst_test.c:1307: INFO: Testing on ext4
  tst_mkfs.c:89: INFO: Formatting /dev/loop4 with ext4 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) = 
66b43d23.d9688718.c.9d5a2fe3.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
66b43d23.d9688718.d.95b6ee35.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
66b43d23.d9688718.8001.df274465.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1489, 
fid=66b43d23.d9688718.9d5a2fe30000000c values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1489, 
fid=66b43d23.d9688718.95b6ee350000000d values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1489, 
fid=66b43d23.d9688718.95b6ee350000000d values
  fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1489, 
fid=66b43d23.d9688718.9d5a2fe30000000c values
  fanotify15.c:266: PASS: Got event: mask=40000400, pid=1489, 
fid=66b43d23.d9688718.df27446500008001 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) = 
66b43d23.d9688718.c.9d5a2fe3.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
66b43d23.d9688718.d.e31a326e.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
66b43d23.d9688718.8001.e00985d8.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1489, 
fid=66b43d23.d9688718.9d5a2fe30000000c values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1489, 
fid=66b43d23.d9688718.e31a326e0000000d values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1489, 
fid=66b43d23.d9688718.e31a326e0000000d values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 400003c0) pid=1489 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 40000400) pid=1489 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1489 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=400003c0 pid=1489 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=40000400 pid=1489 fd=-1
  tst_test.c:1307: INFO: Testing on xfs
  tst_mkfs.c:89: INFO: Formatting /dev/loop4 with xfs opts='' extra opts=''
  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) = 704.0.83.0.c8908e65...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 704.0.84.0.1dd80239...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 704.0.20080.0.ad2e34da...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1499, fid=704.0.83 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1499, fid=704.0.84 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1499, fid=704.0.84 values
  fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1499, fid=704.0.83 
values
  fanotify15.c:266: PASS: Got event: mask=40000400, pid=1499, fid=704.0.20080 
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) = 704.0.83.0.c8908e65...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 704.0.84.0.1dd8023a...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 704.0.41b00.0.7f679a51...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1499, fid=704.0.83 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1499, fid=704.0.84 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1499, fid=704.0.84 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 400003c0) pid=1499 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 40000400) pid=1499 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1499 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=400003c0 pid=1499 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=40000400 pid=1499 fd=-1
  tst_test.c:1307: INFO: Testing on btrfs
  tst_mkfs.c:89: INFO: Formatting /dev/loop4 with btrfs opts='' extra opts=''
  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) = 978b19b8.d0f43f7c.101.0.5...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
978b19b8.d0f43f7c.102.0.5...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
978b19b8.d0f43f7c.103.0.5...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1525, 
fid=978b19b8.d0f43f7c.101 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1525, 
fid=978b19b8.d0f43f7c.102 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1525, 
fid=978b19b8.d0f43f7c.102 values
  fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1525, 
fid=978b19b8.d0f43f7c.101 values
  fanotify15.c:266: PASS: Got event: mask=40000400, pid=1525, 
fid=978b19b8.d0f43f7c.103 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) = 978b19b8.d0f43f7c.101.0.5...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
978b19b8.d0f43f7c.104.0.5...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
978b19b8.d0f43f7c.105.0.5...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1525, 
fid=978b19b8.d0f43f7c.101 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1525, 
fid=978b19b8.d0f43f7c.104 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1525, 
fid=978b19b8.d0f43f7c.104 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 400003c0) pid=1525 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 40000400) pid=1525 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1525 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=400003c0 pid=1525 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=40000400 pid=1525 fd=-1
  tst_test.c:1307: INFO: Testing on vfat
  tst_mkfs.c:89: INFO: Formatting /dev/loop4 with vfat opts='' extra opts=''
  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) = 704.0.73.5ebe2162.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 704.0.74.5ebe2163.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 704.0.75.5ebe2162.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1529, 
fid=704.0.5ebe216200000073 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1529, 
fid=704.0.5ebe216300000074 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1529, 
fid=704.0.5ebe216300000074 values
  fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1529, 
fid=704.0.5ebe216200000073 values
  fanotify15.c:266: PASS: Got event: mask=40000400, pid=1529, 
fid=704.0.5ebe216200000075 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) = 704.0.73.5ebe2162.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 704.0.76.5ebe2163.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 704.0.77.5ebe2162.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1529, 
fid=704.0.5ebe216200000073 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1529, 
fid=704.0.5ebe216300000076 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1529, 
fid=704.0.5ebe216300000076 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 400003c0) pid=1529 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 40000400) pid=1529 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1529 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=400003c0 pid=1529 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=40000400 pid=1529 fd=-1
  
  HINT: You _MAY_ be missing kernel fixes, see:
  
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f367a62a7cad
  
  Summary:
  passed   48
  failed   30
  skipped  0
  warnings 0
  
  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-53-generic 5.3.0-53.47
  ProcVersionSignature: User Name 5.3.0-53.47-generic 5.3.18
  Uname: Linux 5.3.0-53-generic x86_64
  AlsaDevices:
-  total 0
-  crw-rw---- 1 root audio 116,  1 May 15 04:55 seq
-  crw-rw---- 1 root audio 116, 33 May 15 04:55 timer
+  total 0
+  crw-rw---- 1 root audio 116,  1 May 15 04:55 seq
+  crw-rw---- 1 root audio 116, 33 May 15 04:55 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.11-0ubuntu8.8
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 
'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  Date: Fri May 15 04:58:17 2020
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
  PciMultimedia:
-  
+ 
  ProcFB: 0 cirrusdrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-53-generic 
root=UUID=777f3f18-84e3-4be2-b2c8-4d5843951c4c ro console=tty1 console=ttyS0
  RelatedPackageVersions:
-  linux-restricted-modules-5.3.0-53-generic N/A
-  linux-backports-modules-5.3.0-53-generic  N/A
-  linux-firmware                            1.183.5
+  linux-restricted-modules-5.3.0-53-generic N/A
+  linux-backports-modules-5.3.0-53-generic  N/A
+  linux-firmware                            1.183.5
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/01/2014
  dmi.bios.vendor: SeaBIOS
  dmi.bios.version: 1.10.2-1ubuntu1
  dmi.chassis.type: 1
  dmi.chassis.vendor: QEMU
  dmi.chassis.version: pc-i440fx-bionic
  dmi.modalias: 
dmi:bvnSeaBIOS:bvr1.10.2-1ubuntu1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-bionic:cvnQEMU:ct1:cvrpc-i440fx-bionic:
  dmi.product.name: Standard PC (i440FX + PIIX, 1996)
  dmi.product.version: pc-i440fx-bionic
  dmi.sys.vendor: QEMU

-- 
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:
  == SRU Justification ==
  The fanotify15 from ubuntu_ltp_syscalls will fail on Eoan with:
    fanotify15.c:223: FAIL: Got event: mask=2 (expected 400003c0) pid=16744 
fd=-1
    fanotify15.c:223: FAIL: Got event: mask=2 (expected 40000400) 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=400003c0 pid=16744 fd=-1
    fanotify15.c:210: FAIL: got unnecessary event: mask=40000400 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.

  <<<test_output>>>
  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.5c9458d000008001 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.c253928100008002 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1479, 
fid=e0b13469.adbaecba.c253928100008002 values
  fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1479, 
fid=e0b13469.adbaecba.5c9458d000008001 values
  fanotify15.c:266: PASS: Got event: mask=40000400, pid=1479, 
fid=e0b13469.adbaecba.aec0582b00008002 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.5c9458d000008001 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1479, 
fid=e0b13469.adbaecba.8610b51a00008002 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1479, 
fid=e0b13469.adbaecba.8610b51a00008002 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 400003c0) pid=1479 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 40000400) 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=400003c0 pid=1479 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=40000400 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.8cec764f00008001 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1484, 
fid=921e543f.6b2e720c.74e4b5b100008002 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1484, 
fid=921e543f.6b2e720c.74e4b5b100008002 values
  fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1484, 
fid=921e543f.6b2e720c.8cec764f00008001 values
  fanotify15.c:266: PASS: Got event: mask=40000400, pid=1484, 
fid=921e543f.6b2e720c.8b346c8100008002 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) = 
921e543f.6b2e720c.8002.fa8f76e2.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1484, 
fid=921e543f.6b2e720c.8cec764f00008001 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1484, 
fid=921e543f.6b2e720c.f46c1bf500008002 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1484, 
fid=921e543f.6b2e720c.f46c1bf500008002 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 400003c0) pid=1484 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 40000400) pid=1484 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1484 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=400003c0 pid=1484 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=40000400 pid=1484 fd=-1
  tst_test.c:1307: INFO: Testing on ext4
  tst_mkfs.c:89: INFO: Formatting /dev/loop4 with ext4 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) = 
66b43d23.d9688718.c.9d5a2fe3.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
66b43d23.d9688718.d.95b6ee35.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
66b43d23.d9688718.8001.df274465.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1489, 
fid=66b43d23.d9688718.9d5a2fe30000000c values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1489, 
fid=66b43d23.d9688718.95b6ee350000000d values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1489, 
fid=66b43d23.d9688718.95b6ee350000000d values
  fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1489, 
fid=66b43d23.d9688718.9d5a2fe30000000c values
  fanotify15.c:266: PASS: Got event: mask=40000400, pid=1489, 
fid=66b43d23.d9688718.df27446500008001 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) = 
66b43d23.d9688718.c.9d5a2fe3.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
66b43d23.d9688718.d.e31a326e.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
66b43d23.d9688718.8001.e00985d8.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1489, 
fid=66b43d23.d9688718.9d5a2fe30000000c values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1489, 
fid=66b43d23.d9688718.e31a326e0000000d values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1489, 
fid=66b43d23.d9688718.e31a326e0000000d values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 400003c0) pid=1489 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 40000400) pid=1489 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1489 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=400003c0 pid=1489 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=40000400 pid=1489 fd=-1
  tst_test.c:1307: INFO: Testing on xfs
  tst_mkfs.c:89: INFO: Formatting /dev/loop4 with xfs opts='' extra opts=''
  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) = 704.0.83.0.c8908e65...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 704.0.84.0.1dd80239...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 704.0.20080.0.ad2e34da...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1499, fid=704.0.83 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1499, fid=704.0.84 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1499, fid=704.0.84 values
  fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1499, fid=704.0.83 
values
  fanotify15.c:266: PASS: Got event: mask=40000400, pid=1499, fid=704.0.20080 
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) = 704.0.83.0.c8908e65...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 704.0.84.0.1dd8023a...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 704.0.41b00.0.7f679a51...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1499, fid=704.0.83 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1499, fid=704.0.84 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1499, fid=704.0.84 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 400003c0) pid=1499 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 40000400) pid=1499 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1499 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=400003c0 pid=1499 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=40000400 pid=1499 fd=-1
  tst_test.c:1307: INFO: Testing on btrfs
  tst_mkfs.c:89: INFO: Formatting /dev/loop4 with btrfs opts='' extra opts=''
  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) = 978b19b8.d0f43f7c.101.0.5...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
978b19b8.d0f43f7c.102.0.5...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
978b19b8.d0f43f7c.103.0.5...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1525, 
fid=978b19b8.d0f43f7c.101 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1525, 
fid=978b19b8.d0f43f7c.102 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1525, 
fid=978b19b8.d0f43f7c.102 values
  fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1525, 
fid=978b19b8.d0f43f7c.101 values
  fanotify15.c:266: PASS: Got event: mask=40000400, pid=1525, 
fid=978b19b8.d0f43f7c.103 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) = 978b19b8.d0f43f7c.101.0.5...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 
978b19b8.d0f43f7c.104.0.5...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 
978b19b8.d0f43f7c.105.0.5...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1525, 
fid=978b19b8.d0f43f7c.101 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1525, 
fid=978b19b8.d0f43f7c.104 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1525, 
fid=978b19b8.d0f43f7c.104 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 400003c0) pid=1525 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 40000400) pid=1525 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1525 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=400003c0 pid=1525 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=40000400 pid=1525 fd=-1
  tst_test.c:1307: INFO: Testing on vfat
  tst_mkfs.c:89: INFO: Formatting /dev/loop4 with vfat opts='' extra opts=''
  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) = 704.0.73.5ebe2162.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 704.0.74.5ebe2163.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 704.0.75.5ebe2162.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1529, 
fid=704.0.5ebe216200000073 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1529, 
fid=704.0.5ebe216300000074 values
  fanotify15.c:266: PASS: Got event: mask=400, pid=1529, 
fid=704.0.5ebe216300000074 values
  fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1529, 
fid=704.0.5ebe216200000073 values
  fanotify15.c:266: PASS: Got event: mask=40000400, pid=1529, 
fid=704.0.5ebe216200000075 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) = 704.0.73.5ebe2162.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/file1) = 704.0.76.5ebe2163.0...
  fanotify.h:183: INFO: fid(mntpoint/test_dir/dir1) = 704.0.77.5ebe2162.0...
  fanotify15.c:266: PASS: Got event: mask=3c0, pid=1529, 
fid=704.0.5ebe216200000073 values
  fanotify15.c:266: PASS: Got event: mask=2, pid=1529, 
fid=704.0.5ebe216300000076 values
  fanotify15.c:266: PASS: Got event: mask=402, pid=1529, 
fid=704.0.5ebe216300000076 values
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 400003c0) pid=1529 fd=-1
  fanotify15.c:223: FAIL: Got event: mask=2 (expected 40000400) pid=1529 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=2 pid=1529 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=400003c0 pid=1529 fd=-1
  fanotify15.c:210: FAIL: got unnecessary event: mask=40000400 pid=1529 fd=-1

  HINT: You _MAY_ be missing kernel fixes, see:

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

  Summary:
  passed   48
  failed   30
  skipped  0
  warnings 0

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: linux-image-5.3.0-53-generic 5.3.0-53.47
  ProcVersionSignature: User Name 5.3.0-53.47-generic 5.3.18
  Uname: Linux 5.3.0-53-generic x86_64
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 May 15 04:55 seq
   crw-rw---- 1 root audio 116, 33 May 15 04:55 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.11-0ubuntu8.8
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 
'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  Date: Fri May 15 04:58:17 2020
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
  PciMultimedia:

  ProcFB: 0 cirrusdrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-53-generic 
root=UUID=777f3f18-84e3-4be2-b2c8-4d5843951c4c ro console=tty1 console=ttyS0
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-53-generic N/A
   linux-backports-modules-5.3.0-53-generic  N/A
   linux-firmware                            1.183.5
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/01/2014
  dmi.bios.vendor: SeaBIOS
  dmi.bios.version: 1.10.2-1ubuntu1
  dmi.chassis.type: 1
  dmi.chassis.vendor: QEMU
  dmi.chassis.version: pc-i440fx-bionic
  dmi.modalias: 
dmi:bvnSeaBIOS:bvr1.10.2-1ubuntu1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-bionic:cvnQEMU:ct1:cvrpc-i440fx-bionic:
  dmi.product.name: Standard PC (i440FX + PIIX, 1996)
  dmi.product.version: pc-i440fx-bionic
  dmi.sys.vendor: QEMU

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to