| Summary: | AB-INT PTEST: tcl io.test test failure | ||
|---|---|---|---|
| Product: | [QA/Testing] Package Testing (ptest) | Reporter: | João Marcos Costa <joaomarcos.costa> |
| Component: | ptest | Assignee: | Ross Burton <ross.burton> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | randy.macleod |
| Version: | unspecified | ||
| Target Milestone: | 5.2 M1 | ||
| 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
2024-02-22 13:53:53 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6145/steps/13/logs/stdio qemuarm64-ptest ubuntu1804-arm-1 ==== io-46.1 Tcl event loop vs multiple interpreters FAILED . Patch on the list. Fixed with 1617b98491c5293567674e4b9c49c2017fb5c8b2. Reopening, since it happened again. This time for 'io-13.6' rather than 'io-46.1' (fixed by Ross's patch). https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6833/steps/13/logs/stdio qemuarm64-ptest ubuntu1804-arm-1 ==== io-13.6 TranslateInputEOL: auto mode: saw cr in last segment FAILED ==== Contents of test case: # (chanPtr->flags & INPUT_SAW_CR) # This test may fail on slower machines. set f [open "|[list [interpreter] $path(cat)]" w+] fconfigure $f -blocking 0 -buffering none -translation {auto lf} fileevent $f read [namespace code "ready $f"] proc ready {f} { variable x lappend x [read $f] [testchannel queuedcr $f] } variable x {} variable y {} puts -nonewline $f "abcdefghj\r" after 500 [namespace code {set y ok}] vwait [namespace which -variable y] puts -nonewline $f "\n01234" after 500 [namespace code {set y ok}] vwait [namespace which -variable y] close $f set x ---- Result was: {abcdefghj 01234} 0 ---- Result should have been (exact matching): {abcdefghj } 1 01234 0 ==== io-13.6 FAILED Tests ended at Thu Sep 19 13:26:30 BST 2024 all.tcl: Total 830 Passed 815 Skipped 14 Failed 1 Sourced 1 Test Files. Files with failing tests: io.test Number of tests skipped for each constraint: 8 emptyTest 2 nonPortable 1 thread 2 win FAIL: io.test Ross Accepted this. Another patch on the list. Fixed with oe-core f69183586655294c9aed6687cebe57767c2f3eb8. |