<?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>69089</bug_id>
          
          <creation_ts>2011-09-29 09:40:11 -0700</creation_ts>
          <short_desc>EWS bots shouldn&apos;t die if a buggy patch with r? modifies the source code of the EWS</short_desc>
          <delta_ts>2019-09-03 12:39:59 -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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
    
    <cc>eric</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>galpeter</cc>
    
    <cc>levin</cc>
    
    <cc>ossy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>475465</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-09-29 09:40:11 -0700</bug_when>
    <thetext>https://bugs.webkit.org/attachment.cgi?id=109089 in https://bugs.webkit.org/show_bug.cgi?id=68973
killed all EWS bots, because the proposed patch updated the code of the EWS, and it was incorrect.

I think we should find a way to protect EWS from buggy python patches in bugzilla with r? .


error log:

Failed to run &quot;[&apos;/storage/WebKit-qt-ews/Tools/Scripts/webkit-patch&apos;, &apos;--status-host=queues.webkit.org&apos;, &apos;--bot-i...&quot; exit_code: 1

Traceback (most recent call last):
  File &quot;/storage/WebKit-qt-ews/Tools/Scripts/webkit-patch&quot;, line 74, in &lt;module&gt;
    main()
  File &quot;/storage/WebKit-qt-ews/Tools/Scripts/webkit-patch&quot;, line 67, in main
    from webkitpy.tool.main import WebKitPatch
  File &quot;/storage/WebKit-qt-ews/Tools/Scripts/webkitpy/tool/main.py&quot;, line 39, in &lt;module&gt;
    from webkitpy.tool import commands
  File &quot;/storage/WebKit-qt-ews/Tools/Scripts/webkitpy/tool/commands/__init__.py&quot;, line 6, in &lt;module&gt;
    from webkitpy.tool.commands.download import *
  File &quot;/storage/WebKit-qt-ews/Tools/Scripts/webkitpy/tool/commands/download.py&quot;, line 32, in &lt;module&gt;
    from webkitpy.tool import steps
  File &quot;/storage/WebKit-qt-ews/Tools/Scripts/webkitpy/tool/steps/__init__.py&quot;, line 32, in &lt;module&gt;
    from webkitpy.tool.steps.applywatchlisttopatch import ApplyWatchListToPatch
ImportError: No module named applywatchlisttopatch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>475482</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-09-29 09:57:30 -0700</bug_when>
    <thetext>Any thoughts on how to accomplish this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>475486</commentid>
    <comment_count>2</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-09-29 10:01:02 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Any thoughts on how to accomplish this?

Perhaps the ews could run from a different enlistment that the enlistment where it applies the patch, but still sync its own enlistment every so often.

Or perhaps the ews could copy itself somewhere else and run from there (and update that location -- once in a while).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>475491</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-09-29 10:04:31 -0700</bug_when>
    <thetext>&gt; Perhaps the ews could run from a different enlistment that the enlistment where it applies the patch, but still sync its own enlistment every so often.

^^^ That sounds like a good approach.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1567466</commentid>
    <comment_count>4</comment_count>
    <who name="EWS Watchlist">ews-watchlist</who>
    <bug_when>2019-09-03 12:39:22 -0700</bug_when>
    <thetext>We have re-written EWS, and with buildbot-based EWS, this isn&apos;t an issue anymore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1567467</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-09-03 12:39:59 -0700</bug_when>
    <thetext>&lt;rdar://problem/54986401&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>