<?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>165173</bug_id>
          
          <creation_ts>2016-11-29 16:22:28 -0800</creation_ts>
          <short_desc>run-benchmark should have a switch to avoid killing browser process unconditionally</short_desc>
          <delta_ts>2016-12-05 15:40:01 -0800</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>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>
          
          <blocked>164792</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dewei_zhu</cc>
    
    <cc>lforschler</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1254558</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-11-29 16:22:28 -0800</bug_when>
    <thetext>After r209090 &lt;http://trac.webkit.org/changeset/209090&gt; run-benchmark in Linux doesn&apos;t execute a &quot;killall $browser&quot; when it is asked to run the benchmarks with browser $browser. It instead keeps track of the browser PID it executed and only kill this PID.

This is a desired behaviour when the user is testing on the machine. However for a performance bot running tests automatically it isn&apos;t.

After discussing this in bug 164792 it seems we can add a command line switch to avoid issuing the killall, so users that want to avoid this behaviour of the script can just activate the switch. And at the same time we can keep as default behaviour killing all process with name $browser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256555</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2016-12-05 15:40:01 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; After r209090 &lt;http://trac.webkit.org/changeset/209090&gt; run-benchmark in
&gt; Linux doesn&apos;t execute a &quot;killall $browser&quot; when it is asked to run the
&gt; benchmarks with browser $browser. It instead keeps track of the browser PID
&gt; it executed and only kill this PID.
&gt; 
&gt; This is a desired behaviour when the user is testing on the machine. However
&gt; for a performance bot running tests automatically it isn&apos;t.
&gt; 
&gt; After discussing this in bug 164792 it seems we can add a command line
&gt; switch to avoid issuing the killall, so users that want to avoid this
&gt; behaviour of the script can just activate the switch. And at the same time
&gt; we can keep as default behaviour killing all process with name $browser.

Alternatively, we can add an option like --kill-all to mean kill all existing browser instances to be used on bots.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>