Introduce support of python 3.8 and move tox and jobs to py38.
jsonschema 3.2.0 [1] support python 3.8
[1] https://github.com/Julian/jsonschema/pull/627
Change-Id: Ibcfa044dd0f3b29fd290559795ea1d98e194e886
With the requires-python fix landed, we can re-add this test
and wait for it to start passing again.
Change-Id: Ia93a8685f7381e773e1139ca3f804ea354089eb3
We require 3.5 now but we didn't add the metadata. Add it.
While OpenStack broadly only supports 3.6, openstacksdk
has a wider audience, including nodepool which still uses
3.5. So add the 3.5 unit tests back.
Use lower-constraints for py35 unit tests because the
upper-constraints have versions of things that have
droppped py35 support already.
Depends-On: https://review.opendev.org/#/c/715467/
Change-Id: I680e0bab5ba3af7be5e914ece64c6bd25d1f2191
This partially reverts commit b6a22e3749555ecf9fea762dfc4935e312f6d8bb.
The addition of futurist as a hard depend broke python2, and at the
same time didn't mark the release as having done so. In looking at the
issue we realized that we don't actually need the hard depend.
Change-Id: I2d874f618f5b3f66d49cd2e964c6e05655f22c0f
We need to run master of openstacksdk against the stable ansible
branches that have openstack modules.
This partially reverts commit 666381d6e45db8df707ff39a7ef8385cca172c3a.
We no longer are running jobs against devel of ansible, so we don't
need to do the failure job.
Change-Id: Ic783cfd564001a0bd00182725d26928ae6422c3f
In order prevent merging patches to Openstack Ansible modules
via Github fail the CI job that runs there with appropriate
message about movign the code.
Remove all ansible bits
Add a new job from collections to check changes.
Depends-On: https://review.opendev.org/#/c/704332/
Change-Id: Id1aafe59775f7d59ea88e4ac9deef952abbdeda1
We're peeling python2 from libraries now, so Stop running python2
versions of test jobs. Leaving removing the test jobs themselves
for the moment as they're still used in other repos.
Change-Id: Ic6d56e3636b757201d83649f075005ed3ae1e1a6
We're unwinding python2 testing. As part of doing that, remove
python2 from our zuul project-template which other people are
using to add tips jobs to their project.
Change-Id: I7d4b3f54cfd09d6a39b707f4a9a0bf4b2b9bca69
Both ironic and ironic-inspector rely on openstacksdk for x-project
communication. The ironic-inspector-tempest job covers accessing
ironic (from nova) and swift (from ironic and inspector). In Ussuri
we hope to start using openstacksdk for accessing glance, neutron
and cinder.
Change-Id: I42bf7d31dcb0a53006c6773c8f208b8b5c8bac12
Apparently, ironicclient 3.0.0 has broken no-auth support, in turn
breaking ironic-inspector in bifrost. Solving it may require a new
ironicclient release, so make the job non-voting for now.
Change-Id: Ife2e5a1bbe1e55db1134b80074b2c93ae5eb29f3
These are new nodepool functional jobs designed to give more
flexibility to the DIB/clean projects to define what they need
to test. Otherwise, they behave very similarly to the current
nodepool functional jobs.
Depends-On: https://review.opendev.org/665023
Change-Id: I3b88debef5e92b2d2469952a5d12be8bf569102e
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This review should result in no functional change.
Change-Id: I366b7a32aeedbd76d49c763b31ff4ec0b049190e
Story: #2004627
Task: #29701
When keystoneauth or os-client-config run this job, they'll run
their own tests, not openstacksdk's. Whoops.
Change-Id: Ia4a421dc4b2e8c3d682ebce2474a436490988363
metalsmith is now exercising neutron, glance and ironic via
openstacksdk, so it adds useful coverage.
Change-Id: Iaf872c520d224366d48c34e31bae618acb502968
Hopefully this will help with memory pressure, but we don't need these
installed or running for sdk tests.
Change-Id: Iad90847609a9c3069159b4bf62de7eec6b5cbe39
Since the grenade-py3 job is now in the neutron check and gate queues,
the neutron team would like to eliminate the neutron-grenade job as it
look like it duplicates the functionality of grenade-py3. This also
means the grenade job is now py3-compliant.
Change-Id: I83e359974630e2d955bb93574d460b5a136927df
Needed-By: https://review.openstack.org/620357
Floating IP port forwarding API was implemented in
Neutron in Rocky.
This patch adds support for it in SDK.
Depends-On: https://review.openstack.org/617045
Change-Id: Ib3f8b45e1534198f1e03223c20348fb604a91a59
This patch adds minimal functional tests to check the
behavior of supported APIs for Segment and Host by masakari.
Also added new CI job to run these newly added functional
test cases.
Note: Functional test cases related to ``POST/GET /notifications``
APIs will be added in Masakari.
Change-Id: I55fed23a1ceb259e9a13f3ed9e4b6d462330bcb4
We updated shade to not be a subclass of openstacksdk and instead just
be a frozen maint-mode library. We don't need to co-gate with it anymore
then, as sdk changes should not have impact on shade.
Change-Id: If808a3e6b94e93c5b5934da8c91e06d8b6ded1b9
We want to run with python3 always with python2 being the exception.
Update the functional tests to be python3 by default with a
python2 job to check compat.
Remove python3.5 jobs, since that's covered by python3.6 and the
differences between 3.5 and 3.6 are covered by also having 2.7 in the
gate.
Similarly, make the tips jobs python 3.6 only because they are jobs that
aim to ensure interactions between openstacksdk and keystoneauth and
os-client-config and shade are correct at the unit test level. The
individual unit tests should catch actual python 2.7 issues.
Remove cover jobs because we historically haven't cared about the output
and they take up test nodes. In general it's not that big of a deal, but
we tend to be patch-heavy around here, so it feels extravagant to run a
job we don't actually care about the output of.
Split advanced networking services into a job
We're hitting timeouts like crazy- maybe we're just running low on
resources. Split octavia and designate into their own job. Turn
swift off in that job.
Skip sdk layer dns functional tests when designate is not present. We
should refactor these to deal with both cases.
Change-Id: Ica5a47cc200c8abff1d20af9883c5192fcbb95e1
Some cleanups:
* Remove python3 variable from tox-docs, tox.ini is setup correctly; no
need for this setting - and the docs-pti template uses tox.ini
* Use lower-constraints template instead of individual jobs
* Use cover template to run cover job in check instead of post queue.
* Sort template list alphabetically.
Change-Id: I6b77786007070794601c0b7d6262a4c2db8fbe0c
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I5f0e7fe263db1a5de89ef5e910df56197cf56f10
Story: #2002586
Task: #24321
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I0e4ac9cd38dd31e98ad29d52633829874ca29646
Story: #2002586
Task: #24321
The jobs came from shade, which didn't have the ability to break
devstack builds. However, openstacksdk is involved in devstack, so
running devstack in pre rather than in run is actually counter
productive.
Switch to using the non-consumer version of the base job.
Change-Id: Ifddc61c4dbb1a7297a6fe6dc5f3f45c51db6548d
This creates a new job with a limites set of services, including
ironic. Since many regular tests won't work with the baremetal
backend or will take too much, only baremetal tests are run in it.
Change-Id: Ia8af5ebc9aec46d405180f6894dd4228eb816b59
Adds Senlin API to openstacksdk, along with unit and functional tests
for each Senlin function. Allows openstacksdk to create, list, get,
update and delete clusters, cluster policies, cluster profiles, and
cluster receivers. Also allows for attaching and detaching policies
to clusters, updating policies on clusters, and listing policies on clusters.
Change-Id: I7e80e8ba74bdb415c2359f5c9672aa900f441fba
There are several flapping tests in OSC right now - one related to
floating ips, and a set of volume tests. Turn the job to non-voting so
we don't keep blocking the ability to land things.
It's still important for SDK reviewers to look at failures here.
Change-Id: I71d2bff15e518ce7d55cd4213e85efdbf4924209
ansible now directly depends on and uses openstacksdk rather than shade.
Make sure we don't land patches that break ansible.
Remove the installation of ansible from run-ansible-tests as it's
specified in the tox.ini file already, and we'll get it installed via
tox-siblings in the gate.
Depends-On: https://review.openstack.org/570956
Change-Id: I35103b8c75100725caf7a8fd264b81d402bf1973