The attached is a backported patch for fanotify09 for trusty kernel. The test result was improved (as below) but it doesn't eliminate all failures.
$ sudo ./fanotify09 tst_test.c:1118: INFO: Timeout per run is 0h 05m 00s fanotify09.c:161: INFO: Test #0: Events on children with both inode and mount marks fanotify09.c:150: PASS: group 0 got event: mask 2 pid=7950 fd=6 path=/tmp/4gc48T/mntpoint/tfile_7950 fanotify09.c:202: FAIL: first group got more than 1 events (48 > 24) fanotify09.c:218: FAIL: group 1 got event fanotify09.c:150: PASS: group 1 got event: mask 10 pid=7950 fd=6 path=/tmp/4gc48T/mntpoint/testdir fanotify09.c:218: FAIL: group 2 got event fanotify09.c:150: PASS: group 2 got event: mask 10 pid=7950 fd=6 path=/tmp/4gc48T/mntpoint/testdir fanotify09.c:161: INFO: Test #1: Events on children and subdirs with both inode and mount marks fanotify09.c:150: PASS: group 0 got event: mask 2 pid=7950 fd=6 path=/tmp/4gc48T/mntpoint/tfile_7950 fanotify09.c:150: PASS: group 0 got event: mask 10 pid=7950 fd=7 path=/tmp/4gc48T/mntpoint/testdir fanotify09.c:218: FAIL: group 1 got event fanotify09.c:150: PASS: group 1 got event: mask 10 pid=7950 fd=6 path=/tmp/4gc48T/mntpoint/testdir fanotify09.c:218: FAIL: group 2 got event fanotify09.c:150: PASS: group 2 got event: mask 10 pid=7950 fd=6 path=/tmp/4gc48T/mntpoint/testdir ** Patch added: "0001-fanotify-fix-logic-of-events-on-child.patch" https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1775153/+attachment/5289748/+files/0001-fanotify-fix-logic-of-events-on-child.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1775153 Title: fanotify09 test case 0 in LTP syscall test failed with T kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1775153/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
