| Message ID | 20250723010614.926-7-liuyd.fnst@fujitsu.com |
|---|---|
| State | Accepted, archived |
| Commit | 6ad236f2fb724798ed62f6ad5f78b51d57496caa |
| Headers | show |
| Series | [01/12] barebox-tools: upgrade 2025.06.0 -> 2025.07.0 | expand |
On Wed Jul 23, 2025 at 3:06 AM CEST, Yiding Liu (Fujitsu) via lists.openembedded.org wrote: > Changelog: https://github.com/linux-test-project/ltp/releases/tag/20250530 > > Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> > --- Hi, Thanks for the update. It looks like this is failing on the autobuilder: WARNING: core-image-sato-1.0-r0 do_testimage: Copy returned non-zero exit status 1: scp: /opt/ltp/results/ipc: No such file or directory WARNING: core-image-sato-1.0-r0 do_testimage: File could not be copied. Output: scp: /opt/ltp/results/ipc: No such file or directory Traceback (most recent call last): File "/srv/pokybuild/yocto-worker/qemuarm64-ltp/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/srv/pokybuild/yocto-worker/qemuarm64-ltp/build/meta/lib/oeqa/runtime/cases/ltp.py", line 125, in test_ltp_groups self.runltp(ltp_group) File "/srv/pokybuild/yocto-worker/qemuarm64-ltp/build/meta/lib/oeqa/runtime/cases/ltp.py", line 98, in runltp results, sections = parser.parse(dst) ^^^^^^^^^^^^^^^^^ File "/srv/pokybuild/yocto-worker/qemuarm64-ltp/build/meta/lib/oeqa/utils/logparser.py", line 129, in parse with open(logfile, errors="replace") as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/srv/pokybuild/yocto-worker/qemuarm64-ltp/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0/testimage/ltp_log.20250723071044/ipc' ... RESULTS - ltp.LtpTest.test_ltp_groups: ERROR (1999.60s) https://autobuilder.yoctoproject.org/valkyrie/#/builders/98/builds/1946 https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/1915 Can you have a look at these failures please?
> -----邮件原件----- > 发件人: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> > 发送时间: 2025年7月23日 17:37 > 收件人: Liu, Yiding/刘 乙丁 <liuyd.fnst@fujitsu.com>; > openembedded-core@lists.openembedded.org > 主题: Re: [OE-core] [PATCH 07/12] ltp: upgrade 20250130 -> 20250530 > > On Wed Jul 23, 2025 at 3:06 AM CEST, Yiding Liu (Fujitsu) via > lists.openembedded.org wrote: > > Changelog: > > https://github.com/linux-test-project/ltp/releases/tag/20250530 > > > > Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> > > --- > > Hi, > > Thanks for the update. > > It looks like this is failing on the autobuilder: > > WARNING: core-image-sato-1.0-r0 do_testimage: Copy returned non-zero exit > status 1: > scp: /opt/ltp/results/ipc: No such file or directory > WARNING: core-image-sato-1.0-r0 do_testimage: File could not be copied. > Output: scp: /opt/ltp/results/ipc: No such file or directory Traceback (most > recent call last): > File > "/srv/pokybuild/yocto-worker/qemuarm64-ltp/build/meta/lib/oeqa/core/decor > ator/__init__.py", line 35, in wrapped_f > return func(*args, **kwargs) > ^^^^^^^^^^^^^^^^^^^^^ > File > "/srv/pokybuild/yocto-worker/qemuarm64-ltp/build/meta/lib/oeqa/runtime/cas > es/ltp.py", line 125, in test_ltp_groups > self.runltp(ltp_group) > File > "/srv/pokybuild/yocto-worker/qemuarm64-ltp/build/meta/lib/oeqa/runtime/cas > es/ltp.py", line 98, in runltp > results, sections = parser.parse(dst) > ^^^^^^^^^^^^^^^^^ > File > "/srv/pokybuild/yocto-worker/qemuarm64-ltp/build/meta/lib/oeqa/utils/logpar > ser.py", line 129, in parse > with open(logfile, errors="replace") as f: > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > FileNotFoundError: [Errno 2] No such file or directory: > '/srv/pokybuild/yocto-worker/qemuarm64-ltp/build/build/tmp/work/qemuarm6 > 4-poky-linux/core-image-sato/1.0/testimage/ltp_log.20250723071044/ipc' > ... > RESULTS - ltp.LtpTest.test_ltp_groups: ERROR (1999.60s) > > https://autobuilder.yoctoproject.org/valkyrie/#/builders/98/builds/1946 > https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/1915 > > Can you have a look at these failures please? Hi I have sent a patch to fix this issue [OE-core] [PATCH] oeqa/runtime/ltp: Drop ipc that is moved into syscalls in new version Thank Yiding > > > -- > Mathieu Dubois-Briand, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com
Hi Yiding, On 25 Jul 2025, at 07:38, Yiding Liu (Fujitsu) via lists.openembedded.org <liuyd.fnst=fujitsu.com@lists.openembedded.org> wrote: > I have sent a patch to fix this issue > > [OE-core] [PATCH] oeqa/runtime/ltp: Drop ipc that is moved into syscalls in new version Other changes have landed in master since you sent these patches [1], can you rebase to current master and resend? Thanks, Ross [1] Specifically "ltp: Skip semctl08 when __USE_TIME64_REDIRECTS is defined"
> -----Original Message----- > From: Ross Burton <Ross.Burton@arm.com> > Sent: Tuesday, July 29, 2025 6:24 PM > To: Liu, Yiding/刘 乙丁 <liuyd.fnst@fujitsu.com> > Cc: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>; > openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH 07/12] ltp: upgrade 20250130 -> 20250530 > > Hi Yiding, > > On 25 Jul 2025, at 07:38, Yiding Liu (Fujitsu) via lists.openembedded.org > <liuyd.fnst=fujitsu.com@lists.openembedded.org> wrote: > > I have sent a patch to fix this issue > > > > [OE-core] [PATCH] oeqa/runtime/ltp: Drop ipc that is moved into syscalls in > new version > > Other changes have landed in master since you sent these patches [1], can > you rebase to current master and resend? Ok, and please refer to V3 patchset I resend just now [OE-core] [PATCH v3 1/2] ltp: upgrade 20250130 -> 20250530 [OE-core] [PATCH v3 2/2] oeqa/runtime/ltp: Drop ipc that is moved into syscalls in new version > > Thanks, > Ross > > [1] Specifically "ltp: Skip semctl08 when __USE_TIME64_REDIRECTS is > defined"
diff --git a/meta/recipes-extended/ltp/ltp/0001-Add-__clear_cache-declaration-for-clang.patch b/meta/recipes-extended/ltp/ltp/0001-Add-__clear_cache-declaration-for-clang.patch index ade6a52b63..c95d7220cd 100644 --- a/meta/recipes-extended/ltp/ltp/0001-Add-__clear_cache-declaration-for-clang.patch +++ b/meta/recipes-extended/ltp/ltp/0001-Add-__clear_cache-declaration-for-clang.patch @@ -1,4 +1,4 @@ -From 2d384f268791ecd5ff0f26c8137dd4de0a1c4566 Mon Sep 17 00:00:00 2001 +From 859d27dd6dfc6e9d26ae9a05f4b32ac45b911887 Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Mon, 10 Jun 2024 22:52:56 -0700 Subject: [PATCH] Add __clear_cache declaration for clang @@ -19,10 +19,10 @@ Cc: Hui Min Mina Chou <minachou@andestech.com> 1 file changed, 1 insertion(+) diff --git a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c -index a84ba6476..856e22ff3 100644 +index 1dde9e87b..6a6f5fe5e 100644 --- a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c +++ b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c -@@ -21,6 +21,7 @@ +@@ -19,6 +19,7 @@ #if defined(__clang__) #pragma clang optimize off diff --git a/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch b/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch index 5b6c780bec..936e23ebda 100644 --- a/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch +++ b/meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch @@ -1,4 +1,4 @@ -From 768159aa53257d247645a12518778f50b8fdf578 Mon Sep 17 00:00:00 2001 +From 7096737fbbe19d0765f0a8c62ef7667bf4875780 Mon Sep 17 00:00:00 2001 From: "Mingde (Matthew) Zeng" <matthewzmd@gmail.com> Date: Wed, 29 Jul 2020 08:47:09 -0400 Subject: [PATCH] Remove OOM tests from runtest/mm @@ -14,12 +14,12 @@ Signed-off-by: Petr Vorel <petr.vorel@gmail.com> 1 file changed, 6 deletions(-) diff --git a/runtest/mm b/runtest/mm -index 6a8cd0b9d..8ce3f4416 100644 +index 5566a7742..8014d509b 100644 --- a/runtest/mm +++ b/runtest/mm -@@ -76,12 +76,6 @@ ksm07 ksm07 - +@@ -70,12 +70,6 @@ ksm07 ksm07 cpuset01 cpuset01 + cpuset02 cpuset02 -oom01 oom01 -oom02 oom02 diff --git a/meta/recipes-extended/ltp/ltp/0001-cve-2015-3290-Disable-AVX-for-x86_64.patch b/meta/recipes-extended/ltp/ltp/0001-cve-2015-3290-Disable-AVX-for-x86_64.patch deleted file mode 100644 index c6fae88eb9..0000000000 --- a/meta/recipes-extended/ltp/ltp/0001-cve-2015-3290-Disable-AVX-for-x86_64.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 28d823a63ee29f5d72c2aba781a06a7e2651cadc Mon Sep 17 00:00:00 2001 -From: Siddhesh Poyarekar <siddhesh@gotplt.org> -Date: Mon, 7 Apr 2025 06:24:47 -0400 -Subject: [PATCH] cve-2015-3290: Disable AVX for x86_64 - -When the input compiler enables AVX, stack realignment requirements -causes gcc to fail to omit %rbp use, due to which the test fails to -clobber %rbp in inline asm. Disable AVX to build the test on x86_64 so -that the test continues working. - -Link: https://lore.kernel.org/ltp/20250407102448.2605506-2-siddhesh@gotplt.org/ - -Upstream-Status: Backport [https://github.com/linux-test-project/ltp/commit/28d823a63ee29f5d72c2aba781a06a7e2651cadc] - -Reviewed-by: Martin Doucha <mdoucha@suse.cz> -Reviewed-by: Petr Vorel <pvorel@suse.cz> -Signed-off-by: Siddhesh Poyarekar <siddhesh@gotplt.org> - ---- - testcases/cve/Makefile | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/testcases/cve/Makefile b/testcases/cve/Makefile -index 01b9b9ccb..98c38e908 100644 ---- a/testcases/cve/Makefile -+++ b/testcases/cve/Makefile -@@ -22,6 +22,12 @@ ifneq (,$(filter $(HOST_CPU),x86 x86_64)) - meltdown: CFLAGS += -msse2 - endif - -+# The test needs to clobber %rbp, which requires frame pointer omission. Also -+# for x86_64, disable AVX since that could sometimes require a stack -+# realignment, which gets in the way of frame pointer omission. - cve-2015-3290: CFLAGS += -pthread -fomit-frame-pointer -+ifeq ($(HOST_CPU),x86_64) -+cve-2015-3290: CFLAGS += -mno-avx -+endif - - include $(top_srcdir)/include/mk/generic_leaf_target.mk --- -2.37.3 - diff --git a/meta/recipes-extended/ltp/ltp/0001-kernel-kvm-don-t-hardcode-objcopy.patch b/meta/recipes-extended/ltp/ltp/0001-kernel-kvm-don-t-hardcode-objcopy.patch deleted file mode 100644 index 256c8eaa34..0000000000 --- a/meta/recipes-extended/ltp/ltp/0001-kernel-kvm-don-t-hardcode-objcopy.patch +++ /dev/null @@ -1,69 +0,0 @@ -From 0a42a8ee0ae8c6f1e603c1836b7c9c7fab0ca3a8 Mon Sep 17 00:00:00 2001 -From: Ross Burton <ross.burton@arm.com> -Date: Thu, 27 Feb 2025 12:38:50 +0000 -Subject: [PATCH] kernel/kvm: don't hardcode objcopy - -testcases/kernel/kvm uses objcopy to contruct a payload binary, but in -cross builds the host objcopy may not know how to handle target -binaries: - - CC testcases/kernel/kvm/lib_host.o - objcopy: Unable to recognise the format of the input file `kvm_svm03-payload.elf' - make[3]: *** [ltp/testcases/kernel/kvm/Makefile:67: kvm_svm03-payload.o] Error 1 - -This is trivially fixed by searching for an objcopy tool (so -host-prefixed in cross builds) and using that instead. - -Upstream-Status: Backport [a3942c0a5f9b4463e8320e80cd8522a2e008bfd2] -Signed-off-by: Ross Burton <ross.burton@arm.com> ---- - configure.ac | 1 + - include/mk/config.mk.in | 1 + - testcases/kernel/kvm/Makefile | 4 ++-- - 3 files changed, 4 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 344b2ae2c..0f2b6f332 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -30,6 +30,7 @@ AC_PROG_RANLIB - AC_DEFUN([AC_PROG_STRIP], [AC_CHECK_TOOL(STRIP, strip, :)]) - AC_PROG_STRIP - AC_PROG_YACC -+AC_CHECK_TOOL([OBJCOPY], [objcopy], [:]) - - m4_ifndef([PKG_CHECK_EXISTS], - [m4_fatal([must install pkg-config or pkgconfig and pkg.m4 macro (usual dependency), see INSTALL])]) -diff --git a/include/mk/config.mk.in b/include/mk/config.mk.in -index 2b7c8a071..4c3da304f 100644 ---- a/include/mk/config.mk.in -+++ b/include/mk/config.mk.in -@@ -11,6 +11,7 @@ AR := @AR@ - CC := @CC@ - LEX := @LEX@ - RANLIB := @RANLIB@ -+OBJCOPY := @OBJCOPY@ - STRIP := @STRIP@ - YACC := @YACC@ - -diff --git a/testcases/kernel/kvm/Makefile b/testcases/kernel/kvm/Makefile -index 07bdd9705..e93528a33 100644 ---- a/testcases/kernel/kvm/Makefile -+++ b/testcases/kernel/kvm/Makefile -@@ -60,11 +60,11 @@ include $(top_srcdir)/include/mk/generic_leaf_target.mk - %-payload.o: %.c lib_guest.o $(ARCH_OBJ) - ifdef VERBOSE - $(CC) $(GUEST_CPPFLAGS) $(GUEST_CFLAGS) $(GUEST_LDFLAGS) -o $*-payload.elf $^ $(GUEST_LDLIBS) -- objcopy -O binary -j .init.boot -j .text -j .data -j .init -j .preinit_array -j .init_array --gap-fill=0 $*-payload.elf $*-payload.bin -+ $(OBJCOPY) -O binary -j .init.boot -j .text -j .data -j .init -j .preinit_array -j .init_array --gap-fill=0 $*-payload.elf $*-payload.bin - $(KVM_LD) -z noexecstack -r -T $(abs_srcdir)/linker/payload.lds --oformat=$(BIN_FORMAT) -o $@ $*-payload.bin - else - @$(CC) $(GUEST_CPPFLAGS) $(GUEST_CFLAGS) $(GUEST_LDFLAGS) -o $*-payload.elf $^ $(GUEST_LDLIBS) -- @objcopy -O binary -j .init.boot -j .text -j .data -j .init -j .preinit_array -j .init_array --gap-fill=0 $*-payload.elf $*-payload.bin -+ @$(OBJCOPY) -O binary -j .init.boot -j .text -j .data -j .init -j .preinit_array -j .init_array --gap-fill=0 $*-payload.elf $*-payload.bin - @$(KVM_LD) -z noexecstack -r -T $(abs_srcdir)/linker/payload.lds --oformat=$(BIN_FORMAT) -o $@ $*-payload.bin - @echo KVM_CC $(target_rel_dir)$@ - endif --- -2.43.0 - diff --git a/meta/recipes-extended/ltp/ltp_20250130.bb b/meta/recipes-extended/ltp/ltp_20250530.bb similarity index 97% rename from meta/recipes-extended/ltp/ltp_20250130.bb rename to meta/recipes-extended/ltp/ltp_20250530.bb index fc643c2ab9..5b3c481859 100644 --- a/meta/recipes-extended/ltp/ltp_20250130.bb +++ b/meta/recipes-extended/ltp/ltp_20250530.bb @@ -24,13 +24,11 @@ TUNE_CCARGS:remove:x86-64 = "-mfpmath=sse" CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__" CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" -SRCREV = "a7c31dff7edc089a32e990765e12952cc4d7666a" +SRCREV = "14331e1ecfcd63426c9d270d88b7bad9f60c6d64" SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \ file://0001-Remove-OOM-tests-from-runtest-mm.patch \ file://0001-Add-__clear_cache-declaration-for-clang.patch \ - file://0001-kernel-kvm-don-t-hardcode-objcopy.patch \ - file://0001-cve-2015-3290-Disable-AVX-for-x86_64.patch \ " inherit autotools-brokensep pkgconfig
Changelog: https://github.com/linux-test-project/ltp/releases/tag/20250530 Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> --- ...-__clear_cache-declaration-for-clang.patch | 6 +- ...001-Remove-OOM-tests-from-runtest-mm.patch | 8 +-- ...cve-2015-3290-Disable-AVX-for-x86_64.patch | 42 ----------- ...01-kernel-kvm-don-t-hardcode-objcopy.patch | 69 ------------------- .../ltp/{ltp_20250130.bb => ltp_20250530.bb} | 4 +- 5 files changed, 8 insertions(+), 121 deletions(-) delete mode 100644 meta/recipes-extended/ltp/ltp/0001-cve-2015-3290-Disable-AVX-for-x86_64.patch delete mode 100644 meta/recipes-extended/ltp/ltp/0001-kernel-kvm-don-t-hardcode-objcopy.patch rename meta/recipes-extended/ltp/{ltp_20250130.bb => ltp_20250530.bb} (97%)