fanotify15 from ubuntu_ltp_syscalls failed with E/F
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
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 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:/
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:/
== Original Bug Report ==
This is a new sub test case added to fanotify15.
<<<test_output>>>
incrementing stop
tst_device.c:262: INFO: Using test device LTP_DEV=
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_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/
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, fid=e0b13469.
fanotify15.c:266: PASS: Got event: mask=402, pid=1479, fid=e0b13469.
fanotify15.c:266: PASS: Got event: mask=400, pid=1479, fid=e0b13469.
fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1479, fid=e0b13469.
fanotify15.c:266: PASS: Got event: mask=40000400, pid=1479, fid=e0b13469.
fanotify15.c:86: INFO: Test #1: FAN_REPORT_FID on directory with FAN_EVENT_ON_CHILD
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
fanotify15.c:266: PASS: Got event: mask=3c0, pid=1479, fid=e0b13469.
fanotify15.c:266: PASS: Got event: mask=2, pid=1479, fid=e0b13469.
fanotify15.c:266: PASS: Got event: mask=402, pid=1479, fid=e0b13469.
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/
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
fanotify15.c:266: PASS: Got event: mask=3c0, pid=1484, fid=921e543f.
fanotify15.c:266: PASS: Got event: mask=402, pid=1484, fid=921e543f.
fanotify15.c:266: PASS: Got event: mask=400, pid=1484, fid=921e543f.
fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1484, fid=921e543f.
fanotify15.c:266: PASS: Got event: mask=40000400, pid=1484, fid=921e543f.
fanotify15.c:86: INFO: Test #1: FAN_REPORT_FID on directory with FAN_EVENT_ON_CHILD
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
fanotify15.c:266: PASS: Got event: mask=3c0, pid=1484, fid=921e543f.
fanotify15.c:266: PASS: Got event: mask=2, pid=1484, fid=921e543f.
fanotify15.c:266: PASS: Got event: mask=402, pid=1484, fid=921e543f.
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/
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
fanotify15.c:266: PASS: Got event: mask=3c0, pid=1489, fid=66b43d23.
fanotify15.c:266: PASS: Got event: mask=402, pid=1489, fid=66b43d23.
fanotify15.c:266: PASS: Got event: mask=400, pid=1489, fid=66b43d23.
fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1489, fid=66b43d23.
fanotify15.c:266: PASS: Got event: mask=40000400, pid=1489, fid=66b43d23.
fanotify15.c:86: INFO: Test #1: FAN_REPORT_FID on directory with FAN_EVENT_ON_CHILD
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
fanotify15.c:266: PASS: Got event: mask=3c0, pid=1489, fid=66b43d23.
fanotify15.c:266: PASS: Got event: mask=2, pid=1489, fid=66b43d23.
fanotify15.c:266: PASS: Got event: mask=402, pid=1489, fid=66b43d23.
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/
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
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/
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
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/
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
fanotify15.c:266: PASS: Got event: mask=3c0, pid=1525, fid=978b19b8.
fanotify15.c:266: PASS: Got event: mask=402, pid=1525, fid=978b19b8.
fanotify15.c:266: PASS: Got event: mask=400, pid=1525, fid=978b19b8.
fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1525, fid=978b19b8.
fanotify15.c:266: PASS: Got event: mask=40000400, pid=1525, fid=978b19b8.
fanotify15.c:86: INFO: Test #1: FAN_REPORT_FID on directory with FAN_EVENT_ON_CHILD
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
fanotify15.c:266: PASS: Got event: mask=3c0, pid=1525, fid=978b19b8.
fanotify15.c:266: PASS: Got event: mask=2, pid=1525, fid=978b19b8.
fanotify15.c:266: PASS: Got event: mask=402, pid=1525, fid=978b19b8.
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/
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
fanotify15.c:266: PASS: Got event: mask=3c0, pid=1529, fid=704.
fanotify15.c:266: PASS: Got event: mask=402, pid=1529, fid=704.
fanotify15.c:266: PASS: Got event: mask=400, pid=1529, fid=704.
fanotify15.c:266: PASS: Got event: mask=400003c0, pid=1529, fid=704.
fanotify15.c:266: PASS: Got event: mask=40000400, pid=1529, fid=704.
fanotify15.c:86: INFO: Test #1: FAN_REPORT_FID on directory with FAN_EVENT_ON_CHILD
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
fanotify.h:183: INFO: fid(mntpoint/
fanotify15.c:266: PASS: Got event: mask=3c0, pid=1529, fid=704.
fanotify15.c:266: PASS: Got event: mask=2, pid=1529, fid=704.
fanotify15.c:266: PASS: Got event: mask=402, pid=1529, fid=704.
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:/
Summary:
passed 48
failed 30
skipped 0
warnings 0
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: linux-image-
ProcVersionSign
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=
RelatedPackageV
linux-
linux-
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.
dmi.modalias: dmi:bvnSeaBIOS:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.
dmi.sys.vendor: QEMU
summary: |
- fanotify15 from ubuntu_ltp_syscalls failed with E + fanotify15 from ubuntu_ltp_syscalls failed with E/F |
tags: | added: focal |
tags: | added: sru-20200427 |
Changed in linux (Ubuntu Eoan): | |
status: | New → Confirmed |
description: | updated |
This change was made by a bot.