<?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>11012</bug_id>
          
          <creation_ts>2017-02-03 15:06:57 +0000</creation_ts>
          <short_desc>oe-selftest.log is not reporting failures when using xmlrunner</short_desc>
          <delta_ts>2017-02-21 15:33:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</component>
          <version>2.2</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>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mariano Lopez">mariano.lopez</reporter>
          <assigned_to name="Benjamin Esquivel">benjamin.esquivel</assigned_to>
          <cc>benjamin.esquivel</cc>
          
          <qa_contact name="Jose Perez C">jose.perez.carranza</qa_contact>
          <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>70415</commentid>
    <comment_count>0</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2017-02-03 15:06:57 +0000</bug_when>
    <thetext>If xmlrunner is enabled and a test fails, the log (results-oe-selftest.log) will mark test as PASSED. Steps to reproduce this:

1. Install xmlrunner (unittest-xml-reporting)
2. Checkout poky to 0ce888c4dc76b6e7ec09beb6ad74b85a87a54f7c revision
3. Add meta-selftest to bblayers.conf
4. Run &apos;oe-selftest -r sstatetests.SStateTests.test_sstate_sametune_samesigs&apos;
5. results-oe-selftest.log will have the test as PASSED even as you saw it FAIL</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70419</commentid>
    <comment_count>1</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2017-02-03 15:26:24 +0000</bug_when>
    <thetext>The revision is incorrect, it should be:

f431f766a0c5cd2c4545deff5c56e9918117d325</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70420</commentid>
    <comment_count>2</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2017-02-03 15:51:08 +0000</bug_when>
    <thetext>I verified it fails, when oe-selftest writes to the log it writes a mistaken result.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70651</commentid>
    <comment_count>3</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2017-02-13 02:59:34 +0000</bug_when>
    <thetext>review sent, can be seen at:

https://patchwork.openembedded.org/patch/137058/

and at:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=besquive/bug-11012

Mariano, would you check it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70749</commentid>
    <comment_count>4</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2017-02-16 16:13:53 +0000</bug_when>
    <thetext>merged in master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=476696030492b09a5985f948e38db8304cadd512</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70864</commentid>
    <comment_count>5</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-02-21 15:33:52 +0000</bug_when>
    <thetext>Tested in GDC local AB and is working correctly, all the logs generated are consistent.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>