<?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>137784</bug_id>
          
          <creation_ts>2014-10-16 11:20:07 -0700</creation_ts>
          <short_desc>EWS incorrectly decides that patch fails to apply when Bugzilla gives an error</short_desc>
          <delta_ts>2014-10-17 11:06:17 -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>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ddkilzer</cc>
    
    <cc>jake.nielsen.webkit</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1042143</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-10-16 11:20:07 -0700</bug_when>
    <thetext>In bug 137779, EWS failed to test a patch because Bugzilla was giving a 500 error. But the bot decided that the patch actually failed to apply:

Error: efl-wk2-ews unable to apply patch. 14 minutes ago
Patch does not apply [results]


Processing patch 239950 from bug 137779.
Traceback (most recent call last):
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkit-patch&quot;, line 84, in &lt;module&gt;
    main()
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkit-patch&quot;, line 79, in main
    WebKitPatch(os.path.abspath(__file__)).main()
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/tool/multicommandtool.py&quot;, line 305, in main
    result = command.check_arguments_and_execute(options, args, self)
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/tool/multicommandtool.py&quot;, line 123, in check_arguments_and_execute
    return self.execute(options, args, tool) or 0
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/tool/commands/download.py&quot;, line 177, in execute
    self._process_patch(patch, options, args, tool)
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/tool/commands/download.py&quot;, line 203, in _process_patch
    self._main_sequence.run_and_handle_errors(tool, options, state)
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/tool/commands/stepsequence.py&quot;, line 73, in run_and_handle_errors
    self._run(tool, options, state)
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/tool/commands/stepsequence.py&quot;, line 67, in _run
    step(tool, options).run(state)
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py&quot;, line 40, in run
    ApplyPatch.run(self, state)
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/tool/steps/applypatch.py&quot;, line 46, in run
    self._tool.checkout().apply_patch(state[&quot;patch&quot;])
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/common/checkout/checkout.py&quot;, line 163, in apply_patch
    self._executive.run_command(args, input=patch.contents(), cwd=self._scm.checkout_root)
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/common/net/bugzilla/attachment.py&quot;, line 97, in contents
    return self._bug._bugzilla.fetch_attachment_contents(self.id())
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla.py&quot;, line 490, in fetch_attachment_contents
    return self.browser.open(attachment_url).read()
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/mechanize/_mechanize.py&quot;, line 203, in open
    return self._mech_open(url, data, timeout=timeout)
  File &quot;/home/buildbot/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/mechanize/_mechanize.py&quot;, line 255, in _mech_open
    raise response
webkitpy.thirdparty.autoinstalled.mechanize._response.httperror_seek_wrapper: HTTP Error 500: Internal Server Error</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1042404</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-10-17 11:06:17 -0700</bug_when>
    <thetext>This should be an easy fix, but difficult to test when Bugzilla is up and running.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>