Bug 1214876

Summary: [Build 20230831] ltp: openQA test fails in process_madvise01
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: andrea.cervesato, chrubis, petr.vorel, richard.palethorpe
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://openqa.opensuse.org/tests/3541571/modules/process_madvise01/steps/7
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: Yes
Marketing QA Status: --- IT Deployment: ---

Description Dominique Leuenberger 2023-09-01 07:24:10 UTC
## Observation

process_madvise01.c:62: TFAIL: Expect: Most of the memory has been swapped out: 0kB out of 1024kB
Failed.
Test took approximately 0.0143491509370506 seconds
Some test output could not be parsed: 8 lines were ignored.

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

## Test suite description



## Reproducible

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


## Expected result

Last good: [20230830](https://openqa.opensuse.org/tests/3538425) (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 2023-09-01 10:43:15 UTC
It's a new test added in [1] (last working build uses the same kernel).

I have no idea if it's a test bug or kernel bug or openQA issue (Debian with kernel 6.4.11 works well, Tubleweed currently have kernel 6.4.12-1).

I'm away for 2 weeks, thus just reported upstream [2] and Cc related developers.

[1] https://github.com/linux-test-project/ltp/commit/c185128386aa9ae9a2d310d1d11b13dd6621df34
[2] https://lore.kernel.org/ltp/20230901103758.GC323151@pevik/
Comment 2 Petr Vorel 2023-09-01 12:38:45 UTC
It's probably test a bug due missing swap [1].

I suppose bug should be set as invalid (not a kernel bug, but LTP regression).

[1] https://lore.kernel.org/ltp/20230901123126.GA343678@pevik/
Comment 3 Richard Palethorpe 2023-11-15 08:42:44 UTC
The fix was applied and it appears the test now refuses to run (as it should):
https://openqa.opensuse.org/tests/3726130#step/process_madvise01/8