<?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>214257</bug_id>
          
          <creation_ts>2020-07-13 08:18:27 -0700</creation_ts>
          <short_desc>Delete old ews script DumpRenderTreeWatchDog.py</short_desc>
          <delta_ts>2020-07-15 14:04:04 -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>ASSIGNED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=196567</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="Aakash Jain">aakash_jain</assigned_to>
          <cc>ap</cc>
    
    <cc>darin</cc>
    
    <cc>jbedard</cc>
    
    <cc>pvollan</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1671030</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-07-13 08:18:27 -0700</bug_when>
    <thetext>We should delete old ews script DumpRenderTreeWatchDog.py. This script was used on Windows bots in old EWS to terminate hanging DRT processes. In new EWS, buildbot terminate the build automatically after 20 minute of inactivity. Further, in new EWS builds, we also run kill-old-processes which kills DumpRenderTree.exe and imagediff.exe

Therefore, we don&apos;t need this script anymore and it should be deleted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671031</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-07-13 08:19:48 -0700</bug_when>
    <thetext>&lt;rdar://problem/65477036&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671032</commentid>
    <comment_count>2</comment_count>
      <attachid>404148</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-07-13 08:20:02 -0700</bug_when>
    <thetext>Created attachment 404148
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671036</commentid>
    <comment_count>3</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-07-13 08:29:51 -0700</bug_when>
    <thetext>This script (dumprendertreewatchdog.py) killed &quot;ImageDiff.exe&quot;, while kill-old-processes kills &quot;imagediff.exe&quot; (https://trac.webkit.org/browser/webkit/trunk/Tools/BuildSlaveSupport/kill-old-processes#L45). Not sure if the capitalization matters.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671046</commentid>
    <comment_count>4</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2020-07-13 09:14:17 -0700</bug_when>
    <thetext>(In reply to Aakash Jain from comment #3)
&gt; This script (dumprendertreewatchdog.py) killed &quot;ImageDiff.exe&quot;, while
&gt; kill-old-processes kills &quot;imagediff.exe&quot;
&gt; (https://trac.webkit.org/browser/webkit/trunk/Tools/BuildSlaveSupport/kill-
&gt; old-processes#L45). Not sure if the capitalization matters.

I think this script is still in use on the EWS bots, or am I mistaken?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671048</commentid>
    <comment_count>5</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-07-13 09:19:55 -0700</bug_when>
    <thetext>(In reply to Per Arne Vollan from comment #4)
&gt; I think this script is still in use on the EWS bots, or am I mistaken?
Some EWS bots were using it by mistake, I just stopped all that. See &lt;rdar://problem/65142015&gt;.

Is there a reason that this script is required on EWS bots? Buildbot already terminates any hanging build, and we use kill-old-processes to kill DumpRenderTree.exe in the beginning of every build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671052</commentid>
    <comment_count>6</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2020-07-13 09:27:36 -0700</bug_when>
    <thetext>(In reply to Aakash Jain from comment #5)
&gt; (In reply to Per Arne Vollan from comment #4)
&gt; &gt; I think this script is still in use on the EWS bots, or am I mistaken?
&gt; Some EWS bots were using it by mistake, I just stopped all that. See
&gt; &lt;rdar://problem/65142015&gt;.
&gt; 
&gt; Is there a reason that this script is required on EWS bots? Buildbot already
&gt; terminates any hanging build, and we use kill-old-processes to kill
&gt; DumpRenderTree.exe in the beginning of every build.

Yes, I believe this is still required. The script will kill hanging processes during the test run, making sure the test run completes. I believe we have had cases where the test run never finishes, which is fixed by having this script running. I don&apos;t believe the script kill-old-processes supports this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671054</commentid>
    <comment_count>7</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2020-07-13 09:32:50 -0700</bug_when>
    <thetext>Then it seems like a bad idea to stop running it, and a bad idea to delete it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671614</commentid>
    <comment_count>8</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-07-14 17:25:45 -0700</bug_when>
    <thetext>If we think such a script is needed, why don&apos;t we also need it on build.webkit.org?

One of the purposes of the push to move EWS to buildbot was so that EWS was running with the same configuration as trunk testing. I&apos;m pretty sure trunk deals with the hanging problem by leaning on run-webkit-tests to take care of it and, as a last resort, buildbot timing out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671665</commentid>
    <comment_count>9</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-07-14 22:56:43 -0700</bug_when>
    <thetext>I think that the new behavior is:

1. Buildbot will terminate unresponsive steps.
2. kill-old-processes will be executed before the next test to clean up.

So we should be fine? In any case, this is dead code now that Aakash removed the scheduled task from all bots where we still had it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671886</commentid>
    <comment_count>10</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2020-07-15 13:04:12 -0700</bug_when>
    <thetext>(In reply to Jonathan Bedard from comment #8)
&gt; If we think such a script is needed, why don&apos;t we also need it on
&gt; build.webkit.org?
&gt; 
&gt; One of the purposes of the push to move EWS to buildbot was so that EWS was
&gt; running with the same configuration as trunk testing. I&apos;m pretty sure trunk
&gt; deals with the hanging problem by leaning on run-webkit-tests to take care
&gt; of it and, as a last resort, buildbot timing out.

Yes, we should also have it on build.webkit.org (or a similar feature), since the same issue will be present there. However, it is more important on EWS, since without it, Windows EWS will often start lagging behind, and we loose test coverage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671898</commentid>
    <comment_count>11</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2020-07-15 13:22:19 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #9)
&gt; I think that the new behavior is:
&gt; 
&gt; 1. Buildbot will terminate unresponsive steps.
&gt; 2. kill-old-processes will be executed before the next test to clean up.
&gt; 
&gt; So we should be fine? In any case, this is dead code now that Aakash removed
&gt; the scheduled task from all bots where we still had it.

The script is able to unblock the waiting parent process of a stuck DumpRenderTree/ImageDiff while running the layout tests, making the test run succeed, although with some test failures. It seems buildbot will terminate the whole step, which means the test run would fail, or am I mistaken? Anyway, I see that this is dead code now after moving to buildbot. If we still need this feature, maybe it should be part of the run-webkit-tests script? Also, I haven&apos;t observed hangs after the buildbot move, which makes me think that this feature is not super critical at this point, since the Windows EWS bots are keeping up with the queue. Great job!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671927</commentid>
    <comment_count>12</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-07-15 14:04:04 -0700</bug_when>
    <thetext>(In reply to Per Arne Vollan from comment #11)
&gt; (In reply to Alexey Proskuryakov from comment #9)
&gt; &gt; I think that the new behavior is:
&gt; &gt; 
&gt; &gt; 1. Buildbot will terminate unresponsive steps.
&gt; &gt; 2. kill-old-processes will be executed before the next test to clean up.
&gt; &gt; 
&gt; &gt; So we should be fine? In any case, this is dead code now that Aakash removed
&gt; &gt; the scheduled task from all bots where we still had it.
&gt; 
&gt; The script is able to unblock the waiting parent process of a stuck
&gt; DumpRenderTree/ImageDiff while running the layout tests, making the test run
&gt; succeed, although with some test failures. It seems buildbot will terminate
&gt; the whole step, which means the test run would fail, or am I mistaken?
&gt; Anyway, I see that this is dead code now after moving to buildbot. If we
&gt; still need this feature, maybe it should be part of the run-webkit-tests
&gt; script? Also, I haven&apos;t observed hangs after the buildbot move, which makes
&gt; me think that this feature is not super critical at this point, since the
&gt; Windows EWS bots are keeping up with the queue. Great job!

Yes, I would expect such a script to be part of run-webkit-tests, if we needed it. Seems like it would basically turn an error that broke the entire test suite into one that just broke a few tests. Although such behavior would definitely cause flakey test failures.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>404148</attachid>
            <date>2020-07-13 08:20:02 -0700</date>
            <delta_ts>2020-07-13 09:18:48 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-214257-20200713112001.patch</filename>
            <type>text/plain</type>
            <size>3238</size>
            <attacher name="Aakash Jain">aakash_jain</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI2NDMwMCkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
IC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NLRUQgPSAxCi0g
ICAgIyBXZSBvbmx5IGNhcmUgYWJvdXQgZG9pbmcgYW55dGhpbmcgaWYgdGhlcmUgaXMgYSBEdW1w
UmVuZGVyVHJlZSBydW5uaW5nCi0gICAgaWYgKENVUlJFTlRfUElEKToKLSAgICAgICAgIyBJZiB0
aGUgUElEIGhhcyBjaGFuZ2VkLCByZXNldCB0aGUgdGltZXIgYW5kIHRoZSBhY3RpdmUgcGlkCi0g
ICAgICAgIGlmIChEVU1QX1BJRCAhPSBDVVJSRU5UX1BJRCk6Ci0gICAgICAgICAgICBEVU1QX1BJ
RCA9IENVUlJFTlRfUElECi0gICAgICAgICAgICBEVU1QX1NUQVJUX1RJTUUgPSB0aW1lLnRpbWUo
KQotICAgICAgICBlbHNlOgotICAgICAgICAjIElmIHRoZSBhY3RpdmUgYW5kIGN1cnJlbnQgUElE
IGFyZSB0aGUgc2FtZSBhbmQgYW4gaG91ciBoYXMgZWxhcHNlZCwga2lsbCBEdW1wUmVuZGVyVHJl
ZSBhbmQgcmVzZXQgdGhlIGFjdGl2ZSBQSUQgdG8gMAotICAgICAgICAgICAgaWYgKENVUl9USU1F
IC0gRFVNUF9TVEFSVF9USU1FID49IDM2MDApOgotICAgICAgICAgICAgICAgIG9zLnN5c3RlbSgi
dGFza2tpbGwgL0YgL0lNIER1bXBSZW5kZXJUcmVlLmV4ZSIpCi0gICAgICAgICAgICAgICAgb3Mu
c3lzdGVtKCJ0YXNra2lsbCAvRiAvSU0gSW1hZ2VEaWZmLmV4ZSIpCi0gICAgICAgICAgICAgICAg
RFVNUF9QSUQgPSAwCi0gICAgZWxzZToKLSAgICAgICAgRFVNUF9QSUQgPSAwCg==
</data>
<flag name="review"
          id="419526"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>