Skip to contentSkip to conversation

ti-test: Add rng-tools

PATCH In review Judith Mendez 4 participants 6 messages Dec 5, 2024 – Dec 6, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-test: Add rng-tools

Add rng-tools to the ti-test tool list.

RNG testcases are failing since they require
rngtest, so add rng-tools to ti-test only.

---
This patch has been previously sent and merged to scarthgap branch, but is also required for kirkstone

---
 meta-arago-test/recipes-core/packagegroups/ti-test.bb | 1 +
 1 file changed, 1 insertion(+)
meta-arago-test/recipes-core/packagegroups/ti-test.bb +1 -0
index a80b943b..85398eaf 100644
@@ -44,6 +44,7 @@ TI_TEST_BASE = "\
     powertop \
     procps \
     pulseaudio-misc \
+    rng-tools \
     rt-tests \
     rwmem \
     smcroute \
Signature · 1 line
2.46.0
#1 lore raw

rng-tools were removed back in 2023:
https://git.yoctoproject.org/meta-arago/commit/?id=dc19fed1b898cf5abdf50fa04dda7b1d9afd22ca

and added back last September to master and scarthgap:
https://git.yoctoproject.org/meta-arago/commit/?id=662a5119446e7d47094a68efe8b775b3dda2b4e8

I see you are trying to backport that to kirkstone, even though the subject states master...

Anyway, based on Randolph's comments for the removal, rngd was deprecated and is no longer needed - should testcases be adjusted for the removal of rng-tools?

Quoted 27 lines · Judith via lists.yoctoproject.org

Add rng-tools to the ti-test tool list.

RNG testcases are failing since they require
rngtest, so add rng-tools to ti-test only.

---
This patch has been previously sent and merged to scarthgap branch, but is also required for kirkstone

---
 meta-arago-test/recipes-core/packagegroups/ti-test.bb | 1 +
 1 file changed, 1 insertion(+)
meta-arago-test/recipes-core/packagegroups/ti-test.bb +1 -0
index a80b943b..85398eaf 100644
@@ -44,6 +44,7 @@ TI_TEST_BASE = "\
     powertop \
     procps \
     pulseaudio-misc \
+    rng-tools \
     rt-tests \
     rwmem \
     smcroute \
Signature · 1 line
2.46.0
#2 lore raw
Quoted 8 lines · Denys Dmytriyenko

rng-tools were removed back in 2023:
https://git.yoctoproject.org/meta-arago/commit/?id=dc19fed1b898cf5abdf50fa04dda7b1d9afd22ca

and added back last September to master and scarthgap:
https://git.yoctoproject.org/meta-arago/commit/?id=662a5119446e7d47094a68efe8b775b3dda2b4e8

I see you are trying to backport that to kirkstone, even though the subject states master...

Yeah, noticed the tags were a bit off.

Quoted 3 lines

Anyway, based on Randolph's comments for the removal, rngd was deprecated and is no longer needed - should testcases be adjusted for the removal of rng-tools?

I did have a conversation with Judith about this. While I still believe the rng-tools service is deprecated and does nothing more than hinder general usage, the package itself actually has some useful tools for testing hardware RNG devices. I wasn't able to find any similar tools to replace them in my brief search.

Quoted 28 lines · Judith via lists.yoctoproject.org
Quoted 27 lines

Add rng-tools to the ti-test tool list.

RNG testcases are failing since they require
rngtest, so add rng-tools to ti-test only.

---
This patch has been previously sent and merged to scarthgap branch, but is also required for kirkstone

---
 meta-arago-test/recipes-core/packagegroups/ti-test.bb | 1 +
 1 file changed, 1 insertion(+)
meta-arago-test/recipes-core/packagegroups/ti-test.bb +1 -0
index a80b943b..85398eaf 100644
@@ -44,6 +44,7 @@ TI_TEST_BASE = "\
     powertop \
     procps \
     pulseaudio-misc \
+    rng-tools \
     rt-tests \
     rwmem \
     smcroute \
Signature · 1 line
2.46.0
#3 lore raw
Quoted 16 lines · Randolph Sapp
Quoted 8 lines · Denys Dmytriyenko

rng-tools were removed back in 2023:
https://git.yoctoproject.org/meta-arago/commit/?id=dc19fed1b898cf5abdf50fa04dda7b1d9afd22ca

and added back last September to master and scarthgap:
https://git.yoctoproject.org/meta-arago/commit/?id=662a5119446e7d47094a68efe8b775b3dda2b4e8

I see you are trying to backport that to kirkstone, even though the subject states master...

Yeah, noticed the tags were a bit off.

Quoted 3 lines

Anyway, based on Randolph's comments for the removal, rngd was deprecated and is no longer needed - should testcases be adjusted for the removal of rng-tools?

Quoted 5 lines

I did have a conversation with Judith about this. While I still believe the rng-tools service is deprecated and does nothing more than hinder general usage, the package itself actually has some useful tools for testing hardware RNG devices. I wasn't able to find any similar tools to replace them in my brief search.

Do we need to add something to a bbappend to disable the service while still getting the tools? I haven't looked at the recipe, I'm just asking a general question.

