All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Wood <michael.g.wood@intel.com>
To: toaster@yoctoproject.org
Subject: Re: localhostbecontroller error
Date: Tue, 29 Mar 2016 19:28:46 +0100	[thread overview]
Message-ID: <56FAC95E.2010902@intel.com> (raw)
In-Reply-To: <CAO9fB66kD49SozjAX6PZxjMNER2fmmPy5iEzRnySrVF-gSuiAA@mail.gmail.com>

Hi Daniel,

Could you describe your project setup, I'll try and see if I can 
recreate the issue; what version of toaster are you using? and what 
release is the project set to?

Thanks,

Michael

On 28/03/16 19:57, Daniel Goguen wrote:
> Hi All,
>
> I've successfully created a few .hddimg files that ran successfully on 
> a raspberry pi and would now like to use toaster for building and 
> maintaining builds.
>
> From the web GUI I'm able to select raspberrypi as the target machine, 
> which automatically adds the five layers:
>
>     openembedded-core
>     meta-oe
>     meta-yocto-bsp
>     meta-yocto
>     meta-raspberrypi
>
> I then select *rpi-basic-image* as the image recipe and click on 
> 'build selected recipes' but get the following error:
>
> /Traceback (most recent call last):/
> /  File 
> "/home/daniel/poky/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py", 
> line 60, in schedule/
> /bec.triggerBuild(br.brbitbake_set.all(), br.brlayer_set.all(), 
> br.brvariable_set.all(), br.brtarget_set.all())/
> /  File 
> "/home/daniel/poky/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py", 
> line 369, in triggerBuild/
> /    bbctrl = self.getBBController()/
> /  File 
> "/home/daniel/poky/bitbake/lib/toaster/bldcontrol/bbcontroller.py", 
> line 166, in getBBController/
> /    self.startBBServer()/
> /  File 
> "/home/daniel/poky/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py", 
> line 122, in startBBServer/
> /    cmdoutput = self._shellcmd(cmd)/
> /  File 
> "/home/daniel/poky/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py", 
> line 69, in _shellcmd/
> /    raise ShellCmdException(err)/
> /
> /
> /ShellCmdException: command: bash -c "source 
> /home/daniel/poky/_toaster_clones/_http___git.yoctoproject.org_git_poky_jethro/oe-init-build-env 
> /home/daniel/poky/build 2>&1 >toaster_server.log && bitbake --read 
> /home/daniel/poky/build/conf/toaster-pre.conf --postread 
> /home/daniel/poky/build/conf/toaster.conf --server-only -t xmlrpc -B 
> 0.0.0.0:0 <http://0.0.0.0:0> 2>&1 >>toaster_server.log " /
> /
> /
> /I've noticed slight differences between the localhostbecontroller 
> hosted on the openembedded git repository and the one at 
> git.yoctoproject. /
>
> Within the localhostbecontroller.py file, the exception error occurs 
> within the _shellcmd:
>
> **/*def _shellcmd*(self, command, cwd = None):/
> /        if cwd is None:/
> /            cwd = self.be.sourcedir/
> /
> /
> /        logger.debug("lbc_shellcmmd: (%s) %s" % (cwd, command))/
> /        p = subprocess.Popen(command, cwd = cwd, shell=True, 
> stdout=subprocess.PIPE, stderr=subprocess.PIPE)/
> /        (out,err) = p.communicate()/
> /        p.wait()/
> /        if p.returncode:/
> /            if len(err) == 0:/
> /                err = "command: %s \n%s" % (command, out)/
> /            else:/
> /                err = "command: %s \n%s" % (command, err)/
> /            logger.warn("localhostbecontroller: shellcmd error %s" % 
> err)/
> /            raise ShellCmdException(err)/
> /        else:/
> /            logger.debug("localhostbecontroller: shellcmd success")/
> /            return out/
>
> since I haven't been able to build successfully through toaster yet, 
> has anyone else faced the same issue?
>
> thanks,
>
> Daniel Goguen, B.Eng
> R&D Specialist
> (506) 869-3628 <tel:%28506%29%20869-3622> (office)
> (506) 850-8012 <tel:%28506%29%20380-5086> (mobile)
>
>
> (800) 561-8880 (toll-free)
> (506) 847-2348 (fax)
> www.dplwireless.com <http://www.dplwireless.com>
>
> ------------------------------------------------------------------------
> This e-mail, and any attachments, contains information that is, or may 
> be, confidential and proprietary. If you are not the intended 
> recipient, please notify the sender that you have received this 
> communication in error, and delete it.
>
>



  reply	other threads:[~2016-03-29 18:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-28 18:57 localhostbecontroller error Daniel Goguen
2016-03-29 18:28 ` Michael Wood [this message]
2016-03-29 18:56 ` Daniel Goguen
2016-03-30 13:03   ` Barros Pena, Belen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56FAC95E.2010902@intel.com \
    --to=michael.g.wood@intel.com \
    --cc=toaster@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.