All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: "Barros Pena, Belen" <belen.barros.pena@intel.com>
Cc: "Avery, Brian" <brian.avery@intel.com>,
	"toaster@yoctoproject.org" <toaster@yoctoproject.org>
Subject: Re: [PATCH v5 00/19] per project build directory
Date: Thu, 17 Mar 2016 18:22:56 +0200	[thread overview]
Message-ID: <20160317162255.GA12370@linux.intel.com> (raw)
In-Reply-To: <D31083D1.76D62%belen.barros.pena@intel.com>

Hi Belen,

Thank you for testing!

See my comments below.

On Thu, Mar 17, 2016 at 05:20:59PM +0000, Barros Pena, Belen wrote:
> On 16/03/2016 12:05, "toaster-bounces@yoctoproject.org on behalf of Ed
> Bartosh" <toaster-bounces@yoctoproject.org on behalf of
> ed.bartosh@linux.intel.com> wrote:
> 
> >Hi,
> >
> >Default build directory is not going to be used for project builds
> >anymore.
> >It can be used only for command line builds. Toaster will use
> >build-toaster-<project id>
> >directories for project builds.
> 
> FWIW, this seems to be working for me. I have built master, jethro, local
> and from cli. 
> 
> Some things to keep in mind, once the series is upstream:
> 
> 1. Projects should be sharing sstate and downloads directories by default.
> Right not they don't, and my testing because of that was painfully slow (I
> had to run a clean build every time). I am not sure if Sujith's patches
> are enough for this
> (https://lists.yoctoproject.org/pipermail/toaster/2016-February/003832.html
> ) or if something else needs to be done. Ed: would you be able to have a
> look to Sujith's branch once you are done with this
>
Sure, I'm going to look at it.

What should be default values for DL_DIR and SSTATE_DIR?
Would something like $(TOPDIR)/../downloads and $(TOPDIR)/../sstate-cache be ok?

> 2. No toaster_ui.log file is created inside the /build directory, which is
> where cli builds are run. This might be expected, though.
>
Are you sure?
They should be created in build-toaster-<project id>/ directories.

> 3. The _meta-toaster-custom layer for the custom images should be created
> inside each project build directory: it should not be shared across
> projects (right now it is, since it is in the source root directory)
>
Makes sense to me. I'll try to do it after looking at Sujith patchset.

Regards,
Ed

> Cheers
> 
> Belén
> 
> >
> >This is how to test this:
> > - run toaster
> > - run command line build: build zlib
> > - check if it's shown in Toaster UI
> > - create project for Yocto master
> > - trigger project build from UI
> > - wait until it succeeds
> > - create project for Jethro
> > - trigger project build from UI
> > - wait until it succeds
> > - check that 2 build directories build-toaster-<project id> exist and
> >contain
> >   correct conf/toaster.conf and conf/bblayers.conf
> >
> >Changes in v2: stop bitbake server after the build
> >Changes in v3: fixed '/bin/sh: 1: source: not found' dash issue
> >               used project id in build directory name
> >               added 'INHERIT+='toaster buildhistory' to conf/local.conf
> >on toaster start
> >Changes in v4: fixed builds on Ubuntu caused by dash being default shell
> >Changes in v5: fixed nasty bug in toasterui causing it to stuck in event
> >loop
> >
> >The following changes since commit
> >01ab10ddaf21e34d8b3578975d1494cf0cfa4ef7:
> >
> >  toaster.bbclass: show packages that were setscened into existence too
> >(2016-03-10 15:58:34 +0000)
> >
> >are available in the git repository at:
> >
> >  git://git.yoctoproject.org/poky-contrib
> >ed/toaster/project-build-dir-7880
> >  
> >http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/projec
> >t-build-dir-7880
> >
> >Ed Bartosh (18):
> >  toaster: don't start bitbake server
> >  toaster: get rid of noui option
> >  toaster: set BITBAKE_UI environment variable
> >  toasterui: add brbe parameter to buildinfohelper
> >  uievent: improve BBUIEventQueue code
> >  buildinfohelper: improve handling of providermap
> >  toasterui: fix brbe reporting
> >  toaster: remove startBBServer API
> >  toaster: remove release API
> >  toaster: add brbe parameter to triggerBuild
> >  toaster: modified setLayers API
> >  toaster: reimplement triggerBuild
> >  toaster: add new parameter to _shellcmd
> >  toaster: stop bitbake server after the build
> >  toaster: update conf/local.conf
> >  toaster: fix jethro build
> >  toaster: use bash explicitly
> >  toasterui: shutdown on BuildCompleted event
> >
> >Elliot Smith (1):
> >  toasterui: detect build run start correctly on Jethro
> >
> > bitbake/bin/toaster                                |  79 ++---------
> > bitbake/lib/bb/ui/buildinfohelper.py               |  48 +++----
> > bitbake/lib/bb/ui/toasterui.py                     |  48 ++++---
> > bitbake/lib/bb/ui/uievent.py                       |  10 +-
> > bitbake/lib/toaster/bldcontrol/bbcontroller.py     |  33 -----
> > .../toaster/bldcontrol/localhostbecontroller.py    | 146
> >++++++++++-----------
> > .../bldcontrol/management/commands/runbuilds.py    |   6 +-
> > 7 files changed, 147 insertions(+), 223 deletions(-)
> >
> >--
> >Regards,
> >Ed
> >-- 
> >_______________________________________________
> >toaster mailing list
> >toaster@yoctoproject.org
> >https://lists.yoctoproject.org/listinfo/toaster
> 

-- 
--
Regards,
Ed


  reply	other threads:[~2016-03-17 18:42 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-16 12:05 [PATCH v5 00/19] per project build directory Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 01/19] toaster: don't start bitbake server Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 02/19] toaster: get rid of noui option Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 03/19] toaster: set BITBAKE_UI environment variable Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 04/19] toasterui: add brbe parameter to buildinfohelper Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 05/19] uievent: improve BBUIEventQueue code Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 06/19] buildinfohelper: improve handling of providermap Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 07/19] toasterui: fix brbe reporting Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 08/19] toaster: remove startBBServer API Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 09/19] toaster: remove release API Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 10/19] toaster: add brbe parameter to triggerBuild Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 11/19] toaster: modified setLayers API Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 12/19] toaster: reimplement triggerBuild Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 13/19] toaster: add new parameter to _shellcmd Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 14/19] toaster: stop bitbake server after the build Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 15/19] toaster: update conf/local.conf Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 16/19] toaster: fix jethro build Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 17/19] toaster: use bash explicitly Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 18/19] toasterui: detect build run start correctly on Jethro Ed Bartosh
2016-03-16 12:05 ` [PATCH v5 19/19] toasterui: shutdown on BuildCompleted event Ed Bartosh
2016-03-17 17:20 ` [PATCH v5 00/19] per project build directory Barros Pena, Belen
2016-03-17 16:22   ` Ed Bartosh [this message]
2016-03-18 17: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=20160317162255.GA12370@linux.intel.com \
    --to=ed.bartosh@linux.intel.com \
    --cc=belen.barros.pena@intel.com \
    --cc=brian.avery@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.