Test 20 in fanotify10 from ubuntu_ltp_syscalls failed on 4.15 / 5.4

Bug #1895273 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Invalid
Undecided
Unassigned
Bionic
Invalid
Undecided
Unassigned
Focal
Invalid
Undecided
Unassigned

Bug Description

Issue spotted with 4.15.0-1054.58~16.04.1-oracle

It looks like this is a new test case landed recently.

https://github.com/linux-test-project/ltp/commit/ad226e05faedc10c407b83811c420406fb687820#diff-0d924136c0f59211b55878ec1b863a24

The test failed with:
 fanotify10.c:452: INFO: Test #20: ignore mount events created inside a parent watching children
 fanotify10.c:413: PASS: group 0 (8) got event: mask 20 pid=21178 fd=30
 fanotify10.c:413: PASS: group 1 (8) got event: mask 20 pid=21178 fd=30
 fanotify10.c:413: PASS: group 2 (8) got event: mask 20 pid=21178 fd=30
 fanotify10.c:513: FAIL: group 0 (4) with FAN_MARK_MOUNT and FAN_MARK_INODE ignore mask got event
 fanotify10.c:513: FAIL: group 1 (4) with FAN_MARK_MOUNT and FAN_MARK_INODE ignore mask got event
 fanotify10.c:513: FAIL: group 2 (4) with FAN_MARK_MOUNT and FAN_MARK_INODE ignore mask got event
 fanotify10.c:513: FAIL: group 0 (0) with FAN_MARK_MOUNT and FAN_MARK_INODE ignore mask got event
 fanotify10.c:513: FAIL: group 1 (0) with FAN_MARK_MOUNT and FAN_MARK_INODE ignore mask got event
 fanotify10.c:513: FAIL: group 2 (0) with FAN_MARK_MOUNT and FAN_MARK_INODE ignore mask got event

Po-Hsu Lin (cypressyew)
tags: added: 4.15 bionic sru-20200831 ubuntu-ltp-syscalls
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

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 1895273

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.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: Test 20 in fanotify10 from ubuntu_ltp_syscalls failed on 4.15

This issue can be found on Focal as well.

tags: added: 5.4
tags: added: focal
summary: - Test 20 in fanotify10 from ubuntu_ltp_syscalls failed on 4.15
+ Test 20 in fanotify10 from ubuntu_ltp_syscalls failed on 4.15 / 5.4
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This test has an undefined behaviour < 5.9
It will be skipped now, test case modified upstream.
 fanotify10.c:452: TINFO: Test #20: ignore mount events created inside a parent watching children
 fanotify10.c:456: TCONF: ignored mask in combination with flag FAN_EVENT_ON_CHILD has undefined behavior on kernel < 5.9

https://github.com/linux-test-project/ltp/commit/e420134e50482e895655b40af2435095c6a8f991#diff-0d924136c0f59211b55878ec1b863a24

Changed in linux (Ubuntu):
status: Incomplete → Invalid
Changed in linux (Ubuntu Focal):
status: New → Invalid
Changed in ubuntu-kernel-tests:
status: New → Fix Released
Changed in linux (Ubuntu Bionic):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.