Getting rid of the antelope template and replacing it with the list
of the jobs instead - it's gonna be easier to add newer python
jobs as we won't have to check which ones are a part of a template
and which need to be added directly.
Change-Id: I37e72fda65ffc43ce90a6d5724628c405f13acdd
A bug in test_create_multiple was fixed by this patch [1]. As the test
is part of the interop guidelines we should include this fix in
refstack-client.
[1] https://review.opendev.org/c/openstack/tempest/+/875751
Depends-On: Ie127c2ed159da8a6bc780919cdd4def44e457efb
Change-Id: Icfc4c4f270ee559128b165ffa032be0460294d48
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: If7d749018d7a69906f7f4763b147f09cfadd6692
Refstack-client is dropping support of python2 and also all python3
versions above python3.8
Changes:
-requirements.txt - added license on python-subunit
-setup.cfg - removed python2 and python3 versions below python3.8
- added python3.10
-setup_env - removed all python2 mentions
- python3 min version set to 3.8.0
- added parameter l which will force installation of
python into ${WORKDIR}/.localpython
-tox.ini - removed py27 from envlist, added py38
Change-Id: I6500ed950cb9bc07d87370940b4752e686712c14
Support for identity section in tempest.conf was deprecated 7 years ago
by the refstack-client [1].
This patch simply makes sure that the refstack-client ends with an error
and prints an error message when the user tries to use identity section
instead of accounts.yaml.
[1] https://review.opendev.org/c/openinfra/refstack-client/+/287540
Change-Id: I9e6cce47ffd4269fecdb3ad040d508acb1be671c
The parsing of tenant_name value from tempest.conf ends with an error as
the ConfigParser.get() function fails if a requested value is missing
in a config file.
This patch fixes the issue by using the fallback option of the
ConfigParser.get() function. Also, the unittest that checks the reading
of [identity] section from tempest.conf is fixed.
Change-Id: I9b3224f4ab8900a4954814844ef8c13e099ccae9
When '-p 3' option is used, the setup_env script checks whether
there is 'python3' installed on the system. If it is, then python
3.8.10 is not installed by the script and whatever version that is
pointed to by the 'python3' command is used.
This is an issue as the setup_env script help message states that
python 3.8.10 is used for the '-p 3' option.
This patch fixes the issue by ensuring that PY_VERSION == "3.8.10"
when '-p 3' is utilized and by checking the exact version of the
installed python on the system.
Change-Id: Ic4e32ca84f4c7bf63ae0a1deb11c1b4cb44166d8
The commit updates tempest version and removes Ussuri and Train jobs
as those aren't supported by the community anymore.
The patch also updates old openstack.org links.
Depends-On: https://review.opendev.org/c/openinfra/ansible-role-refstack-client/+/854211
Change-Id: Idf69f02ba844bdeea21ec744ec41ca78bbd1907d
Add Python 3.9 to the list of supported Pythons and replace
dashes (which are deprecated) with underscores.
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I12cc6206ebfe06b7cf3a50ea59bf1b55a3ff7303
This updates jobs for the Zed development cycle by adding a yoga
and a xena jobs.
This also bumps refstack-client's version in setup.cfg as we created
0.1.0 tag couple of weeks ago - the version there refers to a new
version (released in the future)
Depends-On: https://review.opendev.org/c/openinfra/ansible-role-refstack-client/+/836124
Change-Id: If9a7be2c0751ffef47f67a0d6937284a38566f68
This warning prints old tempest tests (which are marked
as aliases in the guidelines) most of the time.
The warning confuses users becuase it may suggest that
a relevant test is missing, however, that's not the case,
aliases aren't supposed to be found because they were
renamed.
Therefore this commit increases the verbose level needed
to trigger these warnings. From now on, the warnings won't
be printed by default, debug level of verbosity will be
required.
Change-Id: Ic0e590d54d76e2d5839ced3f513e8b2ded705e6f
Setup_env script is installing python-dev package
via apt-get even if PY_VERSION is set to 3.
This patch is adding same conditional as centos like
OSes.
Change-Id: Ib2890e4f260445e392d0ec25eb16421595d2e031
This patch makes sure that the promote pipeline uploads the
generated documentation to opendev.org. Previously the promote
pipeline called opendev-tox-docs job (this had no effect on
uploading of the documentation).
Change-Id: I026934236a376ed63c2bc5e9b25bb3baaa3f238b
Let's use UPPER_CONSTRAINTS_FILE when installing plugins
by setup_env. The UPPER_CONSTRAINTS_FILE is set to
https://releases.openstack.org/constraints/upper/master
Using a constraint file is safer in general - it will shield
us from too recent releases of the dependencies (direct and
indirect ones as well).
Change-Id: Iea2127f53c0fb242f94e586983d28ce015221bb5
This patch replace yaml.load() by yaml.safe_load() which will
fix the TypeError our jobs currently face:
TypeError: load() missing 1 required positional argument: 'Loader'
Change-Id: I3d238eabf374be895782ebc9e4907db93157a5d4
refstack jobs are broken and require a fix (see follow up patches)
on refstack-client side which can't be merged without a fix
on ansible-role-refstack-client.
python jobs are broken too and require a fix in refstack-client
(already proposed) which can't be merged without other mentioned
fixes.
This will be reverted as soon as the issue is resolved.
Change-Id: Ic00064ed0769aaad3730f1db6889ca180860370b
docs.opendev.org will provide easier access to the doc pages
in comparison to the Gitea (opening the doc files in the repo).
Change-Id: Ib3ee1c006eca682823bd7f2920bf85ad2ce24fd8
The removal of the dowloaded .tar.gz file is happening
on line 188 which makes the second removal of the .tar.gz
file redundant - the second call was also not matching the
name of the file.
Change-Id: Ia86d8ad368336e1af6ab4838510dcad453e12059
Let's use UPPER_CONSTRAINTS_FILE when installing dependencies
by setup_env. The UPPER_CONSTRAINTS_FILE is set to
https://releases.openstack.org/constraints/upper/master
Using a constraint file is safer in general - it will shield
us from too recent releases of the dependencies (direct and
indirect ones as well).
Change-Id: I4a8a9647b7a78302009e3b6d60462d3c8d438cd8
The currently used tempest tag points to the version of tempest that
causes failure of some object_storage tests. The failure occurs when
swift is used on ceph. In such a case tempest expects that swift's
API endpoint for listing active capabilities is at /info when
actually the correct endpoint is /swift/info. This issue fixes
commit [1] that should therefore be used as a new default
tempest tag.
[1] https://review.opendev.org/c/openstack/tempest/+/692375
Change-Id: Id213499a54d793fab198a9bc2d96dd4cc3c89ce6
In order to support manila_tempest_plugin tests which are a part
of share file system target program we need to update tempest's
tag to the commit when a workaround to handle skip exception
was added [1]. Without the change some of the manila_tempest_plugin
tests in share file system program are failing because tests skips
are treated as errors.
[1] https://review.opendev.org/c/openstack/tempest/+/687999
Change-Id: I692ac5749da553435e8d04f8179aa6151038b1f4
Let's update the default's tempest tag one month more so that
tempest contains follow_redirects parameter [1] in its RestClient
needed to run dns add-on tests. Without the change some of the
designate_tempest_plugin tests were failing with TypeError:
__init__() got an unexpected keyword argument 'follow_redirects'
[1] https://review.opendev.org/c/openstack/tempest/+/580146
Change-Id: I5fde40ff2ed3e6e258a18ba431ab9aef2009c891
Allow refstack-client run also tests from tempest plugins
by not filtering out all tests whoose names don't start
with tempest.
Change-Id: Ic880967287f7cf7064d2440fde2c35c781477873
Use of signer/verifier functions has been deprecated since
cryptography 2.0, and a deprecation warning is shown on
every use of the 'refstack-client sign' command.
Remove that warning by using the sign function instead
of the signer function, as described in:
https: //github.com/pyca/cryptography/blob/1.9/docs/hazmat/primitives/asymmetric/rsa.rst#signing
Change-Id: Id9d5ed33b601771cd75df421a15ed2894fcd4d92