<?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>13811</bug_id>
          
          <creation_ts>2020-02-23 13:14:59 +0000</creation_ts>
          <short_desc>Memory Resident bitbake has output redirection problem</short_desc>
          <delta_ts>2020-08-25 10:26:56 +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>BitBake</product>
          <component>bitbake</component>
          <version>3.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>3.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <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>86566</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-02-23 13:14:59 +0000</bug_when>
    <thetext>Set BB_SERVER_TIMEOUT = &quot;2&quot; in local.conf, then run:

oe-selftest -r tinfoil

and you&apos;ll see the tests, then the output of &quot;bitbake -e&quot; on the console.

It comes from the call in oeqa/utils/metadata.py:metadata_from_bb() function, specifically the line:

data_dict = get_bb_vars(

The output disappears if you change to:

import time
time.sleep(3)
data_dict = get_bb_vars()

Something about the tinfoil memres bitbake left behind is breaking the stdout.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88027</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-08-25 10:26:56 +0000</bug_when>
    <thetext>Happily, fixed by http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7002d67de02206fca0782c3373e915de20a71e9e</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>