buildset-config.master: x86_64 not x86-64

We now check to ensure correct SDK_MACHINE. In this case, we
were building with the wrong ones.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
git.py: movecopy. make todir very unique

In large autobuilder implementations mv collisions
are possible, especially when a trigger triggers multiple
builds. Stop this by creating a todir that is
date-randomnumber-layername

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
BuildSet: change builddir to workdir

Name standardization. Changing builddir to workdir as
this gets dropped into git.py which ends up resetting
workdir.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
git.py: Add workdir and layername

We need to pass layername into the git checkout so that we
know where we're going to end up copying things.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
CheckOutLayers: set got_revision_* to self.commit

Instead of utilizing revision as got_revision, we should
set it to self.commit.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
buildbot: display running step duration in build overview

In the build overview page if a step is currently executing, display how long it
has been executing for.

Signed-off-by: Ross Burton <ross.burton@intel.com>
BuildImages: don't override describe and getText

BuildStep.getText() will call describe() so just put the extra logic in there.
Also remove some trailing whitespace.

Signed-off-by: Ross Burton <ross.burton@intel.com>
BuildImages: fix mystery whitespace in build logs

In some forms the "Building image1 image2" message is interleaved with
whitespace.  This is because the description field is meant to be a list but
this class sets it as a string.  Thanks to duck typing the list operations to
join it with " " work fine, and the message ends up spaced.  Fix this by setting
the description as a list.

Signed-off-by: Ross Burton <ross.burton@intel.com>
RunPreamble: remove pointless code

Remove unused imports, trailing whitespace, local variables that are not used, a
timeout change that isn't needed, and a pointlessly overriden method.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Autobuilder: handle an unset BuildSets order, and sort if not set

Signed-off-by: Ross Burton <ross.burton@intel.com>
CreateAutoConf.py: use finer-grained logic when enabling build history

As enabling buildhistory changes the sstate hash it can be useful for the
autobuilder to have the class loaded but disabled.

Signed-off-by: Ross Burton <ross.burton@intel.com>
README-NEW-AUTOBUILDER: fix use of ShellCommand.description

Signed-off-by: Ross Burton <ross.burton@intel.com>
autobuilder.conf: local tweaks
CreateAutoConf: move tmpdir to /data
set hostname
master.cfg: set username/password
ross-x86.conf: add basic buildset
autobuilder.conf: enable optimised git clone
autobuilder: disable build history collection
ross-x86: fix layer, build more images, run at 5am