<?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>204386</bug_id>
          
          <creation_ts>2019-11-19 16:42:47 -0800</creation_ts>
          <short_desc>run-javascriptcore-tests: Hide the output of binaries behind --verbose</short_desc>
          <delta_ts>2019-11-22 10:27:19 -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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=204091</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>jbedard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1591763</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-11-19 16:42:47 -0800</bug_when>
    <thetext>Aakash pointed out that we might have way too many logs coming out of run-javascriptcore-tests by default. We should gate some of these logs on the --verbose flag.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1591766</commentid>
    <comment_count>1</comment_count>
      <attachid>383921</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-11-19 16:47:26 -0800</bug_when>
    <thetext>Created attachment 383921
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1592396</commentid>
    <comment_count>2</comment_count>
      <attachid>383921</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-11-21 09:22:36 -0800</bug_when>
    <thetext>Comment on attachment 383921
Patch

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

&gt; Tools/Scripts/run-javascriptcore-tests:585
&gt; +            print &quot;$subTestName failed\n&quot; if ($failureFlag &amp;&amp; !$verbose);

Shouldn&apos;t we print the failures irrespective of verbose flag. Hiding failure might make it difficult to debug those failures. Especially important for EWS, where engineers can&apos;t change the flag.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1592400</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-11-21 09:35:04 -0800</bug_when>
    <thetext>(In reply to Aakash Jain from comment #2)
&gt; Comment on attachment 383921 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=383921&amp;action=review
&gt; 
&gt; &gt; Tools/Scripts/run-javascriptcore-tests:585
&gt; &gt; +            print &quot;$subTestName failed\n&quot; if ($failureFlag &amp;&amp; !$verbose);
&gt; 
&gt; Shouldn&apos;t we print the failures irrespective of verbose flag. Hiding failure
&gt; might make it difficult to debug those failures. Especially important for
&gt; EWS, where engineers can&apos;t change the flag.

If we&apos;re verbose, we would have printed the error line already on line 522, I was thinking that we wouldn&apos;t want to duplicate the printing.

I don&apos;t feel super strongly about it either way, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1592407</commentid>
    <comment_count>4</comment_count>
      <attachid>383921</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-11-21 09:40:58 -0800</bug_when>
    <thetext>Comment on attachment 383921
Patch

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

&gt;&gt;&gt; Tools/Scripts/run-javascriptcore-tests:585
&gt;&gt;&gt; +            print &quot;$subTestName failed\n&quot; if ($failureFlag &amp;&amp; !$verbose);
&gt;&gt; 
&gt;&gt; Shouldn&apos;t we print the failures irrespective of verbose flag. Hiding failure might make it difficult to debug those failures. Especially important for EWS, where engineers can&apos;t change the flag.
&gt; 
&gt; If we&apos;re verbose, we would have printed the error line already on line 522, I was thinking that we wouldn&apos;t want to duplicate the printing.
&gt; 
&gt; I don&apos;t feel super strongly about it either way, though.

That&apos;s ok either way.

But why is this print inside if reportData?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1592414</commentid>
    <comment_count>5</comment_count>
      <attachid>383921</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2019-11-21 09:49:58 -0800</bug_when>
    <thetext>Comment on attachment 383921
Patch

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

&gt;&gt;&gt;&gt; Tools/Scripts/run-javascriptcore-tests:585
&gt;&gt;&gt;&gt; +            print &quot;$subTestName failed\n&quot; if ($failureFlag &amp;&amp; !$verbose);
&gt;&gt;&gt; 
&gt;&gt;&gt; Shouldn&apos;t we print the failures irrespective of verbose flag. Hiding failure might make it difficult to debug those failures. Especially important for EWS, where engineers can&apos;t change the flag.
&gt;&gt; 
&gt;&gt; If we&apos;re verbose, we would have printed the error line already on line 522, I was thinking that we wouldn&apos;t want to duplicate the printing.
&gt;&gt; 
&gt;&gt; I don&apos;t feel super strongly about it either way, though.
&gt; 
&gt; That&apos;s ok either way.
&gt; 
&gt; But why is this print inside if reportData?

This is handling the case where we somehow duplicate a test name when parsing binary output. This is possible because we don&apos;t have great standards for how JSC binary tests are organized.

That line of code is basically saying &apos;If we don&apos;t already have a result for this test, then&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1592871</commentid>
    <comment_count>6</comment_count>
      <attachid>383921</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-11-22 10:26:02 -0800</bug_when>
    <thetext>Comment on attachment 383921
Patch

Clearing flags on attachment: 383921

Committed r252781: &lt;https://trac.webkit.org/changeset/252781&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1592872</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-11-22 10:26:03 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1592874</commentid>
    <comment_count>8</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-11-22 10:27:19 -0800</bug_when>
    <thetext>&lt;rdar://problem/57432918&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>383921</attachid>
            <date>2019-11-19 16:47:26 -0800</date>
            <delta_ts>2019-11-22 10:26:02 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-204386-20191119164726.patch</filename>
            <type>text/plain</type>
            <size>1633</size>
            <attacher name="Jonathan Bedard">jbedard</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI1MjY1NykKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEzIEBACisyMDE5LTExLTE5ICBKb25hdGhhbiBCZWRhcmQgIDxqYmVkYXJkQGFwcGxlLmNv
bT4KKworICAgICAgICBydW4tamF2YXNjcmlwdGNvcmUtdGVzdHM6IEhpZGUgdGhlIG91dHB1dCBv
ZiBiaW5hcmllcyBiZWhpbmQgLS12ZXJib3NlCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQu
b3JnL3Nob3dfYnVnLmNn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0shJycKICAg
ICAgICAgaWYgKCRsaW5lID1+IC8oT1xkKTogKFxTKykoXCguKlwpKTogKFtBLVphLXpdKykhXG4v
KSB7CkBAIC01ODIsNyArNTgyLDcgQEAgc3ViIHJ1blRlc3QgewogICAgICAgICB9CiAKICAgICAg
ICAgaWYgKCFkZWZpbmVkICRyZXBvcnREYXRheyRzdWJUZXN0TmFtZX0pIHsKLSAgICAgICAgICAg
IHByaW50KCIkc3ViVGVzdE5hbWUgJGZhaWx1cmVGbGFnXG4iKSBpZiAkZmFpbHVyZUZsYWc7Cisg
ICAgICAgICAgICBwcmludCAiJHN1YlRlc3ROYW1lIGZhaWxlZFxuIiBpZiAoJGZhaWx1cmVGbGFn
ICYmICEkdmVyYm9zZSk7CiAgICAgICAgICAgICAkcmVwb3J0RGF0YXskc3ViVGVzdE5hbWV9ID0g
JGZhaWx1cmVGbGFnID8ge2FjdHVhbCA9PiAiRkFJTCJ9IDoge2FjdHVhbCA9PiAiUEFTUyJ9Owog
ICAgICAgICB9CiAgICAgICAgICRmYWlsdXJlRmxhZyA9IDA7Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>