Sleep.py: Optimize Triggers

When the main nightly builders are finishing we have builders
sitting idle. This optimizes this a bit.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
SetDest.py: Use new properties from nightly

These use new nightly properties. They're not entirely functional
yet, but it's towards the effort of getting 99% of the release
done by the autobuilder.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
nightly-extras.conf: enable funny mode

It was late. I was bored. This is off by default, but I'm
turning it on here to make looking at the autobuilder a bit
more interesting for the poor people who have to do
Swat team rotation. Enjoy.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
YoctoMailer.py: Fix disappearing mails.

This fixes mails that didn't end up getting sent because
of a logic bomb.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
yoctogit.py: Fix timeout and error handling for cp commands

The default timeout was being used for the copy command which is too short for
the autobuilder when under load. There was also no error handling of the
command so add this in.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
grid: Fix sorting of currently running builds

Currently running builds have a start time but no end time so getTimes()
returns (xxx, None). min(xxx, None) is None and the currently running
builds don't display in the t-grid.

Fix this by filtering out the None values from the min() function
which corrects the grid output.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
grid: Sort by decending order

Sort by decending order since that is what most users are interested in.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
yoctogit: Fix missing command return value checks

There were a couple more missing command return value checks. Add them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>