<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>13642</bug_id>
          
          <creation_ts>2019-11-21 19:52:44 +0000</creation_ts>
          <short_desc>Split single &quot;run-config&quot; step into multiple steps</short_desc>
          <delta_ts>2020-11-12 15:16:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>3.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>3.3 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>pidge</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>tim.orling</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85596</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-11-21 19:52:44 +0000</bug_when>
    <thetext>Currently the autobuilder has one step &quot;run-config&quot; which runs multiple different steps internally. These go to different log files with confusing names like &quot;step2d&quot;. The reason is we can&apos;t know in advance how many steps a given target on the autobuilder will have in a given release.

From buildbot irc:
(15:40:01) aakashja_: RP: they definitely can be added dynamically at execution time based on the data from worker. We do that in WebKit.
(15:40:48) aakashja_: RP: for example in https://trac.webkit.org/browser/webkit/trunk/Tools/BuildSlaveSupport/ews-build/steps.py#L113 if the CheckOutSource fails, we invoke CleanUpGitIndexLock build-step.
Aaeriele aakashja_ 
(16:22:44) RP: aakashja_: addStepsAfterCurrentStep sounds promising, an example really helps, thanks!
(16:46:22) aakashja_: RP: this is how that dynamic step look like in buildbot build: https://ews-build.webkit.org/#/builders/4/builds/2570

so we should be able to have a step query how many steps a given build run has, then dynamically create them with addStepsAfterCurrentStep(). Bonus marks for creating human readable names for the steps (we could add this to config.json if there were a good way to display it which there now is).

The benefit of doing this would be more understandable logs for users which would show individual execution times and warnings/errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88584</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-11-09 05:14:36 +0000</bug_when>
    <thetext>Updated link https://trac.webkit.org/browser/webkit/trunk/Tools/CISupport/ews-build/steps.py</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88595</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-11-12 15:16:02 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/yocto-autobuilder2/commit/?id=25d5a7d0aec3d24c8247c93b2e4ab704445dd75a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>