Commit Graph

242 Commits

Author SHA1 Message Date
Zuul 96be0cfb19 Merge "Update master for stable/2024.1" 2024-03-15 14:50:15 +00:00
Zuul fe5f9e09c4 Merge "reno: Update master for victoria Unmaintained status" 2024-03-12 18:33:39 +00:00
Zuul 790766b47a Merge "reno: Update master for wallaby Unmaintained status" 2024-03-12 18:30:59 +00:00
OpenStack Release Bot 27f39e369c Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: I22b26b94b3d4609b782d9556a483a09fd2eee600
2024-03-08 13:53:11 +00:00
OpenStack Release Bot 02fdfb521f reno: Update master for xena Unmaintained status
The stable/xena branch has been deleted, so reno can't find its
release notes.  Use the xena-eom tag to indicate the end of the
Cinder project's maintenance of the Xena series.

This strategy is what we used for the yoga transition, and was
discussed at a cinder weekly meeting:
https://meetings.opendev.org/irclogs/%23openstack-meeting-alt/%23openstack-meeting-alt.2024-02-07.log.html#t2024-02-07T14:06:09

Change-Id: Ia254bebc538b9a32c00cd347e92abaa5d8715873
2024-03-06 17:00:34 +00:00
OpenStack Release Bot e537a4d15f reno: Update master for wallaby Unmaintained status
The stable/wallaby branch has been deleted, so reno can't find its
release notes.  Use the wallaby-eom tag to indicate the end of the
Cinder project's maintenance of the Wallaby series.

This strategy is what we used for the yoga transition, and was
discussed at a cinder weekly meeting:
https://meetings.opendev.org/irclogs/%23openstack-meeting-alt/%23openstack-meeting-alt.2024-02-07.log.html#t2024-02-07T14:06:09

Change-Id: Icc9f74c21a0765eeddd5628b4a4b67db4200b814
2024-03-06 16:56:08 +00:00
OpenStack Release Bot e910e17ae7 reno: Update master for victoria Unmaintained status
The stable/victoria branch has been deleted, so reno can't find its
release notes.  Use the victoria-eom tag to indicate the end of the
Cinder project's maintenance of the Victoria series.

This strategy is what we used for the yoga transition, and was
discussed at a cinder weekly meeting:
https://meetings.opendev.org/irclogs/%23openstack-meeting-alt/%23openstack-meeting-alt.2024-02-07.log.html#t2024-02-07T14:06:09

Change-Id: I9d35192d17da959d094d286968af0bc0af2db58d
2024-03-06 16:49:52 +00:00
OpenStack Release Bot 4f46f144fc reno: Update master for yoga Unmaintained status
The stable/yoga branch has been deleted, so reno can't find its
release notes.  Use the yoga-eom tag to indicate the end of the
Cinder project's maintenance of the Yoga series.

This strategy was agreed upon at today's cinder weekly meeting:
https://meetings.opendev.org/irclogs/%23openstack-meeting-alt/%23openstack-meeting-alt.2024-02-07.log.html#t2024-02-07T14:06:09

Change-Id: I58d0f92e097245df7ace49938b76effe5c6d885b
2024-02-07 15:07:42 +00:00
Ghanshyam Mann ff56391623 Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: I1c1089b8b5665bb8524eedc87990f666b7378c79
2024-01-08 20:21:01 -08:00
OpenStack Release Bot 573b71fcdf Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: I60c8bf746af95ce2c8c0641b09a17a77da4958ec
2023-09-08 14:55:49 +00:00
Brian Rosmaita 46202b41cf Use generic testing template
Change If402f9ae0ca06fec0 replaced cycle-specific testing templates
that had to be changed in each project's zuul config file with a
generic template that only needs to be updated in one place, namely,
in the openstack-zuul-jobs repo.

Apparently brick-cinderclient-ext didn't get the memo, so we fix
that now.

Change-Id: Ie9addb528f9509f66d649eee19a529ba5523e389
2023-09-01 17:55:33 -04:00
Brian Rosmaita a0aa649ed9 Update functional jobs for 2023.2
Based on the python runtimes for 2023.2 [0], we should be running
functional jobs on python 3.9 and python 3.10.

This patch updates the functional jobs in .zuul.yaml and updates
tox.ini with a generative section to define all the relevant
functional testenvs.

[0] https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: Ia098cadbc1fcd8a5d0fbebf0022c5899eabbf863
2023-04-17 22:40:36 -04:00
Tushar Gite e0a4a0c68b Add Python 3.10 to setup.cfg metadata
Change-Id: I541784628cd0c3e5fa399c415a2fe089a4125940
2023-03-17 18:41:56 +05:30
OpenStack Release Bot 1a33b25f62 Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: I20be2dccaf70ebff9b40040abbf0599e788ef428
2023-02-24 17:34:58 +00:00
Zuul 273bdf22d4 Merge "Update minimum requirements" 2023-02-14 20:35:59 +00:00
Rajat Dhasmana 056e0cb412 Fix: tox4 issues
Gate is failing because of the following error.

