Bug 13811

Summary: Memory Resident bitbake has output redirection problem
Product: [Build System, Metadata & Runtime] BitBake Reporter: Richard Purdie <richard.purdie>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: poky.bs.watcher, poky.watcher, randy.macleod
Version: 3.1   
Target Milestone: 3.2 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Richard Purdie 2020-02-23 13:14:59 UTC
Set BB_SERVER_TIMEOUT = "2" in local.conf, then run:

oe-selftest -r tinfoil

and you'll see the tests, then the output of "bitbake -e" 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.