<?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>9949</bug_id>
          
          <creation_ts>2016-07-15 10:34:51 +0000</creation_ts>
          <short_desc>oe-selftest needs to verify bberror etc</short_desc>
          <delta_ts>2019-10-04 07:39:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>2.1</version>
          <rep_platform>All</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>enhancement</bug_severity>
          <target_milestone>4.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Apoorv">apoorv.sangal</assigned_to>
          <cc>sangeeta.jain</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="Apoorv">apoorv.sangal</qa_contact>
          <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>64025</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-07-15 10:34:51 +0000</bug_when>
    <thetext>Shell functions in bitbake get given functions and FIFOs so they can emit logs to the user (bberror, bbwarn, etc).

Since the Py3 migration these have been broken and nobody noticed until image generation failed without any messages.

We need a simple recipe to call bberror/bbwarn etc and verify that they are working as expected by grepping the cooker log after invoking bitbake.

github:rossburton/meta-ross/classes/crasher.bbclass is my local test class for experimenting with this. Note that it does a bbwarn after bbfatal so I can verify that bbfatal has in fact aborted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64067</commentid>
    <comment_count>1</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-07-15 17:22:38 +0000</bug_when>
    <thetext>assigning to José so he finds the right owner in QA.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74689</commentid>
    <comment_count>2</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-06-30 19:24:12 +0000</bug_when>
    <thetext>Patch on the list 

https://patchwork.openembedded.org/patch/141441/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76337</commentid>
    <comment_count>3</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-08-30 15:47:37 +0000</bug_when>
    <thetext>Moved to 2.5 due resources constraint</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76338</commentid>
    <comment_count>4</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-08-30 15:48:26 +0000</bug_when>
    <thetext>Moved to 2.5 due resources constraint</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85209</commentid>
    <comment_count>5</comment_count>
    <who name="Sangeeta Jain">sangeeta.jain</who>
    <bug_when>2019-10-04 07:39:15 +0000</bug_when>
    <thetext>test bbtests.py is merged in selftests</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>