LTP fanotify06: random failures

Description

LTP test fanotify06 returns different results on each run:
root@porter:~# ./fanotify06
fanotify06 1 TPASS : group 0 get event: mask 2 pid=381 fd=12
fanotify06 2 TPASS : group 1 get event: mask 2 pid=381 fd=12
fanotify06 3 TPASS : group 2 get event: mask 2 pid=381 fd=12
fanotify06 4 TFAIL : fanotify06.c:222: group 3 got event
fanotify06 5 TFAIL : fanotify06.c:222: group 4 got event
fanotify06 6 TFAIL : fanotify06.c:222: group 5 got event
fanotify06 7 TFAIL : fanotify06.c:222: group 6 got event
fanotify06 8 TFAIL : fanotify06.c:222: group 7 got event
fanotify06 9 TFAIL : fanotify06.c:222: group 8 got event
root@porter:~# ./fanotify06
fanotify06 1 TPASS : group 0 get event: mask 2 pid=382 fd=12
fanotify06 2 TPASS : group 1 get event: mask 2 pid=382 fd=12
fanotify06 3 TPASS : group 2 get event: mask 2 pid=382 fd=12
fanotify06 4 TPASS : group 3 got no event
fanotify06 5 TPASS : group 4 got no event
fanotify06 6 TPASS : group 5 got no event
fanotify06 7 TPASS : group 6 got no event
fanotify06 8 TPASS : group 7 got no event
fanotify06 9 TPASS : group 8 got no event
root@porter:~# ./fanotify06
fanotify06 1 TPASS : group 0 get event: mask 2 pid=383 fd=12
fanotify06 2 TPASS : group 1 get event: mask 2 pid=383 fd=12
fanotify06 3 TPASS : group 2 get event: mask 2 pid=383 fd=12
fanotify06 4 TFAIL : fanotify06.c:222: group 3 got event
fanotify06 5 TFAIL : fanotify06.c:222: group 4 got event
fanotify06 6 TFAIL : fanotify06.c:222: group 5 got event
fanotify06 7 TFAIL : fanotify06.c:222: group 6 got event
fanotify06 8 TFAIL : fanotify06.c:222: group 7 got event
fanotify06 9 TFAIL : fanotify06.c:222: group 8 got event
root@porter:~# ./fanotify06
fanotify06 1 TPASS : group 0 get event: mask 2 pid=384 fd=12
fanotify06 2 TPASS : group 1 get event: mask 2 pid=384 fd=12
fanotify06 3 TPASS : group 2 get event: mask 2 pid=384 fd=12
fanotify06 4 TPASS : group 3 got no event
fanotify06 5 TFAIL : fanotify06.c:222: group 4 got event
fanotify06 6 TPASS : group 5 got no event
fanotify06 7 TPASS : group 6 got no event
fanotify06 8 TPASS : group 7 got no event
fanotify06 9 TPASS : group 8 got no event

Environment

Hardware: Renesas R-Car M2 (Porter), SD card 8GB ext3, touch panel eChic Software revisions: git://git.yoctoproject.org/poky dizzy df87cb27efeaea1455f20692f9f1397c6fcab254, git://git.openembedded.org/meta-openembedded dizzy 9efaed99125b1c4324663d9a1b2d3319c74e7278, https://gerrit.automotivelinux.org/gerrit/AGL/meta-renesas agl-1.0-bsp-1.8.0 616068396063ee1802799905b527a6464f0adf93, https://git.automotivelinux.org/gerrit/p/AGL/meta-agl.git master 8fc3dc485d876f7e98b7ecc25650d7f011960e97, https://gerrit.automotivelinux.org/gerrit/AGL/meta-agl-demo master 19240aa96251048ca49a26a80f9b67d3b2130392, https://github.com/meta-qt5/meta-qt5.git jethro 0454fb083c38f2155a8be3b61930ad1ddf995695

Activity

Show:

Manuel Bachmann May 4, 2016 at 8:30 AM

Great, thanks for the feedback !
Marking issue as Resolved.

Mikhail Durnev May 4, 2016 at 5:43 AM

, the problem has been solved. I retested it on kernel 3.10+gitb8ca8c397343f4233f9f68fc3a5bf8e1c9b88251

Manuel Bachmann April 29, 2016 at 9:43 AM

Hello , any news regarding this issue ? May I consider it solved (will do after 1 week) ?

Mikhail Durnev January 13, 2016 at 4:51 AM

, thanks. I'll test the patch once it is integrated.

Manuel Bachmann January 12, 2016 at 4:26 PM

Hi ,

This problem needed a kernel backport patch. Please review it here :

https://gerrit.automotivelinux.org/gerrit/#/c/5267/1

Fixed

Assignee

Reporter

Fix versions

Priority

Created December 14, 2015 at 7:40 AM
Updated August 8, 2016 at 12:08 AM
Resolved May 4, 2016 at 8:30 AM