This patch implements an initial set of jobs intended to match
the current job execution method. It does not intend to improve
how the jobs are executed - only to replicate what is currently
in openstack-infra/openstack-zuul-jobs and provide the platform
to iterate on.
Change-Id: I7a1c312268b7219cb3e04058e9563a2fe0c469f0
In preparation for adding support for SUSE distributions, we sync the
test files from the openstack-ansible-tests repository so the upcoming
commits can be tested on all supported distributions.
Change-Id: I60520541bfe0fd7a3cb25e8c5b275c16ea136c95
The run_tests.sh script fails when it is run multiple times on CentOS.
The `bindep` run returns an empty list of packages and then `yum`
exits with an error since no packages were provided to install.
This patch checks the length of the `bindep` output and skips the `yum`
installation when the package list is empty.
The patch also cleans up some of the old cruft left over from previous
scripts and avoids repetition.
Change-Id: I34c8766bbfcf982310ae528663a3100908603801
Signed-off-by: Major Hayden <major@mhtx.net>
This commit also moves the upgrade test to its own
scenario using tox environment func_upgrade
Closes-Bug: #1623592
Change-Id: Ib79d9c261c3bf5e018806867ebe804b5853908e9
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
Some Linux distributions, such as CentOS 7 and Xenial, have trouble
validating SSL certificates when using get_url with servers
that use Server Name Indication (SNI).
This patch adds those packages to the list of required packages and
uses bindep to install them in developer test environments in the same
way that the gate tests install them.
Change-Id: Ia0ff77bb2423eeee14a5c7dcd7a2f12ef8c8f957
CentOS 7 comes with Python 2.7.5, which does not have support for
servers that use Server Name Indication (SNI) to host more than
one SSL certificate on the same IP address. Three Python modules
are required on CentOS 7 systems to add this support:
* pyasn1
* pyOpenSSL
* ndg-httpsclient
This patch should prevent the SSL verification issues that occur
when the RabbitMQ RPMs are downloaded with get_url.
Closes-bug: 1604922
Change-Id: Ia14f25ed0ae399cfea6177adb6d34582a40c9249
Paramiko version 2.0 has been released. It now uses the Python library
cryptography. Installing this requires additional system packages. This
commit adds in the appropriate packages required by cryptography based
on its documentation [1].
An alternative approach would have been to constrain the version of
Paramiko however the project describes the 1.x versions as relying on
insecure dependencies [2].
[1] https://cryptography.io/en/latest/installation/
[2] http://www.paramiko.org/installing.html
Change-Id: Ibda3558158f5fd57c1da05cf29e88b6075c0827e
Modify run_tests.sh file permissions to make the script executable to
increase the convenience of using the script.
Change-Id: Ie71596b028b1765083818692c7485eaed2bd88a2