<?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>93192</bug_id>
          
          <creation_ts>2012-08-04 19:49:04 -0700</creation_ts>
          <short_desc>REGRESSION: PrettyPatchTest.test_pretty_diff_encodings has been failing on Chromium Windows</short_desc>
          <delta_ts>2013-04-08 14:10:36 -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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>schenney</cc>
    
    <cc>svillar</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>687547</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-08-04 19:49:04 -0700</bug_when>
    <thetext>Checking autoinstalled packages ...
Checking imports ...
Finding the individual test methods ...
Running the tests ...
[101/1258] webkitpy.common.prettypatch_unittest.PrettyPatchTest.test_pretty_diff_encodings erred:
  Traceback (most recent call last):
    File &quot;E:\b\chromium-win-release-tests\build\Tools\Scripts\webkitpy\common\prettypatch_unittest.py&quot;, line 73, in test_pretty_diff_encodings
      pretty = pretty_patch.pretty_diff(self._diff_with_multiple_encodings)
    File &quot;E:\b\chromium-win-release-tests\build\Tools\Scripts\webkitpy\common\prettypatch.py&quot;, line 67, in pretty_diff
      return self._executive.run_command(args, input=diff, decode_output=False)
    File &quot;E:\b\chromium-win-release-tests\build\Tools\Scripts\webkitpy\common\system\executive.py&quot;, line 423, in run_command
      (error_handler or self.default_error_handler)(script_error)
    File &quot;E:\b\chromium-win-release-tests\build\Tools\Scripts\webkitpy\common\system\executive.py&quot;, line 340, in default_error_handler
      raise error
  ScriptError: Failed to run &quot;[&apos;ruby&apos;, &apos;-I&apos;, &apos;E:\\b\\chromium-win-release-tests\\build\\Websites\\bugs.webkit.org\\PrettyPatch&apos;...&quot; exit_code: 1
  
[874/1258] webkitpy.layout_tests.run_webkit_tests_integrationtest.MainTest.test_verbose_in_child_processes passed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>689779</commentid>
    <comment_count>1</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-08-07 19:48:09 -0700</bug_when>
    <thetext>Okay, so it is unfortunate that ScriptError is limiting the output here, but I reproduced this locally on Windows and PrettyPatch is actually failing (i.e., this is a real failure, not a problem w/ test-webkitpy or anything like that); it looks like some combination of the utf-8 encoding and line-ending conversion doesn&apos;t work.

I&apos;m going to disable the test on win32 for now until we can actually fix the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>689782</commentid>
    <comment_count>2</comment_count>
      <attachid>157090</attachid>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-08-07 19:50:51 -0700</bug_when>
    <thetext>Created attachment 157090
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>689783</commentid>
    <comment_count>3</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-08-07 19:53:03 -0700</bug_when>
    <thetext>Committed r124973: &lt;http://trac.webkit.org/changeset/124973&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>689784</commentid>
    <comment_count>4</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-08-07 19:53:43 -0700</bug_when>
    <thetext>sigh .. didn&apos;t mean to close the bug. Test disabled in http://trac.webkit.org/changeset/124973 . Note that the patch I uploaded was missing an &apos;import sys&apos;, and I fixed that prior to landing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>690838</commentid>
    <comment_count>5</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-08-08 15:37:05 -0700</bug_when>
    <thetext>reassigning owner to default, since I&apos;m not dying to fix this myself ;).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>723605</commentid>
    <comment_count>6</comment_count>
    <who name="Sergio Villar Senin">svillar</who>
    <bug_when>2012-09-19 09:20:06 -0700</bug_when>
    <thetext>I&apos;ve just verified (because it was failing also in our WK2 gtk bot) that the problem here is the ruby version.

Our bot was running ruby 1.9.1 and we were able to get rid of the bug by downgrading it to 1.8.7.

I won&apos;t change the title of the bug until Dirk could verify that the problem in chromium win is the same (I&apos;d bet it&apos;s)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>157090</attachid>
            <date>2012-08-07 19:50:51 -0700</date>
            <delta_ts>2012-08-07 19:50:51 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-93192-20120807195026.patch</filename>
            <type>text/plain</type>
            <size>1613</size>
            <attacher name="Dirk Pranke">dpranke</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTI0OTY3CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggZDE2N2U5YWU5NjRlN2ZhNmFhZDgyYjAwYmU5YjMxNWE5
ZDIwNzQzYy4uODk3ODE3YjdlYTE2OTM2MmU2MDU1NGY0YzIzMTg4MDFiNThmMzQzZiAxMDA2NDQK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