Bug 14488 - AB-INT PTEST: tcl socket.test intermittent failure
Summary: AB-INT PTEST: tcl socket.test intermittent failure
Status: RESOLVED WORKSFORME
Alias: None
Product: Package Testing (ptest)
Classification: QA/Testing
Component: ptest (show other bugs)
Version: 3.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 4.0
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard: AB-INT
: 14633 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-07-22 12:49 UTC by Alexandre Belloni
Modified: 2022-04-14 15:09 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.