fanotify06 from ubuntu_ltp_syscalls failed on T-aws-4.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Confirmed
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Xenial |
Confirmed
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Po-Hsu Lin |
Bug Description
== SRU Justification ==
fanotify06 test from ubuntu_ltp_syscalls reported that test #1 for
overlayfs has received more than one expected event:
<<<test_start>>>
tag=fanotify06 stime=1560747299
cmdline=
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_device.c:231: INFO: Using test device LTP_DEV=
tst_mkfs.c:90: INFO: Formatting /dev/loop2 with ext2 opts='' extra opts=''
mke2fs 1.44.6 (5-Mar-2019)
tst_test.c:1112: INFO: Timeout per run is 0h 05m 00s
fanotify06.c:169: INFO: Test #0: Fanotify merge mount mark
fanotify06.c:147: PASS: group 0 got event: mask 2 pid=1136 fd=15
....
fanotify06.c:230: PASS: group 8 got no event
fanotify06.c:169: INFO: Test #1: Fanotify merge overlayfs mount mark
fanotify06.c:208: FAIL: group 0 got more than one event (48 > 24)
fanotify06.c:208: FAIL: group 1 got more than one event (48 > 24)
fanotify06.c:208: FAIL: group 2 got more than one event (48 > 24)
fanotify06.c:220: FAIL: group 3 got event
fanotify06.c:220: FAIL: group 4 got event
fanotify06.c:220: FAIL: group 5 got event
fanotify06.c:220: FAIL: group 6 got event
fanotify06.c:220: FAIL: group 7 got event
fanotify06.c:220: FAIL: group 8 got event
Summary:
passed 9
failed 9
skipped 0
warnings 0
This duplicated event was generated with operations on files with
"fake" path.
== Fix ==
* d9899030 (ovl: do not generate duplicate fsnotify events for "fake" path)
This patch can be cherry-picked into Disco.
Older kernels are not affected by this issue (without commit d1d04ef8)
== Test ==
Test kernel could be found here:
https:/
Verified on a KVM node, the fanotify06 test will pass with this patched
disco kernel:
fanotify06.c:169: INFO: Test #1: Fanotify merge overlayfs mount mark
fanotify06.c:147: PASS: group 0 got event: mask 2 pid=5997 fd=30
fanotify06.c:147: PASS: group 1 got event: mask 2 pid=5997 fd=30
fanotify06.c:147: PASS: group 2 got event: mask 2 pid=5997 fd=30
fanotify06.c:230: PASS: group 3 got no event
fanotify06.c:230: PASS: group 4 got no event
fanotify06.c:230: PASS: group 5 got no event
fanotify06.c:230: PASS: group 6 got no event
fanotify06.c:230: PASS: group 7 got no event
fanotify06.c:230: PASS: group 8 got no event
== Regression Potential ==
Low, fix limited to the overlayfs and just corrects the flag behaviour
with "fake" path.
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.0.0-16-generic x86_64
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Jun 17 04:37 seq
crw-rw---- 1 root audio 116, 33 Jun 17 04:37 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu27
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:
CurrentDmesg:
Date: Mon Jun 17 04:40:18 2019
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.178.1
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: Ubuntu-
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
CVE References
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux (Ubuntu Disco): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | Incomplete → In Progress |
Changed in linux (Ubuntu): | |
status: | Incomplete → In Progress |
description: | updated |
description: | updated |
tags: | added: sru-20190603 |
Changed in linux (Ubuntu Disco): | |
status: | In Progress → Fix Committed |
tags: | added: 4.4 |
tags: | added: sru-20190701 |
tags: | added: sru-20190722 |
tags: | added: oracle |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Released |
tags: | added: sr |
tags: | added: sru-20200127 |
tags: | added: aws sru-20200217 |
tags: | added: sru-20200316 |
Changed in ubuntu-kernel-tests: | |
status: | In Progress → Confirmed |
assignee: | Po-Hsu Lin (cypressyew) → nobody |
tags: | added: sru-20200427 |
tags: | added: sru-20200720 |
tags: | added: sru-20201130 |
summary: |
- fanotify06 from ubuntu_ltp_syscalls failed + fanotify06 from ubuntu_ltp_syscalls failed on T-aws-4.4 |
tags: | added: sru-20211129 |
tags: | removed: sr |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1833028
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.