17 Commits

Author SHA1 Message Date
Eduardo Olivares
de706c07c0 bump os-traits to 3.4.0
Align with https://review.opendev.org/c/openstack/requirements/+/946181

Change-Id: If05999ed66bf7ced9eaecaea316b887fa4bbebfa
2025-04-08 13:20:41 +02:00
Eduardo Olivares
6f4b91ae16 Pin setuptools to 76.1.0
`tox -e docs` fails with setuptools version 77.

Change-Id: Ifdca414649fcfe5f69da2b49382275d402a332f8
2025-03-20 16:33:11 +01:00
Eduardo Olivares
926fc6326f Tobiko adapted to python3.12
Updated requirements and pre-commit-config files to support python3.12.

Tests from tobiko/tests/functional/run have been removed to avoid
failures on tobiko-infrared-centos-9 with multiprocessing.pool module:
https://github.com/dask/dask/issues/5806
These tests were going to be removed in any case at:
https://review.opendev.org/c/x/tobiko/+/936633

TODO: after updating ansible-lint version used to 6.21.1, due to the
big amount of failures, ansible-lint is mostly skipped (see
.ansible-lint file) - this will be fixed in a follow up patch.

Change-Id: I2768cd8d0c2b5f015f1beb0e42dae67dd24f97dd
2024-12-02 15:59:32 +01:00
Eduardo Olivares
576859757d Fix issues with upstream jobs
setuptools version is pinned to 70.3.0 to resolve an issue
related to this ticket:
https://github.com/pypa/setuptools/issues/4483

pylint version is forced to >=3.3.0, where max-positional-arguments
functionality has been added and max-positional-arguments is set to 16:
https://github.com/pylint-dev/pylint/pull/9842

Changes in functional test test_stateless_sec_group_list_find because
sec group lists from a sec group can be ordered differently each time
a request is sent to obtain them.

Changed custom_mtu_size default value from 1350 to 1300 because some
tests started failing on some jobs with:
"Requested MTU is too big, maximum is 1314"

Change-Id: Ie92d9a2f4e0dd08aeadfd720bdf4963b532decf3
2024-09-30 17:55:47 +02:00
Eduardo Olivares
306f19ebbf Pin numpy to 1.26.4 (python3.9)
This upper-requirement matches openstack/requirements:
https://review.opendev.org/c/openstack/requirements/+/907647

Change-Id: I3bda94263eefde323f46e2739f3393652c69a2e8
2024-06-18 08:53:03 +02:00
Eduardo Olivares
ff9c70dbc4 Upgrade sphinx version
sphinx version upgraded to 5.0
sphinx_rtd_theme version upgraded to 2.0

Depends-On: I80ae1fc69d5e8e2a31ac52c02a1604225eefba3c

Change-Id: Ib80988f8b11af93fc4e8bd3affa69795470787fc
2024-03-20 08:30:12 +00:00
Eduardo Olivares
cdd66eff32 Fix two issues that broke tobiko gates
1. mypy version needs to be bumbed to avoid [1]
2. due to a change in neutron [2], tobiko heat templates need to be
   updated: when an OVN router is created, its ha value is omitted

[1] https://github.com/python/mypy/issues/13627
[2] https://review.opendev.org/c/openstack/neutron/+/910889

Change-Id: I6c7fb32c6fa4fe6cd892a32cfeb1780d8d8be091
2024-03-08 13:50:08 +01:00
Eduardo Olivares
0bc0eeb336 Remove dependency with vulnerable library py - upgrade to tox>=4.13
All existing version from the py library are affected by the
following vulnerability:
https://github.com/advisories/GHSA-w596-4wvx-j9j6

In order to stop using py, its reference has been removed from tobiko
requirements. Besides, tox and pytest libraries versions have been
upgraded for this.

Change-Id: I2c61e753e55340b19ab941fd532de0cab875d51c
2024-03-06 12:41:03 +01:00
Takashi Kajinami
bf1d2b6a26 Remove unused "deprecated" method
The method is not actually used. Also we currently have a common
implementation in debtcollector and that can be used instead.

Change-Id: If9eb1f8b035a55163573f54ad8fd4c85b876e3fe
2024-02-21 10:59:46 +09:00
lkuchlan
5d04e37ab0 [Manila] pre-upgrade resource creation and post-procedure validation
There's a need to create a Manila share resource before the upgrade
process and then validate the share after the process is complete.
To achieve this objective, it is essential to incorporate support for
the Manila client, a task that is accomplished through this commit.

Change-Id: I0d520e40a1a491ee864e707d63413d10035b99ca
2023-10-09 12:45:10 +00:00
Eduardo Olivares
b32c3a5f6e Dropping python3.6 and python3.7 support
Depends-On: I4a5ac77948ddb65944b0852b03122190a659269b

Change-Id: If126f32a301c5bd0a2c50b6b9c6b0d8ef2cdf7ca
2023-08-25 15:39:07 +02:00
Federico Ressi
2b6e853269 Add pytest-subtests plugin
Change-Id: I826cc04be1ae08b78572aa320f1dedc0e28ab473
2022-07-25 09:35:42 +02:00
Federico Ressi
6ea101c860 Update upper-requirements.txt
Change-Id: Iaa45ec17626220a1894a98332ec4926a51dce416
2022-07-21 09:31:41 +02:00
Federico Ressi
682011c1f6 Add Metalsmith client
In OSP-17 and newer, there is no Nova running as undercloud
service and instead of Nova client, Metalsmith client has to be
used to e.g. get overcloud nodes and its IP addresses.

This adds Metalsmith client with Metalsmith client support

Change-Id: Iaeef3e87a29513e97f1702085928aa05e1aa82ad
2022-07-05 15:34:08 +02:00
Eduardo Olivares
c1d30b3cac Bump paramiko version
Most tobiko tests are failing on RHEL9 environments due to ssh auth
issues. It was found that with newer paramiko version the issues
do not occur.

There is an open issue[1] in Paramiko starting from 2.9.2 (which allows
to connect to new servers like the one of RHEL 9) but in the while it
brakes the support for the old CirrOS image server (image version 5.2).

To keep support for old version we now uses disable_algorithms[1] option
when creating an SSH connection to CirrOS images. The workaround has
been documented in the Paramiko project page [2]

[1] https://github.com/paramiko/paramiko/issues/1961
[2] https://github.com/rhevm-qe-automation/python-rrmngmnt/pull/149/files#diff-7b3ed02bc73dc06b7db906cf97aa91dec2b2eb21f2d92bc5caa761df5bbc168f

Change-Id: I301c18a832a05ddfd331bddd7ad2bc839205ad2d
2022-04-28 15:55:12 +02:00
Federico Ressi
2bdf55a80f Update upper constraints file
Change-Id: Iac5f64487c145eb44c06fda22e641b680b8f1f13
2021-12-21 14:49:16 +00:00
Federico Ressi
03b9eec659 Use local upper-constraints.txt
- Remove support for constrains file from infrared plugin
- Use file stored on tobiko repository by default

Change-Id: I0f835d753fb9d3a1670e8eb9b196e02e989d4262
2021-10-27 14:33:56 +02:00