Quoted 29 lines
Quoted 28 lines · Judith via lists.yoctoproject.org
Quoted 27 lines

Add rng-tools to the ti-test tool list.

RNG testcases are failing since they require
rngtest, so add rng-tools to ti-test only.

---
This patch has been previously sent and merged to scarthgap branch, but is also required for kirkstone

---
  meta-arago-test/recipes-core/packagegroups/ti-test.bb | 1 +
  1 file changed, 1 insertion(+)
meta-arago-test/recipes-core/packagegroups/ti-test.bb +1 -0
index a80b943b..85398eaf 100644
@@ -44,6 +44,7 @@ TI_TEST_BASE = "\
      powertop \
      procps \
      pulseaudio-misc \
+    rng-tools \
      rt-tests \
      rwmem \
      smcroute \
Signature · 1 line
2.46.0
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#4 lore raw
Quoted 25 lines · Ryan Eatmon
Quoted 16 lines · Randolph Sapp
Quoted 8 lines · Denys Dmytriyenko

rng-tools were removed back in 2023:
https://git.yoctoproject.org/meta-arago/commit/?id=dc19fed1b898cf5abdf50fa04dda7b1d9afd22ca

and added back last September to master and scarthgap:
https://git.yoctoproject.org/meta-arago/commit/?id=662a5119446e7d47094a68efe8b775b3dda2b4e8

I see you are trying to backport that to kirkstone, even though the subject states master...

Yeah, noticed the tags were a bit off.

Quoted 3 lines

Anyway, based on Randolph's comments for the removal, rngd was deprecated and is no longer needed - should testcases be adjusted for the removal of rng-tools?

Quoted 5 lines

I did have a conversation with Judith about this. While I still believe the rng-tools service is deprecated and does nothing more than hinder general usage, the package itself actually has some useful tools for testing hardware RNG devices. I wasn't able to find any similar tools to replace them in my brief search.

Quoted 3 lines

Do we need to add something to a bbappend to disable the service while still getting the tools? I haven't looked at the recipe, I'm just asking a general question.

Nah, previously we were going out of our way to enable it. If I remember corectly it's disabled by default.

Quoted 29 lines
Quoted 29 lines
Quoted 28 lines · Judith via lists.yoctoproject.org
Quoted 27 lines

Add rng-tools to the ti-test tool list.

RNG testcases are failing since they require
rngtest, so add rng-tools to ti-test only.

---
This patch has been previously sent and merged to scarthgap branch, but is also required for kirkstone

---
  meta-arago-test/recipes-core/packagegroups/ti-test.bb | 1 +
  1 file changed, 1 insertion(+)
meta-arago-test/recipes-core/packagegroups/ti-test.bb +1 -0
index a80b943b..85398eaf 100644
@@ -44,6 +44,7 @@ TI_TEST_BASE = "\
      powertop \
      procps \
      pulseaudio-misc \
+    rng-tools \
      rt-tests \
      rwmem \
      smcroute \
Signature · 1 line
2.46.0
#5 lore raw
In reply to Randolph Sapp

Hi Randolph, Denys,

Quoted 11 lines · Randolph Sapp
Quoted 8 lines · Denys Dmytriyenko

rng-tools were removed back in 2023:
https://git.yoctoproject.org/meta-arago/commit/?id=dc19fed1b898cf5abdf50fa04dda7b1d9afd22ca

and added back last September to master and scarthgap:
https://git.yoctoproject.org/meta-arago/commit/?id=662a5119446e7d47094a68efe8b775b3dda2b4e8

I see you are trying to backport that to kirkstone, even though the subject states master...

Yeah, noticed the tags were a bit off.

Sorry about that, this patch is supposed to be for kirkstone only.

Quoted 10 lines
Quoted 4 lines

Anyway, based on Randolph's comments for the removal, rngd was deprecated and is no longer needed - should testcases be adjusted for the removal of rng-tools?

I did have a conversation with Judith about this. While I still believe the rng-tools service is deprecated and does nothing more than hinder general usage, the package itself actually has some useful tools for testing hardware RNG devices. I wasn't able to find any similar tools to replace them in my brief search.

Right, and since we added for scarthgap, could we also do the same for kirkstone branch?

~ Judith

Quoted 30 lines
Quoted 29 lines · Judith via lists.yoctoproject.org
Quoted 27 lines

Add rng-tools to the ti-test tool list.

RNG testcases are failing since they require
rngtest, so add rng-tools to ti-test only.

---
This patch has been previously sent and merged to scarthgap branch, but is also required for kirkstone

---
  meta-arago-test/recipes-core/packagegroups/ti-test.bb | 1 +
  1 file changed, 1 insertion(+)
meta-arago-test/recipes-core/packagegroups/ti-test.bb +1 -0
index a80b943b..85398eaf 100644
@@ -44,6 +44,7 @@ TI_TEST_BASE = "\
      powertop \
      procps \
      pulseaudio-misc \
+    rng-tools \
      rt-tests \
      rwmem \
      smcroute \
Signature · 1 line
2.46.0