Correcting the right path to mysql log in Fedora 19

The mysql log is wrong in Fedora 19+ pointing to
/var/lib/mysqld.log while the correct is /var/log/mysqld.log.
This make the job fail if you're running Fedora with
mysql.
This error was inserted by
https://review.openstack.org/#/c/55827/

Change-Id: I63dd494f1ae105ad007344dea40936ab283d55a9
Altering the > to -gt to check number of processors

Using > to check if a variable is greater then another
doesn't seems to work among distros.
Using -gt instead of > ensure that will work in different
distros that may implement different bash versions

Change-Id: Ie270ad8aa512807fbce3052018e9ce0db7c238b4
Support XenServer in the gate

This change is required to support XenServer. Adds localrc generation.

Change-Id: I11aa8398f9aff1b1b3bb0d0ff3eaa2f553ef246b
Merge "Altering the > to -gt to check number of processors"
Merge "Correcting the right path to mysql log in Fedora 19"
allow for generic branch overrides

This allows us to specify project specific branch overrides in
jjb definitions. For instance, OVERRIDE_TEMPEST_PROJECT_BRANCH=master
to always test with tempest master.

Now with support for projects like oslo.foo

Change-Id: Ic259c5b60a307b87771514849a6a78eb1bc32c75
Merge "allow for generic branch overrides"
normalize the services for a post grizzly world

now that grizzly is gone, normalize the service list generation,
as anything that was getting set in stable/havana and master can
be set globally (cells).

restack the initial services list by major service so it's easier
to not miss something on future changes to that list.

Change-Id: Ib78d853fc99e71f1d0656e1ba047c84af786c08c
feature matrix definition in yaml

This adds a definition mechanism for the d-g feature matrix in
yaml, a python tool to process that into an ENABLED_SERVICES list
and a test script to verify that it works as expected.

The theory here is that we create configs (which match to d-g
DEVSTACK_GATE_ vars) that enable or disable "features". The
features then enable or disable "services" (and eventually
extensions).

An important part of this is the ability to rm-* content. That
means the neutron feature can rm-services: n-net. The hope is
this makes reviewing changes more straight forward, and also
makes it so if something goes wrong we don't run a job missing
services, because we don't need to make sure we add things in
the else clauses.

A follow up patch integrates this into d-g proper, but this
patch seemed easier to review on it's own.

Change-Id: Ib030f820073dd0b450b362fd721f9477778c04b0
use feature grid for service selection

this uses the feature grid for service selection in all the
devstack-gate jobs

Change-Id: Ie543feb5b6557f1b33f1a0d7edfbc198a749eb0c
add sahara to devstack-gate default runs

sahara is an integrated project, put it in the integrated test
matrix.

Change-Id: I711a7a30460db91e76814088431400df4b9de272
update grenade branches

make it possible to run grenade from stable/icehouse -> master

Change-Id: If46d1624e0b35a37d5dfb043edb513fc04b6ea68
add run-tests.sh

this is a basic test runner that runs all test-*.sh files in the
root directory.

Change-Id: I7450913f78e0c50194cb68096edbaf52259bb80f
usability improvements to test-functions.sh

instead of dying at the first error found, run all the tests
and show all the errors. This makes it simpler to debug as you
can address more than one issue at once.

add the use of the bash 'caller' function to automatically print
out the name of the function and line number on both successful
and failing asserts. This ensures it's easy to get to the issue
at hand.

Change-Id: If15f50c6c41aa3940682d41c776589407a42bf4f
Merge "add run-tests.sh"
Revert "update grenade branches"

This reverts commit 1ab574df7c6b97dcc32f9b9191ff6bb5ac61e4e0.

Grenade does not know how to upgrade from icehouse yet. This change
can only go in once grenade is aware of how to set up an "old" icehouse
install.

Partial-Bug: #1309324
Change-Id: I806850410a31e40aea81f3a57b48f3d98bef9dd2
Handle feature branches in test-matrix.py

test-matrix.py previously treated feature branches as invalid branches.
For testing purposes they are equivalent to master so s/feature*/master/
and build the services list that way.

Change-Id: Ia40ae64ae6907691cc061c41dc6fe56c646918cc
Test matrix generation for feature branches.

The previous change to fix test matrix generation did not include a
test. Add a test here so that this does not regress.

Change-Id: Ib267a435fa0f28e50a83437d96ad0ef321ba6f46
add warning if devstack run is slow

there is a timeout condition in devstack-gate which seems to be hinted
at by the nodes themselves being really slow. We should emit a warning
when the time to run the devstack setup exceeds 2x the expected time.

Change-Id: If05f949c5785d24572652196f52f56c6cb5b6d64
Set *_DEVSTACK_BRANCH in grenade's localrc

In If9417e65c7c54d017c4c847a4020f855684c423c we are using
BASE_DEVSTACK_BRANCH to specify the upgrade_level.compute value for
nova. So we need devstack-gate to overwrite the default value with the
branch d-g is preparing. This patch will allow
If9417e65c7c54d017c4c847a4020f855684c423c to work on stable/havana and
stable/icehouse, so we can land that patch and then change grenade to
icehouse in a self-gating manor.

Set TARGET_DEVSTACK_BRANCH for symmetries sake.

Change-Id: I22093166e7f100958baeabf7549de5c82ce518b2