<?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>5220</bug_id>
          
          <creation_ts>2013-09-17 16:30:23 +0000</creation_ts>
          <short_desc>[webhob-poky/master] sstate_result in tasks table returns always &apos;0&apos; (not applicable)</short_desc>
          <delta_ts>2016-05-17 02:58:28 +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>1.5</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>toasterui</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="Cristiana Voicu">cristiana.voicu</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>liezhi.yang</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>36808</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2013-09-17 16:30:23 +0000</bug_when>
    <thetext>&apos;0&apos; (not applicable) is not a valid sstate_result for tasks with outcome &apos;2&apos; (sstate), which should return &apos;3&apos; (restored), &apos;2&apos; (failed) or &apos;1&apos; (missed). 

Below is an example of a task with outcome &apos;2&apos; showing sstate_result &apos;0&apos;:

{\&quot;work_directory\&quot;: null, \&quot;log_file\&quot;: \&quot;\&quot;, \&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;: null, \&quot;recipe\&quot;: 736, \&quot;sstate_result\&quot;: 0, \&quot;source_url\&quot;: null, \&quot;elapsed_time\&quot;: \&quot;0\&quot;, \&quot;py_stack_trace\&quot;: null, \&quot;logfile\&quot;: null, \&quot;cpu_usage\&quot;: null, \&quot;build\&quot;: 11, \&quot;task_name\&quot;: \&quot;do_populate_sysroot\&quot;, \&quot;message\&quot;: \&quot;\&quot;, \&quot;outcome\&quot;: 2, \&quot;order\&quot;: 436, \&quot;script_type\&quot;: 0}}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38838</commentid>
    <comment_count>1</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2013-11-18 07:53:01 +0000</bug_when>
    <thetext>the patch was merged to master 
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=51084379d43a6b6bbf828d2adaaccf803e9da081

waiting to be merged on dora-toaster,too, to change the status to resolved</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38846</commentid>
    <comment_count>2</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2013-11-18 11:19:50 +0000</bug_when>
    <thetext>merged to dora-toaster
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dora-toaster&amp;id=6302d1baf516d5cff5d2b65cc734ca5098a26894</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38878</commentid>
    <comment_count>3</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2013-11-18 16:35:57 +0000</bug_when>
    <thetext>verified in 

master:d7ccfc7605f1eb61511b1b2b8db4ac689ce6a468 

and 

dora-toaster:1182665de0da9a6e5fc77107f32a7fc1515029d0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62241</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-05-17 02:58:28 +0000</bug_when>
    <thetext>*** Bug 9429 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>