<?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>15407</bug_id>
          
          <creation_ts>2024-02-22 13:53:53 +0000</creation_ts>
          <short_desc>AB-INT PTEST: tcl io.test test failure</short_desc>
          <delta_ts>2024-11-19 13:00:46 +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.2 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>randy.macleod</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>98242</commentid>
    <comment_count>0</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2024-02-22 13:53:53 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6302/steps/12/logs/stdio

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

qemux86-64-ptest fedora38-ty-4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98381</commentid>
    <comment_count>1</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2024-03-06 12:08:24 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6145/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98570</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-03-21 17:32:39 +0000</bug_when>
    <thetext>==== io-46.1 Tcl event loop vs multiple interpreters FAILED</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98571</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-03-21 20:12:00 +0000</bug_when>
    <thetext>.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98572</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-03-21 20:12:11 +0000</bug_when>
    <thetext>Patch on the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98949</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-04-30 15:40:38 +0000</bug_when>
    <thetext>Fixed with 1617b98491c5293567674e4b9c49c2017fb5c8b2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99678</commentid>
    <comment_count>6</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2024-09-20 09:47:16 +0000</bug_when>
    <thetext>Reopening, since it happened again. This time for &apos;io-13.6&apos; rather than &apos;io-46.1&apos; (fixed by Ross&apos;s patch).

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6833/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1


==== 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 [open &quot;|[list [interpreter] $path(cat)]&quot; w+]
    fconfigure $f -blocking 0 -buffering none -translation {auto lf}

    fileevent $f read [namespace code &quot;ready $f&quot;]
    proc ready {f} {
	variable x
	lappend x [read $f] [testchannel queuedcr $f]
    }
    variable x {}
    variable y {}

    puts -nonewline $f &quot;abcdefghj\r&quot;
    after 500 [namespace code {set y ok}]
    vwait [namespace which -variable y]

    puts -nonewline $f &quot;\n01234&quot;
    after 500 [namespace code {set y ok}]
    vwait [namespace which -variable y]

    close $f
    set x

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


Tests ended at Thu Sep 19 13:26:30 BST 2024
all.tcl:	Total	830	Passed	815	Skipped	14	Failed	1
Sourced 1 Test Files.
Files with failing tests: io.test
Number of tests skipped for each constraint:
	8	emptyTest
	2	nonPortable
	1	thread
	2	win
FAIL: io.test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99729</commentid>
    <comment_count>7</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2024-09-26 14:40:24 +0000</bug_when>
    <thetext>Ross Accepted this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99857</commentid>
    <comment_count>8</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-10-14 12:22:51 +0000</bug_when>
    <thetext>Another patch on the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100204</commentid>
    <comment_count>9</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-11-19 13:00:46 +0000</bug_when>
    <thetext>Fixed with oe-core f69183586655294c9aed6687cebe57767c2f3eb8.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>