<?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>253048</bug_id>
          
          <creation_ts>2023-02-27 19:26:19 -0800</creation_ts>
          <short_desc>REGRESSION(257654@main): [ews-build.webkit.org][GTK][WPE] RunWebKitTestsRedTree sub-classes are overwriting the &apos;first_run&apos; properties on the retry steps.</short_desc>
          <delta_ts>2023-03-03 13:46:16 -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=249026</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=231999</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="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Carlos Alberto Lopez Perez">clopez</assigned_to>
          <cc>jbedard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1937262</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-02-27 19:26:19 -0800</bug_when>
    <thetext>257654@main changed the way the class RunWebKitTests() works: instead of specializing the function buildstep.BuildStep.commandComplete() the function buildstep.BuildStep.runCommand() is specialized.

Buildbot first calls runCommand() and then calls commandComplete()

The problem is with the subclasses of RunWebKitTests() which were specializing a commandComplete() function: now instead of executing the generic buildstep.BuildStep.runCommand() they execute the specialized RunWebKitTests.runCommand() which was the previous RunWebKitTests.commandComplete() so this has the undesired effect that the properties defined at RunWebKitTests().runCommand() (&apos;first_run_flakies&apos;, &apos;first_run_failures&apos; and &apos;first_results_exceed_failure_limit&apos;) get redefined (overwritten) multiple times with the values generated when running the command of each one of the sub-classes.

This is wrong and can causes unexpected issues later when analyzing the results in AnalyzeLayoutTestsResultsRedTree() because the values of the properties &apos;first_run_flakies&apos; and &apos;first_run_failures&apos; are not the ones from the first run but the ones from the last retry step executed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1937265</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-02-27 19:45:49 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/10776</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1938627</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-03-03 13:45:07 -0800</bug_when>
    <thetext>Committed 261167@main (440943ba5b7e): &lt;https://commits.webkit.org/261167@main&gt;

Reviewed commits have been landed. Closing PR #10776 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1938628</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-03-03 13:46:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/106210291&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>