Bug 16324

Summary: AB-INT PTEST: tcl8 ptest failure: tests/timer.test
Product: [QA/Testing] Package Testing (ptest) Reporter: João Marcos Costa <joaomarcos.costa>
Component: ptestAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: mathieu.dubois-briand, randy.macleod, richard.purdie, ross.burton, tim.orling
Version: unspecified   
Target Milestone: 6.1   
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-06-18 11:02:20 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/3818/steps/14/logs/stdio

Failed ptests:
{'tcl8': ['tests/timer.test']}

qemux86-64-ptest alma8-vk-2

---
Only running test files that match:  timer.test
Tests began at Fri Jun 12 02:15:12 +0000 2026
timer.test


==== timer-6.29 Tcl_AfterCmd procedure, info option, script with NUL FAILED
==== Contents of test case:

    set x "hello world"
    set id junk
    set id [after 10 set x ab\0cd]
    update
    string length [lindex [lindex [after info $id] 0] 2]

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: event "after#62" doesn't exist
    while executing
"after info $id"
    ("uplevel" body line 6)
    invoked from within
"uplevel 1 $script"
---- errorCode: TCL LOOKUP EVENT after#62
==== timer-6.29 FAILED


Tests ended at Fri Jun 12 02:15:18 +0000 2026
all.tcl:	Total	54	Passed	53	Skipped	0	Failed	1
Sourced 1 Test Files.
Files with failing tests: timer.test
FAIL: tests/timer.test
---

Full logs at:
https://valkyrie.yocto.io/pub/non-release/20260612-10/testresults/qemux86-64-ptest/tcl8.log
Comment 1 Ross Burton 2026-06-18 16:52:29 UTC
Posted [PATCH] tcl: disable the timer tests in run-ptest.
Comment 3 João Marcos Costa 2026-08-26 10:01:08 UTC
Maybe we should do the same for this one as well?

https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/994/steps/15/logs/stdio

Failed ptests:
{'tcl8': ['tests/clock.test']}

qemux86-64-musl-ptest debian12-vk-4
Comment 4 Ross Burton 2026-10-02 11:45:28 UTC
Sent "[PATCH] tcl: skip timing-sensitive clock tests" to skip that entire category.