Skip to content

Autobuilder patches

Elizabeth Flanagan yocto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest27 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/27buildsets: add a new buildset to run builds on targetbuildset-config.master/nightly-qa-targetbuilds.conf+26 -00 replies
2/27Add buildstep and buildset for oe-selftest scriptbuildset-config.master/nightly-oe-selftest.conf lib/python2.7/site-packages/autobuilder/buildsteps/CreateAutoConf.py lib/python2.7/site-packages/autobuilder/buildsteps/RunOeSelftest.py+46 -20 replies
3/27nightly-world-uclibc: uclibc targetbuildset-config.master/nightly-world-uclibc.conf+18 -02 replies
4/27PrepPkgIndex.py: ln instead of cplib/python2.7/site-packages/autobuilder/buildsteps/PrepPkgIndex.py+3 -30 replies
5/27Add mirror functionality to git fetcherconfig/autobuilder.conf.example lib/python2.7/site-packages/autobuilder/BuildSet.py lib/python2.7/site-packages/autobuilder/buildsteps/CheckOutLayers.py +1 more+25 -50 replies
6/27Autobuilder.py/Buildset.py: More sane parser/UIlib/python2.7/site-packages/autobuilder/Autobuilder.py lib/python2.7/site-packages/autobuilder/BuildSet.py+232 -2282 replies
7/27nightly.conf: Add additional parametersbuildset-config.master/nightly.conf lib/python2.7/site-packages/autobuilder/buildsteps/CreateAutoConf.py lib/python2.7/site-packages/autobuilder/buildsteps/PublishLayerTarballs.py+41 -260 replies
8/27CheckOutLayers.py/ResolveLayerHead.py: support simplified gitlib/python2.7/site-packages/autobuilder/buildsteps/CheckOutLayers.py lib/python2.7/site-packages/autobuilder/buildsteps/ResolveLayerHead.py+11 -360 replies
9/27Autobuilder.py: remove DEBUG codelib/python2.7/site-packages/autobuilder/Autobuilder.py+0 -40 replies
10/27BuildSet.py: Remove more debug code.lib/python2.7/site-packages/autobuilder/BuildSet.py+0 -20 replies
11/27trigger.py: Allow wait and nowait triggerslib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/steps/trigger.py+13 -20 replies
12/27yoctogit: Don't use branch args for referenced clonelib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py+2 -20 replies
13/27yocto-start/stop-autobuilder: start buildslave-janitoryocto-start-autobuilder yocto-stop-autobuilder+45 -200 replies
14/27bin/buildslave-janitor: For fast-git checkoutsbin/buildslave-janitor+125 -00 replies
15/27forms.html/layout.html: support simplified UIlib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/status/web/templates/forms.html lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/status/web/templates/layout.html+1 -150 replies
16/27SyncPersistDB.py: First run failure correctionlib/python2.7/site-packages/autobuilder/buildsteps/SyncPersistDB.py+3 -20 replies
17/27BuildSet.py: Set workdir based on layer not orderlib/python2.7/site-packages/autobuilder/BuildSet.py+2 -50 replies
18/27yoctogit: Remove use of oe.path.exists()lib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py+10 -50 replies
19/27BuildSet.py: remove trailing spaceslib/python2.7/site-packages/autobuilder/BuildSet.py+1 -10 replies
20/27yoctogit.py: fix callbacks and instance attrslib/python2.7/site-packages/buildbot-0.8.8-py2.7.egg/buildbot/steps/source/yoctogit.py+55 -250 replies
21/27PublishArtifacts.py: Fix poky-tiny publishlib/python2.7/site-packages/autobuilder/buildsteps/PublishArtifacts.py+1 -10 replies
22/27PublishArtifacts.py: genericx86-64 publishlib/python2.7/site-packages/autobuilder/buildsteps/PublishArtifacts.py+1 -10 replies
23/27BuildEclipsePlugin.py: Change location of build.lib/python2.7/site-packages/autobuilder/buildsteps/BuildEclipsePlugin.py+1 -10 replies
24/27PublishArtifacts.py: Change where we find eclipse artifactslib/python2.7/site-packages/autobuilder/buildsteps/PublishArtifacts.py+2 -20 replies
25/27yocto-autobuilder-setup: set the correct bb versionyocto-autobuilder-setup+2 -20 replies
26/27fs.py: Bump default timeoutlib/python2.7/site-packages/buildbot_slave-0.8.8-py2.7.egg/buildslave/commands/fs.py+2 -20 replies
27/27autobuilder: whitespace removallib/python2.7/site-packages/autobuilder/Autobuilder.py lib/python2.7/site-packages/autobuilder/BuildSet.py lib/python2.7/site-packages/autobuilder/buildsteps/BuildEclipsePlugin.py +20 more+123 -1230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [AB PATCH 00/27] Autobuilder patches

This is a fairly large patchset and I'd like at least a second set of eyes on it.

There are a few things this does:

1. Updates the Autobuilder parser.

The autobuilder parser was fairly junky. It didn't dive too far into what it was parsing. This made it so people couldn't do triggers of triggers because the props wouldn't filter all the way up to the master trigger. This should be possible now.

2. Simplify the commit/repo/branch combos/remove mix and match.

A long time ago we needed the ability to mix and match repos/branches when we were building out nightly. This made it so that we could build everything but nightly-foo on master. That use case is no longer really needed.

It was also a major complaint that the UI was complicated. This trims the UI down and makes it much sparser

3. Git fetcher mirror.

The git fetcher with buildbot doesn't do a lot of what we need it to. This set of patches creates a mirror on each slave of the major repos. This allows us to clone from those repos. The git fetcher also has a movecopy method that allows us to instead of clobbering a build dir, move it off to a trash directory. This works well when your trash and slaves are on the same partition but is slowed when you move it across disk.

