<?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>248466</bug_id>
          
          <creation_ts>2022-11-29 06:44:48 -0800</creation_ts>
          <short_desc>[ews] re-run-layout-tests should use results database instead of doing clean-tree runs</short_desc>
          <delta_ts>2022-12-08 13:04:01 -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>Other</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=204368</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="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Aakash Jain">aakash_jain</assigned_to>
          <cc>ap</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1915285</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2022-11-29 06:44:48 -0800</bug_when>
    <thetext>[ews] re-run-layout-tests should use results database instead of doing clean-tree runs.

For example in https://ews-build.webkit.org/#/builders/10/builds/167694 layout-tests step had 4 failures and 3 of them were pre-existing as per results db (see https://ews-build.webkit.org/#/builders/10/builds/167694/steps/16/logs/stdio), but even though the fourth one (streams/readable-stream-default-controller-error.html) wasn&apos;t failing in results db, it was actually flaky, and it did not fail in re-run-layout-tests step (https://ews-build.webkit.org/#/builders/10/builds/167694/steps/22/logs/test-failures doesn&apos;t have that test failure).

EWS did run-layout-tests-without-change (after compiling webkit) and reached this conclusion, but all that extra compilation and run-layout-tests-without-change could have been avoided, if re-run-layout-tests  consulted results database.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915290</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-11-29 07:16:03 -0800</bug_when>
    <thetext>&lt;rdar://problem/102764839&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915291</commentid>
    <comment_count>2</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2022-11-29 07:16:50 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/6917</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915292</commentid>
    <comment_count>3</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2022-11-29 07:19:28 -0800</bug_when>
    <thetext>This is also needed in cases like https://ews-build.webkit.org/#/builders/10/builds/167706 where the first layout-test run failed to run because of some reason (e.g.: infra issue).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915296</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-11-29 08:00:05 -0800</bug_when>
    <thetext>Committed 257117@main (a6df5e4d036f): &lt;https://commits.webkit.org/257117@main&gt;

Reviewed commits have been landed. Closing PR #6917 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915302</commentid>
    <comment_count>5</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2022-11-29 08:27:21 -0800</bug_when>
    <thetext>More examples where this change would have helped:
https://ews-build.webkit.org/#/builders/60/builds/44663 (flaky failure in first run)

https://ews-build.webkit.org/#/builders/10/builds/167706 (first run failed due to infra issue)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915314</commentid>
    <comment_count>6</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2022-11-29 09:09:22 -0800</bug_when>
    <thetext>Restarted EWS to pick up this change.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>