setpgid02 was changed upstream in commit f2797fa44893 ("setpgid02: Convert to new LTP API") and now assumes that LTP runs in a different session from init (PID 1). This breaks in our CI as the busybox rootfs runs sh as PID 1.
Skip this test for the morello release 1.6.0 while waiting for a fix to be decided with upstream.
Signed-off-by: Teo Couprie Diaz teo.coupriediaz@arm.com --- runtest/syscalls_morello_skip | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/runtest/syscalls_morello_skip b/runtest/syscalls_morello_skip index 1eb10f6..80a4f47 100644 --- a/runtest/syscalls_morello_skip +++ b/runtest/syscalls_morello_skip @@ -2,6 +2,11 @@ # because of either the build setup for Morello or the system the tests run on. # KERN - *: depends on Morello Linux kernel release >= morello-release-1.6.0
+# setpgid02 assumes incorrectly that LTP will always run in a different session +# from init (PID 1). This breaks in the kernel CI. +# This is to be removed when a fix has been implemented. +setpgid02 + # leapsec01 is skipped as systemd-timesyncd interfers with it and it doesn't # test any worthwhile functionality. leapsec01
I forgot that the CI would stay on the morello_transitional test list for Morello release 1.6. This patch is thus inappropriate to fix the issue.
NOT FOR REVIEW
Thanks, apologies for the mistake.
On 11/04/2023 13:43, Teo Couprie Diaz wrote:
setpgid02 was changed upstream in commit f2797fa44893 ("setpgid02: Convert to new LTP API") and now assumes that LTP runs in a different session from init (PID 1). This breaks in our CI as the busybox rootfs runs sh as PID 1.
Skip this test for the morello release 1.6.0 while waiting for a fix to be decided with upstream.
Signed-off-by: Teo Couprie Diaz teo.coupriediaz@arm.com
runtest/syscalls_morello_skip | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/runtest/syscalls_morello_skip b/runtest/syscalls_morello_skip index 1eb10f6..80a4f47 100644 --- a/runtest/syscalls_morello_skip +++ b/runtest/syscalls_morello_skip @@ -2,6 +2,11 @@ # because of either the build setup for Morello or the system the tests run on. # KERN - *: depends on Morello Linux kernel release >= morello-release-1.6.0 +# setpgid02 assumes incorrectly that LTP will always run in a different session +# from init (PID 1). This breaks in the kernel CI. +# This is to be removed when a fix has been implemented. +setpgid02
- # leapsec01 is skipped as systemd-timesyncd interfers with it and it doesn't # test any worthwhile functionality. leapsec01
linux-morello-ltp@op-lists.linaro.org