tooz/playbooks
Ben Nemec 4d24f41e47 [stable-only] Cap stestr for python 2 and unblock gate
This is a combination of 3 commits that are all needed to unblock gate:

1. Move testing to py36

The base infra images no longer have python 3.5 available and are
all failing. We should be testing on py36 now anyway since that is
the minimum supported version for Train.

2. Stop redis-server before running tests

Just installing redis-server on Ubuntu Bionic starts the service,
which means when we try to start one via pifpaf it fails due to the
port already being in use.

This change adds a pre-run playbook that stops the redis-server
service so ours can run successfully.

3. [stable-only] Cap stestr for python 2

stestr dropped python 2 support with version 3.0.0 and tooz does not
use constraints from openstack/requirements, so test-requirements.txt
is updated to use stestr<3.0.0 in case of python 2.

Since tooz do not consume upper-constraints there is no need for
requirement check job either so it is removed, too.

Conflicts:
    tox.ini
    test-requirements.txt

NOTE(elod.illes):
  * tox.ini conflict is due to py37 is not yet added as tox target in
    Stein.
  * test-requirments.txt is not present in Stein, setup.cfg is used
    instead.

First two commit was squashed in train (original patch's change id is
I3f7f7ea9069d8c890a82f31ad14c9663e98c09dc and cherry picked from commit
8207427fff).

Closes-Bug: 1828610
Change-Id: I7a75be587efc2098e919f1ea34f9ffc357203dfb
(cherry picked from commit 13a6dffa32)
2020-04-16 11:56:13 +02:00
..
stop-redis.yaml [stable-only] Cap stestr for python 2 and unblock gate 2020-04-16 11:56:13 +02:00