<?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>8406</bug_id>
          
          <creation_ts>2015-09-28 14:24:10 +0000</creation_ts>
          <short_desc>testimage: getting dumps from successful tests</short_desc>
          <delta_ts>2015-10-01 15:18:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>1.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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>2.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mariano Lopez">mariano.lopez</reporter>
          <assigned_to name="Mariano Lopez">mariano.lopez</assigned_to>
          <cc>benjamin.esquivel</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>54729</commentid>
    <comment_count>0</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-09-28 14:24:10 +0000</bug_when>
    <thetext>There are some runtime test that even if the test is successful the target and the host are being dump (this only happens when a test fails). This seems to happen only with the syslog tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54731</commentid>
    <comment_count>1</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-09-28 14:36:14 +0000</bug_when>
    <thetext>It seems the decorators in the syslog test are handling an exception and this will make (sys.exc_info() == (None, None, None)) to be true and it will enter in the dump condition. I will change the condition to search for failed test instead of checking the stack.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54741</commentid>
    <comment_count>2</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2015-09-28 15:42:15 +0000</bug_when>
    <thetext>Hi Mariano this condition you&apos;re talking about would be to check for the last executed test only so you need to know which was the immediate previous test executed which I think would be easy in the context you&apos;re doing your logic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54889</commentid>
    <comment_count>3</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-10-01 15:17:21 +0000</bug_when>
    <thetext>This has been solved with commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=df09a6f4e30ae66db69a3d5e7ce2b5488b68e60b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>