<?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>8669</bug_id>
          
          <creation_ts>2015-11-09 17:36:35 +0000</creation_ts>
          <short_desc>Wrong password encoding syntax error in &quot;bash -c&quot;</short_desc>
          <delta_ts>2016-02-08 12:29:49 +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>unspecified</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>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>2.1 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michał Ciołek">michalciolek</reporter>
          <assigned_to name="Michael Wood">michael.g.wood</assigned_to>
          <cc>alexandru.costinx.roman</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>stanciux.mihail</cc>
          
          <qa_contact name="Alexandru Roman">alexandru.costinx.roman</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</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>56331</commentid>
    <comment_count>0</comment_count>
    <who name="Michał Ciołek">michalciolek</who>
    <bug_when>2015-11-09 17:36:35 +0000</bug_when>
    <thetext>Preconditions/Environment
-------------------------
Toaster/Poky from jethro brench,
Ubuntu 14
MySqL database with:
username: toaster
password: vz)2bed]3kCE(M_8
IMPORTANT! The password contains special characters, eg. &apos;(&apos;

Triggering Action/Cause
-----------------------
Start build whatever recipe from Toaster


Actual Result
-------------

(...)
2015-11-09 13:01:45,564 DEBUG localhostbecontroller: Waiting bitbake server to start
2015-11-09 13:01:46,065 DEBUG localhostbecontroller: Waiting bitbake server to start
Traceback (most recent call last):
  File &quot;/var/www/html/toaster/poky/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;/var/www/html/toaster/poky/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py&quot;, line 369, in triggerBuild
    bbctrl = self.getBBController()
  File &quot;/var/www/html/toaster/poky/bitbake/lib/toaster/bldcontrol/bbcontroller.py&quot;, line 166, in getBBController
    self.startBBServer()
  File &quot;/var/www/html/toaster/poky/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py&quot;, line 155, in startBBServer
    raise BuildSetupException(&quot;localhostbecontroller: Bitbake server did not start in 25 seconds, aborting (Error: &apos;%s&apos; &apos;%s&apos;)&quot; % (toaster_ui_log, toaster_server_log))
BuildSetupException: localhostbecontroller: Bitbake server did not start in 25 seconds, aborting (Error: &apos;bash: -c: line 0: syntax error: unexpected `)&apos;
bash: -c: line 0: `source /var/www/html/toaster/poky/_toaster_clones/_git___git.yoctoproject.org_poky_fido/oe-init-build-env-memres -1 /var/www/html/toaster/poky/build &amp;&amp; DATABASE_URL=mysql://toaster:vz)2bed]3kCE(M_8@127.0.0.1:3306/toaster /var/www/html/toaster/poky/bitbake/bin/bitbake --observe-only -u toasterui --remote-server=0.0.0.0:-1 -t xmlrpc&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56460</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Wood">michael.g.wood</who>
    <bug_when>2015-11-13 10:23:10 +0000</bug_when>
    <thetext>Thanks for your bug report, I&apos;ve posted a patch to fix this issue here 

https://lists.yoctoproject.org/pipermail/toaster/2015-November/003339.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58679</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Wood">michael.g.wood</who>
    <bug_when>2016-02-05 18:59:34 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9d8e36a6c9663a1665ecefca59d172ad53f90ffe</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58721</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Roman">alexandru.costinx.roman</who>
    <bug_when>2016-02-08 12:29:49 +0000</bug_when>
    <thetext>Verified on master.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>