Bug 14488

Summary: AB-INT PTEST: tcl socket.test intermittent failure
Product: [QA/Testing] Package Testing (ptest) Reporter: Alexandre Belloni <alexandre.belloni>
Component: ptestAssignee: Ross Burton <ross.burton>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: alexandre.belloni, flowergom, jay.shen.teoh, randy.macleod
Version: 3.4   
Target Milestone: 4.0   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandre Belloni 2021-07-22 12:49:35 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2284/steps/12/logs/stdio

qemux86-64-ptest tumbleweed-ty-3

{'tcl': ['socket.test']}
Comment 1 Ross Burton 2021-07-22 14:49:22 UTC
==== socket-14.12 [socket -async] background progress triggered by [fconfigure -error] FAILED
==== Contents of test case:

    set s [socket -async localhost [randport]]
    for {set i 0} {$i < 50} {incr i} {
        set x [fconfigure $s -error]
        if {$x != ""} break
        after 200
    }
    set x

---- Result was:

---- Result should have been (exact matching):
connection refused
==== socket-14.12 FAILED
Comment 2 Ross Burton 2021-07-22 17:17:32 UTC
Filed upstream in an attempt to get some interest:

https://core.tcl-lang.org/tcl/tktview?name=3b00b2198d
Comment 3 Teoh Jay Shen 2021-08-06 03:06:12 UTC
FYI, this ptest failure also observed in yocto-3.1.10.rc1 release.
Comment 4 Alexandre Belloni 2021-08-11 10:35:37 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2325/steps/12/logs/stdio

qemux86-64-ptest fedora31-ty-1
Comment 5 Alexandre Belloni 2021-08-30 11:28:28 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2396/steps/12/logs/stdio

qemux86-64-ptest debian10-ty-2
Comment 6 Teoh Jay Shen 2021-09-22 08:49:51 UTC
This ptest is passing in yocto-3.1.11.rc2 release
Comment 7 Richard Purdie 2021-11-18 15:57:51 UTC
*** Bug 14633 has been marked as a duplicate of this bug. ***
Comment 9 Randy MacLeod 2022-04-14 15:09:30 UTC
Could be that it's not happening since we reduced the load average but not happening now.