diff mbox series

[v1] libpng: ptest: disable for riscv64 due to timeout

Message ID 20260803093344.15211-1-pratik.farkase@est.tech
State New
Headers show
Series [v1] libpng: ptest: disable for riscv64 due to timeout | expand

Commit Message

Pratik Farkase Aug. 3, 2026, 9:33 a.m. UTC
The libpng ptest suite consistently times out on qemuriscv64 due to
the emulated target being too slow to complete all tests within the
ptest-runner timeout. All individual tests pass but the full suite
does not finish in time.

[YOCTO #16215] : https://bugzilla.yoctoproject.org/show_bug.cgi?id=16215

Signed-off-by: Pratik Farkase <pratik.farkase@est.tech>
---
 meta/conf/distro/include/ptest-packagelists.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Richard Purdie Aug. 3, 2026, 10:18 a.m. UTC | #1
On Mon, 2026-08-03 at 11:33 +0200, Pratik Farkase via lists.openembedded.org wrote:
> The libpng ptest suite consistently times out on qemuriscv64 due to
> the emulated target being too slow to complete all tests within the
> ptest-runner timeout. All individual tests pass but the full suite
> does not finish in time.
> 
> [YOCTO #16215] : https://bugzilla.yoctoproject.org/show_bug.cgi?id=16215
> 
> Signed-off-by: Pratik Farkase <pratik.farkase@est.tech>
> ---
>  meta/conf/distro/include/ptest-packagelists.inc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

When you say "does not finish in time", where is the timeout occurring
exactly?

Do the libpng tests emit output as they go, so each test should reset
the timeout in ptest?

Or are the individual tests really so slow that they don't emit any
output within ptest's timeout?

We did have an issue a while back there the output wasn't being flushed
periodically and once we did that, we stopped hitting the timeouts,
hence the questions.

I'd just like to understand where the issue is before we disable it
entirely. A comment about why it was disabled might also be helpful if
we do ever come to revisit this.

Cheers,

Richard
diff mbox series

Patch

diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc
index 453fb87c17..ffeb322bf2 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -160,8 +160,8 @@  PTESTS_PROBLEMS:append:riscv32 = " lttng-tools strace"
 PTESTS_SLOW:append:libc-musl = " libc-test"
 
 # These tests don't yet pass for riscv64
-PTESTS_SLOW:remove:riscv64 = "tcl tcl8 python3-cffi strace lttng-tools python3-numpy perl glib-2.0"
-PTESTS_PROBLEMS:append:riscv64 = " tcl tcl8 python3-cffi strace lttng-tools python3-numpy perl glib-2.0"
+PTESTS_SLOW:remove:riscv64 = "tcl tcl8 python3-cffi strace lttng-tools python3-numpy perl glib-2.0 libpng"
+PTESTS_PROBLEMS:append:riscv64 = " tcl tcl8 python3-cffi strace lttng-tools python3-numpy perl glib-2.0 libpng"
 
 # These tests don't yet pass for musl qemuarm64
 PTESTS_SLOW:remove:libc-musl:qemuarm64 = "strace perl gnutls glib-2.0"