<?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>4276</bug_id>
          
          <creation_ts>2013-04-12 11:19:13 +0000</creation_ts>
          <short_desc>Distinguish between executed, existing, sstate and covered tasks</short_desc>
          <delta_ts>2013-10-29 13:37:22 +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>enhancement</bug_severity>
          <target_milestone>1.5 M1</target_milestone>
          
          <blocked>4650</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="Alexandru Damian">alexandru.damian</assigned_to>
          <cc>jessica.zhang</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>32047</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2013-04-12 11:19:13 +0000</bug_when>
    <thetext>Web Hob will classify tasks into 2 categories:

* sstate tasks
* built tasks

Tasks will also report a &apos;status&apos;. 

sstate tasks can have the following status:

* Missed
* Completed
* Failed

Built tasks can have the following status:

* Previously built
* Completed
* Failed

Task type and status should be included in the tasks table (see bug 4275).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32049</commentid>
    <comment_count>1</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2013-04-12 11:33:54 +0000</bug_when>
    <thetext>Question about this classification: isn&apos;t a missed task a built task? Basically, for a given task the checksum changed, so it was rebuilt. If we apply this classification, wouldn&apos;t we end up with 2 entries for the same task in the tasks table (one missed, one rebuilt)?

We should clear this up with RP, Ross and Paul E, who came up with the task classification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33797</commentid>
    <comment_count>2</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2013-06-12 09:36:27 +0000</bug_when>
    <thetext>We have decided to classify tasks into 2 main types:

1. Executed: tasks that build something
2. Prebuilt: tasks that don&apos;t built anything

The above tasks types can have the following outcomes:

1. Executed tasks:

1.1 Succeeded: executed tasks that complete
1.2 Failed: executed tasks that don&apos;t complete

2. Prebuilt tasks:

2.1 Existing: prebuilt tasks for which BitBake finds a stamp file
2.2 Sstate: prebuilt tasks that complete reusing sstate objects 
2.3 Covered: prebuilt tasks brought in by sstate tasks

For more details see the Django db tasks model at: 

https://wiki.yoctoproject.org/wiki/Django_models

And bug 4275</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38083</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-10-21 09:40:42 +0000</bug_when>
    <thetext>Merged in origin/master and origin/dora-toaster.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38249</commentid>
    <comment_count>4</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2013-10-29 13:37:22 +0000</bug_when>
    <thetext>Verified fixed in: 

master: 76751a03b1475f22499c488395274453096b9c38
dora-toaster: 4b64eb444ab065915267d8040bf878ecae9b00c4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>