Bug 13811 - Memory Resident bitbake has output redirection problem
Summary: Memory Resident bitbake has output redirection problem
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 3.1
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.2 M3
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-02-23 13:14 UTC by Richard Purdie
Modified: 2020-08-25 10:26 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.