<?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>6095</bug_id>
          
          <creation_ts>2014-04-01 14:35:05 +0000</creation_ts>
          <short_desc>Retrieve full build information independently of task execution</short_desc>
          <delta_ts>2023-12-14 04:27:10 +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>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>    </status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="David Reyna">david.reyna</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>dave.lerner</cc>
    
    <cc>david.reyna</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>42042</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-04-01 14:35:05 +0000</bug_when>
    <thetext>Currently, if do_package does not execute, Toaster does not collect built package information. If do_rootfs does not execute, Toaster does not collect image files and license manifest information. For some history about this issue, see bug 5269

Toaster should collect all information about a build independently of task execution. 

This is RP&apos;s suggested solution:

how about when toaster sees package or image information, it logs it into the database against the sstate checksum for that task. If a build then reuses something with a sstate checksum we know about, we can pull that data back out the database and display it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42401</commentid>
    <comment_count>1</comment_count>
    <who name="Dave Lerner">dave.lerner</who>
    <bug_when>2014-04-08 19:28:48 +0000</bug_when>
    <thetext>Adding the sstate checksum to the database seems reasonable as I also suggested a few weeks ago, use the database just as sstate-cache is used to cache information. However, this technique fails if sstate cache is populated when toaster is not running.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50558</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2015-04-28 14:43:53 +0000</bug_when>
    <thetext>case A). Toaster already stores sstate checksums for tasks, so we only need to modify the interface to bring in data from previous executed task with the same checksum.

case B). Toaster doesn&apos;t have the previously task with the same sstate id. The data is not generated at all by the build system, so it is impossible to gather it unless we force re-execution of tasks, with the associated time and performance penalty. I recommend that case B should be Will Not Be Fixed.

This bug remains open to track implementation of case A. 
Assigning to Dave, as developer of the original task pages.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>