<?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>8240</bug_id>
          
          <creation_ts>2015-09-02 10:05:59 +0000</creation_ts>
          <short_desc>Toaster builds fail to start</short_desc>
          <delta_ts>2015-10-27 15:21:14 +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>Toaster</product>
          <component>toaster</component>
          <version>1.8</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>2.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="Ed Bartosh">eduard.bartosh</assigned_to>
          <cc>belen.barros.pena</cc>
    
    <cc>cristina-danielax.agurida</cc>
    
    <cc>eduard.bartosh</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>stanciux.mihail</cc>
          
          <qa_contact name="Cristina Agurida">cristina-danielax.agurida</qa_contact>
          <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>53617</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-09-02 10:05:59 +0000</bug_when>
    <thetext>Found in master:71b0568fa43285f0946fae93fb43cea5f3bbecec

Toaster builds do not start. To reproduce:

1. Create a Toaster project (I&apos;ve tried with master and the local releases)
2. Start a build

this is the error I get:

Traceback (most recent call last):
  File &quot;/home/yocto/master/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py&quot;, line 59, in schedule
    bec.triggerBuild(br.brbitbake_set.all(), br.brlayer_set.all(), br.brvariable_set.all(), br.brtarget_set.all())
  File &quot;/home/yocto/master/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py&quot;, line 324, in triggerBuild
    bbctrl = self.getBBController()
  File &quot;/home/yocto/master/bitbake/lib/toaster/bldcontrol/bbcontroller.py&quot;, line 166, in getBBController
    self.startBBServer()
  File &quot;/home/yocto/master/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py&quot;, line 153, in startBBServer
    raise BuildSetupException(&quot;localhostbecontroller: Bitbake server did not start in 5 seconds, aborting (Error: &apos;%s&apos; &apos;%s&apos;)&quot; % (toaster_ui_log, toaster_server_log))
BuildSetupException: localhostbecontroller: Bitbake server did not start in 5 seconds, aborting (Error: &apos;&apos; &apos;Bitbake server address: 0.0.0.0, server port: 49664</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53631</commentid>
    <comment_count>1</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2015-09-02 13:00:24 +0000</bug_when>
    <thetext>Should be fixed in ed/toaster/8240</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53642</commentid>
    <comment_count>2</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-09-02 15:47:29 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Should be fixed in ed/toaster/8240

Thanks, Ed. Could you submit to the toaster mailing list when you have a chance?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53859</commentid>
    <comment_count>3</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2015-09-09 07:58:20 +0000</bug_when>
    <thetext>Submitted: https://lists.yoctoproject.org/pipermail/toaster/2015-September/002714.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53865</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-09-09 09:18:50 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=71b0568fa43285f0946fae93fb43cea5f3bbecec contains http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=cd61c1a6c5c4b27cfda837ec955a97c95dfa20c3 and if toaster is using the environment file, the chmod -R may well be the cause of the timeout. The good news is this was later fixed in master already.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53866</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-09-09 09:19:25 +0000</bug_when>
    <thetext>(the fix for this was http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=d8caef4f6e38efb739866a1de38f3bae8f1754ed)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53869</commentid>
    <comment_count>6</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2015-09-09 10:50:42 +0000</bug_when>
    <thetext>This bug is not reproducible on master. However, I&apos;d suggest to take my patch as current timeout is smallest possible. That means that on less powered systems current code can still break.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54006</commentid>
    <comment_count>7</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2015-09-14 10:10:39 +0000</bug_when>
    <thetext>Merged to master: http://cgit.openembedded.org/bitbake/commit/?id=224ee3685fe20915b21d299ab80f7b289a916dca</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55842</commentid>
    <comment_count>8</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-10-27 15:21:14 +0000</bug_when>
    <thetext>Verified on master: 505a82673ac2487df5ea343a6422c2fc47018831</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>