<?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>15421</bug_id>
          
          <creation_ts>2024-03-06 13:06:51 +0000</creation_ts>
          <short_desc>AB-INT PTEST: tcl ptest failure: in chanio.test</short_desc>
          <delta_ts>2025-09-11 15:10:00 +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>5.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="João Marcos Costa">joaomarcos.costa</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>ross.burton</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>98389</commentid>
    <comment_count>0</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2024-03-06 13:06:51 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6359/steps/12/logs/stdio

qemux86-64-ptest fedora38-ty-4

Failed ptests:
{&apos;tcl&apos;: [&apos;chanio.test&apos;]}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98418</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-03-07 15:45:40 +0000</bug_when>
    <thetext>==== chan-io-46.1 Tcl event loop vs multiple interpreters FAILED
==== Contents of test case:

    testfevent create
    set script &quot;set f \[[list open $path(foo) r]]\n&quot;
    append script {
        set x &quot;no event&quot;
        chan event $f readable [namespace code {
            set x &quot;f triggered: [chan gets $f]&quot;
            chan event $f readable {}
        }]
    }
    set timer [after 10 lappend x timeout]
    testfevent cmd $script
    vwait x
    after cancel $timer
    testfevent cmd {chan close $f}
    list [testfevent cmd {set x}] [testfevent cmd {info commands after}]

---- Result was:
{no event} after
---- Result should have been (exact matching):
{f triggered: foo bar} after
==== chan-io-46.1 FAILED

Looks like a classic very small timeout.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98573</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-03-21 20:12:19 +0000</bug_when>
    <thetext>Patch on the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98789</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-04-24 20:30:25 +0000</bug_when>
    <thetext>Bulk move from 5.0* to 5.99 to indicate that there isn&apos;t any one available to work on this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99340</commentid>
    <comment_count>4</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2024-07-10 10:15:14 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6602/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99418</commentid>
    <comment_count>5</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2024-07-22 08:32:57 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6652/steps/12/logs/stdio

qemuarm64-ptest ubuntu2204-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99856</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-10-14 12:19:01 +0000</bug_when>
    <thetext>Fixed with 1617b98491c5293567674e4b9c49c2017fb5c8b2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99913</commentid>
    <comment_count>7</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-10-17 15:09:18 +0000</bug_when>
    <thetext>Actually closing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100878</commentid>
    <comment_count>8</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2025-02-07 11:26:51 +0000</bug_when>
    <thetext>Hello,

This failure happened again:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/680/steps/12/logs/stdio

qemux86-64-ptest

==== chan-io-13.6 TranslateInputEOL: auto mode: saw cr in last segment FAILED
==== Contents of test case:

    # (chanPtr-&gt;flags &amp; INPUT_SAW_CR)
    # This test may fail on slower machines.
    set f [openpipe w+ $path(cat)]
    chan configure $f -blocking 0 -buffering none -translation {auto lf}
    chan event $f read [namespace code {
	lappend x [chan read $f] [testchannel queuedcr $f]
    }]
    chan puts -nonewline $f &quot;abcdefghj\r&quot;
    after 500 [namespace code {set y ok}]
    vwait [namespace which -variable y]
    chan puts -nonewline $f &quot;\n01234&quot;
    after 500 [namespace code {set y ok}]
    vwait [namespace which -variable y]
    return $x

---- Result was:
{abcdefghj
01234} 0
---- Result should have been (exact matching):
{abcdefghj
} 1 01234 0
==== chan-io-13.6 FAILED


Reopening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102664</commentid>
    <comment_count>9</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2025-08-25 08:38:34 +0000</bug_when>
    <thetext>Got a patch, will sent when I have email that works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102751</commentid>
    <comment_count>10</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2025-09-11 15:10:00 +0000</bug_when>
    <thetext>Fixed in oe-core e7686fbfb2cb630b33edce48bf1982044d0bf3ea.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>