<?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>154964</bug_id>
          
          <creation_ts>2016-03-03 03:29:42 -0800</creation_ts>
          <short_desc>Slow JSC stress tests times out in 32 bit debug mode</short_desc>
          <delta_ts>2016-05-19 05:02:21 -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>New Bugs</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>154858</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Csaba Osztrogonác">ossy</assigned_to>
          <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>fpizlo</cc>
    
    <cc>ossy</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1170177</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-03-03 03:29:42 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/197442 disabled FTL JIT testing 
on 32 bit bots, because there is no FTL JIT on any 32 bit platforms.

But 25-35 tests started to fail on these bots:
- https://build.webkit.org/builders/Apple%20El%20Capitan%2032-bit%20JSC%20%28BuildAndTest%29/builds/1658
- https://build.webkit.org/builders/Apple%20Yosemite%2032-bit%20JSC%20%28BuildAndTest%29

The problem is that these tests seems to be very slow in debug mode,
but they didn&apos;t fail previously because jsc-stress-tests script
duplicated the timeout in case of FTL JIT is enabled:

if $enableFTL and ENV[&quot;JSCTEST_timeout&quot;]
    # Currently, using the FTL is a performance regression particularly in real
    # (i.e. non-loopy) benchmarks. Account for this in the timeout.
    ENV[&quot;JSCTEST_timeout&quot;] = (ENV[&quot;JSCTEST_timeout&quot;].to_i * 2).to_s
end

It seems we should duplicate timeout in debug mode too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1170178</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-03-03 03:39:24 -0800</bug_when>
    <thetext>My first idea was to replace $enableFtl condition with
($enableFTL or !$ifJSCArgIsntProvidedAreWeReleaseBuild),
but unfortunately run-javascriptcore-tests doesn&apos;t pass
through the --debug option to run-jsc-stress-tests.

I don&apos;t have time to investigate this bug, feel free to pick it up.

But maybe the simplest fix is to set JSCTEST_timeout 
environment on these bots to a high enough number.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1170222</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-03-03 09:23:26 -0800</bug_when>
    <thetext>Will fix by rolling out r197442. There is no reason to keep such a regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1170228</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-03-03 09:26:55 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 154967 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1170237</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-03-03 09:31:30 -0800</bug_when>
    <thetext>Rolling out r197442 only hides this problem. The tests are still slow, relying
on increased timeout set by --ftl-jit option is incorrect and should be fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1171283</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-03-05 15:21:33 -0800</bug_when>
    <thetext>This bug used to be a duplicate, because it said that the tests failed on bots. That is fixed via bug 154967.

You changed the title after the fact.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1171437</commentid>
    <comment_count>6</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-03-06 11:34:27 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; This bug used to be a duplicate, because it said that the tests failed on
&gt; bots. That is fixed via bug 154967.
&gt; 
&gt; You changed the title after the fact.

I agree, the bug mentioned in the original title of the bug was &quot;solved&quot;
(papered over) by the rollout. But The description of this bug is clear
and the bug is still valid and should be fixed in the near future. The
original title was confusing, I just changed it to match with the desription.

It&apos;s not reasonable to rely on running useless FTL JIT tests (+50% runtime)
just to increase the JSCTEST_timeout on 32 bit debug JSC tester bots. We
should increase the timeout in debug mode in this bug and then we can
disable FTL JIT testing on all 32 bit bots in bug154858.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1191523</commentid>
    <comment_count>7</comment_count>
      <attachid>278495</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-05-10 08:38:16 -0700</bug_when>
    <thetext>Created attachment 278495
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1193819</commentid>
    <comment_count>8</comment_count>
      <attachid>278495</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-05-17 08:36:32 -0700</bug_when>
    <thetext>Comment on attachment 278495
Patch

(Please commit when you&apos;re around to watch the bots.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1194723</commentid>
    <comment_count>9</comment_count>
      <attachid>278495</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-05-19 05:02:16 -0700</bug_when>
    <thetext>Comment on attachment 278495
Patch

Clearing flags on attachment: 278495

Committed r201158: &lt;http://trac.webkit.org/changeset/201158&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1194724</commentid>
    <comment_count>10</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-05-19 05:02:21 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>278495</attachid>
            <date>2016-05-10 08:38:16 -0700</date>
            <delta_ts>2016-05-19 05:02:16 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-154964-20160510083903.patch</filename>
            <type>text/plain</type>
            <size>2112</size>
            <attacher name="Csaba Osztrogonác">ossy</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjAwNjIyCmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggYjI2NzA3M2E0ZWNiODQwZTFhZDgzOTk3OWQzMjFiMmMz
YWI5MGU3ZC4uNTgyYTY5YzFkYjc4YmU0ZmYzNTM0MjJjNzE0ZTNiZjVhNzY1MWVmMiAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE0
IEBACisyMDE2LTA1LTEwICBDc2FiYSBPc3p0cm9nb27DoWMgIDxvc3N5QHdlYmtpdC5vcmc+CisK
KyAgICAgICAgU2xvdyBKU0Mgc3RyZXNzIHRlc3RzIHRpbWVzIG91dCBpbiAzMiBiaXQgZGVidWcg
bW9kZQorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTU0
OTY0CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgKiBT
Y3JpcHRzL3J1bi1qYXZhc2NyaXB0Y29yZS10ZXN0czoKKyAgICAgICA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