<?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>8029</bug_id>
          
          <creation_ts>2015-07-20 07:01:39 +0000</creation_ts>
          <short_desc>results-bitbake-worker.log is generated wrongly if there are same test method name</short_desc>
          <delta_ts>2015-09-17 08:32:42 +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.8.1</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.9 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="dawei">daweix.wu</reporter>
          <assigned_to name="Lucian Musat">georgex.l.musat</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>cathy.shen</cc>
    
    <cc>corneliux.stoicescu</cc>
    
    <cc>georgex.l.musat</cc>
    
    <cc>junhuix.zhang</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>52474</commentid>
    <comment_count>0</comment_count>
    <who name="dawei">daweix.wu</who>
    <bug_when>2015-07-20 07:01:39 +0000</bug_when>
    <thetext>Details:

below is test script.

Test1.py:
==========================================
from oeqa.oetest import oeRuntimeTest

class Test1(oeRuntimeTest):
    def testf(self):
        assert False, &quot;Test1 failed&quot;

class Test2(oeRuntimeTest):
    def testf(self):
        print &quot;Test2 pass&quot;
==========================================


Steps:
1. bitbake &lt;target&gt; -c testimage

Expected Results:
One pass and one fail in log

Actual Results:
All pass in log</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53770</commentid>
    <comment_count>1</comment_count>
    <who name="Lucian Musat">georgex.l.musat</who>
    <bug_when>2015-09-07 08:57:33 +0000</bug_when>
    <thetext>Patch merged in commit 4925fa08e12bee41788c986ebc213bca4dc49c78.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54190</commentid>
    <comment_count>2</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2015-09-17 08:32:42 +0000</bug_when>
    <thetext>verified on master: ea562de57590c966cd5a75fda8defecd397e6436
works as expected

NOTE: Logged as root in serial console
NOTE: Test modules  [&apos;oeqa.runtime.ping&apos;, &apos;oeqa.runtime.Test1&apos;]
NOTE: Found 3 tests
test_ping (oeqa.runtime.ping.PingTest) ... ok
testf (oeqa.runtime.Test1.Test1) ... FAIL
testf dump data stored in /tmp/oe-saved-tests/201509171131_testf
testf (oeqa.runtime.Test1.Test2) ... Test2 pass
ok

======================================================================
FAIL: testf (oeqa.runtime.Test1.Test1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/valentin/yocto/poky/meta/lib/oeqa/runtime/Test1.py&quot;, line 5, in testf
    assert False, &quot;Test1 failed&quot;
AssertionError: Test1 failed

----------------------------------------------------------------------
Ran 3 tests in 3.587s

FAILED (failures=1)
NOTE: Stopping logging thread
NOTE: Stop event received
NOTE: Tearing down logging thread
NOTE: Sending SIGTERM to runqemu
DEBUG: Python function do_testimage finished</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>