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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>276257</bug_id>
          
          <creation_ts>2024-07-05 09:35:08 -0700</creation_ts>
          <short_desc>[ews] some stderr logs from layout-test results are stored in both buildbot and S3</short_desc>
          <delta_ts>2024-07-12 09:36:14 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=270651</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bfan2</cc>
    
    <cc>emw</cc>
    
    <cc>gsnedders</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2044818</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2024-07-05 09:35:08 -0700</bug_when>
    <thetext>[ews] some stderr logs from layout-test results are stored in both buildbot and S3.

e.g.: 
https://ews-build.webkit.org/#/builders/47/builds/34012/steps/19/logs/stdio and https://s3-us-west-2.amazonaws.com/ews-archives.webkit.org/ios-simulator-17-arm64-release-layout-tests/6faa5360.txt

Both contains logs like: 
01:28:37.384 2835 clean_up_test_run
Traceback (most recent call last):
  File &quot;/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/multiprocessing/queues.py&quot;, line 251, in _feed
    send_bytes(obj)
  File &quot;/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/multiprocessing/connection.py&quot;, line 205, in send_bytes
    self._send_bytes(m[offset:offset + size])
  File &quot;/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/multiprocessing/connection.py&quot;, line 416, in _send_bytes
    self._send(header + buf)
  File &quot;/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/multiprocessing/connection.py&quot;, line 373, in _send
    n = write(self._handle, buf)
BrokenPipeError: [Errno 32] Broken pipe</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2044820</commentid>
    <comment_count>1</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2024-07-05 09:51:09 -0700</bug_when>
    <thetext>Command being executed in buildbot:
/bin/sh -c &apos;python3 Tools/Scripts/run-webkit-tests --no-build --no-show-results --no-new-test-results --clobber-old-results --release --ios-simulator --results-directory layout-test-results --debug-rwt-logging --exit-after-n-failures 60 --skip-failing-tests --child-processes=5 --exclude-tests imported/w3c/web-platform-tests 2&gt;&amp;1 | Tools/Scripts/filter-test-logs layout&apos;


Note that we already have 2&gt;&amp;1 in the command, but probably some of the layout test logs/exceptions are generated in a manner not handled by it properly.

Also, such duplicated logs are large (10k+ lines in buildbot).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2045973</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-07-12 09:36:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/131618774&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>