[bitbake-devel] [PATCH 0/8]

Michael Wood michael.g.wood at intel.com
Fri Sep 16 16:22:27 UTC 2016


Series to improve process handling of runbuilds and one additional patch for fixing checking out HEAD as a reference. Changes reviewed on toaster mailing list.

Copy of process handling patchset cover letter:

This patchset introduced a bit lighter way of handling builds.
Instead of polling database every second we process builds only when runbuilds
receives SIGUSR1. The signal is sent when build is either scheduled, canceled or
finished. A little bit of code cleanup is also included into this patchset.

Test instructions:
 - Create multiple builds in UI. Check if they'll be built sequentially
 - Create multiple builds in UI, cancel one. Check if the next one starts building.
 - Repeat first two test cases when command line build is run. Only one UI build
   should be run in parallel with command line build.
 - Test any other combinations of running and cancelling builds to make sure
   there are no regressions.



Ed Bartosh (8):
  toaster: fix checking of repository url
  toaster: implement signal_runbuilds function
  toaster: notify runbuilds when build status changes
  runbuilds: process builds on SIGUSR1
  runbuilds: process builds on start
  runbuilds: code cleanup - whitespaces, long lines
  runbuilds: code cleanup - remove unused imports
  toaster: unlock BuildEnvirnoment when build is done

 lib/bb/ui/buildinfohelper.py                       | 12 ++++--
 lib/toaster/bldcontrol/localhostbecontroller.py    |  2 +-
 .../bldcontrol/management/commands/runbuilds.py    | 49 ++++++++++------------
 lib/toaster/orm/models.py                          | 10 ++++-
 4 files changed, 42 insertions(+), 31 deletions(-)

-- 
2.7.4




More information about the bitbake-devel mailing list