<?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>15965</bug_id>
          
          <creation_ts>2025-09-08 08:10:41 +0000</creation_ts>
          <short_desc>testexport: runnig parselogs fails due to missing ignores files</short_desc>
          <delta_ts>2026-01-13 07:22:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>oe-core other</component>
          <version>5.0.15</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Barne Carstensen">barne.carstensen</reporter>
          <assigned_to name="Barne Carstensen">barne.carstensen</assigned_to>
          <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>102707</commentid>
    <comment_count>0</comment_count>
    <who name="Barne Carstensen">barne.carstensen</who>
    <bug_when>2025-09-08 08:10:41 +0000</bug_when>
    <thetext>Description:
After exporting the tests and running the test suite parselogs the test fails because in dmesg_output.log the line &quot;ACPI: _OSC evaluation for CPUs failed, trying _PDC&quot; is considered a failure. Normally this line should be ignored in the test and is listed in the file &quot;oe-core/meta/lib/oeqa/runtime/cases/parselogs-ignores-common.txt&quot;

Steps to reproduce:
- configure build: in local.conf add
   IMAGE_CLASSES += &quot;testexport&quot;
   TEST_TARGET_IP = &quot;IP-address-for-the-test-target&quot;
   TEST_SERVER_IP = &quot;IP-address-for-the-test-server&quot;
- build image
- export tests: bitbake image -c testexport
- run image: e.g with QEMU
- execute tests: e.g 
   cd tmp/testimage/image
   ./oe-test runtime #runs all tests

Actual result:
parselogs test fails because of &quot;harmless&quot; log entry

Expected Result:
pareslogs test should pass

Build Date &amp; Hardware:
Build 2025-09-05 on Dockercontainer running Debian 12

Reason:
The &quot;oe-core/meta/classes-recipe/testexport.bbclass&quot; is not packing the parselogs-ignores-*.txt files into the tarball.

Suggestion:
Always pack all parselogs-ignores-*.txt files. E.g:
in testexport.bbclass line 121 add:
import glob
parselogs_ignores = glob.glob(os.path.join(corebase_path, &apos;meta&apos;, &apos;lib&apos;, &apos;oeqa&apos;, &apos;runtime&apos;, &apos;cases&apos;, &apos;parselogs-ignores-*.txt&apos;))
    for f in parselogs_ignores:
         shutil.copy2(f, cases_path)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102736</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-09-11 14:38:41 +0000</bug_when>
    <thetext>Looks good, can you send your patch?
YP Bug review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102777</commentid>
    <comment_count>2</comment_count>
    <who name="Barne Carstensen">barne.carstensen</who>
    <bug_when>2025-09-15 07:51:33 +0000</bug_when>
    <thetext>Hallo Randy,
Yes I hope I can do that during this week. I still have some company internal issues setting up our SMTP server for sending the patch, but I hope that will be solved soon :) This is the first time I will hand in a bug, do I need to change the status to IN PROGRESS IMPLEMENTATION?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102785</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-09-15 18:43:46 +0000</bug_when>
    <thetext>Thanks Barne!

There are few firm rules for the YP bugzilla status but 
I&apos;ve set the status as you mentioned mostly to take it out of Needinfo, 
because Stephen does track that status to ensure that things don&apos;t stall.

Good luck with the setup and 
please let me know if you need some help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103804</commentid>
    <comment_count>4</comment_count>
    <who name="Barne Carstensen">barne.carstensen</who>
    <bug_when>2026-01-12 07:47:57 +0000</bug_when>
    <thetext>&gt; Hello,
&gt; Took me a while but I was able to build master now and yes, the 
&gt; parselogs_ignores_*.txt files are in the testexport.tar.gz Sorry for 
&gt; not checking that before, I only looked into the reported bugs. Lesson 
&gt; learned. I guess the patch can then be rejected 😊</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103826</commentid>
    <comment_count>5</comment_count>
    <who name="Barne Carstensen">barne.carstensen</who>
    <bug_when>2026-01-13 07:22:43 +0000</bug_when>
    <thetext>closing bug since not an issue on master branch any more</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>