Bug 8669 - Wrong password encoding syntax error in "bash -c"
Summary: Wrong password encoding syntax error in "bash -c"
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: High major
Target Milestone: 2.1 M1
Assignee: Michael Wood
QA Contact: Alexandru Roman
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-11-09 17:36 UTC by Michał Ciołek
Modified: 2016-02-08 12:29 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
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 Michał Ciołek 2015-11-09 17:36:35 UTC
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. '('

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 "/var/www/html/toaster/poky/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py", line 59, in schedule
    bec.triggerBuild(br.brbitbake_set.all(), br.brlayer_set.all(), br.brvariable_set.all(), br.brtarget_set.all())
  File "/var/www/html/toaster/poky/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py", line 369, in triggerBuild
    bbctrl = self.getBBController()
  File "/var/www/html/toaster/poky/bitbake/lib/toaster/bldcontrol/bbcontroller.py", line 166, in getBBController
    self.startBBServer()
  File "/var/www/html/toaster/poky/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py", line 155, in startBBServer
    raise BuildSetupException("localhostbecontroller: Bitbake server did not start in 25 seconds, aborting (Error: '%s' '%s')" % (toaster_ui_log, toaster_server_log))
BuildSetupException: localhostbecontroller: Bitbake server did not start in 25 seconds, aborting (Error: 'bash: -c: line 0: syntax error: unexpected `)'
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 && 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'
Comment 1 Michael Wood 2015-11-13 10:23:10 UTC
Thanks for your bug report, I've posted a patch to fix this issue here 

https://lists.yoctoproject.org/pipermail/toaster/2015-November/003339.html
Comment 3 Alexandru Roman 2016-02-08 12:29:49 UTC
Verified on master.