Skip to contentSkip to conversation

ltp-ddt: move iproute2-bridge from ltp to ltp-ddt

PATCH In review Denys Dmytriyenko 2 participants 4 messages Apr 27 – Apr 28

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ltp-ddt: move iproute2-bridge from ltp to ltp-ddt

From: "Denys Dmytriyenko (TI)" <[email protected]>

The .inc file of ltp recipe should be a verbatim copy of the upstream recipe from OE-Core so it's easy to maintain and upgrade.

iproute2-bridge dependency was added when OE-Core started packaging bridge into own package[1], but it should have been added to ltp-ddt instead, fix it here.

[1] https://git.yoctoproject.org/meta-arago/commit/?id=a57fbdefd04305eb187fad262d7b19a104977e28

---
 meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20260130.bb | 1 +
 meta-arago-test/recipes-devtools/ltp-ddt/ltp_20260130.inc    | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20260130.bb +1 -0
index 0168d125..c91f0052 100644
@@ -33,6 +33,7 @@ RDEPENDS:${PN} += "\
     serialcheck \
     memtester \
     libgpiod-tools \
+    iproute2-bridge \
 "
 
 do_install:prepend() {
meta-arago-test/recipes-devtools/ltp-ddt/ltp_20260130.inc +0 -1
index 560e9b4e..d63b936f 100644
@@ -98,7 +98,6 @@ RDEPENDS:${PN} = "\
     gdb \
     gzip \
     iproute2 \
-    iproute2-bridge \
     ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'iputils-ping6', '', d)} \
     ldd \
     libaio \
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/3 ltp-ddt: correct re-enabling of memcg_stress test

From: "Denys Dmytriyenko (TI)" <[email protected]>

Upstream ltp disables memcg_stress test, while we want it to be enabled, as the comment says. Hence this should be done at the end of do_install, not at the beginning, when even "make install" hasn't happened yet.

---
 meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20260130.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20260130.bb +1 -1
index c91f0052..13646a7c 100644
@@ -36,7 +36,7 @@ RDEPENDS:${PN} += "\
     iproute2-bridge \
 "
 
-do_install:prepend() {
+do_install:append() {
 	# 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.25.1
#2 lore raw

PATCH 3/3 ltp-ddt: sync up ltp with upstream

In reply to Denys Dmytriyenko

From: "Denys Dmytriyenko (TI)" <[email protected]>

Update ltp .inc file with the latest verbatim copy of ltp recipe from OE-Core.

---
 .../recipes-devtools/ltp-ddt/ltp_20260130.inc         | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
meta-arago-test/recipes-devtools/ltp-ddt/ltp_20260130.inc +10 -1
index d63b936f..3108cc6c 100644
@@ -79,6 +79,15 @@ do_install(){
     # The controllers memcg_stree test seems to cause us hangs and takes 900s
     # (maybe we expect more regular output?), anyhow, skip it
     sed -e '/^memcg_stress/d' -i ${D}${prefix}/runtest/controllers
+
+    # min_free_kbytes can be disruptive on constrained targets
+    sed -e '/^min_free_kbytes/d' -i ${D}${prefix}/runtest/mm
+
+    # cve-2018-13405 triggers memory deadlock kernel panic on constrained targets
+    sed -e '/^cve-2018-13405/d' -i ${D}${prefix}/runtest/cve
+
+    # cve-2020-36557 triggers memory deadlock kernel panic on constrained targets
+    sed -e '/^cve-2020-36557/d' -i ${D}${prefix}/runtest/cve
 }
 
 RDEPENDS:${PN} = "\
@@ -128,7 +137,7 @@ remove_broken_musl_sources() {
 	[ "${TCLIBC}" = "musl" ] || return 0
 
 	cd ${S}
-	echo "WARNING: remove unsupported tests (until they're fixed)"
+	bbverbnote "remove unsupported tests (until they're fixed)"
 
 	# sync with upstream
 	# https://github.com/linux-test-project/ltp/blob/master/ci/alpine.sh#L33
Signature · 1 line
2.25.1
#3 lore raw
In reply to Denys Dmytriyenko

meta-arago / na / 20260427233911.2171996-1-denis

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [master][PATCH 1/3] ltp-ddt: move iproute2-bridge from ltp to ltp-ddt
WARN: Missing Signed-off-by by sender in commit message. (SIGNED-OFF-BY-2)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [master][PATCH 2/3] ltp-ddt: correct re-enabling of memcg_stress test
WARN: Missing Signed-off-by by sender in commit message. (SIGNED-OFF-BY-2)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
WARN - [master][PATCH 3/3] ltp-ddt: sync up ltp with upstream
WARN: Missing Signed-off-by by sender in commit message. (SIGNED-OFF-BY-2)
patch

For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [master][PATCH 1/3] ltp-ddt: move iproute2-bridge from ltp to ltp-ddt
- Submitter: From: Denys Dmytriyenko <[email protected]>
From: "Denys Dmytriyenko (TI)" <[email protected]>
- Date: Date: Mon, 27 Apr 2026 19:39:09 -0400
- Num Patches: 3
- Mailing List (public inbox) Commit SHA: 9030ec655aca99176f80b257728e8924f47a3ce7

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: Randolph Sapp <[email protected]>
- Commit Subject: qtbase: remove serial event 0 handling
- Commit SHA: 5ac854ed85c79c1756aac168dc38f78591c2cbd1

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS

=========================================================
yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed