| Summary: | AB-INT PTEST: tcl ptest failure: in socket.test | ||
|---|---|---|---|
| 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: | alexandre.belloni, randy.macleod, tgamblin |
| Version: | unspecified | ||
| Target Milestone: | 6.0 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-05-27 08:31:12 UTC
Tests began at Sat May 25 01:49:36 BST 2024 socket.test ==== socket_inet6-2.13 Bug 1758a0b603 FAILED ==== Contents of test case: file delete $path(script) set f [open $path(script) w] puts $f { set server [socket -server accept 0] puts [lindex [chan configure $server -sockname] 2] proc accept { client host port } { chan configure $client -blocking 0 -buffering line -buffersize 1 puts $client [string repeat . 720000] puts ready chan event $client writable [list setup $client] } proc setup client { chan event $client writable {set forever write} after 5 {set forever timeout} } vwait forever puts $forever } close $f set pipe [open |[list [interpreter] $path(script)] r] gets $pipe port set sock [socket $localhost $port] chan configure $sock -blocking 0 -buffering line chan event $sock readable [list read_lines $sock $pipe ] proc read_lines { sock pipe } { gets $pipe gets $sock line after idle [list stop $sock $pipe] chan event $sock readable {} } proc stop {sock pipe} { variable done close $sock set done [gets $pipe] } variable done vwait [namespace which -variable done] close $pipe set done ---- Result was: timeout ---- Result should have been (exact matching): write ==== socket_inet6-2.13 FAILED Tests ended at Sat May 25 01:49:41 BST 2024 all.tcl: Total 173 Passed 60 Skipped 112 Failed 1 Sourced 1 Test Files. Files with failing tests: socket.test Number of tests skipped for each constraint: 2 notRoot 5 thread FAIL: socket.test Welcome back Ross! Can you take a look at this? https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6814/steps/12/logs/stdio qemux86-64-ptest debian12-ty-1 Closing as we've not seen this for half a year. https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/2648/steps/13/logs/stdio Failed ptests:{'tcl': ['socket.test']} qemuarm64-ptest ubuntu2204-vk-arm2 Reopening. qemux86-64-ptest debian12-vk-4 mathieu/master-next completed at 2025-12-28 08:15:46+00:00 https://valkyrie.yocto.io/pub/non-release/20251228-42/testresults/qemux86-64-ptest/ https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/2831/steps/13/logs/stdio Another patch sent: Subject: [PATCH 2/2] tcl: skip all socket tests Fixed in oe-core d17afaf34dd26319bc9e29b54c863d51d0694569. |