<?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>16196</bug_id>
          
          <creation_ts>2026-03-11 17:21:03 +0000</creation_ts>
          <short_desc>resulttool junit generation doesn&apos;t show individual ptest tests</short_desc>
          <delta_ts>2026-03-12 14:45:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Tooling</product>
          <component>tooling</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>paul</cc>
    
    <cc>randy.macleod</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>104586</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-03-11 17:21:03 +0000</bug_when>
    <thetext>If I run core-image-ptest-cpio:do_testimage then generated testresults.json lists individual cpio test cases:

   &quot;ptestresult.cpio.big_block_size&quot;: {
    &quot;status&quot;: &quot;PASSED&quot;
   },
   &quot;ptestresult.cpio.cpio_version&quot;: {
    &quot;status&quot;: &quot;PASSED&quot;
   },
   &quot;ptestresult.cpio.delayed_setstat&quot;: {
    &quot;status&quot;: &quot;PASSED&quot;
   },

However, if I generate JUnit from this then I just get a top-level item:

  &lt;testsuite name=&quot;Package Tests&quot; errors=&quot;0&quot; failures=&quot;0&quot; skipped=&quot;0&quot; tests=&quot;1&quot; time=&quot;1&quot;&gt;
    &lt;testcase name=&quot;cpio&quot; classname=&quot;ptest&quot; time=&quot;1&quot; /&gt;
  &lt;/testsuite&gt;

I think &quot;cpio&quot; should be a nested testsuite and then we can have each test case listed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>