← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2023749] Re: fanotify14 in ubuntu_ltp_syscalls failed with F-oracle (TFAIL: fanotify_init(tc->init.flags, O_RDONLY) failed: EINVAL (22))

 

This issue can be fixed with LTP updated to commit 643f9ff822
fanotify14: Revert broken flag support check. Which is part of our
recent update https://lists.ubuntu.com/archives/kernel-
team/2023-December/147590.html

Hints have been removed, if this is failing again we will need a new bug
report.


** Changed in: ubuntu-kernel-tests
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2023749

Title:
  fanotify14 in ubuntu_ltp_syscalls failed with F-oracle (TFAIL:
  fanotify_init(tc->init.flags, O_RDONLY) failed: EINVAL (22))

Status in ubuntu-kernel-tests:
  Fix Released

Bug description:
  This is not a regression.
  When testing the LTP update (LTP 20230516, commit 3ebc2dfa85c) on Oracle cloud.

  The fanotify14 test is now failing on EXT2, EXT3, EXT4, XFS, BTRFS,
  VFAT with F-oracle 5.4.0-1103.112~18.04.1

  TFAIL: fanotify_init(tc->init.flags, O_RDONLY) failed: EINVAL (22)

  Complete test log:
  INFO: Test start time: Wed Jun 14 00:52:36 UTC 2023
  COMMAND:    /opt/ltp/bin/ltp-pan -q  -e -S   -a 28623     -n 28623  -f /tmp/ltp-lCFKhGgtId/alltests -l /dev/null  -C /dev/null -T /dev/null
  LOG File: /dev/null
  FAILED COMMAND File: /dev/null
  TCONF COMMAND File: /dev/null
  Running tests.......
  tst_device.c:97: TINFO: Found free device 3 '/dev/loop3'
  tst_test.c:1560: TINFO: Timeout per run is 0h 00m 30s
  tst_supported_fs_types.c:89: TINFO: Kernel supports ext2
  tst_supported_fs_types.c:54: TINFO: mkfs.ext2 does exist
  tst_supported_fs_types.c:89: TINFO: Kernel supports ext3
  tst_supported_fs_types.c:54: TINFO: mkfs.ext3 does exist
  tst_supported_fs_types.c:89: TINFO: Kernel supports ext4
  tst_supported_fs_types.c:54: TINFO: mkfs.ext4 does exist
  tst_supported_fs_types.c:89: TINFO: Kernel supports xfs
  tst_supported_fs_types.c:54: TINFO: mkfs.xfs does exist
  tst_supported_fs_types.c:89: TINFO: Kernel supports btrfs
  tst_supported_fs_types.c:54: TINFO: mkfs.btrfs does exist
  tst_supported_fs_types.c:89: TINFO: Kernel supports vfat
  tst_supported_fs_types.c:54: TINFO: mkfs.vfat does exist
  tst_supported_fs_types.c:89: TINFO: Kernel supports exfat
  tst_supported_fs_types.c:50: TINFO: mkfs.exfat does not exist
  tst_supported_fs_types.c:89: TINFO: Kernel supports tmpfs
  tst_supported_fs_types.c:41: TINFO: mkfs is not needed for tmpfs
  tst_test.c:1634: TINFO: === Testing on ext2 ===
  tst_test.c:1094: TINFO: Formatting /dev/loop3 with ext2 opts='' extra opts=''
  mke2fs 1.44.1 (24-Mar-2018)
  fanotify14.c:158: TINFO: Test case 0: fanotify_init(FAN_CLASS_CONTENT | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 1: fanotify_init(FAN_CLASS_PRE_CONTENT | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 2: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | 0, INODE_EVENTS)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 3: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | FAN_MARK_MOUNT, INODE_EVENTS)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 4: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_NAME, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 5: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_FID | FAN_REPORT_NAME, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 6: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_TARGET_FID | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 7: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_TARGET_FID | FAN_REPORT_DFID_FID, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 8: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_FID, O_RDONLY)
  fanotify14.c:175: TFAIL: fanotify_init(tc->init.flags, O_RDONLY) failed: EINVAL (22)
  fanotify14.c:158: TINFO: Test case 9: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | FAN_MARK_ONLYDIR, FAN_OPEN)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : ENOTDIR (20)
  fanotify14.c:206: TPASS: Adding an inode mark on directory did not fail with ENOTDIR error as on non-dir inode
  fanotify14.c:158: TINFO: Test case 10: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 11: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 12: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 13: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 14: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 15: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 16: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 17: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 18: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 19: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 20: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  tst_test.c:1634: TINFO: === Testing on ext3 ===
  tst_test.c:1094: TINFO: Formatting /dev/loop3 with ext3 opts='' extra opts=''
  mke2fs 1.44.1 (24-Mar-2018)
  fanotify14.c:158: TINFO: Test case 0: fanotify_init(FAN_CLASS_CONTENT | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 1: fanotify_init(FAN_CLASS_PRE_CONTENT | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 2: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | 0, INODE_EVENTS)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 3: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | FAN_MARK_MOUNT, INODE_EVENTS)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 4: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_NAME, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 5: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_FID | FAN_REPORT_NAME, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 6: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_TARGET_FID | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 7: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_TARGET_FID | FAN_REPORT_DFID_FID, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 8: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_FID, O_RDONLY)
  fanotify14.c:175: TFAIL: fanotify_init(tc->init.flags, O_RDONLY) failed: EINVAL (22)
  fanotify14.c:158: TINFO: Test case 9: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | FAN_MARK_ONLYDIR, FAN_OPEN)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : ENOTDIR (20)
  fanotify14.c:206: TPASS: Adding an inode mark on directory did not fail with ENOTDIR error as on non-dir inode
  fanotify14.c:158: TINFO: Test case 10: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 11: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 12: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 13: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 14: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 15: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 16: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 17: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 18: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 19: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 20: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  tst_test.c:1634: TINFO: === Testing on ext4 ===
  tst_test.c:1094: TINFO: Formatting /dev/loop3 with ext4 opts='' extra opts=''
  mke2fs 1.44.1 (24-Mar-2018)
  fanotify14.c:158: TINFO: Test case 0: fanotify_init(FAN_CLASS_CONTENT | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 1: fanotify_init(FAN_CLASS_PRE_CONTENT | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 2: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | 0, INODE_EVENTS)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 3: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | FAN_MARK_MOUNT, INODE_EVENTS)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 4: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_NAME, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 5: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_FID | FAN_REPORT_NAME, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 6: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_TARGET_FID | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 7: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_TARGET_FID | FAN_REPORT_DFID_FID, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 8: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_FID, O_RDONLY)
  fanotify14.c:175: TFAIL: fanotify_init(tc->init.flags, O_RDONLY) failed: EINVAL (22)
  fanotify14.c:158: TINFO: Test case 9: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | FAN_MARK_ONLYDIR, FAN_OPEN)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : ENOTDIR (20)
  fanotify14.c:206: TPASS: Adding an inode mark on directory did not fail with ENOTDIR error as on non-dir inode
  fanotify14.c:158: TINFO: Test case 10: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 11: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 12: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 13: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 14: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 15: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 16: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 17: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 18: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 19: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 20: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  tst_test.c:1634: TINFO: === Testing on xfs ===
  tst_test.c:1094: TINFO: Formatting /dev/loop3 with xfs opts='' extra opts=''
  fanotify14.c:158: TINFO: Test case 0: fanotify_init(FAN_CLASS_CONTENT | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 1: fanotify_init(FAN_CLASS_PRE_CONTENT | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 2: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | 0, INODE_EVENTS)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 3: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | FAN_MARK_MOUNT, INODE_EVENTS)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 4: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_NAME, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 5: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_FID | FAN_REPORT_NAME, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 6: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_TARGET_FID | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 7: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_TARGET_FID | FAN_REPORT_DFID_FID, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 8: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_FID, O_RDONLY)
  fanotify14.c:175: TFAIL: fanotify_init(tc->init.flags, O_RDONLY) failed: EINVAL (22)
  fanotify14.c:158: TINFO: Test case 9: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | FAN_MARK_ONLYDIR, FAN_OPEN)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : ENOTDIR (20)
  fanotify14.c:206: TPASS: Adding an inode mark on directory did not fail with ENOTDIR error as on non-dir inode
  fanotify14.c:158: TINFO: Test case 10: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 11: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 12: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 13: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 14: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 15: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 16: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 17: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 18: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 19: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 20: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  tst_test.c:1634: TINFO: === Testing on btrfs ===
  tst_test.c:1094: TINFO: Formatting /dev/loop3 with btrfs opts='' extra opts=''
  fanotify14.c:158: TINFO: Test case 0: fanotify_init(FAN_CLASS_CONTENT | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 1: fanotify_init(FAN_CLASS_PRE_CONTENT | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 2: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | 0, INODE_EVENTS)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 3: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | FAN_MARK_MOUNT, INODE_EVENTS)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 4: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_NAME, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 5: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_FID | FAN_REPORT_NAME, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 6: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_TARGET_FID | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 7: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_TARGET_FID | FAN_REPORT_DFID_FID, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 8: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_FID, O_RDONLY)
  fanotify14.c:175: TFAIL: fanotify_init(tc->init.flags, O_RDONLY) failed: EINVAL (22)
  fanotify14.c:158: TINFO: Test case 9: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | FAN_MARK_ONLYDIR, FAN_OPEN)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : ENOTDIR (20)
  fanotify14.c:206: TPASS: Adding an inode mark on directory did not fail with ENOTDIR error as on non-dir inode
  fanotify14.c:158: TINFO: Test case 10: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 11: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 12: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 13: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 14: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 15: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 16: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 17: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 18: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 19: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 20: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  tst_test.c:1634: TINFO: === Testing on vfat ===
  tst_test.c:1094: TINFO: Formatting /dev/loop3 with vfat opts='' extra opts=''
  fanotify14.c:158: TINFO: Test case 0: fanotify_init(FAN_CLASS_CONTENT | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 1: fanotify_init(FAN_CLASS_PRE_CONTENT | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 2: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | 0, INODE_EVENTS)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 3: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_FID, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | FAN_MARK_MOUNT, INODE_EVENTS)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 4: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_NAME, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 5: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_FID | FAN_REPORT_NAME, O_RDONLY)
  fanotify14.c:173: TPASS: fanotify_init(tc->init.flags, O_RDONLY) : EINVAL (22)
  fanotify14.c:158: TINFO: Test case 6: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_TARGET_FID | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 7: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_TARGET_FID | FAN_REPORT_DFID_FID, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 8: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_FID, O_RDONLY)
  fanotify14.c:175: TFAIL: fanotify_init(tc->init.flags, O_RDONLY) failed: EINVAL (22)
  fanotify14.c:158: TINFO: Test case 9: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:175: TPASS: fanotify_init(tc->init.flags, O_RDONLY) returned fd 8
  fanotify14.c:190: TINFO: Testing fanotify_mark(FAN_MARK_ADD | FAN_MARK_ONLYDIR, FAN_OPEN)
  fanotify14.c:193: TPASS: fanotify_mark(fanotify_fd, 0x00000001 | tc->mark.flags, tc->mask.flags, -100, path) : ENOTDIR (20)
  fanotify14.c:206: TPASS: Adding an inode mark on directory did not fail with ENOTDIR error as on non-dir inode
  fanotify14.c:158: TINFO: Test case 10: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 11: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 12: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 13: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME_TARGET, O_RDONLY)
  fanotify14.c:162: TCONF: FAN_REPORT_TARGET_FID not supported in kernel?
  fanotify14.c:158: TINFO: Test case 14: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 15: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 16: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 17: fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_DFID_NAME, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 18: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 19: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  fanotify14.c:158: TINFO: Test case 20: fanotify_init(FAN_CLASS_NOTIF, O_RDONLY)
  fanotify14.c:167: TCONF: FAN_MARK_IGNORE not supported in kernel?
  tst_test.c:1634: TINFO: === Testing on tmpfs ===
  tst_test.c:1094: TINFO: Skipping mkfs for TMPFS filesystem
  tst_test.c:1074: TINFO: Limiting tmpfs size to 32MB
  fanotify14.c:226: TCONF: FAN_REPORT_FID not supported on tmpfs filesystem

  HINT: You _MAY_ be missing kernel fixes:

  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ceaf69f8eadc
  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8698e3bab4dd

  Summary:
  passed   66
  failed   6
  broken   0
  skipped  79
  warnings 0
  INFO: ltp-pan reported some tests FAIL
  LTP Version: 20230516
  INFO: Test end time: Wed Jun 14 00:52:37 UTC 2023

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2023749/+subscriptions



References