<?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>204894</bug_id>
          
          <creation_ts>2019-12-05 09:26:42 -0800</creation_ts>
          <short_desc>EWS: JSC-Tests-EWS should run with debug instead of release</short_desc>
          <delta_ts>2020-03-21 06:17:52 -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>RESOLVED</bug_status>
          <resolution>WONTFIX</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>
          <dependson>205279</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Bedard">jbedard</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>dean_johnson</cc>
    
    <cc>fpizlo</cc>
    
    <cc>mark.lam</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1595840</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-12-05 09:26:42 -0800</bug_when>
    <thetext>This is a result of a conversation with Mark, who indicated that a debug EWS is probably more valuable than then a release one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1595846</commentid>
    <comment_count>1</comment_count>
      <attachid>384912</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-12-05 09:34:56 -0800</bug_when>
    <thetext>Created attachment 384912
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1595847</commentid>
    <comment_count>2</comment_count>
      <attachid>384912</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-12-05 09:36:03 -0800</bug_when>
    <thetext>Comment on attachment 384912
Patch

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

&gt; Tools/ChangeLog:3
&gt; +        EWS: JSC-Tests-EWS should run with debug instead of release

I&apos;m somewhat skeptical, because historically issues on debug JSC tests were often discarded or deprioritized.

Are we seeing many debug-only regressions on JSC tests that are getting fixed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1595848</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-12-05 09:36:10 -0800</bug_when>
    <thetext>&lt;rdar://problem/57643755&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1595849</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2019-12-05 09:40:35 -0800</bug_when>
    <thetext>I found out last night that the debug build runs ridiculously slow.  Let me do something to make it complete in a more reasonable time before we apply this change.

(In reply to Alexey Proskuryakov from comment #2)
&gt; Comment on attachment 384912 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=384912&amp;action=review
&gt; 
&gt; &gt; Tools/ChangeLog:3
&gt; &gt; +        EWS: JSC-Tests-EWS should run with debug instead of release
&gt; 
&gt; I&apos;m somewhat skeptical, because historically issues on debug JSC tests were
&gt; often discarded or deprioritized.
&gt; 
&gt; Are we seeing many debug-only regressions on JSC tests that are getting
&gt; fixed?

With a debug build, we check for missing exception checks, and various GC bugs.  These bugs will go unnoticed if we don&apos;t run with the debug build.  That said, let me put together a debug build configuration that makes more sense to run in the EWS first.

Stay tuned.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1595856</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2019-12-05 09:54:12 -0800</bug_when>
    <thetext>If there is one that the JSC team is willing to fully defend, we should run it in post-commit testing too, and unskip tests that are marked as skipped in debug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1598930</commentid>
    <comment_count>6</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2019-12-16 09:37:49 -0800</bug_when>
    <thetext>After https://bugs.webkit.org/show_bug.cgi?id=205279 lands, there&apos;s one more change that needs to be made in order to have the tests complete in a reasonable amount of time: for the EWS, I recommend only running the default configuration of the tests.  That will get us a lot of mileage.

To only run the default configuration, you can pass --filter &quot;\.default&quot; to the run-javascriptcore-tests command line in addition to the --debug flag.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1598932</commentid>
    <comment_count>7</comment_count>
      <attachid>384912</attachid>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2019-12-16 09:39:01 -0800</bug_when>
    <thetext>Comment on attachment 384912
Patch

Please also add the command line option --filter &apos;\.default&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1598972</commentid>
    <comment_count>8</comment_count>
      <attachid>384912</attachid>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2019-12-16 10:45:23 -0800</bug_when>
    <thetext>Comment on attachment 384912
Patch

This isn&apos;t a great idea.  Debug testing takes longer, experiences races that are different from the release ones, and has important behavioral changes (object layout, synchronization) that make it quite different from release.

If we test one thing it should be release.

If we test two things it should be two different kinds of release builds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1599483</commentid>
    <comment_count>9</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-12-17 11:50:39 -0800</bug_when>
    <thetext>After talking with various JSC folks, seems like this is a &apos;WON&apos;T FIX&apos;, although we might modify release builds to do more debug-y things, that seems like it should be another bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>384912</attachid>
            <date>2019-12-05 09:34:56 -0800</date>
            <delta_ts>2019-12-16 09:39:01 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-204894-20191205093456.patch</filename>
            <type>text/plain</type>
            <size>1174</size>
            <attacher name="Jonathan Bedard">jbedard</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI1MzE1MikKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEyIEBACisyMDE5LTEyLTA1ICBKb25hdGhhbiBCZWRhcmQgIDxqYmVkYXJkQGFwcGxlLmNv
bT4KKworICAgICAgICBFV1M6IEpTQy1UZXN0cy1FV1Mgc2hvdWxkIHJ1biB3aXRoIGRlYnVnIGlu
c3RlYWQgb2YgcmVsZWFzZQorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1
Zy5jZ2k/aWQ9MjA0ODk0CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisK
KyAgICAgICAgKiBCdWlsZFNsYXZlU3VwcG9ydC9ld3MtYnVpbGQvY29uZmlnLmpzb246CisKIDIw
MTktMTItMDUgIHlvdWVubiBmYWJsZXQgIDx5b3Vlbm5AYXBwbGUuY29tPgogCiAgICAgICAgIGlu
c3BlY3Rvci9wYWdlL292ZXJyaWRlU2V0dGluZy1Nb2NrQ2FwdHVyZURldmljZXNFbmFibGVkLmh0
bWwgaXMgZmFpbGluZyBhZnRlciByZW1vdmFsIG9mIGludGVybmFscy5zZXRNb2NrTWVkaWFDYXB0
dXJlRGV2aWNlc0VuYWJsZWQgQVBJCkluZGV4OiBUb29scy9CdWlsZFNsYXZlU3VwcG9ydC9ld3Mt
YnVpbGQvY29uZmlnLmpzb24KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gVG9vbHMvQnVpbGRTbGF2ZVN1cHBvcnQv
ZXdzLWJ1aWxkL2NvbmZpZy5qc29uCShyZXZpc2lvbiAyNTMxNTEpCisrKyBUb29scy9CdWlsZFNs
YXZlU3VwcG9ydC9ld3MtYnVpbGQvY29uZmlnLmpzb24JKHdvcmtpbmcgY29weSkKQEAgLTQzNiw3
ICs0MzYsNyBAQAogICAgICAgImljb24iOiAiYnVpbGRBbmRUZXN0IiwKICAgICAgICJmYWN0b3J5
IjogIkpTQ1Rlc3RzRmFjdG9yeSIsCiAgICAgICAicGxhdGZvcm0iOiAibWFjLWhpZ2hzaWVycmEi
LAotICAgICAgImNvbmZpZ3VyYXRpb24iOiAicmVsZWFzZSIsCisgICAgICAiY29uZmlndXJhdGlv
biI6ICJkZWJ1ZyIsCiAgICAgICAicnVuVGVzdHMiOiAidHJ1ZSIsCiAgICAgICAid29ya2VybmFt
ZXMiOiBbImV3czEyNyIsICJld3MxMjgiXQogICAgIH0sCg==
</data>
<flag name="review"
          id="400741"
          type_id="1"
          status="-"
          setter="mark.lam"
    />
          </attachment>
      

    </bug>

</bugzilla>