<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Display failing JSC stress tests in buildbot dashboard"
   href="https://bugs.webkit.org/show_bug.cgi?id=156595#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Display failing JSC stress tests in buildbot dashboard"
   href="https://bugs.webkit.org/show_bug.cgi?id=156595">bug 156595</a>
              from <span class="vcard"><a class="email" href="mailto:svijayaraghavan&#64;apple.com" title="Sri Vijayaraghavan &lt;svijayaraghavan&#64;apple.com&gt;"> <span class="fn">Sri Vijayaraghavan</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=156595#c4">comment #4</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=276428&amp;action=diff" name="attach_276428" title="Patch">attachment 276428</a> <a href="attachment.cgi?id=276428&amp;action=edit" title="Patch">[details]</a></span>
&gt; Patch
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=276428&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=276428&amp;action=review</a>
&gt; 
&gt; Despite my many comments, this looks very good, almost ready for landing.
&gt; 
&gt; &gt; Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:49
&gt; &gt; +    this.javaScriptCoreStressTestResults = null;
&gt; 
&gt; Is &quot;stress test&quot; the correct name for this test suite? We simply execute
&gt; run-javascriptcore-tests, there doesn't seem to be anything about &quot;stress&quot;
&gt; there.</span >
Only stress test info is sent to BuildBot right now. 

I can modify the run-javascriptcore-tests script to include API test failures and build failures as well.

<span class="quote">&gt; &gt; Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:193
&gt; &gt; +        this.regressions = data.jscStressFailList;
&gt; &gt; +        console.assert(data.numJSCStressFailures === this.regressions.length);
&gt; 
&gt; I think that before having this go live, we should take another look at JSON
&gt; content, to make it better match WebKit naming conventions.
&gt; 
&gt; Would something like this make sense?
&gt; 
&gt; numJSCStressFailures -&gt; failureCount
&gt; jscStressFailList -&gt; failures
&gt; 
&gt; But also, why do we need a separate count when there it can be taken from
&gt; the array?</span >
Count is redundant, I'll get rid of it. The JSON might further change once I add the non-stress JSC results as well.

<span class="quote">&gt; &gt; Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:108
&gt; &gt; +                    } else if (failedStep.name === &quot;jscore-test&quot;) {
&gt; 
&gt; As a separate patch, we should also teach the dashboard how to display
&gt; failures in the popover when there are failures on multiple kinds.</span >
OK

<span class="quote">&gt; &gt; Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:109
&gt; &gt; +                        var status = new StatusLineView(messageElement, StatusLineView.Status.Bad, this._testStepFailureDescription(failedStep), failedStep.tooManyFailures ? failedStep.failureCount + &quot;\uff0b&quot; : failedStep.failureCount, iteration.queue.buildbot.javaScriptCoreStressTestFailuresURLForIteration(iteration));
&gt; 
&gt; I don't think that JSC tests have the concept of &quot;too many failures&quot; at this
&gt; time</span >
Will be removed, thanks!

<span class="quote">&gt; &gt; Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:268
&gt; &gt; +        this._addIterationHeadingToPopover(iteration, content, &quot;jscore stress test failures&quot;);
&gt; 
&gt; Once again, unsure about the name.
&gt; 
&gt; I don't see any link from the popover to detailed test results, is there
&gt; one? It's useful to have an easy way to see the actual output.
&gt; 
&gt; We'll probably need a different UI than for layout tests, because we don't
&gt; have individual result files here.</span >
I'll change the text.

There's no link to the JSC test stdio (the heading does include a link to the build page though). It would be trivial to add, but we need to figure out a good place in the UI for it. Perhaps to the right of the build link?

<span class="quote">&gt; &gt; Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:360
&gt; &gt; +        if (iteration.javaScriptCoreStressTestResults)
&gt; &gt; +            var content = this._popoverContentForJavaScriptCoreStressTestRegressions(iteration);
&gt; &gt; +        else {
&gt; 
&gt; Is there anything here that could be shared rather than copy/pasted?</span >
Do you mean a reusable function that displays a loading indicator until content is loaded?

I would like to make server-side changes (i.e. run-javascriptcore-tests JSON content changes, including non-stress failures, plus the buildbot change to make it live) first. I've been resorting to weird hackery to check if the front-end changes work, but it will be much faster if the back-end works.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>