<?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>10779</bug_id>
          
          <creation_ts>2016-12-08 15:28:16 +0000</creation_ts>
          <short_desc>Ensure auto.conf is restored at the end of build steps which modify it</short_desc>
          <delta_ts>2018-03-22 08:48:09 +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>2.3</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>2.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>pidge</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68936</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-12-08 15:28:16 +0000</bug_when>
    <thetext>Several build steps modify auto.conf which may then have a knock-on effect on later build steps.

We should restore the auto.conf to the default state, as created by the CreateAutoConf step, at the end of buildsteps which modify it in order to ensure the environment for the build is as expected.

Such a change was already made to RunSanityTests in order to resolve issues in the jethro build:

http://git.yoctoproject.org/clean/cgit.cgi/yocto-autobuilder/commit/?id=e675e6a7e8d06dcd0141394f329b74c2f5da21fa

but this should be generalised and used more widely post M1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68961</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-12-08 21:15:53 +0000</bug_when>
    <thetext>The change to RunSanityTests had to be reverted because it was causing exceptions on several of the builders on the YP cluster:

http://git.yoctoproject.org/clean/cgit.cgi/yocto-autobuilder/commit/?id=b5007ccf74e6f31c419a0b6b06f467ab9c9379b7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79925</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2018-03-22 08:48:09 +0000</bug_when>
    <thetext>Effectively resolved by the new infrastructure architecture of helper scripts (yocto-autobuilder-helper) with a more recent buildbot with minimal configuration (yocto-autobuilder2).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>