When the ab starts a service runs in the background that 1. Updates all of the repos every XX minutes 2. takes out the trash every XX minutes.

The following changes since commit ba57054aea5627b557327632ad3d6c2a1faa14f2:

4. Simplifies wait/no_wait triggers.

This needs to be revisited, as I know of a better way to do this now, but this allows us to more optimally utilize the ab resources by triggering all builds, but putting a few second sleep in for the no_wait builds to queue.

Bugs fixed:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=5454
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5433
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5027

PublishLayerTarballs: Don't hang is PUBLISH_BUILDS isn't set (2014-02-18 10:37:36 +0000)

are available in the git repository at:

git://git.yoctoproject.org/yocto-autobuilder eflanagan/yocto-autobuilder-dev-rebase
http://git.yoctoproject.org/cgit.cgi/yocto-autobuilder/log/?h=eflanagan/yocto-autobuilder-dev-rebase

Beth Flanagan (8):
PrepPkgIndex.py: ln instead of cp Autobuilder.py/Buildset.py: More sane parser/UI nightly.conf: Add additional parameters CheckOutLayers.py/ResolveLayerHead.py: support simplified git Autobuilder.py: remove DEBUG code
BuildSet.py: Remove more debug code. yocto-start/stop-autobuilder: start buildslave-janitor forms.html/layout.html: support simplified UI

Elizabeth Flanagan (12):
nightly-world-uclibc: uclibc target SyncPersistDB.py: First run failure correction BuildSet.py: Set workdir based on layer not order BuildSet.py: remove trailing spaces
yoctogit.py: fix callbacks and instance attrs PublishArtifacts.py: Fix poky-tiny publish PublishArtifacts.py: genericx86-64 publish BuildEclipsePlugin.py: Change location of build. PublishArtifacts.py: Change where we find eclipse artifacts
yocto-autobuilder-setup: set the correct bb version fs.py: Bump default timeout
autobuilder: whitespace removal

Richard Purdie (5):
Add mirror functionality to git fetcher trigger.py: Allow wait and nowait triggers
yoctogit: Don't use branch args for referenced clone bin/buildslave-janitor: For fast-git checkouts
yoctogit: Remove use of oe.path.exists()

Stefan Stanacar (2):
buildsets: add a new buildset to run builds on target Add buildstep and buildset for oe-selftest script

 bin/buildslave-janitor                             | 125 ++++++
 buildset-config.master/nightly-oe-selftest.conf    |  15 +
 .../nightly-qa-targetbuilds.conf                   |  26 ++
 buildset-config.master/nightly-world-uclibc.conf   |  18 +
 buildset-config.master/nightly.conf                |  40 +-
 config/autobuilder.conf.example                    |   1 +
 .../site-packages/autobuilder/Autobuilder.py       | 422 ++++++++++-----------
 .../site-packages/autobuilder/BuildSet.py          |  67 ++--
 .../autobuilder/buildsteps/BuildEclipsePlugin.py   |   8 +-
 .../autobuilder/buildsteps/BuildToolchainImages.py |   6 +-
 .../autobuilder/buildsteps/CheckOutLayers.py       |  32 +-
 .../autobuilder/buildsteps/CreateAutoConf.py       |  17 +-
 .../autobuilder/buildsteps/CreateBBLayersConf.py   |  10 +-
 .../autobuilder/buildsteps/CreateCurrentLink.py    |   6 +-
 .../buildsteps/CreateIntelBSPPackage.py            |   8 +-
 .../autobuilder/buildsteps/GetDistroVersion.py     |   4 +-
 .../autobuilder/buildsteps/GetLayerVersion.py      |  10 +-
 .../autobuilder/buildsteps/HelloWorld.py           |   6 +-
 .../autobuilder/buildsteps/MaintainPersistDB.py    |  12 +-
 .../autobuilder/buildsteps/PrepPkgIndex.py         |  12 +-
 .../autobuilder/buildsteps/PublishArtifacts.py     |  28 +-
 .../autobuilder/buildsteps/PublishLayerTarballs.py |  33 +-
 .../autobuilder/buildsteps/ResolveLayerHead.py     |  32 +-
 .../autobuilder/buildsteps/RunOeSelftest.py        |  26 ++
 .../autobuilder/buildsteps/RunSanityTests.py       |   6 +-
 .../autobuilder/buildsteps/SetDest.py              |  12 +-
 .../site-packages/autobuilder/buildsteps/Sleep.py  |  20 +-
 .../autobuilder/buildsteps/SyncPersistDB.py        |  11 +-
 .../autobuilder/buildsteps/TestFailStep.py         |   4 +-
 .../autobuilder/buildsteps/YoctoBlocker.py         |   2 +-
 .../buildbot/status/web/templates/forms.html       |   1 -
 .../buildbot/status/web/templates/layout.html      | 185 +--------
 .../buildbot/steps/source/yoctogit.py              |  99 +++--
 .../buildbot/steps/trigger.py                      |  15 +-
 .../buildslave/commands/fs.py                      |   4 +-
 yocto-autobuilder-setup                            |   4 +-
 yocto-start-autobuilder                            |  24 +-
 yocto-stop-autobuilder                             |  41 +-
 38 files changed, 756 insertions(+), 636 deletions(-)
 create mode 100755 bin/buildslave-janitor
 create mode 100644 buildset-config.master/nightly-oe-selftest.conf
 create mode 100644 buildset-config.master/nightly-qa-targetbuilds.conf
 create mode 100644 buildset-config.master/nightly-world-uclibc.conf
 create mode 100644 lib/python2.7/site-packages/autobuilder/buildsteps/RunOeSelftest.py
Signature · 1 line
1.8.1.2