<?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>4485</bug_id>
          
          <creation_ts>2013-05-10 15:34:19 +0000</creation_ts>
          <short_desc>Autobuilder should resolve commit IDs immediately</short_desc>
          <delta_ts>2013-09-27 21:30:39 +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>unspecified</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>normal</bug_severity>
          <target_milestone>1.5 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Beth Flanagan">elizabeth.flanagan</assigned_to>
          <cc>elizabeth.flanagan</cc>
    
    <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>sgw</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>33049</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-05-10 15:34:19 +0000</bug_when>
    <thetext>If I tell the autobuilder to build master, I&apos;m expecting it to resolve HEAD at the time I push the button. If I then push more changes to a branch whilst its building, the revision the autobuilder builds currently changes depending on when the checkout happens. This is not desirable and leads to confusing builds results.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33158</commentid>
    <comment_count>1</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2013-05-20 17:55:44 +0000</bug_when>
    <thetext>The issue here is that we&apos;re setting the commit to check out to be HEAD.

As we don&apos;t want nightly to checkout every repo utilized in what it triggers, so we never resolve it in the triggered build. We just pass the commit id as HEAD which leads to this issue.

This is actually the expected behavior although I will agree that it&apos;s not the desired behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37281</commentid>
    <comment_count>2</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2013-09-27 04:14:32 +0000</bug_when>
    <thetext>Currently testing. This has quite a number of corner cases due to our ability to mix and match repo/branch/tag. Final move to production pending testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37308</commentid>
    <comment_count>3</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2013-09-27 21:30:39 +0000</bug_when>
    <thetext>Fixed as of: 
http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/commit/?id=1f4b9b6575b1ba01bc82a39b9c63d7474a295163</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>