<?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>13408</bug_id>
          
          <creation_ts>2019-06-19 11:50:43 +0000</creation_ts>
          <short_desc>ptest reports contain corrupted lines</short_desc>
          <delta_ts>2019-09-26 15:35:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Package Testing (ptest)</product>
          <component>ptest</component>
          <version>0.0.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>CLOSED</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.7.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Armin Kuster">akuster</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>richard.purdie</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>84247</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-06-19 11:50:43 +0000</bug_when>
    <thetext>When some tests fail the ptest report is corrupted: instead of listing the test that failed, it reports:

    ptestresult.glib-2.0.glib/resources.test__Child_process_killed_by_signal_6_

Some of that line is the message, not the test name.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84249</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-06-19 11:54:43 +0000</bug_when>
    <thetext>For that exact instance:

GLib-GIO:ERROR:../glib-2.60.3/gio/tests/resources.c:582:test_resource_binary_linked: &apos;found&apos; should be TRUE
Bail out! GLib-GIO:ERROR:../glib-2.60.3/gio/tests/resources.c:582:test_resource_binary_linked: &apos;found&apos; should be TRUE
FAIL: glib/resources.test (Child process killed by signal 6)

So the code to parse the FAIL line should ignore the stuff in brackets.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84287</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-06-20 14:51:45 +0000</bug_when>
    <thetext>Fixed in master, possible backport: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=85075b80d610d5ced47d909b8efe1ee531db0c71</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85104</commentid>
    <comment_count>3</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-09-26 15:35:42 +0000</bug_when>
    <thetext>in warrior mainline

https://git.openembedded.org/openembedded-core/commit/meta/lib/oeqa/utils/logparser.py?h=warrior&amp;id=95031da4f08295ad81efac1c082c48dd5c330fb0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85105</commentid>
    <comment_count>4</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-09-26 15:35:55 +0000</bug_when>
    <thetext>.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>