2023-02-13 15:49:50.252111 | ubuntu-jammy | pep8: 280 E failed
with pass_env values cannot contain whitespace, use comma to
have multiple values in a single line, invalid values found
'*_proxy *_PROXY' [tox/session/cmd/run/single.py:55]

This is a known issue in tox4 and is fixed by moving the
passenv values on a new line.

Change-Id: I9cc03cb98d0113449097c943ba055fb65a4dd2d7
2023-02-13 19:02:38 +00:00
Rajat Dhasmana d29f3cf809 Update minimum requirements
The current requirements minimum for related openstack projects
is very old and we don't test it anywhere with 2 year old released
versions.
This patch makes the following changes:

python-cinderclient: 8.2.0 -> 9.0.0, released: 15 July '2022, u-c: 9.2.0
(also cinderclient 9.3.0 release this week i.e. 17th Feb '2023)

os-brick: 5.2.0 -> 6.0.0, released: 20 July '2022, u-c: 6.1.0
(also os-brick 6.2.0 release last week i.e. 10th Feb '2023 but patch
isn't merged yet[1])

oslo.concurrency: 4.4.0 -> 5.0.0, released: 4 Aug '2022, u-c: 5.0.1

[1] https://review.opendev.org/c/openstack/releases/+/872778

Change-Id: Ic459c84e06d9362cbbef5e30cb7d7b8373799f31
2023-02-13 15:41:55 +00:00
tushargite96 ec28b4563b Update metadata in setup.cfg
we are using some "aliases" that the setuptools docs say 
"are supported for compatibility reasons" but their use is not advised[1].

[1] https://setuptools.pypa.io/en/latest/userguide/declarative_config.html#metadata

maintaining setup.cfg as per other repos[2]

[2] https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/828475
Change-Id: I6cc82e22364afb2cbb6a8c3637e98b11148098f6
2022-09-23 14:31:56 +00:00
OpenStack Release Bot 5ca14d9dea Add Python3 antelope unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I6d067679505a4fa0abad6e38e304be8adb6ea7d4
2022-09-09 10:27:58 +00:00
OpenStack Release Bot 2e7116c0a3 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: Ia9282ffb0dbc009ceb85e5b09e44d1ad63315404
2022-09-09 10:27:56 +00:00
Ghanshyam Mann 6a1c4736a6 Update python testing as per zed cycle testing runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Moving the py36 job to py38 based  but to run on
ubuntu focal as c8s does not seems to have py38.
Also updating the python classifier also to reflect the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: Iaebe48f41236fbcb1eb887c321d27be102c20292
2022-05-19 18:37:06 +00:00
OpenStack Release Bot e01246b699 Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.

Sem-Ver: feature
Change-Id: Ib0b2407895f41994148197fc99f6ac31d855282e
2022-02-25 09:56:16 +00:00
Brian Rosmaita 0c89994666 Update requirements for Yoga
Specify a minimum of the early Yoga cinderclient release (8.2.0)
and the official Yoga os-brick release (5.2.0).

Change-Id: I64d55109363be931f0a28e5545e5503d5dcfde1a
2022-02-24 14:58:55 -05:00
tushargite96 126489abe4 Updating python testing as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting and as we are testing py3.6 and py3.9
we do not need to test py3.7|8 explicitly. Unit tests update are
handled by the job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit makes other required changes in zuul.yaml and
update the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: Ib4f4e6ceba58a94e512ca1f3329b2a4a6c5d02bd
2021-12-14 14:24:08 +05:30
OpenStack Release Bot 712dc76f49 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Id7625287a3f423e3732d7bc2373c79d53b025623
2021-09-02 17:03:59 +00:00
OpenStack Release Bot 5925c0edbf Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.

Sem-Ver: feature
Change-Id: I75945a8c3b0303db8392ec2fcc9b920a1b16a62a
2021-09-02 17:03:58 +00:00
Zuul 0a5b1f76aa Merge "Update requirements for Xena" 2021-09-02 14:58:06 +00:00
Zuul ef12d4524b Merge "Enable tls-proxy support in test job" 2021-09-01 23:29:54 +00:00
Zuul e968c717ae Merge "Changed minversion in tox to 3.18.0" 2021-09-01 23:29:45 +00:00
Zuul c213fb150d Merge "Dropping lower constraints testing" 2021-09-01 23:05:05 +00:00
Brian Rosmaita bac215fb16 Update requirements for Xena
Specify a minimum of the early Xena cinderclient release (8.0.0)
and the official Xena os-brick release (5.0.0).

Change-Id: If6cda7fe30f5f1a54c6ade878f86f615c9d01568
2021-09-01 16:42:21 -04:00
Brian Rosmaita 1494765d25 Use cinderclient v3 in tests
There's a functional test that's trying to use the cinderclient v2
client, which has been removed in Xena.  Update it to use the v3
client.

Change-Id: I5bad2baf02fd2c7c882d7bbf7110fc644c96319b
2021-09-01 16:30:58 -04:00
Zuul b60c79a10f Merge "Remove skip_missing_interpreters" 2021-07-13 03:13:31 +00:00
tushargite96 eba112c2f2 Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: I380a139a684b5f8cd23958323ef2c40af9708d29
2021-06-24 14:40:51 +05:30
Brian Rosmaita 24d30a384e Remove skip_missing_interpreters
The Zuul results on [0], for example, show the functional-py36 job as
passing, when actually no tests were run because a py36 interpreter
was not available.  So don't allow this to happen, and change the
default testenvs to test generic "py3" instead of py36 and py38.

This kind of sucks because someone might test locally against a py3
version we don't even support, but it's either that or require that
developers have both py36 and py38 available on their systems
... which most of us do.  But the wider community, as far as I can
tell, thinks that requirement is unreasonable and that it would
discourage new contributors.

This requires a corresponding change in the zuul config file so that
the functional-py36 job explicitly requires that py36 be available.
And because explicit is better than implicit, the requirement is also
added to the functional-py38 job definition.

[0] https://review.opendev.org/c/openstack/python-brick-cinderclient-ext/+/796787/1

Change-Id: Iba7c25dd51dd0b91909b083272a8d5efc853115e
2021-06-18 10:59:21 -04:00
ricolin 208bbea871 Enable tls-proxy support in test job
Change-Id: I1c009fe2a29bdb0f0fccecf60c81af60624034e2
2021-06-17 16:07:53 +08:00
YuehuiLei 36835474b2 setup.cfg: Replace dashes 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: If2629a142a795b5663c5e6a04c57549c76530416
2021-05-05 10:22:34 +08:00
zhangboye e2aa5a8b16 Dropping lower constraints testing
We facing errors related to the new pip resolver, this
topic was discussed on the ML and QA team proposed to
to test lower-constraints [1].

I propose to drop this test because the complexity and recurring pain needed
to maintain that now exceeds the benefits provided by this mechanismes.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html

Change-Id: I8d29322460f901b0f034d8f08d109a06f9255df4
2021-05-02 09:30:46 +08:00
OpenStack Release Bot 17d962f8f5 Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I7fdb7be93139db259946cba1d505614d1e527c90
2021-03-15 08:39:45 +00:00
OpenStack Release Bot c3c9cf2e8e Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.

Sem-Ver: feature
Change-Id: I731321e693d7b340548ddc598f041b36f5f58183
2021-03-15 08:39:40 +00:00
Brian Rosmaita e008ceef79 Update requirements for wallaby release
Updates requirements to be consistent (mostly) with os-brick and
python-cinderclient.  Also revises the lower-constraints file to
contain only direct dependencies.

Change-Id: I9f9fb51482889d9f21d442e37f41471e93aeeb4b
2021-03-10 20:27:33 -05:00
Zuul 1d92ef64ca Merge "remove unicode from code" 2021-03-10 14:50:30 +00:00
Lucian Petrut 26495b75bb Fix Windows support
With a single line change, we can use this cinder client extension
on Windows. This patch will avoid the os.getuid call, which is
unavailable on Windows.

Note that on Windows, we aren't doing any privilege escalation,
assuming that we already have the required rights.

Here's a sample: http://paste.openstack.org/raw/802466/

Change-Id: Ic554b5df2adee38b97665c578ca69b33c8694ca7
2021-02-19 17:05:58 +02:00
zhangboye 8a736e0b59 remove unicode from code
Change-Id: Icbeab1cf1527258531d9c68df030132d7ba2c995
2021-01-03 16:06:33 +08:00
Brian Rosmaita 0259467434 Update requirements and lower-constraints
Major changes:
- python-cinderclient 3.3.0 -> 7.2.0 (update to victoria client)
- os-brick 2.5.0 -> 4.1.0 (update to first wallaby brick release)

Other changes to satisfy dependencies for the above.

Change-Id: Id3dc8bdfd7db0fb23128af80ef8e4327dcb1450c
2020-12-26 12:17:55 -05:00
Brian Rosmaita 6b6bbd6709 Update tox.ini for wallaby supported pythons
The wallaby PTI specifies python 3.6 and 3.8 as the supported
wallaby versions.

Change-Id: I51b7a7a36c1478d261eb0eba948803f3f614b4f0
2020-11-23 21:01:20 -05:00
Zuul 170bc6ac36 Merge "Remove excess whitespace in ignore-path" 2020-09-18 19:31:26 +00:00
Brian Rosmaita c3055563ab Remove excess whitespace in ignore-path
Some extra whitespace is present in the ignore-path in the [doc8]
testenv, so remove it.

Change-Id: Idb4060e25b77b7f0aa8ae53b21e061af0020a98e
2020-09-11 12:18:13 -04:00
OpenStack Release Bot 089c0b78ee Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Iaf4208c6e3feece8f96d6da0dd8d453c35733bf1
2020-09-11 15:29:43 +00:00
OpenStack Release Bot a014ae0b14 Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: I3dd956323adbd572d0614aa86a883a25bf2b558b
Sem-Ver: feature
2020-09-11 15:29:39 +00:00