Skip to contentSkip to conversation

ltp-ddt: Intial LTS migration version

PATCH In review Ryan Eatmon 2 participants 7 messages May 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ltp-ddt: Intial LTS migration version

From: LCPD Automation Script <[email protected]>

As part of the initial LTS migration, move to the latest commits for the various repos.
- ltp-ddt_20230127

Going forward all updates will come from the CICD flow.

---
 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb +1 -1
index d56c5b7b..c14ddba7 100644
@@ -14,7 +14,7 @@ PE = "1"
 PR = "r7"
 PV:append = "+git${SRCPV}"
 
-SRCREV = "7f2fc4b7c972f2f188836c739a7175fad2f2b288"
+SRCREV = "41e97da730b9064d9fc5337afb515a8b6f752099"
 BRANCH ?= "master"
 
 SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https"
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 ltp-ddt: Remove older version.

Now that we have 20230127 in place, we can remove this older recipe.

---
 .../ltp-ddt/ltp-ddt_20210524.bb               | 47 -------------------
 1 file changed, 47 deletions(-)
 delete mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20210524.bb
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20210524.bb deleted +0 -47
deleted file mode 100644
index 03f6d4f3..00000000
@@ -1,47 +0,0 @@
-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 = "0b51638be46d1e00e2e7e6c4c65dcff738ff2e60"
-BRANCH ?= "master"
-
-SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;protocol=https;branch=master"
-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
#2 lore raw
In reply to Ryan Eatmon

1. There's no 20231017 version of ltp-ddt in meta-arago:

https://git.yoctoproject.org/meta-arago/tree/meta-arago-extras/recipes-devtools/ltp-ddt

2. ltp-ddt is based on upstream ltp - while OE-Core/master has version 20231017 of ltp, kirkstone has an older 20220121 version:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/ltp

So you'd need to overlay ltp 20231017 here:

https://git.yoctoproject.org/meta-arago/tree/meta-arago-extras/recipes-extended/ltp

3. Once the upgrade is done, you can remove the old overlayed 20200120 and 20210524 versions of ltp

Quoted 28 lines · Ryan Eatmon via lists.yoctoproject.org

From: LCPD Automation Script <[email protected]>

As part of the initial LTS migration, move to the latest commits for the various repos.
- ltp-ddt_20230127

Going forward all updates will come from the CICD flow.

---
 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb +1 -1
index d56c5b7b..c14ddba7 100644
@@ -14,7 +14,7 @@ PE = "1"
 PR = "r7"
 PV:append = "+git${SRCPV}"
 
-SRCREV = "7f2fc4b7c972f2f188836c739a7175fad2f2b288"
+SRCREV = "41e97da730b9064d9fc5337afb515a8b6f752099"
 BRANCH ?= "master"
 
 SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https"
Signature · 1 line
2.17.1
#3 lore raw
Quoted 3 lines · Denys Dmytriyenko

1. There's no 20231017 version of ltp-ddt in meta-arago:

https://git.yoctoproject.org/meta-arago/tree/meta-arago-extras/recipes-devtools/ltp-ddt

There is on wip/next which after a forced CICD is about to make it visiable to kirkstone.

All of these patches build on previous patches that are "Under Review" on the next branches.

I'm just sending out the patches so that as soon as CICD promotes it all I can get the patches applied to master as well.

Quoted 42 lines

2. ltp-ddt is based on upstream ltp - while OE-Core/master has version 20231017 of ltp, kirkstone has an older 20220121 version:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/ltp

So you'd need to overlay ltp 20231017 here:

https://git.yoctoproject.org/meta-arago/tree/meta-arago-extras/recipes-extended/ltp

3. Once the upgrade is done, you can remove the old overlayed 20200120 and 20210524 versions of ltp

Quoted 28 lines · Ryan Eatmon via lists.yoctoproject.org

From: LCPD Automation Script <[email protected]>

As part of the initial LTS migration, move to the latest commits for the various repos.
- ltp-ddt_20230127

Going forward all updates will come from the CICD flow.

---
  meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb +1 -1
index d56c5b7b..c14ddba7 100644
@@ -14,7 +14,7 @@ PE = "1"
  PR = "r7"
  PV:append = "+git${SRCPV}"
 
-SRCREV = "7f2fc4b7c972f2f188836c739a7175fad2f2b288"
+SRCREV = "41e97da730b9064d9fc5337afb515a8b6f752099"
  BRANCH ?= "master"
 
  SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https"
Signature · 1 line
2.17.1
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#4 lore raw
Quoted 7 lines · Ryan Eatmon
Quoted 3 lines · Denys Dmytriyenko

1. There's no 20231017 version of ltp-ddt in meta-arago:

https://git.yoctoproject.org/meta-arago/tree/meta-arago-extras/recipes-devtools/ltp-ddt

Quoted 8 lines

There is on wip/next which after a forced CICD is about to make it visiable to kirkstone.

All of these patches build on previous patches that are "Under Review" on the next branches.

I'm just sending out the patches so that as soon as CICD promotes it all I can get the patches applied to master as well.

Right. I wonder if those need to be re-sent again, since it's been a long time they came across. Or maybe post links here to corresponding base commits on wip branch for a refresher?

Quoted 40 lines
Quoted 40 lines

2. ltp-ddt is based on upstream ltp - while OE-Core/master has version 20231017 of ltp, kirkstone has an older 20220121 version:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/ltp

