<?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>14901</bug_id>
          
          <creation_ts>2022-08-19 09:50:54 +0000</creation_ts>
          <short_desc>lttng: collect TAP output</short_desc>
          <delta_ts>2024-02-22 16:02:25 +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>unspecified</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>High</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>5.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Alexis Lothoré">alexis.lothore</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>nicolas.marguet</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>thomas</cc>
    
    <cc>tim.orling</cc>
    
    <cc>zhe.he</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>93867</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-08-19 09:50:54 +0000</bug_when>
    <thetext>To be able to report issues upstream, we should collect the TAP output of lttng, at least when one of the test fails.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93907</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-08-25 14:44:22 +0000</bug_when>
    <thetext>High unassigned. This isn&apos;t good. CCing some Wind River people who may be able to help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93909</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-08-25 14:49:23 +0000</bug_when>
    <thetext>Technically an enhancement but we need the info to deal with AB INT problems.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93949</commentid>
    <comment_count>3</comment_count>
    <who name="Thomas Roos">thomas</who>
    <bug_when>2022-09-01 12:45:25 +0000</bug_when>
    <thetext>kindly like to ask what a AB INT problem is?
And if there are more information about the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93950</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-09-01 12:59:23 +0000</bug_when>
    <thetext>Those are intermittent issues that we see on the autobuilders. lttng ptests are failing often and we need to understand whether this is caused by the infrastructure or an issue in the image we build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93951</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-09-01 13:00:13 +0000</bug_when>
    <thetext>The bug tracking the occurrences is 14263</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94086</commentid>
    <comment_count>6</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2022-09-29 14:39:09 +0000</bug_when>
    <thetext>For the lazy:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14263</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94097</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-09-29 21:59:49 +0000</bug_when>
    <thetext>And the other one is
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14854</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95125</commentid>
    <comment_count>8</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2023-03-14 08:11:20 +0000</bug_when>
    <thetext>I did make some progress on this whilst trying to fix a different issue:

https://git.yoctoproject.org/poky/commit/?id=2ea27691aa57951aaba3cc1714a080a112d15408 

which now captures more info for lttng-tools. Whether it is enough, not sure.

I also realised we could do something similar in attr/acl: https://git.yoctoproject.org/poky/commit/?id=2c948fa0250b765bc5f2fbe63c82258601cc77ff</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95666</commentid>
    <comment_count>9</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-06-08 15:14:28 +0000</bug_when>
    <thetext>Patches in review I hear.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98233</commentid>
    <comment_count>10</comment_count>
    <who name="Alexis Lothoré">alexis.lothore</who>
    <bug_when>2024-02-20 09:37:43 +0000</bug_when>
    <thetext>Patches activating failed ptests artifacts retrieval have been merged and now allows to get ptests files when the corresponding test fails.
As an example with a failing valgrind ptest:
- https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6099
- https://autobuilder.yocto.io/pub/non-release/20240218-3/testresults/qemuarm64-ptest/artifacts/usr/lib/valgrind/ptest/

So LTTNG files should also be retrieved on failure now. We could even remove the customizations made by Richard in LTTNG ptest runner.

I will wait a few days for any feedback about how it works, and if no issue is raised, I will close the this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>