230 Commits

Author SHA1 Message Date
Zuul
87bc7ead01 Merge "Update gate jobs as per the 2025.1 cycle testing runtime" 2024-12-01 18:34:45 +00:00
Zuul
f910fa3451 Merge "Bump hacking" 2024-12-01 18:32:19 +00:00
Zuul
bdbae2f8b5 Merge "Revert "Skip test_cinder_action test"" 2024-12-01 18:30:45 +00:00
Takashi Kajinami
62011946a0 Bump hacking
hacking 3.0.x is too old. Bump it to the version currently used in
tempest repo.

Depends-on: https://review.opendev.org/c/openstack/tempest/+/906634
Change-Id: Ib005fd1d3958ebbbd40d196439da9636e2e7c8d5
2024-11-19 14:41:30 +09:00
Ghanshyam Mann
ada1ee3abf Update gate jobs as per the 2025.1 cycle testing runtime
As per 2025.1 testing runtime[1], we need to test on Ubuntu
Noble (which will be taken care by depends-on tempest and devstack
patches to move base jobs to Noble) and at least single job to run on
Ubuntu Jammy (for smooth upgrade from previous releases).

This commit adds a new job to run on Jammy which can be removed
in the next cycle.

Depends-On: https://review.opendev.org/c/openstack/tempest/+/932156

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

Change-Id: Ib61dd6cc0bf58fed7a4861aa174129cfda4e130a
2024-11-19 03:45:12 +00:00
Zuul
8cb31ce1f4 Merge "modify get task details use the get_object method" 2024-11-07 07:29:19 +00:00
Zuul
47078b9586 Merge "add delete nonexist workbook testcase" 2024-11-07 07:29:18 +00:00
Zuul
b11e76c9bd Merge "perfect invalid cron pattern out of range test scenarios" 2024-11-07 07:29:17 +00:00
wangzhiguang
242633cf1d perfect invalid cron pattern out of range test scenarios
add minute, day, and month our of range tests to the original
testcase that only have a second out of range in mistral module

Change-Id: I9e2158b2b7ce1b85c8f1467ac973ad05d02870a1
2024-11-06 23:48:09 +00:00
wangzhiguang
44c6fb0f60 add delete nonexist workbook testcase
add delete nonexist workbook testcase in mistral module

Change-Id: Ibd38f43f37fdfeccd02a9699bedad61a436ca6a3
2024-11-06 23:47:15 +00:00
wangzhiguang
744246e9ef modify get task details use the get_object method
according to the api documentation of the mistral module, the uuid of
the task is passed in to get task details

Change-Id: Ifaf744c536081e079fe1fa0b54ffa2d41edb85df
2024-11-06 23:46:42 +00:00
wangjiaqi07
b6c8f24282 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py

Change-Id: Ib0f9ca2e53c09971e8967b9d136fb26c9e138625
2024-11-06 23:45:06 +00:00
Zuul
b4b9348cf8 Merge "Get rid of 3rd party mock" 2023.1-last 2.5.0 2024-10-31 12:52:34 +00:00
Zuul
ef090e9e08 Merge "Support py3.12 and drop py3.8" 2024-10-31 12:37:15 +00:00
Arnaud Morin
991ee74662 Revert "Skip test_cinder_action test"
This reverts commit 09dbeffd550d4a7c167add9adc50872057e192dc.

Reason for revert: fixing bug 2085878

Change-Id: I7bcb086090f5c7c455b6ae0b5159090d5cff2828
2024-10-31 09:25:13 +00:00
Arnaud M
1e6e0ff0d9 Remove perl style regex in .zuul
Change-Id: Id629742c099160e13a67d52bbb1a94174e070671
Signed-off-by: Arnaud M <arnaud.morin@gmail.com>
2024-10-30 18:45:54 +01:00
Arnaud M
649bf4d510 Revert "Temporarily disable gate jobs"
This reverts commit 84a9ebbf82de53e05f0fa2df2b52fdc1d55b399d.

Change-Id: I4df9f8c01d73c8923bff7bfb28cc5aab8831fc30
Signed-off-by: Arnaud M <arnaud.morin@gmail.com>
2024-10-30 18:45:49 +01:00
Arnaud M
09dbeffd55 Skip test_cinder_action test
Let's skip this test for now until we figure out the long term solution

Related-bug: #2085878

