Bug 16309

Summary: [scarthgap] AB-INT PTEST: lttng-tools ptest timeout
Product: [QA/Testing] Package Testing (ptest) Reporter: Yoann Congal <yoann.congal>
Component: ptestAssignee: Yoann Congal <yoann.congal>
Status: ACCEPTED --- QA Contact:
Severity: normal    
Priority: Medium CC: randy.macleod, yoann.congal
Version: 5.0.22   
Target Milestone: 6.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Yoann Congal 2026-06-10 08:55:21 UTC
qemux86-64-ptest stream9-vk-1 scarthgap completed at 2026-06-09 19:20:29+00:00
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/73/builds/3798

log extract:
  PASS: tools/clear/test_kernel 181 - Destroy session 4zbF6BOcpOP9h5Xy
  PASS: tools/clear/test_kernel 182 - Create session HLKiRwZrjEYpSLpP with uri:net://localhost and opts:
  PASS: tools/clear/test_kernel 183 - Enable channel rotchan for session HLKiRwZ[    0.000000] Linux version 6.6.127-yocto-standard (oe-user@oe-host) (x86_64-poky-linux-gcc (GCC) 13.4.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT_DYNAMIC Mon Feb 23 05:02:41 UTC 2026
  [    0.000000] Command line: root=/dev/vda rw  ip=192.168.7.44::192.168.7.43:255.255.255.0::eth0:off:8.8.8.8 net.ifnames=0 console=ttyS0 console=ttyS1 oprofile.timer=1 tsc=reliable no_timer_check rcupdate.rcu_expedited=1 swiotlb=0  printk.time=1
  [    0.000000] BIOS-provided physical RAM map:

Old (7+ years) related bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13255

Semi related note: backporting https://git.yoctoproject.org/ptest-runner2/commit/?id=d40431e51a9497189dccbff06d501276fa7d02be to scarthgap might help identify these.
Comment 1 Randy MacLeod 2026-06-11 14:42:24 UTC
Timing related or 
scarthgap is missing the console flushing "stuff"

Yoann to check.
Comment 2 Yoann Congal 2026-06-11 14:45:59 UTC
Console flushing "stuff" is:
* utils: Ensure output buffers are always line based - ptest-runner2 - A program to run Yocto/OE ptests
  https://git.yoctoproject.org/ptest-runner2/commit/?id=afe64efbb3f028e898fa9a5efcdc3010ebdf283c
* main.c: Set PYTHONUNBUFFERED in the environment - ptest-runner2 - A program to run Yocto/OE ptests
  https://git.yoctoproject.org/ptest-runner2/commit/?id=4a8661eb7af6f7d97dc769296e96a68327e30bd7

Either backport those or upgrade ptest-runner2 above