<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15495</bug_id>
          
          <creation_ts>2024-05-27 08:31:12 +0000</creation_ts>
          <short_desc>AB-INT PTEST: tcl ptest failure: in socket.test</short_desc>
          <delta_ts>2026-01-15 16:10:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Package Testing (ptest)</product>
          <component>ptest</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="João Marcos Costa">joaomarcos.costa</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>tgamblin</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>99091</commentid>
    <comment_count>0</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2024-05-27 08:31:12 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6454/steps/13/logs/stdio

AssertionError: 
Failed ptests:
{&apos;tcl&apos;: [&apos;socket.test&apos;]}

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99099</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2024-05-30 14:34:47 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99103</commentid>
    <comment_count>2</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2024-05-30 14:41:22 +0000</bug_when>
    <thetext>Welcome back Ross! Can you take a look at this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99417</commentid>
    <comment_count>3</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2024-07-22 08:13:28 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6814/steps/12/logs/stdio

qemux86-64-ptest debian12-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100911</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2025-02-12 18:17:30 +0000</bug_when>
    <thetext>Closing as we&apos;ve not seen this for half a year.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103457</commentid>
    <comment_count>5</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-12-02 10:34:36 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/2648/steps/13/logs/stdio

Failed ptests:{&apos;tcl&apos;: [&apos;socket.test&apos;]}

qemuarm64-ptest ubuntu2204-vk-arm2

Reopening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103652</commentid>
    <comment_count>6</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-12-29 09:11:51 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103863</commentid>
    <comment_count>7</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-01-13 18:40:21 +0000</bug_when>
    <thetext>Another patch sent:

Subject: [PATCH 2/2] tcl: skip all socket tests</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103926</commentid>
    <comment_count>8</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-01-15 16:10:10 +0000</bug_when>
    <thetext>Fixed in oe-core d17afaf34dd26319bc9e29b54c863d51d0694569.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>