Change-Id: Ie6c51aa9c398bceb53c890a5ef441aec88db10b5
Signed-off-by: Arnaud M <arnaud.morin@gmail.com>
2024-10-30 18:43:41 +01:00
Arnaud M
38e74e1d53 Stop using the deprecated assertDictContainsSubset
Change-Id: Ia94ce939a4b45f7ddbfe57bf5fc9f7ef28cb14bd
Signed-off-by: Arnaud M <arnaud.morin@gmail.com>
2024-10-30 18:43:41 +01:00
Arnaud M
84a9ebbf82 Temporarily disable gate jobs
Change-Id: I927a5692449a5ba8baf55c16ea5e74b91d6f4c6c
Signed-off-by: Arnaud M <arnaud.morin@gmail.com>
2024-10-30 18:43:39 +01:00
Ghanshyam Mann
dfb90c5127 Support py3.12 and drop py3.8
As per the current release tested runtime, we test
from python 3.9 till python 3.12 so updating the same
in python classifier in setup.cfg

Also, dropping the python3.8 support
- https://lists.openstack.org/archives/list/openstack-discuss@li>

Change-Id: I3282762608b97c99c8600e6a55e09898103b49d0
2024-10-25 15:15:43 -07:00
Takashi Kajinami
f08c69ece1 Drop unnecessary 'x' bit from doc config file
This file is not actually executable.

Trivial-Fix

Change-Id: I21807825b1f381ace321ccb936ddedbd162e0ecb
2024-10-21 20:30:24 +09:00
wu.shiming
fab1c9d10a 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: Ia92a2f55f392e45eade2c0f5b66a72fcb2be62ba
2024-10-06 12:16:03 +02:00
Takashi Kajinami
14b2c06bd3 Get rid of 3rd party mock
... by replacing it by the built-in unittest.mock .

Change-Id: I17a8c31b957514ed6610a24745829c367a42f3ae
2024-08-27 20:41:27 +09:00
Arnaud Morin
cbd1a97e24 Add new workflow wflong that will took longer
We have some tests that failed recently because the workflows where
already finished while we were trying to update them.
The update (e.g. set it in error) can only happen if the wf is not yet
finished.

Change-Id: I600f4e6616233b7ff62f51b158115bc370ff3591
Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
2.4.0
2024-08-16 17:13:54 +02:00
Arnaud Morin
55f280de71 Remove devstack mistral-devstack-ussuri
This is deprecated and does not work anymore

Change-Id: I9481d98136faedf379d68a1d9a73c198a07f07f5
Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
2024-08-16 17:13:54 +02:00
Martin Kopec
e668459252 Drop devstack-gate
The devstack-gate repo has been retired, let's drop all references
to it to avoid erros like this in Zuul:

The project "openstack/devstack-gate" was not found.

Change-Id: I601d7a28253d0bdb29ef9fbe6e079a1916be0234
2024-06-12 08:31:55 +02:00
Zuul
2f92367896 Merge "Wait till execution is success for test_task_type" 2.1.1 2.2.0 xena-last yoga-last 2.3.0 zed-last 2023-01-18 09:07:42 +00:00
Vasudeo Nimbekar
3af5d65d6e Wait till execution is success for test_task_type
As a part of blueprint distribute-mistral-operations, we have added changes to run task with RPC. Tasks will be created in IDLE state and RPC request will be created to run tasks.
In test_task_type UT, we are using nested workflow where first task is responsible to start inner workflow, due to above changes first task is created in IDLE state so, we should wait till execution success to assert all the types of tasks getting created for this workbook.

linked-to: https://review.opendev.org/c/openstack/mistral/+/869193/


Change-Id: If8fea6184d45365c20203df945e1b092449225b8
2023-01-13 11:24:21 +00:00
Axel Vanzaghi
526622fd4e Update Zuul queue configuration
Zuul is changing how queues are declared[1]

[1] https://lists.zuul-ci.org/pipermail/zuul-discuss/2022-May/001801.html

Also,
- fixing tox.ini as per the tox4
- remove stable branch testing which are in EM state

Change-Id: I1ffb896e0d30b4162e3c22f13462477feb4acba4
2023-01-09 12:42:00 -06:00
Zuul
a233752e11 Merge "Update python testing as per zed cycle testing runtime" 2.0.0 2.1.0 wallaby-last 2022-09-02 16:31:09 +00:00
LiZekun
e62f8b98d3 Remove unicode literal from code
All strings are considered as unicode literal string from Python 3.

This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.

Change-Id: I34066bcaa6d30f4a6702fd5cfff8498b68433d98
2022-09-02 14:08:06 +00:00
LiZekun
acef086323 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. Removing the py36 centos8 job as well as
updating the python classifier also to reflect the same.

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

Change-Id: Ib3bea2d4db1cb1d945ee0e9e85cec1bd926de8ef
2022-09-02 14:07:25 +00:00
niuke
875971cae2 remove unicode prefix from code
Change-Id: If83bb0d3b60852c4ffb09df021f538b171f0429f
2022-08-22 19:38:30 +08:00
LiZekun
d16c741198 Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: I82d2497ef2eb25888dafa809dc0653b363aada86
2022-06-08 01:06:56 +00:00
Takashi Kajinami
324eba5deb Skip failing tests temporarily
Currently test_multi_vim_support_target_headers is continuously failing
possibly because of some changes in dependent libraries.

