All of lore.kernel.org
 help / color / mirror / Atom feed
* [isar-cip-core][PATCH] recipes-core: ltp: add python3 and jq runtime dependencies
@ 2026-08-13 12:51 Gourav Singh
  2026-08-13 14:15 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Gourav Singh @ 2026-08-13 12:51 UTC (permalink / raw)
  To: cip-dev; +Cc: jan.kiszka, Gourav Singh

Ensure ltp-full runtime includes tools needed by the bundled kirk runner
and report parsing/inspection workflow.

- python3: required to execute /opt/ltp/kirk.
- jq: required for parsing/inspection of JSON reports produced by kirk.

This avoids manual package installation on targets and makes LTP/kirk usage
reproducible.

Debian buster compatibility is preserved: buster provides Python 3.7, while
kirk requires Python >= 3.6.

Signed-off-by: Gourav Singh <gouravsingh@siemens.com>
---
 recipes-core/ltp/files/debian/control.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/ltp/files/debian/control.tmpl b/recipes-core/ltp/files/debian/control.tmpl
index a7d0087..039c6d0 100644
--- a/recipes-core/ltp/files/debian/control.tmpl
+++ b/recipes-core/ltp/files/debian/control.tmpl
@@ -11,7 +11,7 @@ Homepage: https://linux-test-project.github.io/

 Package: ltp-full
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, python3, jq
 Description: A collection of tools for testing the Linux kernel
  The Linux Test Project is a joint project started by SGI,
  developed and maintained by IBM, Cisco, Fujitsu, SUSE,
--
2.39.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [isar-cip-core][PATCH] recipes-core: ltp: add python3 and jq runtime dependencies
  2026-08-13 12:51 [isar-cip-core][PATCH] recipes-core: ltp: add python3 and jq runtime dependencies Gourav Singh
@ 2026-08-13 14:15 ` Jan Kiszka
  2026-08-13 17:44     ` Gourav Singh
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2026-08-13 14:15 UTC (permalink / raw)
  To: Gourav Singh, cip-dev

On 13.08.26 14:51, Gourav Singh wrote:
> Ensure ltp-full runtime includes tools needed by the bundled kirk runner
> and report parsing/inspection workflow.
> 
> - python3: required to execute /opt/ltp/kirk.
> - jq: required for parsing/inspection of JSON reports produced by kirk.
> 
> This avoids manual package installation on targets and makes LTP/kirk usage
> reproducible.
> 
> Debian buster compatibility is preserved: buster provides Python 3.7, while
> kirk requires Python >= 3.6.
> 
> Signed-off-by: Gourav Singh <gouravsingh@siemens.com>
> ---
>  recipes-core/ltp/files/debian/control.tmpl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-core/ltp/files/debian/control.tmpl b/recipes-core/ltp/files/debian/control.tmpl
> index a7d0087..039c6d0 100644
> --- a/recipes-core/ltp/files/debian/control.tmpl
> +++ b/recipes-core/ltp/files/debian/control.tmpl
> @@ -11,7 +11,7 @@ Homepage: https://linux-test-project.github.io/
> 
>  Package: ltp-full
>  Architecture: any
> -Depends: ${shlibs:Depends}, ${misc:Depends}
> +Depends: ${shlibs:Depends}, ${misc:Depends}, python3, jq
>  Description: A collection of tools for testing the Linux kernel
>   The Linux Test Project is a joint project started by SGI,
>   developed and maintained by IBM, Cisco, Fujitsu, SUSE,
> --
> 2.39.5
> 

Is that a longer pending issue or a fix for [1]?

Jan

PS: [1] still didn't make it to the list. Please check your submission 
settings and error logs. I received it because I was on CC.

[1] https://lore.kernel.org/cip-dev/0f8dfe37-8856-4895-8cef-b40342339c66@siemens.com/

-- 
Siemens AG, Foundational Technologies
Linux Expert Center


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [isar-cip-core][PATCH] recipes-core: ltp: add python3 and jq runtime dependencies
@ 2026-08-13 17:44     ` Gourav Singh
  0 siblings, 0 replies; 4+ messages in thread
From: Gourav Singh @ 2026-08-13 17:44 UTC (permalink / raw)
  To: cip-dev

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

Hi Jan,

Thanks for the review.

This is not a long-pending generic issue.

With the latest LTP version (20260529), runltp is deprecated and the recommended LTP runner is kirk [1]. Since kirk is Python-based, python3 is required to execute it. jq is needed for parsing/inspection of JSON reports produced by kirk, so this patch adds both as runtime dependencies.
[1]: Release LTP 20260529 · linux-test-project/ltp ( https://github.com/linux-test-project/ltp/releases/tag/20260529 )

Also, thanks for pointing out the list delivery issue. I’ll check my send-email setup/logs and resend so it properly reaches cip-dev.

Best regards,

[-- Attachment #2: Type: text/html, Size: 728 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [isar-cip-core][PATCH] recipes-core: ltp: add python3 and jq runtime dependencies
@ 2026-08-13 17:44     ` Gourav Singh
  0 siblings, 0 replies; 4+ messages in thread
From: Gourav Singh @ 2026-08-13 17:44 UTC (permalink / raw)
  To: cip-dev

[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

Hi Jan,

Thanks for the review.

This is not a long-pending generic issue.

With the latest LTP version (20260529), runltp is deprecated and the recommended LTP runner is kirk [1]. Since kirk is Python-based, python3 is required to execute it. jq is needed for parsing/inspection of JSON reports produced by kirk, so this patch adds both as runtime dependencies.
[1]: Release LTP 20260529 · linux-test-project/ltp ( https://github.com/linux-test-project/ltp/releases/tag/20260529 )

Also, thanks for pointing out the list delivery issue. I’ll check my send-email setup/logs and resend so it properly reaches cip-dev.

Best regards,
Gourav

[-- Attachment #2: Type: text/html, Size: 787 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-16  7:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-13 12:51 [isar-cip-core][PATCH] recipes-core: ltp: add python3 and jq runtime dependencies Gourav Singh
2026-08-13 14:15 ` Jan Kiszka
2026-08-13 17:44   ` Gourav Singh
2026-08-13 17:44     ` Gourav Singh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.