<?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>5763</bug_id>
          
          <creation_ts>2014-01-28 15:11:43 +0000</creation_ts>
          <short_desc>Not available outcome when task is not executed.</short_desc>
          <delta_ts>2014-03-27 12:51:33 +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>x86</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 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andreea Brandusa Proca">andreea.b.proca</reporter>
          <assigned_to name="Alexandru Damian">alexandru.damian</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>bluelightning</cc>
    
    <cc>cristiana.voicu</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>40063</commentid>
    <comment_count>0</comment_count>
    <who name="Andreea Brandusa Proca">andreea.b.proca</who>
    <bug_when>2014-01-28 15:11:43 +0000</bug_when>
    <thetext>{
    &quot;pk&quot;: 468,.
    &quot;model&quot;: &quot;orm.task&quot;,.
    &quot;fields&quot;: {
        &quot;work_directory&quot;: &quot;&quot;,.
        &quot;cpu_usage&quot;: null,.
        &quot;task_executed&quot;: false,.
        &quot;disk_io&quot;: null,.
        &quot;line_number&quot;: 0,.
        &quot;path_to_sstate_obj&quot;: &quot;&quot;,.
        &quot;sstate_checksum&quot;: &quot;&quot;,.
        &quot;recipe&quot;: 139,.
        &quot;sstate_result&quot;: 0,.
        &quot;source_url&quot;: &quot;&quot;,.
        &quot;elapsed_time&quot;: &quot;0&quot;,.
        &quot;logfile&quot;: &quot;&quot;,.
        &quot;build&quot;: 1,.
        &quot;task_name&quot;: &quot;do_package&quot;,.
        &quot;message&quot;: &quot;&quot;,.
        &quot;outcome&quot;: 5,.
        &quot;order&quot;: null,.
        &quot;script_type&quot;: 0
    }

 &quot;outcome&quot;: 5 =&gt; from models.py: OUTCOME_NA = 5 and OUTCOME_NA = &apos;Not Available&apos;

master:1a9226f140f578f11696abf1a3c989fae1d4c14a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40064</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2014-01-28 15:16:42 +0000</bug_when>
    <thetext>This works as intended. 

The design specifies that for NoExec tasks, the outcome is *empty*. Since we have to have a value there, the coding for *empty* is OUTCOME_NA, &apos;Not available&apos;

Not a bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40067</commentid>
    <comment_count>2</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-01-28 17:52:04 +0000</bug_when>
    <thetext>Right, that makes sense, but it is a bit confusing, particularly because &quot;not available&quot; used to mean a different thing, and because it seems to be the default value for the &apos;outcome&apos; field

outcome = models.IntegerField(choices=TASK_OUTCOME, default=OUTCOME_NA)

If we are going to reuse OUTCOME_NA for the Not executed - Empty tasks, can we change the model to say 

(OUTCOME_NA, &apos;Empty&apos;)

and can we make sure it is not the default value for the outcome field?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40068</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2014-01-28 18:04:48 +0000</bug_when>
    <thetext>I would actually suggest that this is UI implementation detail, and for OUTCOME_NA we should display actually nothing (empty box), instead of &quot;Empty&quot;.

What do you say ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40078</commentid>
    <comment_count>4</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-01-29 14:31:47 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; I would actually suggest that this is UI implementation detail, and for
&gt; OUTCOME_NA we should display actually nothing (empty box), instead of
&gt; &quot;Empty&quot;.
&gt; 
&gt; What do you say ?

I don&apos;t think we should do that. &quot;Empty&quot; means that the task is empty in the sense that it doesn&apos;t have any executable content. &quot;Empty&quot; is the same as &quot;Prebuilt&quot; or &quot;Covered&quot;: is the way we name a certain type of task in Toaster. Of all the possible labels we could come up with, we chose &quot;Empty&quot; as the least bad of them all.

In a table where each and every task has an outcome, it would be quite strange to have noexec tasks without one. The outcomes are a classification system for BitBake tasks: to be effective as a classification system, they must cover all tasks without exception. 

I hope this makes sense.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40301</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2014-02-12 12:42:12 +0000</bug_when>
    <thetext>Needs label change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41828</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2014-03-27 11:32:09 +0000</bug_when>
    <thetext>The changeset for implementing OUTCOME_EMPTY is merged into origin/master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41836</commentid>
    <comment_count>7</comment_count>
    <who name="Andreea Brandusa Proca">andreea.b.proca</who>
    <bug_when>2014-03-27 12:51:33 +0000</bug_when>
    <thetext>Verified in master:ac4ff568f5b2ad4f50a1b7b60797e7b797c314bb</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>