This validation can be removed. There is
a very similar playbook with the definition
of the package_list variable to check the version
of python-tripleoclient in the triple-validations
repository. This playbook is therefore not necessary.
Change-Id: I4b0a5916f93cf422def725fe2841c6867c7f1848
Master jobs for OOO are no longer supported. We'll drop them and keep our own to make up for it.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ib19fe6ea631682d570ee91822df0c36aea61ba6c
Full comparison with the validations common role list was made to eliminate any discrepancies. Hence the roles check_disk_space_pre_upgrade, check_rsyslog, verify-package were added to the doc/build to correct missing validations in the documentation.
Signed-off-by: Veronika Fisarova <vfisarov@redhat.com>
Change-Id: I3bd299dce9be706185de60648ffd981255046ac4
This change should allow openstack-tox-linters run under python 3.10 envs.
Closes-Bug: #2013048
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ice5af1abccf448fe4f3d420eeb457f52af4f22cb
Functional tests for a change Ifc6c28003c4c2c5f3dd6198e650f9713a02dc82d
In order to use the 'validation_dir' and 'ansible_dir' parameters in the YAML file when executing the 'file' command, the original parameters 'validation_dir' and 'ansible_dir' are changed to 'validation_dir_arg' and 'ansible_dir_arg' when using as a argument in the 'run' command.
Related-to: rhbz#2122209
Signed-off-by: Veronika Fisarova <vfisarov@redhat.com>
Change-Id: I56d974814987ef7a1cc105d4efe3123dd97f6b3e
When validation run is skipped due the unfulfilled condition, run_results variable isn't created, so the set_fact cannot be set properly and returns error which can be interpreted as false negatives. Set_fact task must be corrected so it doesn't fail even if the variable run_results is empty.
Signed-off-by: Veronika Fisarova <vfisarov@redhat.com>
Change-Id: Ibb6bf62c0291e27da6b855d7836376a029233138
The image-serve validation was fixed by I90171b424f0678001c2ca53a1fee819993fff6f5
The undercloud-tokenflush validation was removed completely in
I6c4bdff5e253bb054231dae2c3a280322cb18b9f as it is not relevant for more recent releases.
Related-bug: #1959864
Related-bug: #1994029
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I23431b685c00730affe69fb6ebcbb3223b31057a
Adjusted container file will provide pytest framework out of the box
to facilitate testing code from VS code IDE.
Package installation layers were consolidated in order to minimize
image size.
Default devcontainer configuration was added.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I6316860340d1d4f8ccf0e260cf94adba0f322efe
It the 'chrony_enabled' key isn't found by hiera, the validation
will now proceed as if it was disabled. This should allow for successful
run on clouds with mix of ntp implementations.
Resolves: rhbz#2156049
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ic9860b3531639e85926f5221cd9c5cde03eecfa8
It seems flake8 is no longer available in Gitlab. This change switches
the source from Gitlab to Github to avoid the following failure.
fatal: could not read Username for 'https://gitlab.com': No such device
or address
Closes-Bug: #1996668
Depends-on: https://review.opendev.org/c/openstack/tripleo-ci/+/864603
Change-Id: I774c163376ccbd7ce43be12386834a68e18c2bec
It is no longer supported by jammy and lead us to the following errors with the announce-release job.
```
No package matching 'python-dev' is available
```
Change-Id: I5d57b97f510fde6b50eb3aeda5febcd6ef70f994
Recently enabled undercloud-tokenflush validation appears unstable.
It will be placed in the skip list until the issue is resolved.
Related-Bug: #1994029
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Idcd13dd967562af9eb91720a809a6148e810110d
Existing log dir removal task, added with Ia4e2fbbbd02d66522fc5f92441f9b6d3c0ebd840
was targetting wrong directory, essentially becoming useless.
With this change the location will be cleaned up
before execution of the tests as intened.
Closes-Bug: #1993262
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ic2130702ca459b62a82682c7e85b89359ac6dcbe
Ensuring that validation logs are empty before starting framework tests
will ensure clean environment actual testing.
Closes-Bug: #1993262
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ia4e2fbbbd02d66522fc5f92441f9b6d3c0ebd840
Some of these validations were previously not included due to bugs,
others didn't exist at the time. Now they will be tested together with the rest.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: If4a0aa57c48f2b7ab758b1f9c6bd8ccd442b33af
An error occurs while executing local tests if the user has more than one Python3 runtime installed. Currently supported version of python environment for tox tests is 3.8. Basepython was explicitly defined to version 3.8 so the error won't occur due to a different version.
Signed-off-by: Veronika Fisarova <vfisarov@redhat.com>
Change-Id: I07e6a29f9cf1393a6cd8784163c4575fd40ac25e
The validation was incorrectly marked as belonging into 'pre-deploy' group
which it didn't share with other validations and was possibly a typo.
Closes-Bug: #1988420
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Id22fea9b5ebedbbd9b786ee23fde0b2e50ac075e
The existing settings of the expected CPU core number was
causing component pipeline failures on wallaby release.
This overide should resolve the issue by halving the number of expected
cores during the catalogue test execution.
Closes-Bug: #1987506
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I0f012fbc454a78d13ce1f66c56699a8f2ac911ff
The validation test have their arguments defined by hand, which can cause issues.
Default filter should ensure that the validations won't fail if the var negative_results has an empty value.
Signed-off-by: Veronika Fisarova <vfisarov@redhat.com>
Change-Id: I2c33f839fc1023b284633bd1562f7ec4c86b9b6e
check-rsyslog validation demonstrated a novel syntax error
caused by form of the "filter" argument of the setup ansible module.
Modification of the argument form was made to align with module requirements.
The validation was added in catalogue tests.
Resolves: rhbz#2116304
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I15c56f71da5d7358e0a13d16bcd975d65b36c7b0
This validation will run only on RedHat OS family (CentOS, Fedora, ...).
It calls the "rpm --verify|-V" command on the selected package, and
return its status.
Some notes:
- if the package isn't installed, it will fail
- if the package is present, but doesn't have the %verifyscript
scriptlet, it won't fail
- "become" is needed, especially if the verification script in the RPM
calls some root-only things, such as "semodule" (this is the case for
openstack-selinux, for instance)
- if you set the validation to verbose, most of the output will be in
the stdout - you therefore will have to go through the validation log
to get the complete reason
Change-Id: I7be310cac60b6729aa3c1a67f731421f85a78d80
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Removing the py36 centos8 job as well as
updating the python classifier also to reflect the same.
[1] https://governance.openstack.org/tc/reference/runtimes/zed.html
Change-Id: I9189618470d8b9ba80daaed0b6aaf8f739455d6d
Moving to version 1.12.0 will allow the library to handle the newest version
of our code intended for python runtimes >= 3.8
Closes-Bug: #1977495
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ia1aaf3bf507145977b2065efad2550c6c0f07885
The lowest version of python supported will be Python 3.8,
to keep up with some of the adjacent components and CI jobs.
Releated-Bug: #1974244
Change-Id: I513ec696fd769f6fbef3004095898189dbe1721d
The CONTRIBUTING.rst is now included among the files
triggering execution of the tox-docs job.
This patches a dimunitive but nonetheless extant hole
in our doc CI coverage.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I96fa87d83bfa9a5f48812c0d15504e80d4548d53