Assures consistent formatting of our python codebase without having
to rely on humans to do it, or to debate during reviews.
Change-Id: I1e62cc755fa60e453dea865f436241ecae330771
Flake8 went broken recently, adopts correct calling method to avoid
regression and fixes broken rules.
Also removes openstack-tox-pep8 from gate which was a guaranteed
failure when triggered as pep8 was removed.
Change-Id: Iba03d3051952f461bb16299a6d32475b2be43041
Follows the same configuration that was used on
tripleo-quickstart-extras and documented use on tripleo-docs.
Change-Id: Iba8a2db92137f9f6ad28f498627eb1b87039d99f
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
In I84bfba3ee67cd5564ad0a4372c424a2622a97e6f I missed wiring in the
extra-nodes parameter to actually be passed in the job request.
Change-Id: Iacbf6a1fa4e5cd0e1515a79f672d8f3a3c24863f
There are situations where we may need to deploy additional
undercloud-like nodes in a test environment. Support for this has
been added to OVB and this commit wires it into the te-broker.
Change-Id: I84bfba3ee67cd5564ad0a4372c424a2622a97e6f
This adds support for heterogeneous OVB environments to the
te-broker. It is primarily intended for scale testing jobs, since
the normal test jobs only deploy a single compute node. We wouldn't
gain much by using a smaller flavor for that one vm and there is a
cost in complexity to setting up the environment.
Right now this will only work for jobs that deploy just control and
compute nodes. Support for a third role type for ceph or others
could be added in a similar fashion.
Change-Id: I398d13356b3c15c0c7cd448366186b7589ad93e4
All periodic job are failing because they don't set ZUUL_CHANGE env
variable. Assigning a default should let them continue
Change-Id: If193a7c64d687fd9077dde1f100127dfc57d3633
Adds another argument to the call to the te-broker that will allow
us to identify which patch and job a given testenv was used for.
The arguments passed in by the client already get logged on the
te-broker side, which is why there are no changes except in the
client.
Change-Id: I848e08cd272724c059ce92a6ee527dedcd53acce
The nonha jobs don't use net-iso, so there's no need to spend the
time creating a lot of networks and ports. In addition, OVB now
has the ability to deploy a network environment that supports
basic bonding, and this change adds support for deploying that as
well. No jobs currently use bonding, but that will be added in a
follow-up patch.
Change-Id: Ifb65d962293b8b69b2a84597c29c1ffae5d9bc2c
this allows us to deploy and boot an additional node which we can have
ready along side the undercloud node itself.
Change-Id: I352de761841568e2820ba334757496702980d65a
Fail immediately if the testenv worker couldn't get an environment
for this job. Without this the ci job continues until after it
installs the undercloud and generates the overcloud images, then finally
fails when it attempts to register the nodes.
Change-Id: Icfb9f3a662ec817e9170a109a3e5ddeb3df720d5
There is a timeout on the test env worker, once it is passed the gearman
job is cancelled. If this occurs and testenv-client is waiting for the
thread running the command to complete, we kill everything in the process
group.
Change-Id: I629fdd8f17bc95274dbad11465b2653514dc5e7c
This commit adds a new script testenv-client, who purpose is to call
a gearman function "lockenv" passing it the name of a unique callback
gearman job, the callback when called can be used to run a command
while the test environment remains in a locked state.
This is intended to be used by tripleo-ci to lock test environments while
being used.
Change-Id: I5d552a1a8571f6ce0514c535f064e238d37dbc1f