Bug 16478

Summary: AB-INT PTEST RISCV64: strace ptest failure in ptrace-y.gen.test, ptrace-y.gen
Product: [QA/Testing] Package Testing (ptest) Reporter: João Marcos Costa <joaomarcos.costa>
Component: ptestAssignee: Unassigned <unassigned>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Undecided CC: mathieu.dubois-briand, paul, richard.purdie
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description João Marcos Costa 2026-10-30 09:11:33 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/2698/steps/15/logs/stdio

Failed ptests:
{'strace': ['ptrace-y.gen.test', 'ptrace-y.gen']}

qemuriscv64-ptest debian12-vk-9

"""
FAIL: ptrace-y.gen
==================

../../src/strace: umoven: short read (1 < 16) @0x3fad02afff
../../src/strace: umoven: short read (1 < 16) @0x3fad02afff
../../src/strace: umoven: short read (2 < 16) @0x3fad02affe
../../src/strace: umoven: short read (2 < 16) @0x3fad02affe
../../src/strace: umoven: short read (3 < 16) @0x3fad02affd
../../src/strace: umoven: short read (3 < 16) @0x3fad02affd
../../src/strace: umoven: short read (4 < 16) @0x3fad02affc
../../src/strace: umoven: short read (4 < 16) @0x3fad02affc
../../src/strace: umoven: short read (5 < 16) @0x3fad02affb
../../src/strace: umoven: short read (5 < 16) @0x3fad02affb
../../src/strace: umoven: short read (6 < 16) @0x3fad02affa
../../src/strace: umoven: short read (6 < 16) @0x3fad02affa
../../src/strace: umoven: short read (7 < 16) @0x3fad02aff9
../../src/strace: umoven: short read (7 < 16) @0x3fad02aff9
../../src/strace: umoven: short read (8 < 16) @0x3fad02aff8
../../src/strace: umoven: short read (8 < 16) @0x3fad02aff8
../../src/strace: umoven: short read (9 < 16) @0x3fad02aff7
../../src/strace: umoven: short read (9 < 16) @0x3fad02aff7
../../src/strace: umoven: short read (10 < 16) @0x3fad02aff6
../../src/strace: umoven: short read (10 < 16) @0x3fad02aff6
../../src/strace: umoven: short read (11 < 16) @0x3fad02aff5
../../src/strace: umoven: short read (11 < 16) @0x3fad02aff5
../../src/strace: umoven: short read (12 < 16) @0x3fad02aff4
../../src/strace: umoven: short read (12 < 16) @0x3fad02aff4
../../src/strace: umoven: short read (13 < 16) @0x3fad02aff3
../../src/strace: umoven: short read (13 < 16) @0x3fad02aff3
../../src/strace: umoven: short read (14 < 16) @0x3fad02aff2
../../src/strace: umoven: short read (14 < 16) @0x3fad02aff2
../../src/strace: umoven: short read (15 < 16) @0x3fad02aff1
../../src/strace: umoven: short read (15 < 16) @0x3fad02aff1
--- exp
+++ out
@@ -64,7 +64,7 @@
 ptrace(PTRACE_SEIZE, 18237, 0xdeadbeeffffffeed, PTRACE_O_TRACESYSGOOD) = -1 EIO (Input/output error)
 ptrace(PTRACE_PEEKSIGINFO, 18237, NULL, 0xdeadbeeffffffeed) = -1 ESRCH (No such process)
 ptrace(PTRACE_PEEKSIGINFO, 18237, {off=16045690985305276141, flags=PTRACE_PEEKSIGINFO_SHARED, nr=42}, 0xdeadbeeffffffeed) = -1 ESRCH (No such process)
-ptrace(PTRACE_PEEKSIGINFO, 18241, {off=0, flags=0, nr=4}, [{si_signo=SIGUSR1, si_code=SI_TKILL, si_pid=18241, si_uid=0}, {si_signo=SIGUSR2, si_code=SI_TKILL, si_pid=18241, si_uid=0}, {si_signo=SIGALRM, si_code=SI_TKILL, si_pid=18241, si_uid=0}]) = 1
+ptrace(PTRACE_PEEKSIGINFO, 18241, {off=0, flags=0, nr=4}, [{si_signo=SIGUSR1, si_code=SI_TKILL, si_pid=18241, si_uid=0}]) = 1
 ptrace(PTRACE_CONT, 18241, NULL, 0) = 0
 ptrace(PTRACE_GETREGSET, 18237, NT_PRSTATUS, {iov_base=0x3fad02b000, iov_len=8}) = -1 ESRCH (No such process)
 ptrace(PTRACE_SETREGSET, 18237, NT_PRPSINFO, {iov_base=0x3fad02b000, iov_len=8}) = -1 ESRCH (No such process)
ptrace-y.gen.test: failed test: ../../src/strace -a23 -s64 -y -e signal=none -e trace=ptrace ../ptrace-y output mismatch
FAIL ptrace-y.gen.test (exit status: 1)
"""

Full logs at: https://valkyrie.yocto.io/pub/non-release/20261030-8/testresults/qemuriscv64-ptest/strace.log