Bug 1214875

Summary: [Build 20230831] ltp: openQA test fails in clone302
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dominique Leuenberger <dimstar>
Component: KernelAssignee: Petr Vorel <petr.vorel>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: martin.doucha, petr.vorel, richard.palethorpe, wegao
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://openqa.opensuse.org/tests/3541571/modules/clone302/steps/7
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: Yes
Marketing QA Status: --- IT Deployment: ---

Description Dominique Leuenberger 2023-09-01 07:23:21 UTC
## Observation

clone302.c:101: TPASS: invalid args: clone3() failed as expected: EFAULT (14)
clone302.c:101: TPASS: zero size: clone3() failed as expected: EINVAL (22)
clone302.c:91: TFAIL: short size: clone3() passed unexpectedly
clone302.c:101: TPASS: extra size: clone3() failed as expected: EFAULT (14)
clone302.c:101: TPASS: sighand-no-VM: clone3() failed as expected: EINVAL (22)


openQA test in scenario opensuse-Tumbleweed-JeOS-for-kvm-and-xen-x86_64-jeos-ltp-syscalls@uefi_virtio-2G fails in
[clone302](https://openqa.opensuse.org/tests/3541571/modules/clone302/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:28:56 UTC
Because last working build uses the same kernel, it's likely LTP regression in 45f6916ba ("clone3: Add clone3's clone_args cgroup") [1].

I'm away for 2 weeks, thus just reported upstream [2] and Cc Richie (I have no idea what is Wei Gao's valid Bugzilla email).

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

[1] https://github.com/linux-test-project/ltp/commit/45f6916bae4cf417fd5a757ea8ca516d17865075
[2] https://lore.kernel.org/ltp/20230901102221.GB323151@pevik/
Comment 4 Richard Palethorpe 2023-09-04 08:46:45 UTC
Wei is working on a fix.
Comment 5 Dominique Leuenberger 2023-12-08 14:47:59 UTC
(In reply to Richard Palethorpe from comment #4)
> Wei is working on a fix.

Accordnig to openQA, this did happen:
  https://openqa.opensuse.org/tests/3792075#step/clone302/7