fanotify09 case 3 (Events on files and dirs with both inode and mount marks) from ubuntu_ltp_syscalls failed

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

Bug Description

This is a new test case added 7 days ago [1]

Test failed on Focal 5.4.0-29.33 with:
fanotify09.c:150: FAIL: group 1 got event: mask 10 pid=41059 fd=24 path=/tmp/ltp-sL4wPwoPJ3/AuNN9M/mntpoint
fanotify09.c:150: FAIL: group 2 got event: mask 10 pid=41059 fd=24 path=/tmp/ltp-sL4wPwoPJ3/AuNN9M/mntpoint

[1] https://github.com/linux-test-project/ltp/commit/70ca1e8806d227d47c6801262d3f7983652159a4#diff-234c27c769cf07468a81748a0e7330dd

Po-Hsu Lin (cypressyew)
tags: added: focal sru-20200427 ubuntu-ltp-syscalls
summary: - fanotify09 case 3 failed on Focal
+ fanotify09 case 3 from ubuntu-ltp-syscalls failed on Focal
summary: - fanotify09 case 3 from ubuntu-ltp-syscalls failed on Focal
+ fanotify09 case 3 from ubuntu_ltp_syscalls failed on Focal
tags: added: 5.4
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 1876684

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: fanotify09 case 3 from ubuntu_ltp_syscalls failed on Focal

This issue could be found on 5.0 kernel as well.

Po-Hsu Lin (cypressyew)
summary: - fanotify09 case 3 from ubuntu_ltp_syscalls failed on Focal
+ fanotify09 case 3 from ubuntu_ltp_syscalls failed
Po-Hsu Lin (cypressyew)
tags: added: 5.3 eoan
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: fanotify09 case 3 from ubuntu_ltp_syscalls failed
Changed in linux (Ubuntu Eoan):
assignee: nobody → Po-Hsu Lin (cypressyew)
Changed in linux (Ubuntu Focal):
assignee: nobody → Po-Hsu Lin (cypressyew)
status: New → In Progress
Changed in linux (Ubuntu Eoan):
status: New → In Progress
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Fix applied on Eoan via stable-update (bug 1881657)

Verified and passed.

Changed in linux (Ubuntu Eoan):
status: In Progress → Fix Released
Changed in linux (Ubuntu Focal):
status: In Progress → Fix Released
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Fix applied on Focal via stable-update (bug 1879759)

Verified and passed.

tags: added: sru-20200921
tags: added: 4.15 aws bionic
Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

failed on Bionic/azure-4.15 : 4.15.0-1097.107 : amd64

tags: added: azure
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Still visible on 4.15.0-1059.65 - oracle

tags: added: sru-20201109
tags: added: oracle
tags: added: sru-20210104
Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

Found on bionic/fips 4.15.0-1053.61

This time on test #2

8817. 02/04 17:51:59 DEBUG| utils:0153| [stdout] fanotify09.c:241: TINFO: Test #2: Events on non-dir child and parent with both parent and mount marks
8818. 02/04 17:51:59 DEBUG| utils:0153| [stdout] fanotify09.c:186: TPASS: group 0 got event: mask 2 pid=26632 fd=21 filename=/tmp/ltp-f6ORzS4Nub/tYfGRz/mntpoint/tfile_26632
8819. 02/04 17:51:59 DEBUG| utils:0153| [stdout] fanotify09.c:186: TPASS: group 0 got event: mask 10 pid=26632 fd=22 filename=/tmp/ltp-f6ORzS4Nub/tYfGRz/mntpoint
8820. 02/04 17:51:59 DEBUG| utils:0153| [stdout] fanotify09.c:216: TFAIL: group 1 got event: mask 10 (expected 0) pid=26632 fd=21 filename=
8821. 02/04 17:51:59 DEBUG| utils:0153| [stdout] fanotify09.c:216: TFAIL: group 2 got event: mask 10 (expected 0) pid=26632 fd=21 filename=

tags: added: fips sru-20210125
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Failed on xenial/linux-oracle: 4.15.0-1069.77~16.04.1 for sru-20210315

tags: added: sru-20210315 xenial
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Found with trusty/linux-azure 4.15.0-1114.127~14.04.1.

tags: added: sru-20210412 trusty
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed in T-4.15/Azure, cycle sru-20210531 .

tags: added: sru-20210531
tags: added: sru-20210621
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Backport of 2d10b23082a7 ("fanotify: return only user requested event types in event mask") to bionic v4.15 is non trivial (dependency on at least 5b0457ad021f ("fsnotify: remove redundant arguments to handle_event()")). Better to simply hint the test.

Po-Hsu Lin (cypressyew)
summary: - fanotify09 case 3 from ubuntu_ltp_syscalls failed
+ fanotify09 case 3 (Events on files and dirs with both inode and mount
+ marks) from ubuntu_ltp_syscalls failed
tags: added: hinted
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed in B/aws (kernel 4.15), cycle sru-20210621.

Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed in B/aws-fips (kernel 4.15), cycle sru-20210621.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found on T-azure-4.15.0-1124.137~14.04.1

tags: added: sru-20210906
Po-Hsu Lin (cypressyew)
tags: added: sru-20211129
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.