Until we sort out the problem, let's disable it so that we can unblock
the CI.

Related-Bug: #1964344
Change-Id: I1fa515ea851c38b4ace6cf3657106d22c0e9777c
1.4.0 ussuri-last victoria-last
2022-03-09 21:59:58 +09:00
Ghanshyam Mann
091926bbb4 [community goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Story: #2007236
Task: #38537
Change-Id: Ifde9c6b18a034e2784459a9dbfb22b080166781e
train-last 1.3.0
2021-07-06 14:03:23 +00:00
songwenping
437e2b680c 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: I59551c46d943fdc5224721a8f0d8003c0ac7e8d9
2021-04-30 02:21:04 +00:00
songwenping
bad014e35c Use py3 as the default runtime for tox
Moving on py3 as the default runtime for tox to avoid to update this at
each new cycle.

Wallaby support officially the following runtimes [1]:
- Python 3.6
- Python 3.8

During Victoria Python 3.7 was used as the default runtime [2] however this
version isn't longer officially supported.

[1] https://governance.openstack.org/tc/reference/runtimes/wallaby.html#python-runtimes-for-wallaby
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I832d5805a138d7d091dffa100110c90cb80c23b4
2021-04-20 03:23:42 +00:00
Renat Akhmerov
776b590bd6 Adjust Actions API tests
* Some more adjustements to the Actions API tests related to
  the Action Provider transition. Some tests have to be temporarily
  disabled because there's no way to make them on both current
  version of Mistral and the version including action providers.

Change-Id: I13033253d5098655a001135c8702d1b1d13e76d4
1.1.0 stein-last 1.2.0
2020-09-24 18:06:34 +07:00
Renat Akhmerov
b9c3d57249 Fix Action API tests
* It's part of the Action Provider refactoring. The API had to
  slightly change.
* Pagination has to be still implemented.

Change-Id: Ibc26645a90101eceab507e7c7755cdd4fbbf7536
2020-09-24 11:51:48 +07:00
Ghanshyam Mann
c3bf5af360 [goal] Migrate mistral-tempest-plugin jobs to focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Most of the Tempest jobs will be migrate automatically once devstack
base job start running on Focal(Depends-On).

Stable jobs testing stable branch needs to keep running on their supported
distro version which is bionic from stein till ussuri.

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html

Change-Id: I3651224de022bff78840df8cd6ca95792dc5cce5
Story: #2007865
Task: #40196
2020-07-31 17:20:31 +00:00
Andreas Jaeger
64d1029c1b Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I008d8e3aeeffb1c4ef97cca9c03599d85393aa3f
2020-05-31 19:37:16 +02:00
inspurericzhang
66f2455ac1 Add py38 package metadata
Change-Id: I19e72d79de5a6212c3901f1ce5b6640cb285310c
2020-05-28 11:42:15 +08:00
Ghanshyam Mann
4d9545bd41 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: I4f7aa67e0663ddea6a5200a55005cf2ce5a0396e
2020-05-12 19:29:38 -05:00
Zuul
7b4f6b65c9 Merge "Add stable branch jobs on the plugins master gate" 2020-05-12 07:09:46 +00:00
Eyal
d9a58d0ca9 try to fix pip error
Change-Id: If4746b8ce991f83d613cd02db4aeb1f7a9e8b027
2020-05-08 13:22:00 +03:00
Ghanshyam Mann
9482b6530d Add stable branch jobs on the plugins master gate
Supported stable branches in maintenance state
(stein, train, ussuri) use the Tempest and plugins master
version for their testing. To make sure master version (new
tests or any changes) is compatible with stable branch testing,
we need to add the stable branches job on the plugins master gate.
Tempest and many other plugins are already testing the stable
branches in same way[1].

Ussuri onwards, Tempest or plugins are py3 only, so we are
running only python3 version of stable jobs

Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

 [1] e8f1876aa6/.zuul.yaml (L646)

Change-Id: I9498979712375715eab79e77a1c0e89d0efe33b5
2020-05-05 17:14:42 -05:00
Renat Akhmerov
3ff9a7efc4 Setting Python version explicitly to 3 for devstack jobs
* Backports to stable/train are now failing because tempest requires
  Py3 but for some reason Py2 is provided. So we have to explicitly
  define the version of Python in master because there are no
  stable branches for tempest.

Change-Id: I19b57e686306b9d3f26bc5a0228ebf5d7c08bb20
1.0.0
2020-04-02 15:47:53 +07:00
Eyal
6f746b9228 Fix preinstalled workflows tests
The 'std' prefix was removed from the workflow name
make sure it passes on both cases.

Change-Id: I9bd36bf2ad1a36ff569f385190c186b63b78f1e1
2020-02-26 14:31:28 +02:00