So you'd need to overlay ltp 20231017 here:

https://git.yoctoproject.org/meta-arago/tree/meta-arago-extras/recipes-extended/ltp

3. Once the upgrade is done, you can remove the old overlayed 20200120 and 20210524 versions of ltp

Quoted 26 lines · Ryan Eatmon via lists.yoctoproject.org

From: LCPD Automation Script <[email protected]>

As part of the initial LTS migration, move to the latest commits for the various repos.
- ltp-ddt_20230127

Going forward all updates will come from the CICD flow.

---
 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb +1 -1
index d56c5b7b..c14ddba7 100644
@@ -14,7 +14,7 @@ PE = "1"
 PR = "r7"
 PV:append = "+git${SRCPV}"
-SRCREV = "7f2fc4b7c972f2f188836c739a7175fad2f2b288"
+SRCREV = "41e97da730b9064d9fc5337afb515a8b6f752099"
 BRANCH ?= "master"
 SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https"
Signature · 1 line
2.17.1
#5 lore raw

I can do that. I'll resend a new series with a cover letter.

Quoted 62 lines · Denys Dmytriyenko
Quoted 7 lines · Ryan Eatmon
Quoted 3 lines · Denys Dmytriyenko

1. There's no 20231017 version of ltp-ddt in meta-arago:

https://git.yoctoproject.org/meta-arago/tree/meta-arago-extras/recipes-devtools/ltp-ddt

Quoted 8 lines

There is on wip/next which after a forced CICD is about to make it visiable to kirkstone.

All of these patches build on previous patches that are "Under Review" on the next branches.

I'm just sending out the patches so that as soon as CICD promotes it all I can get the patches applied to master as well.

Right. I wonder if those need to be re-sent again, since it's been a long time they came across. Or maybe post links here to corresponding base commits on wip branch for a refresher?

Quoted 40 lines
Quoted 40 lines

2. ltp-ddt is based on upstream ltp - while OE-Core/master has version 20231017 of ltp, kirkstone has an older 20220121 version:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/ltp

So you'd need to overlay ltp 20231017 here:

https://git.yoctoproject.org/meta-arago/tree/meta-arago-extras/recipes-extended/ltp

3. Once the upgrade is done, you can remove the old overlayed 20200120 and 20210524 versions of ltp

Quoted 26 lines · Ryan Eatmon via lists.yoctoproject.org

From: LCPD Automation Script <[email protected]>

As part of the initial LTS migration, move to the latest commits for the various repos.
- ltp-ddt_20230127

Going forward all updates will come from the CICD flow.

---
  meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb +1 -1
index d56c5b7b..c14ddba7 100644
@@ -14,7 +14,7 @@ PE = "1"
  PR = "r7"
  PV:append = "+git${SRCPV}"
-SRCREV = "7f2fc4b7c972f2f188836c739a7175fad2f2b288"
+SRCREV = "41e97da730b9064d9fc5337afb515a8b6f752099"
  BRANCH ?= "master"
  SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https"
Signature · 1 line
2.17.1
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#6 lore raw

Thanks! The repost is very helpful.

I guess what threw me off is that meta-ti pieces were already merged, but not enabled by default. While meta-arago changes were still missing (kept in wip) instead of doing the same as meta-ti...

Quoted 67 lines · Ryan Eatmon

I can do that. I'll resend a new series with a cover letter.

Quoted 62 lines · Denys Dmytriyenko
Quoted 7 lines · Ryan Eatmon
Quoted 3 lines · Denys Dmytriyenko

1. There's no 20231017 version of ltp-ddt in meta-arago:

https://git.yoctoproject.org/meta-arago/tree/meta-arago-extras/recipes-devtools/ltp-ddt

Quoted 8 lines

There is on wip/next which after a forced CICD is about to make it visiable to kirkstone.

All of these patches build on previous patches that are "Under Review" on the next branches.

I'm just sending out the patches so that as soon as CICD promotes it all I can get the patches applied to master as well.

Right. I wonder if those need to be re-sent again, since it's been a long time they came across. Or maybe post links here to corresponding base commits on wip branch for a refresher?

Quoted 40 lines
Quoted 40 lines

2. ltp-ddt is based on upstream ltp - while OE-Core/master has version 20231017 of ltp, kirkstone has an older 20220121 version:

https://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/ltp

So you'd need to overlay ltp 20231017 here:

https://git.yoctoproject.org/meta-arago/tree/meta-arago-extras/recipes-extended/ltp

3. Once the upgrade is done, you can remove the old overlayed 20200120 and 20210524 versions of ltp

Quoted 26 lines · Ryan Eatmon via lists.yoctoproject.org

From: LCPD Automation Script <[email protected]>

As part of the initial LTS migration, move to the latest commits for the various repos.
- ltp-ddt_20230127

Going forward all updates will come from the CICD flow.

---
 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20230127.bb +1 -1
index d56c5b7b..c14ddba7 100644
@@ -14,7 +14,7 @@ PE = "1"
 PR = "r7"
 PV:append = "+git${SRCPV}"
-SRCREV = "7f2fc4b7c972f2f188836c739a7175fad2f2b288"
+SRCREV = "41e97da730b9064d9fc5337afb515a8b6f752099"
 BRANCH ?= "master"
 SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https"
Signature · 1 line
2.17.1