This change updates all uses of docker to podman and removes our docker
installation process from zuul and our local test process. Some container
based tests have been moved to "delegated" becuase they no longer make
sense to run in a container and the hacks needed to maintain the container
based testing are not worth maintaining for podman.
Change-Id: I02de94a1229bfa847f14ecf282eadbcfe6396875
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This change removes the default '-v' from the environment variable when executing
local tests. This was done to enhance output for the end user by default but the
side effect was that not scenario tests were being executed. This change will ensure
any developers running the local tests are getting the same output we'd expect in
upstream zuul.
Change-Id: I76a1e44cea8140a6760e21946d62a0ecac368a24
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This currently fails with:
ERROR: Double requirement given:
mock (from -r molecule-requirements.txt (line 10))
(already in mock>=2.0.0 (from -r test-requirements.txt (line 3)), name='mock')
The tox linters job uses the same pip requirements files but doesn't hit this
because it also passes the openstack upper constraints files, so do the same in
run-local-test.
Change-Id: I12602801147b99a4c17a02cfd43239897ee049f3
* Adds another tox feature to scripts/run-local-test in order to allow
us to debug CI failures. Current implementation is totally opaque
regarding what packages are installed.
* Assures we display packages on zuul too.
* Assures that we do run some jobs using pre.yml when we touch it, as
previously only openstack-tox-linters was run
Change-Id: Iad8741ac09d8668f53b29e4965f8868ad55db017
This change updates our bindep configurations and local test runner
to ensure it works with RHEL/CENT8.
Change-Id: I5585fa8b6e2094132596073e6c441267a18aea90
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This change adds a test to find all broken symlinks. If any
link is found to be broken the lint check will return the
broken link in stdout and fail.
Change-Id: Iab137405d101e81f8ef9d086c5048108563a3fa7
Signed-off-by: Kevin Carter <kecarter@redhat.com>
Add molecule test structure for each ceph role. Also
add missing doc/*tripleo-ceph-*.rst files.
Local test setup changes have been made in support of
these roles.
Change-Id: I43b828d5c892a0b33c7a3cbae4034267ce493dc0
Task: 34717
Task: 34718
Task: 34719
Task: 34720
Story: 2006041
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This change converts the TripleO-Ansible test process to using native zuul.
After a long discussion about the current test process [0] it has been
determined that most folks using tox do so on a local workstation and
would not expect the local system to be modified when envoked.
To ensure we're not creating a situation where a developer runs tox with a
job that may require modifications of the system the current test
structure has been replaced with a native zuul `base` job.
> This change opens the door for us to add tox jobs later which may be
added in support of the native jobs we're running now.
> The test_json_error role was updated to set required configuration
for that specific role, which was being passed in via tox before.
Documentation has been added to the contributing section to highlight
the role development process and how folks can test things locally using
a script which will mimic the zuul job runtime.
[0] - http://eavesdrop.openstack.org/irclogs/%23tripleo/latest.log.html#t2019-06-27T14:01:13
Change-Id: Ia1f3d479f3ac447d125169d08c78aaccfeacea3a
Signed-off-by: Kevin Carter <kecarter@redhat.com>
The upstream OpenStack gate installs docker using the "install-docker"
from within the zuul-jobs repository. To ensure we're able to test role
consistently this change removes our internal docker install tasks
and simply uses the role as provided by zuul.
All of the requirements we were installing for molecule via built in
tox configuration have all been moved to the unmanaged requirements
file, "molecule-requirements.txt". This file will ensure anything we
install in a virtual-environment is consistent throughout our stack.
The `run-local-test` script has been added to the scripts directory
allowing local development to be setup and executed with minimal,
to no, pre-configuration or setup. This script and its usage has
been documented in the contributing guide.
Change-Id: If7d1ba7e59a1d6918d9606c9df8bfad21c0c47da
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This change adds a bindep file and install script which will allow
developers to quickly identify and install system requirements on
test machines.
Change-Id: I68e978c9414119a743431eb59be4771db4b96cd0
Signed-off-by: Kevin Carter <kevin@cloudnull.com>