Bug 11834 - if you have a bad layer in bblayers, bitbake server connection hangs
Summary: if you have a bad layer in bblayers, bitbake server connection hangs
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 2.4
Hardware: x86 Multiple
: High normal
Target Milestone: 2.4 M3
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-07-25 20:36 UTC by brian avery
Modified: 2017-07-30 10:30 UTC (History)
4 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 brian avery 2017-07-25 20:36:05 UTC
poky commitish f7eb49e5db69b4f75105434d427b1cf67719bb0a

If you have a bad path in your bblayers file, the memres startup gets into an error loop. This loop is silent from the terminal point of view until you ctrl-c the process and look at the bitbake-cookerdaemon.log.

A snippet from the bitbake-cookerdaemon.log, this repeats for at least a minute or two...

ERROR: Layer directory '/workdir/poky/meta' does not exist! Please check BBLAYERS in /home/bavery/work/esdk-menuconfig/build/conf/bblayers.conf
ERROR: Layer directory '/workdir/poky/meta' does not exist! Please check BBLAYERS in /home/bavery/work/esdk-menuconfig/build/conf/bblayers.conf
NOTE: Timeout while attempting to communicate with bitbake server, retrying...
NOTE: Timeout while attempting to communicate with bitbake server, retrying...
NOTE: Timeout while attempting to communicate with bitbake server, retrying...
NOTE: Timeout while attempting to communicate with bitbake server, retrying...
NOTE: Retrying server connection...
NOTE: Starting bitbake server...
ERROR: Layer directory '/workdir/poky/meta' does not exist! Please check BBLAYERS in /home/bavery/work/esdk-menuconfig/build/conf/bblayers.conf
ERROR: Layer directory '/workdir/poky/meta' does not exist! Please check BBLAYERS in /home/bavery/work/esdk-menuconfig/build/conf/bblayers.conf
NOTE: Timeout while attempting to communicate with bitbake server, retrying...
NOTE: Timeout while attempting to communicate with bitbake server, retrying...
NOTE: Timeout while attempting to communicate with bitbake server, retrying...