<?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>5269</bug_id>
          
          <creation_ts>2013-09-25 10:32:44 +0000</creation_ts>
          <short_desc>If do_package does not execute, built packages information is not collected</short_desc>
          <delta_ts>2013-12-23 16:03:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Toaster</product>
          <component>toaster</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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.6 M1</target_milestone>
          <dependson>5565</dependson>
          <blocked>5189</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="Alexandru Damian">alexandru.damian</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>bluelightning</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>richard.purdie</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>37183</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2013-09-25 10:32:44 +0000</bug_when>
    <thetext>If the do_package task is prebuilt instead of executed, we don&apos;t get any information about packages built for the recipe. Built packages information should be collected for both task types (prebuilt and executed).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37808</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-10-10 14:05:19 +0000</bug_when>
    <thetext>Paul, any suggestion ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37810</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-10-10 14:26:52 +0000</bug_when>
    <thetext>This is the disadvantage of using events triggered from do_package; if do_package never happens you won&apos;t get the information delivered to you.

Either:

1) Switch to an implementation that ensures the appropriate information is stored in pkgdata and retrieved at the end of the build, which will always be available; or

2) Look up the data from the previous run of this function from the earlier build (less desirable, because web hob might have been disabled the actual last time do_package was executed).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37815</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-10-10 14:56:49 +0000</bug_when>
    <thetext>I would go with no 1) if we:

a) decide on a policy to have a observing UI request hold-of-end-of-build from bitbake, so it has time to process the files on the system before the build ends and another controlling UI is accepted. Would this be acceptable ?

b) add a command to bitbake server that will dump the contents of a file on disk; this is because if the bitbake server runs on a different machine, there is no local file access.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37821</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-10-10 15:16:54 +0000</bug_when>
    <thetext>a) I think this has to happen anyway if we&apos;re to hope to do anything at the end. Without looking at the current implementation, surely if the controlling UI is still connected no other build should be able to be started unless by that controlling UI?

b) Right; either we have a generic &quot;get me this file/directory&quot; or a number of specific &quot;get me this specific information&quot; calls.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39105</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-11-26 18:25:06 +0000</bug_when>
    <thetext>review on poky-contrib:toaster/master edb12586c27ccddb054737ee6e081f663e2c60da</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39565</commentid>
    <comment_count>6</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2013-12-23 16:03:22 +0000</bug_when>
    <thetext>We have fixed this by displaying at least the set of packages installed if the build target is an image recipe. 

If the build target is not an image recipe, the built packages information is still empty if do_package does not execute. We&apos;ll address this with an empty state for the built packages page (see bug 4865).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39566</commentid>
    <comment_count>7</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2013-12-23 16:03:43 +0000</bug_when>
    <thetext>verified in master:3ada51f7aa26fc95d5f9ba4498c0ea54acc6e42e</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>