<?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>11834</bug_id>
          
          <creation_ts>2017-07-25 20:36:05 +0000</creation_ts>
          <short_desc>if you have a bad layer in bblayers, bitbake server connection hangs</short_desc>
          <delta_ts>2017-07-30 10:30:44 +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>2.4</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>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="brian avery">brian.avery</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>bluelightning</cc>
    
    <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>75302</commentid>
    <comment_count>0</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-07-25 20:36:05 +0000</bug_when>
    <thetext>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 &apos;/workdir/poky/meta&apos; does not exist! Please check BBLAYERS in /home/bavery/work/esdk-menuconfig/build/conf/bblayers.conf
ERROR: Layer directory &apos;/workdir/poky/meta&apos; 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 &apos;/workdir/poky/meta&apos; does not exist! Please check BBLAYERS in /home/bavery/work/esdk-menuconfig/build/conf/bblayers.conf
ERROR: Layer directory &apos;/workdir/poky/meta&apos; 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...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75431</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-07-30 10:30:44 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b2c39835bb61687220abbef72e4f69a272cf8afb</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>