<?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>223525</bug_id>
          
          <creation_ts>2021-03-19 10:44:44 -0700</creation_ts>
          <short_desc>EWS is not able to process patches containing non-utf characters</short_desc>
          <delta_ts>2021-09-03 08:01:38 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=223522</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=222618</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=225118</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=229866</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>cgambrell</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1741779</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-03-19 10:44:44 -0700</bug_when>
    <thetext>EWS django app is not able to send attachment 423743 (on Bug 223522) to buildbot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1741799</commentid>
    <comment_count>1</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-03-19 11:21:29 -0700</bug_when>
    <thetext>Relevant logs from ews-app.

using &apos;pb&apos; connect method
Unhandled Error
Traceback (most recent call last):
  File &quot;/usr/local/lib/python3.6/site-packages/twisted/internet/base.py&quot;, line 999, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File &quot;/usr/local/lib/python3.6/site-packages/buildbot/util/eventual.py&quot;, line 48, in _turn
    cb(*args, **kwargs)
  File &quot;/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py&quot;, line 477, in callback
    self._startRunCallbacks(result)
  File &quot;/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py&quot;, line 580, in _startRunCallbacks
    self._runCallbacks()
--- &lt;exception caught here&gt; ---
  File &quot;/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py&quot;, line 662, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File &quot;/usr/local/lib/python3.6/site-packages/buildbot/clients/tryclient.py&quot;, line 937, in trapSystemExit
    why.trap(SystemExit)
  File &quot;/usr/local/lib/python3.6/site-packages/twisted/python/failure.py&quot;, line 450, in trap
    self.raiseException()
  File &quot;/usr/local/lib/python3.6/site-packages/twisted/python/failure.py&quot;, line 475, in raiseException
    raise self.value.with_traceback(self.tb)
  File &quot;/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py&quot;, line 662, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File &quot;/usr/local/lib/python3.6/site-packages/buildbot/clients/tryclient.py&quot;, line 917, in &lt;lambda&gt;
    d.addCallback(lambda res: self.createJob())
  File &quot;/usr/local/lib/python3.6/site-packages/buildbot/clients/tryclient.py&quot;, line 582, in createJob
    diff = f.read()
  File &quot;/usr/lib64/python3.6/codecs.py&quot;, line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
builtins.UnicodeDecodeError: &apos;utf-8&apos; codec can&apos;t decode byte 0xcf in position 3764: invalid continuation byte</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1741898</commentid>
    <comment_count>2</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-03-19 14:32:51 -0700</bug_when>
    <thetext>That patch contains non utf-8 characters. That character is at https://github.com/WebKit/WebKit/blob/main/LayoutTests/http/tests/workers/text-encoding.html#L51

Seems like a Buildbot bug, filed: https://github.com/buildbot/buildbot/issues/5933</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1744235</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-03-26 10:45:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/75892243&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1755938</commentid>
    <comment_count>4</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-05-01 07:39:44 -0700</bug_when>
    <thetext>Fix for https://github.com/buildbot/buildbot/issues/5933 has been posted in https://github.com/buildbot/buildbot/pull/6001. The fix is applied to ews-build.webkit.org and seems to be working fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1755939</commentid>
    <comment_count>5</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2021-05-01 07:43:28 -0700</bug_when>
    <thetext>Verified on Patch 427184 on bug 225118, which was failing earlier. EWS is now able to process it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>