Add support for ltp-ddt_20230127
v2 cover Add support for ltp-ddt_20230127
The internal testing team would like to move to this version as the basis for our internal ltp-ddt. So we need to capture the recipe settings for this version from oe-core master and provide a new version for us to overload.
v2: Add missing space to :append line in ltp-ddt_20230127.bb
Ryan Eatmon (2):
ltp: Add version 20230127 from oe_core master
ltp-ddt: Add support for version 20230127
.../ltp-ddt/ltp-ddt_20230127.bb | 47 ++++++ ...002-Remove-OOM-tests-from-runtest-mm.patch | 35 +++++ .../ltp/ltp/disable_hanging_tests.patch | 27 ++++ .../recipes-extended/ltp/ltp_20230127.bb | 140 ++++++++++++++++++ 4 files changed, 249 insertions(+) create mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp/0002-Remove-OOM-tests-from-runtest-mm.patch create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp/disable_hanging_tests.patch create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp_20230127.bb
Signature · 1 line
2.17.1
PATCH v2 1/2 ltp: Add version 20230127 from oe_core master
This is a verbatim backport of the ltp_20230127.bb recipe and patches from the oe-core master branch.
--- ...002-Remove-OOM-tests-from-runtest-mm.patch | 35 +++++ .../ltp/ltp/disable_hanging_tests.patch | 27 ++++ .../recipes-extended/ltp/ltp_20230127.bb | 140 ++++++++++++++++++ 3 files changed, 202 insertions(+) create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp/0002-Remove-OOM-tests-from-runtest-mm.patch create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp/disable_hanging_tests.patch create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp_20230127.bb
meta-arago-extras/recipes-extended/ltp/ltp/0002-Remove-OOM-tests-from-runtest-mm.patch new file +35 -0
@@ -0,0 +1,35 @@ +From e87c2ad1e16cdbd62ba71b2ace3270503decaa56 Mon Sep 17 00:00:00 2001 +From: "Mingde (Matthew) Zeng" <[email protected]> +Date: Wed, 29 Jul 2020 08:47:09 -0400 +Subject: [PATCH] Remove OOM tests from runtest/mm + +Disable OOM tests, as they might cause oeqa ssh connection lost + +Upstream-Status: Inappropriate [oe-core specific] +Signed-off-by: Mingde (Matthew) Zeng <[email protected]> +[ pvorel: rebased for 20210927 ] +Signed-off-by: Petr Vorel <[email protected]> +--- + runtest/mm | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/runtest/mm b/runtest/mm +index 6537666a9..e5a091a5a 100644 +--- a/runtest/mm ++++ b/runtest/mm +@@ -73,12 +73,6 @@ ksm06_2 ksm06 -n 8000 + + cpuset01 cpuset01 + +-oom01 oom01 +-oom02 oom02 +-oom03 oom03 +-oom04 oom04 +-oom05 oom05 +- + swapping01 swapping01 -i 5 + + thp01 thp01 -I 120 +-- +2.33.0 +
meta-arago-extras/recipes-extended/ltp/ltp/disable_hanging_tests.patch new file +27 -0
@@ -0,0 +1,27 @@ +This patch disables tests which we've found "hang" on our infrastructure. + +proc01: +https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/1748 (arm) +https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/1781 (arm) +https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/2782 (arm) +(was trying to read /proc/kmsg, looks like a horrible test anyway) + +Upstream-Status: Inappropriate [OE Configuration] +Signed-off-by: Richard Purdie <[email protected]> + +Index: git/runtest/fs +=================================================================== +--- git.orig/runtest/fs ++++ git/runtest/fs +@@ -64,11 +64,6 @@ writetest01 writetest + #Also run the fs_di (Data Integrity tests) + fs_di fs_di -d $TMPDIR + +-# Read every file in /proc. Not likely to crash, but does enough +-# to disturb the kernel. A good kernel latency killer too. +-# Was not sure why it should reside in runtest/crashme and won't get tested ever +-proc01 proc01 -m 128 +- + read_all_dev read_all -d /dev -p -q -r 3 + read_all_proc read_all -d /proc -q -r 3 + read_all_sys read_all -d /sys -q -r 3
meta-arago-extras/recipes-extended/ltp/ltp_20230127.bb new file +140 -0
140 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH v2 2/2 ltp-ddt: Add support for version 20230127
In reply to Ryan EatmonThe internal testing team would like to move to this version as the basis for our internal ltp-ddt.
---
v2: Add missing space on :append line.
.../ltp-ddt/ltp-ddt_20230127.bb | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb new file +47 -0
@@ -0,0 +1,47 @@ +FILESEXTRAPATHS:prepend := "${COREBASE}/meta/recipes-extended/ltp/ltp:" +FILESEXTRAPATHS:prepend := "${ARAGOBASE}/meta-arago-extras/recipes-extended/ltp/ltp:" + +require recipes-extended/ltp/ltp_${PV}.bb + +SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project" +HOMEPAGE = "https://git.ti.com/cgit/test-automation/ltp-ddt/" + +PROVIDES += "ltp" + +DEPENDS += "alsa-lib" + +PE = "1" +PR = "r7" +PV:append = "+git${SRCPV}" + +SRCREV = "7f2fc4b7c972f2f188836c739a7175fad2f2b288" +BRANCH ?= "master" + +SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https" +SRC_URI:prepend = "git://git.ti.com/git/test-automation/ltp-ddt.git;protocol=https;branch=${BRANCH} " + +SRC_URI:append = "https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/plain/include/uapi/linux/rpmsg_rpc.h?h=ti-linux-5.10.y;name=rpmsg_rpc;subdir=linux;downloadfilename=rpmsg_rpc.h " +SRC_URI[rpmsg_rpc.sha256sum] = "cd237f40a37520a1f2df19fbfeefd00c0a5ad68efeaba9ba0fba60ca16ea09be" + +export prefix = "/opt/ltp" +export exec_prefix = "/opt/ltp" + +EXTRA_OEMAKE:append = " \ + KERNEL_USR_INC=${WORKDIR} \ + ALSA_INCPATH=${STAGING_INCDIR} \ + ALSA_LIBPATH=${STAGING_LIBDIR} \ +" + +RDEPENDS:${PN} += "\ + acl \ + at \ + pm-qa \ + serialcheck \ + memtester \ +" + +do_install:prepend() { + # Upstream ltp recipe wants to remove this test case in do_install + install -d ${D}${prefix}/runtest/ + echo "memcg_stress" >> ${D}${prefix}/runtest/controllers +}
Signature · 1 line
2.17.1
Re: [meta-arago][master/kirkstone][PATCH v2 2/2] ltp-ddt: Add support for version 20230127
Quoted 30 lines · Ryan Eatmon via lists.yoctoproject.org
The internal testing team would like to move to this version as the basis for our internal ltp-ddt.
Signed-off-by Ryan Eatmon <[email protected]>---
v2: Add missing space on :append line..../ltp-ddt/ltp-ddt_20230127.bb | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bbmeta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb new file +13
-0@@ -0,0 +1,47 @@ +FILESEXTRAPATHS:prepend := "${COREBASE}/meta/recipes-extended/ltp/ltp:" +FILESEXTRAPATHS:prepend := "${ARAGOBASE}/meta-arago-extras/recipes-extended/ltp/ltp:" + +require recipes-extended/ltp/ltp_${PV}.bb + +SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project" +HOMEPAGE = "https://git.ti.com/cgit/test-automation/ltp-ddt/" + +PROVIDES += "ltp" + +DEPENDS += "alsa-lib" + +PE = "1"
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb line 23
Quoted 10 lines
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb new file +10
-0+PR = "r7" +PV:append = "+git${SRCPV}" + +SRCREV = "7f2fc4b7c972f2f188836c739a7175fad2f2b288" +BRANCH ?= "master" + +SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https" +SRC_URI:prepend = "git://git.ti.com/git/test-automation/ltp-ddt.git;protocol=https;branch=${BRANCH} " + +SRC_URI:append = "https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/plain/include/uapi/linux/rpmsg_rpc.h?h=ti-linux-5.10.y;name=rpmsg_rpc;subdir=linux;downloadfilename=rpmsg_rpc.h "
Gulp. While both :prepend and :append need to ensure whitespaces are explicitly added to separate entries in the list, those are needed at different places. It is tailing space for :prepend and leading space for :append, of course. Or use += here to be safe...
Quoted 26 lines
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb new file +24
-0+SRC_URI[rpmsg_rpc.sha256sum] = "cd237f40a37520a1f2df19fbfeefd00c0a5ad68efeaba9ba0fba60ca16ea09be" + +export prefix = "/opt/ltp" +export exec_prefix = "/opt/ltp" + +EXTRA_OEMAKE:append = " \ + KERNEL_USR_INC=${WORKDIR} \ + ALSA_INCPATH=${STAGING_INCDIR} \ + ALSA_LIBPATH=${STAGING_LIBDIR} \ +" + +RDEPENDS:${PN} += "\ + acl \ + at \ + pm-qa \ + serialcheck \ + memtester \ +" + +do_install:prepend() { + # Upstream ltp recipe wants to remove this test case in do_install + install -d ${D}${prefix}/runtest/ + echo "memcg_stress" >> ${D}${prefix}/runtest/controllers +}Signature · 1 line
2.17.1
Re: [meta-arago][master/kirkstone][PATCH v2 2/2] ltp-ddt: Add support for version 20230127
Quoted 38 lines · Denys Dmytriyenko
Quoted 37 lines · Ryan Eatmon via lists.yoctoproject.org
The internal testing team would like to move to this version as the basis for our internal ltp-ddt.
Signed-off-by Ryan Eatmon <[email protected]>---
v2: Add missing space on :append line..../ltp-ddt/ltp-ddt_20230127.bb | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+)create mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb new file +20
-0@@ -0,0 +1,47 @@ +FILESEXTRAPATHS:prepend := "${COREBASE}/meta/recipes-extended/ltp/ltp:" +FILESEXTRAPATHS:prepend := "${ARAGOBASE}/meta-arago-extras/recipes-extended/ltp/ltp:" + +require recipes-extended/ltp/ltp_${PV}.bb + +SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project" +HOMEPAGE = "https://git.ti.com/cgit/test-automation/ltp-ddt/" + +PROVIDES += "ltp" + +DEPENDS += "alsa-lib" + +PE = "1" +PR = "r7" +PV:append = "+git${SRCPV}" + +SRCREV = "7f2fc4b7c972f2f188836c739a7175fad2f2b288" +BRANCH ?= "master" + +SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https"
Quoted 8 lines
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb line 23
Quoted 3 lines
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb new file +3
-0+SRC_URI:prepend = "git://git.ti.com/git/test-automation/ltp-ddt.git;protocol=https;branch=${BRANCH} " + +SRC_URI:append = "https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/plain/include/uapi/linux/rpmsg_rpc.h?h=ti-linux-5.10.y;name=rpmsg_rpc;subdir=linux;downloadfilename=rpmsg_rpc.h "Gulp. While both :prepend and :append need to ensure whitespaces are explicitly added to separate entries in the list, those are needed at different places. It is tailing space for :prepend and leading space for :append, of course. Or use += here to be safe...
Yeah... It's been a long week and I'm rushing. I was only using append because two lines above used prepend and I was trying to be consistent. v3 incoming.
Quoted 27 lines
Quoted 27 lines
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb new file +24
-0+SRC_URI[rpmsg_rpc.sha256sum] = "cd237f40a37520a1f2df19fbfeefd00c0a5ad68efeaba9ba0fba60ca16ea09be" + +export prefix = "/opt/ltp" +export exec_prefix = "/opt/ltp" + +EXTRA_OEMAKE:append = " \ + KERNEL_USR_INC=${WORKDIR} \ + ALSA_INCPATH=${STAGING_INCDIR} \ + ALSA_LIBPATH=${STAGING_LIBDIR} \ +" + +RDEPENDS:${PN} += "\ + acl \ + at \ + pm-qa \ + serialcheck \ + memtester \ +" + +do_install:prepend() { + # Upstream ltp recipe wants to remove this test case in do_install + install -d ${D}${prefix}/runtest/ + echo "memcg_stress" >> ${D}${prefix}/runtest/controllers +}Signature · 1 line
2.17.1
Signature · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS