<?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>15364</bug_id>
          
          <creation_ts>2024-01-23 13:47:44 +0000</creation_ts>
          <short_desc>glibc/gcc test suite causes false positives in regression report</short_desc>
          <delta_ts>2026-05-28 14:02:23 +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>devtools / tool chain</component>
          <version>4.3</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 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Harish Sadineni">Harish.Sadineni</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>sundeep.kokkonda</cc>
    
    <cc>Yash.Shinde</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>97951</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-01-23 13:47:44 +0000</bug_when>
    <thetext>The QA regression report has many false positives.  Specifically if we look at the 4.3.2 report:

http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.2/testresults/testresult-regressions-report.txt

We see many regressions of the form:

    ptestresult.gcc-g++-user.g++.dg/vect/pr21218.cc  -mloongson-mmi -std=c++20 (test for excess errors): PASS -&gt; No matching test result

    ptestresult.gcc-g++-user.g++.dg/vect/pr106841.cc  -mloongson-mmi -std=c++98 (test for excess errors): PASS -&gt; No matching test result

    ptestresult.gcc-user.gcc.dg/weak/weak-2.c scan-assembler weak[^ \t]*[ \t]_?ffoo1e: PASS -&gt; No matching test result


Whilst it&apos;s possible that the test suite removed a lot of test cases, my hunch is that the test report isn&apos;t being formatted correctly so the test case names are not accurate, so the regression report is basically comparing random lines of the log files.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99642</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-09-11 19:00:50 +0000</bug_when>
    <thetext>Harish 
Is this issue fixed now? If so please resolve and include a link to the fix.
Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100064</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-10-30 17:24:56 +0000</bug_when>
    <thetext>Harish,
Thanks for moving the bug to 5.2. 
Since this is a Medium+ importance bug, it should target a specific milestone and I picked M2 since we should improve the tests as soon as we can in part to have impressive results in the YP Summit presentation! ;-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100859</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-02-06 15:15:48 +0000</bug_when>
    <thetext>Still happened in :

https://downloads.yoctoproject.org/releases/yocto/yocto-5.1.2//testresults/testresult-regressions-report.txt

Harish, is this still a problem? 
Do you have a link to a more recent log proving that the mangled logs are better?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102407</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-07-03 15:38:55 +0000</bug_when>
    <thetext>Still issues listed:
   https://downloads.yoctoproject.org/releases/yocto/yocto-5.2.1/testresults/testresult-regressions-report.txt

Harish, is this defect being worked on for 5.3?
Do you have an idea of how to proceed? If not please explain what you have done so far to try to reproduce the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102420</commentid>
    <comment_count>5</comment_count>
    <who name="Harish Sadineni">Harish.Sadineni</who>
    <bug_when>2025-07-04 10:55:44 +0000</bug_when>
    <thetext>I’ve reviewed the regressions reported from GCC.
 
The 20 regressions listed under ptestresult.gcc-libitm-user are not actual regressions. In the result log, these tests include the full build path in their output. Since the build paths differ between the two builds, the results appear different, but the tests themselves are unchanged.
 
Some of the other reported regressions are caused by program timed out.: WARNING messages. These timeouts don’t occur consistently across builds, so the warnings are not reliable indicators of regressions.
 
In the case of the glibc tests, the results were inconsistent between two consecutive builds. We need to investigate further to understand the cause of these deviations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104862</commentid>
    <comment_count>6</comment_count>
    <who name="Harish Sadineni">Harish.Sadineni</who>
    <bug_when>2026-03-30 18:12:48 +0000</bug_when>
    <thetext>The false positives in the gcc-libitm test case results in regression report were fixed by the following commit:
https://git.openembedded.org/openembedded-core/commit/?id=b91f6cec2b248209fcf7b81d7e32ba0f4f2b1ec9
 
Currently working on analyzing the remaining false postives.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>