Bug 1219135

Summary: [Build 20240123] kernel 6.7.1 vs ltp: fanotify{14,15,16} and splice07 fail
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dominique Leuenberger <dimstar>
Component: KernelAssignee: Petr Vorel <petr.vorel>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: chrubis, guillaume.gardet, jack, petr.vorel
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://openqa.opensuse.org/tests/3889407/modules/fanotify14/steps/7
See Also: https://bugzilla.suse.com/show_bug.cgi?id=1219188
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: Yes
Marketing QA Status: --- IT Deployment: ---

Description Dominique Leuenberger 2024-01-24 11:12:17 UTC
## Observation

LTP Seems not yet fully ready for Kernel 6.7 (or kernel 6.7 really has bugs identified by LTP)

openQA reporters these 4 errors:

* fanotify14: fanotify14.c:303: TBROK: fanotify_mark(5, 0x101, 0x200, ..., mntpoint/file1) failed: EOPNOTSUPP (95)

* fanotify15: fanotify15.c:88: TBROK: fanotify_mark(3, 0x101, 0x400007c2, ..., mntpoint/test_dir) failed: EOPNOTSUPP (95)
Test process returned unkown none zero value (2).

* fanotify16: fanotify16.c:289: TBROK: fanotify_mark(3, 0x101, 0x40000fc0, ..., fs_mnt) failed: EOPNOTSUPP (95)
Test process returned unkown none zero value (2).

* splice07: splice07.c:54: TFAIL: splice() on /dev/zero -> pipe write end succeeded


openQA test in scenario opensuse-Tumbleweed-JeOS-for-kvm-and-xen-x86_64-jeos-ltp-syscalls@uefi_virtio-2G fails in
[fanotify14](https://openqa.opensuse.org/tests/3889407/modules/fanotify14/steps/7)

## Test suite description



## Reproducible

Fails since (at least) Build [20240123](https://openqa.opensuse.org/tests/3888826)


## Expected result

Last good: [20240122](https://openqa.opensuse.org/tests/3886452) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=JeOS-for-kvm-and-xen&machine=uefi_virtio-2G&test=jeos-ltp-syscalls&version=Tumbleweed)
Comment 1 Petr Vorel 2024-01-24 12:28:27 UTC
Proposed fix, but I'd like to have Jan's ack that it's not openSUSE kernel or mainline kernel bug.

https://lore.kernel.org/ltp/20240124122130.288374-1-pvorel@suse.cz/
Comment 2 Petr Vorel 2024-01-24 12:29:36 UTC
NOTE: splice07 is most likely unrelated, I'll investigate and report separately.
Comment 3 Petr Vorel 2024-01-24 21:21:06 UTC
Fix for fanotify{14,15,16} merged tonight (next build will be fixed):
https://github.com/linux-test-project/ltp/commit/ea085713f0f1efd23814077c257f4caae4b8f9c4

splice07 still needs to be investigated, but likely it's a test bug.
Comment 4 Petr Vorel 2024-01-25 15:40:44 UTC
I moved splice07 to #1219188, let's close this.
Test bug => invalid.