<?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>142425</bug_id>
          
          <creation_ts>2015-03-06 20:05:52 -0800</creation_ts>
          <short_desc>Crash count should be listed separately from failure count when layout tests fail</short_desc>
          <delta_ts>2016-06-21 11:41:05 -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>528+ (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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="David Kilzer (:ddkilzer)">ddkilzer</assigned_to>
          <cc>ap</cc>
    
    <cc>bburg</cc>
    
    <cc>cdumez</cc>
    
    <cc>darin</cc>
    
    <cc>dbates</cc>
    
    <cc>dburkart</cc>
    
    <cc>jake.nielsen.webkit</cc>
    
    <cc>lforschler</cc>
    
    <cc>matthew_hanson</cc>
    
    <cc>mrowe</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1075213</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2015-03-06 20:05:52 -0800</bug_when>
    <thetext>When a layout tests fail, it&apos;s useful to print the crash count separately (as a subset of the failure count).

This is because crashes are more severe than most other failures, and when running tests with ASan or GuardMalloc, the primary intent is to find tests that crash since those are the most interesting results for those bots.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1075215</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2015-03-06 20:07:36 -0800</bug_when>
    <thetext>&lt;rdar://problem/20078699&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1075221</commentid>
    <comment_count>2</comment_count>
      <attachid>248137</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2015-03-06 20:23:30 -0800</bug_when>
    <thetext>Created attachment 248137
Patch v1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1075256</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-03-07 01:50:26 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; When a layout tests fail, it&apos;s useful to print the crash count separately
&gt; (as a subset of the failure count).
&gt; 
&gt; This is because crashes are more severe than most other failures, and when
&gt; running tests with ASan or GuardMalloc, the primary intent is to find tests
&gt; that crash since those are the most interesting results for those bots.

I like the idea to show crashes separately, but in my opinion counting 
them twice (as crashed and failures too) is very confusing if we don&apos;t
change the output format. I could imagine a more detailed output, but
it should be evident what means what. And maybe the bot watchers dashboard
should be fixed to be able parse the new output.

for example: (where x = y + u + v)
x unexpected regressions: y crashes, u timeouts, v failures
j new passes, k flakes, l missing results

For example let&apos;s see the latest result from the GTK bot,
where we can found all kind of failures:

actual output: 22 failures 32 new passes 10 flakes 8 missing results

proposed output, which is confusing for me:
22 failures 4 crashes 32 new passes 10 flakes 8 missing results

Or what about: 22 failures (4 of them crashes) ... ?


detailed results (actual):
--------------------------
Expected to crash, but passed: (1)
Expected to timeout, but passed: (2)
Expected to fail, but passed: (29)
==&gt; 32 new passes

Unexpected flakiness: text-only failures (4)
Unexpected flakiness: image-only failures (1)
Unexpected flakiness: timeouts (5)
==&gt; 10 flakes

Regressions: Unexpected text-only failures (4)
Regressions: Unexpected image-only failures (6)
Regressions: Unexpected crashes (4)
Regressions: Unexpected timeouts (8)
==&gt; 22 failures

Regressions: Unexpected missing results (8)
==&gt; 8 missing results</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1075259</commentid>
    <comment_count>4</comment_count>
      <attachid>248137</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-03-07 08:03:24 -0800</bug_when>
    <thetext>Comment on attachment 248137
Patch v1

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

&gt; Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:377
&gt; +        # Add crash count to failure count.

I don&apos;t understand this part. Isn&apos;t it already included?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1075260</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-03-07 08:07:00 -0800</bug_when>
    <thetext>Ossy, I think that the intention here is to display crashes for crashesOnly queues (already supported by the dashboard), such as a potential GuardMalloc queue. 

I would object to displaying crash count separately for normal queues, that&apos;s too much information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1075443</commentid>
    <comment_count>6</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2015-03-08 15:27:15 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Comment on attachment 248137 [details]
&gt; Patch v1
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=248137&amp;action=review
&gt; 
&gt; &gt; Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:377
&gt; &gt; +        # Add crash count to failure count.
&gt; 
&gt; I don&apos;t understand this part. Isn&apos;t it already included?

Prior to this change, crashes were counted as failures but not listed separately.

This piece of code keeps that invariant the same so that crash count is listed separately, but crashes are still also counted as failures.

FWIW, this matches how we report crashes on our internal buildbot instances (although the code accomplishes this slightly differently).

I don&apos;t have strong opinions on whether crash count should be a subset of failure count or not (I originally implemented them as separate counts).

(In reply to comment #5)
&gt; Ossy, I think that the intention here is to display crashes for crashesOnly
&gt; queues (already supported by the dashboard), such as a potential GuardMalloc
&gt; queue. 

Yes, that&apos;s the intention.

&gt; I would object to displaying crash count separately for normal queues,
&gt; that&apos;s too much information.

I don&apos;t see the potential harm here, though.  Can you explain what exactly your concern is other than &quot;too much information&quot;?  Is it that the Info column might wrap to a second line?  How is having a crash count a bad thing in this situation?

Personally, I think crashes are an interesting enough subset of failures that I&apos;d like to have a separate count in the summary text.  It&apos;s especially useful for GuardMalloc or ASan queues, but I feel crashes in other queues are interesting as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1075717</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-03-09 12:30:00 -0700</bug_when>
    <thetext>&gt; &gt; &gt; Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:377
&gt; &gt; &gt; +        # Add crash count to failure count.
&gt; &gt; 
&gt; &gt; I don&apos;t understand this part. Isn&apos;t it already included?
&gt; 
&gt; Prior to this change, crashes were counted as failures but not listed separately.

What I&apos;m saying is that failures come from all &quot;Regressions: Unexpected&quot; lines, and crashes come from &quot;Regressions: Unexpected crash&quot; lines. Which seems to mean that failures already include crashes, but then you add crashes to failures.

Aren&apos;t they double-counted as a result? Am I misreading the code?

&gt; Can you explain what exactly your concern is other than &quot;too much information&quot;?

Too much information is exactly what I&apos;m concerned about. We do have a bug about improving summary strings for failures though - bug 122901 - please feel free to add the idea of separating crashes if you think that it would help those looking at the page.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1075718</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-03-09 12:31:36 -0700</bug_when>
    <thetext>One thing we could do without adding noise is to say &quot;N crashes&quot; when all the failures are crashes, and to say &quot;N failures&quot; when there is a mix of crashes, text failures, audio failures and/or image failures.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1144234</commentid>
    <comment_count>9</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2015-11-23 15:22:39 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; One thing we could do without adding noise is to say &quot;N crashes&quot; when all
&gt; the failures are crashes, and to say &quot;N failures&quot; when there is a mix of
&gt; crashes, text failures, audio failures and/or image failures.

So, I think whether crashes should be included in the big red number or not is a dashboard UI issue. It would be nice to simply have the crash count included in the raw data (I would prefer it be subtracted from failures, unless we double count other types of failures already).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1204223</commentid>
    <comment_count>10</comment_count>
      <attachid>248137</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2016-06-21 11:39:52 -0700</bug_when>
    <thetext>Comment on attachment 248137
Patch v1

Clearing review flags.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1204224</commentid>
    <comment_count>11</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2016-06-21 11:41:05 -0700</bug_when>
    <thetext>Apparently I was trying to solve a problem that no one was having, so moving to RESOLVED/WONTFIX.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>248137</attachid>
            <date>2015-03-06 20:23:30 -0800</date>
            <delta_ts>2016-06-21 11:39:52 -0700</delta_ts>
            <desc>Patch v1</desc>
            <filename>bug-142425-20150306202309.patch</filename>
            <type>text/plain</type>
            <size>3484</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTgxMTcyCmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggZGRkMzQ3YTY4Nzc1YzU1OGU3MzZmN2U2YjJiNjM0YTll
MDg1MjA1Zi4uYjI1ZTIwODhjNzg5ZDUyM2Q3Yz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