- use generic test template
- remove autospec in power test as we don't use actual libvirt
module to test. The libvirt-python module is fully mocked.
Change-Id: Ied36a8afb818422c643edca8a2feeec977b53551
* Fix the default interfaces in the devstack plugin
* Do not default to netboot with a whole disk image
* Add missing stestr dependency, removed unused dependencies
Change-Id: I88fe1eb17acb27f18a3093367a29b5f5049d74af
If byte encoded strings are passed to the
ovirt SDK. We get the error outlined here:
https://bugzilla.redhat.com/show_bug.cgi?id=1924928
This change leaves the string validation in place,
but passes while raising a warning. Ultimately,
non-encoded strings are provided to ovirt SDK
to prevent the mentioned issue.
Change-Id: I8e62a650ebae974017e17342ec17aa61ba67eed9
Increase tox minversion to 3.9.0 to be compatible with inline
comments [1]
Move some test requirements to tox.ini
Remove lower-constraints environment from tox.ini
[1] https://tox.readthedocs.io/en/latest/changelog.html#v3-9-0-2019-04-17
Change-Id: Ida88627aace41c4f445a108d22e5eed12247a127
As discussed during the upstream ironic community meeting on
Monday Dec 14 2020, the lower-constraints job is being removed.
Change-Id: Id4a2f06857e9732b52b9f76ee22409c7b71902fd
Versions of hacking from 3.1.0 until 4.0.0 NOT included are supposed
to require a safe version of flake8, so besides normale issues related
to minor version upgrades, we can safely use those versions.
Also forcing pycodestyle versions to be compatible with flake8 installed
by hacking.
Change-Id: Iffb6019b339ca5412bb6957274b7d12233bc7db7
As recommended, since version 3.2.0 tox switches pip invocations
to use the module -m pip instead of direct invocation.
We set min version to 3.2.1 [1] to also fix the behavior of
--parallel--safe-build
[1] https://tox.readthedocs.io/en/latest/changelog.html#v3-2-1-2018-08-10
Change-Id: I766ef1cf1e5ede30d96a68f7cb8402bef63e99f1
- Created doc/requirements.txt with requirements for docs,pdfs and
release notes.
- Updated tox.ini for docs build and added pdf-docs build.
- Updated do/source/conf.py with necessary changes to build pdf.
- Added sphinxcontrib-svg2pdfconverter to l-c
Change-Id: I98ade2140063aa3e33ca6287da2f0052fd4c5175
Currently a new connection is created for every API call which is
never closed. This results in open connections accumulating over time
due to periodic calls like power state polling, which is further
compounded by the number of ovirt nodes deployed.
This change converts _getvm into a generator based context manager so
that the connection can be closed after every call.
Change-Id: I30f9695c591f72dae21467b0b31f6f67fad7cc8a
We need to list all dependencies in lower-constraints.
Also updating requirements.txt to reflect new minimum versions.
Change-Id: Id643629701d3749927c2915b9ea1bbf7170df32c
Full py3 compatible version.
Add all Python3 modules to stdlib list.
Also includes fix to an enum34 dependency bug.
Change-Id: I62321c13697db75c6cfc2176a9a89b6cb50413d6
Legacy job was force to dib and exploded, rectifying that
forcing the use of tinyipa for the time being.
Change-Id: I9d1301107e54ab91e06709905f186d8b1bad40c1
Since removing support for Python 2, we changed the basepython
value to 3.
This means that all the tox tests run with the default python
version available in the system.
This is not quite correct when running on environment such as
py36, py37 or py38, since they imply running with different
Python versions based on the environment.
To enforce the correct version we need to add the option
ignore_basepython_conflict available since tox 3.1.0 [0].
[0] https://tox.readthedocs.io/en/latest/config.html#conf-ignore_basepython_conflict
Change-Id: I6dfb295c9e18ac3ec0d79b186ab4cbe5cecd00bf
Since we've dropped support for Python 2.7, it's time to look at
the bright future that Python 3.x will bring and stop forcing
compatibility with older versions.
This patch removes the six library from requirements, not
looking back.
Change-Id: I41ef2d06dcdfe2fb3fd47fe877149ec9a29e37fb
This is a manually generated patch to ensure unit testing is in
place for all of the Tested Runtimes for Train.
See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html
Depends-On: I8432eb58c44ebbcaccffa801e3bc5b791e37c84b
Change-Id: Id236f6565c0b0a5ebdaab30fbc6b96a22f05a3ec
The enabled_drivers option has been removed since a while, this
patch replace the latest 2 entries in a unit test with
enabled_hardware_types
Change-Id: I8432eb58c44ebbcaccffa801e3bc5b791e37c84b
With this patch we drop ostestr to use stestr directly to avoid
current and future incompatibilities that can break the test
process, e.g. [1]
Also some minor changes:
- following recent changes to global requirements [2],
we update sphinx requirements locally
- removing py35 in favor of generic py3 test
- updating upper-constraints link to use opendev.org
[1] https://bugs.launchpad.net/os-testr/+bug/1827834
[2] If558f184c959e4b63b56dec3ca1571d1034cfe5c
Change-Id: I9328fa7e68e1e03a20182e728840075bea7c5ac6