<?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>181484</bug_id>
          
          <creation_ts>2018-01-10 08:53:00 -0800</creation_ts>
          <short_desc>REGRESSION (r226715): don&apos;t re-check number of simulators in child processes</short_desc>
          <delta_ts>2018-01-10 11:58:31 -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>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=180555</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="Jonathan Bedard">jbedard</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>glenn</cc>
    
    <cc>lforschler</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1387687</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2018-01-10 08:53:00 -0800</bug_when>
    <thetext>Checking the number of simulators to be run against the maximum number of simulators a machine can support only makes sense before those simulators have been initialized.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1387688</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-01-10 08:54:05 -0800</bug_when>
    <thetext>&lt;rdar://problem/36407151&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1387691</commentid>
    <comment_count>2</comment_count>
      <attachid>330916</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2018-01-10 08:58:27 -0800</bug_when>
    <thetext>Created attachment 330916
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1387739</commentid>
    <comment_count>3</comment_count>
      <attachid>330916</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2018-01-10 10:56:33 -0800</bug_when>
    <thetext>Comment on attachment 330916
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=330916&amp;action=review

&gt; Tools/Scripts/webkitpy/port/ios_simulator.py:53
&gt; +        if not SimulatedDeviceManager.INITIALIZED_DEVICES and self.get_option(&apos;child_processes&apos;, self.default_child_processes()) &gt; SimulatedDeviceManager.max_supported_simulators(self.host):

Just for future reference, max_supported_simulators seems like a misleading name, it should be something like current_num_supported_simulators. We wouldn&apos;t had this issue if max_supported_simulators always return the same value (maximum number of simulators supported by the machine).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1387788</commentid>
    <comment_count>4</comment_count>
      <attachid>330916</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-01-10 11:58:29 -0800</bug_when>
    <thetext>Comment on attachment 330916
Patch

Clearing flags on attachment: 330916

Committed r226726: &lt;https://trac.webkit.org/changeset/226726&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1387789</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-01-10 11:58:31 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>330916</attachid>
            <date>2018-01-10 08:58:27 -0800</date>
            <delta_ts>2018-01-10 11:58:29 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-181484-20180110085827.patch</filename>
            <type>text/plain</type>
            <size>1736</size>
            <attacher name="Jonathan Bedard">jbedard</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDIyNjcxNykKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE1IEBACisyMDE4LTAxLTEwICBKb25hdGhhbiBCZWRhcmQgIDxqYmVkYXJkQGFwcGxlLmNv
bT4KKworICAgICAgICBSRUdSRVNTSU9OIChyMjI2NzE1KTogZG9uJ3QgcmUtY2hlY2sgbnVtYmVy
IG9mIHNpbXVsYXRvcnMgaW4gY2hpbGQgcHJvY2Vzc2VzCisgICAgICAgIGh0dHBzOi8vYnVncy53
ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xODE0ODQKKyAgICAgICAgPHJkYXI6Ly9wcm9ibGVt
LzM2NDA3MTUxPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAg
ICAgICogU2NyaXB0cy93ZWJraXRweS9wb3J0L2lvc19zaW11bGF0b3IucHk6CisgICAgICAgIChJ
T1NTaW11bGF0b3JQb3J0Ll9faW5pdF9fKTogU2tpcCB0aGUgbnVtYmVyIG9mIHNpbXVsYXRvcnMg
Y2hlY2sgaWYgc2ltdWxhdG9ycworICAgICAgICBhcmUgYWxyZWFkeSBpbml0aWFsaXplZC4KKwog
MjAxOC0wMS0xMCAgSm9uYXRoYW4gQmVkYXJkICA8amJlZGFyZEBhcHBsZS5jb20+CiAKICAgICAg
ICAgd2Via2l0cHk6IFJlZmFjdG9yIHNpbXVsYX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