<?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>15601</bug_id>
          
          <creation_ts>2024-09-25 00:54:39 +0000</creation_ts>
          <short_desc>The image_qa task hides unexpected exceptions</short_desc>
          <delta_ts>2025-01-07 21:16:48 +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>core</component>
          <version>5.1</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>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Peter Kjellerstedt">peter.kjellerstedt</reporter>
          <assigned_to name="Peter Kjellerstedt">peter.kjellerstedt</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</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>99712</commentid>
    <comment_count>0</comment_count>
    <who name="Peter Kjellerstedt">peter.kjellerstedt</who>
    <bug_when>2024-09-25 00:54:39 +0000</bug_when>
    <thetext>After commit 905e224849fbbed1719e0add231b00e2d570b3b4 (image_qa: fix error handling), any unexpected exceptions in do_image_qa() would result in a variable being set, but never used, effectively hiding the error.

For Styhead, my recommendation is to just remove the catch of Exception and just let any unexpected exceptions pass on up.

For master I instead recommend that we remove the use of the ImageQAFailed exception (and all exception handling in do_image_qa), and instead rely on the called functions to call oe.qa.handle_error() themselves. This matches what do_package_qa() does.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99736</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-09-26 15:58:34 +0000</bug_when>
    <thetext>Peter has sent patches.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100549</commentid>
    <comment_count>2</comment_count>
    <who name="Peter Kjellerstedt">peter.kjellerstedt</who>
    <bug_when>2025-01-07 21:16:48 +0000</bug_when>
    <thetext>This was solved in commit 0c3e111c965af2bc56533633c376b70b7fa5e1de for master, and  commit c00ad42b6a26ceb7a2878ed2c7f6c2821fe513cc for Styhead.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>