The purpose of this is to be able to install a version
of python that is not available on target node. It
downloads source code from Python site, compiles it
using default compiler and install it.
It also installs and upgrade python packages (pip,
setuptools, etc.) and install additional ones required
by user via Pip
Change-Id: I3212d6fc1872451942aaa82e613236351f8592a3
Last release of subunit2junitxml still doesn't support
python 3. Because tox is being executed from a virtualenv
it could be python command is not of version 2.
This tries to workaround this problem by forcing to
use python2.7
Change-Id: I9d11237f258dffe755e92d0c9622fc6bf0c01202
THE CHANGE
This also introduce some new features:
- allows to override a stack verification step to be executed
at the end of stack creation to check the stack is in healthy
cond and eventually retry creating it
- restructure fail safe and concurrent creation loop
to make it easier to understand and maintain
- this should fix some different-host of same-host test case
failures tipically seen in downstream jobs by checking
nova scheduler hints are respected and eventually skip neutron
test cases thare pretend to check connectivity between
vms running on different (or the same) hypervisor host.
THE PROBLEM
When schedulers hints are given to nova to chose where to allocate
new VMs, there are no warranties to make sure it actually follows
them. In special it has saw many times that it fails to do it
expecially when many VMs are being created on the same time, for
example when running tobiko from a machine with many CPU core.
On such case test runner decides to spawn many parallel workers
(typically 2 for every core when executing on hyperthreading CPUs).
It has been seen the more test runner workers executing tests
the highest is the probability these hints are unmet by Nova.
THE WORKAROUND
To workaround this problem with this change we are verifying
scheduler hints has met. If not it retries creating them up
to two times before raising a SkipException to skip test
current case.
Change-Id: I8c0cff5ca69680aba3842bd7738f27651a677633
- Execute ansible linters on ansible files
- Join all linters verifications in one single job
- Fixes Ansible roles and playbook to pass verification
- Leave pep8 stand alone verification because of legacy
OpenStack standard testing interface (required by
openstack-tox-py* zuul project templates)
This is intended to reduce the amount of CI jobs
required to check and gate this project while
adding verification for ansible playbooks and roles
Change-Id: I44e03ffc8af21e798f8c7f709728a318764b328f
DevStack just drop support for xenial distro so that
single node jobs started to fail in DevStack scripts.
Change-Id: I2fa4307fd227a4c1cbdbf6413c76425b31a7a59e
job is still experimental and it has to be rebased on top of
new Tobiko role. There are also work in progress to move
networking-ovn plugin to neutron, therefore let put OVN job
works on old for now as they are slowing down project
verifications.
Change-Id: I80811dd8749223d17b5bf28ff9e2ad82d9f89db1
- copy tobiko source files to target host
- provide basic tobiko.conf file with DEFAULT section
- make sure logs dir is writable
- remove obsolete setup tobiko logs dir role
Change-Id: Icff3d8450ce4d84293783d7971f2851f69c00a87
Add a scenario for octavia: create a simple load balanacer with HTTP
listener and pool, add 2 members and ensure that traffic is fairly
dispatched.
Change-Id: Id8596ae1940ed97c52c0ef0e8f3e0ba7888d728a
This also allow to copy local project sources to
devstack target directory ($DEST) for provisioning
OpenStack with local changes.
Change-Id: I2002091b738e27eca4e14601027bc0f1f354c2c4
Reorganize jobs:
- new faults jobs that execute scenario+faults+scenario tests
- rename some job names
Change-Id: Ic3493edae66df736ff29e3c3e82774e2649cef9d