Commit Graph

215 Commits

Author SHA1 Message Date
Ghanshyam Mann d2b794cbf0 Add stable/2023.1 jobs on master gate
As 2023.1 is released, we should add its job on master
gate to keep branchless tempest plugins compatible
to stable branch.

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

Change-Id: Ie4dacf5ecb567f29a93b998b89b97ea874e02fda
2023-06-09 05:05:31 +00:00
Ghanshyam Mann fb2cbfa2bf Remove stable/wallaby job from master gate
stable/wallaby is in EM state. As Tempest and
plugins masters does not support EM stable branches,
QA team is pinning tempest in devstack stable/wallaby
tesitng[1]. With that we do not need to test the
stable/wallaby jobs on master gate

[1] https://review.opendev.org/c/openstack/devstack/+/871782

Change-Id: I79c6c5a676695b22135b21f8b4837f77bd2eb876
2023-01-26 19:27:16 -06:00
Ghanshyam Mann e16b2dc151 Add stable/zed jobs on master gate
As zed is released, we should add its job on master
gate to keep branchless tempest plugins compatible
to stable branch.

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

Change-Id: If8b9af02d1035bd1fa1e5cf8c307784e8e8d36f2
2022-10-15 22:31:15 -05:00
Ghanshyam Mann 53d6c036c6 Pin stable branch jobs nodeset to Ubuntu Focal (20.04)
In 2023.1 cycle. we are moving the default distro
version of Ubuntu to Jammy (22.04)[1] so we need to pin
the nodeset for stable branch job in master gate so that
they continue run on their supporting distro version which is
Ubuntu Focal since stable/victoria.

Also fixing the zuul config error.

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

Change-Id: I1d4b8d50d6286cf90fd41c5ab95161bad7cd6df3
2022-10-16 02:46:07 +00:00
Lukáš Piwowarski 39a09b4dc5 Remove reference to 'all-plugin' tox environment
The 'all-plugin' tox environment was deprecated by this patch [1].
Instead of the 'all-plugin' it is recommended to use the 'all' tox
environment.

This patch removes any reference to 'all-plugin' tox environment and
updates the documentation so that the installation steps work with
the 'all' venv.

[1] https://review.opendev.org/c/openstack/tempest/+/543974

Change-Id: I29e2f542de8358908bded2e843adaeb4b1c12ace
2022-10-07 15:48:42 +02:00
Ghanshyam Mann 97d430bbe1 Remove stable/victoria job from master gate
stable/victoria is in EM state and Tempest is pinned
there so we do not need to test the stable/victoria
jobs on master gate.

Change-Id: I11bfd3026a02bad7cb6336ed66e7d1ef8559d5af
2022-05-31 16:01:53 -05:00
Ghanshyam Mann 1ca439adb0 Fix import of orchestration_client in base class
orchestration_client is recently moved from tempest
to murano-tempest-plugin but there is one import error
and instantiation of orchestration_client. Fixing the
error.

Change-Id: I0743a6c1e9a97740aa5e5cb7f10bc0f06aabbf05
2022-05-23 20:18:01 -05:00
Ghanshyam Mann a96aab9567 Move orchestration_client from tempest to murano tempest plugin.
orchestration_client in Tempest is planned to be removed and heat
client present in heat_tempest_plugin is supposed to be used
- ba43685c13/heat_tempest_plugin/services/clients.py (L103)

Meanwhile murano_tempest_plugin is the only user of tempest orchestration_client
so moving that here and it can be removed once murano switch to use
client from heat_tempest_plugin.

Change-Id: I8f160c6b9b59d6915d6fb346be7816b4b8084939
2022-05-20 21:03:54 -05:00
Ghanshyam Mann cf5b003783 Update 'Maintained' stable branch jobs on master gate
We have stable/yoga released and stable/ussuri is in
'Extended Maintenance' state. Current 'Maintained'
stable branches are yoga, xena, wallaby, and victoria.

As per tempest stable branch testing policy[1], adding the
newly released stable/yoga job and remove the EM stable/ussuri
job.

[1] https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: I9c5984e7caabf61c10b9d211a5347799701bf3e1
2022-04-14 20:26:44 -05:00
Ghanshyam Mann 1dc16d6ba1 Add stable/xena jobs on master gate
We have stable/xena released so we should add
their job on master gate to keep branchless tempest
plugins compatible to stable branch.

This also removes the stable/train job as that is in EM
state now.

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

Change-Id: I41705ea681578cfdc510052122abec4838d8c578
2022-01-18 18:38:40 -06:00
Ghanshyam Mann e3ff4504b5 [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: #38539
Change-Id: Ie956880525f0538d5ba4f16b6a6051f3c674e4a8
2021-05-17 18:01:05 -05:00
Ghanshyam Mann e30c8b624b Add victoria/wallaby stable branch jobs on master gate
We have stable/victoria and stable/wallaby released so we
should add their job on master gate to keep branchless
tempest plugins compatible to those branch.

This also removes the stable/stein job as that is in EM
state now.

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

Change-Id: I82edeeac54ad53bcafe8e77ceb8aef382fce5748
2021-04-29 18:07:13 -05:00
Zuul 730a7f1b5c Merge "Add py38 package metadata" 2020-09-16 14:52:11 +00:00
Ghanshyam Mann 259025637d [goal] Migrate murano-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-fo$

Change-Id: I72f42951d29a23d01fbe803d553debc76d49acbc
Story: #2007865
Task: #40198
2020-07-31 17:22:19 +00:00
Zuul 264fb77067 Merge "Switch to newer openstackdocstheme and reno versions" 2020-06-08 00:59:29 +00:00
Andreas Jaeger 110bde6cd8 Remove retired congress
Congress has been retired and requirements-check fails now, remove
congress.

See also https://review.opendev.org/721741

Change-Id: Ic2d74543f65a60ccb567aae4c4012c422884bb50
2020-06-06 10:11:12 +02:00
Andreas Jaeger 80c0851271 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: Ifff5d0860f0c9e68a0187242335c5bf7c383a486
2020-05-31 20:01:49 +02:00
inspurericzhang 9b3a8ee115 Add py38 package metadata
Change-Id: I9e5dd661ff975e1c8fe5eda81d80be3eb069f9ea
2020-05-28 11:44:58 +08:00
Ghanshyam Mann 32ce7f05ad 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: I2992185abe1971dfa3afed4836cdb29cd245e47c
2020-05-12 19:38:53 -05:00
Zuul e3bb44501f Merge "Add stable branch jobs on the plugins master gate" 2020-05-06 07:23:49 +00:00
Ghanshyam Mann f209fc4e1c 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: If109a13873d2ee9ede112952056914dc4c57b4df
2020-05-05 17:15:27 -05:00
Andreas Jaeger 6053cba01a Update docs building
Update docs building:
* Switch to sphinx-build
* Update requirements for Sphinx and openstackdocstheme for
  python 3, create doc/requiremetns
* Remove unneeded doc and translation sections from setup.cfg
* Remove install_command, it's unneeded, the default is fine.
* Move constraints to deps, use TOX_CONSTRAINTS instead of obsolete
  UPPER_CONSTRAINTS
* Remove now unneeded placeholder file

Change-Id: I649e6fa86c17262698cc8a01d042a87b020239d9
2020-05-03 11:46:25 +02:00
zhurong b6d544c27f Remove six usage
Change-Id: Ic6865589c1265185cb22d4caa197b3293fe50465
2020-04-16 02:32:26 -07:00
zhurong ce7f13fc24 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymor

Change-Id: I3f780c21e6867a394e1797e67099f1668388f6a7
2020-04-07 01:58:42 -07:00
Andreas Jaeger 52473cfb52 Fix hacking test requirement
The repo is used on older branches as well, and new hacking supports
only python3.
We really only need hacking on master anyways,
where we no longer support python 2, so here we
make the requirement specific to python 3.

Change-Id: I3734c7d345832110dd7db8a0d0d7ff65e2a9a757
2020-04-04 10:35:47 +02:00
Andreas Jaeger 3ebe7394f9 Update to hacking 3.0
Hacking 3.0 was just released with minor changes, update to the new
version.

Change-Id: Ic59334952a6ab3a43554a47d07cf7126aba69a9b
2020-03-30 17:44:31 +02:00
Andreas Jaeger 393b270951 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.

Fix problems found.

Update local hacking checks for new flake8.

Change-Id: I2683bc1a7c962da137de4b77aac450f08d1f6c4a
2020-03-30 08:33:58 +02:00
Ghanshyam 4ad3e1b81f [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

murano-tempest-plugin is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I4abb7e97583103ce17e7101cb9dfb824eea397a0
2020-01-23 11:29:44 -06:00
Ghanshyam Mann 6175bf8f7c Remove use of deprecated config options for volume API selection
Tempest has moved the Volume APIs testing to v3 as default and can be run
under v2 API via catalog_type.
- https://review.opendev.org/#/q/topic:volume-default-testing-v3+(status:open+OR+status:merged)

Below config options were deprecated since Rocky and now Tempest is going
to remove those (Needed-By patch):
    * ``CONF.volume-feature-enabled.api_v2``
    * ``CONF.volume-feature-enabled.api_v3``

Change-Id: Ib35bc0c4f9581857aba2fca4a17dc24e7424e8bd
Needed-By: https://review.opendev.org/#/c/698754/
2019-12-12 17:02:31 +00:00
zhurong 27cb0c96b9 Update contraints url
Change-Id: I4876eb000420bae3ac333fd795f7ee1b0597076a
2019-06-18 14:53:29 +08:00
ljhuang b342e75ccb Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Update some URLs to latest

Change-Id: Ib934cd24f4af8440458f0d24df90b77e0a3040b5
2019-06-11 06:46:42 +00:00
zhulingjie 69fad3ee03 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I1a9cd386408197caad7f93a1236780c2b625d61f
2019-04-23 16:31:16 +08:00
OpenDev Sysadmins 81bdd8ee00 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:29:18 +00:00
Rocky 42f113e69e Remove possible existing packages in deployment test
In scenario test, test packages will be uploaded and then deleted after test
executed. But in case of the packages deletion failure, it will block the
following tests.

This patch checks and removes those test packages before uploading them.

Change-Id: I90c5d903d8c5c3eeface2735bba61d01a877aaf8
2019-02-28 20:37:15 +11:00
Zuul 3fb9565f11 Merge "Removed older version of python added 3.5/3.6" 2019-01-12 07:48:16 +00:00
qingszhao f814973b8e Removed older version of python added 3.5/3.6
In setup.cfg file the python 3.5/3.6 is added

Change-Id: I243961032956f72601b04450a79ee212e4d00292
Closes-Bug:  #1802025
2019-01-11 06:44:17 +00:00
Zuul 76bed12565 Merge "Fix python2 and python3 compatible" 2018-12-28 02:29:25 +00:00
zhurong 435e59405e Fix python2 and python3 compatible
Change-Id: Icfada31a9aa9393def784bfe1f0b8fd49279abba
2018-12-13 18:15:45 +08:00
Vieri 266cbc0a73 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ic3bd2e688fbb7408c44cc02b023e72d9c2ce3989
2018-12-04 18:36:03 +00:00
zhouxinyong e2dc376c3c Replacing the link in HACKING.rst
Change-Id: I82158c3be16362c7a8c6d18098855655ef130359
2018-11-16 10:58:55 +08:00
inspurericzhang 30bc8df485 [Trivial Fix] update home-page url
Change-Id: I0d73e793215fb6b2f6a8c6f4714a6f4227b7ffd6
2018-10-29 16:19:40 +08:00
98k 7cd2357102 import zuul job settings from project-config
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: I2dee7ac8ba73bbf61776fd34c3f9172b425b6873
Story: #2002586
Task: #24313
2018-08-23 12:01:29 +00:00
zhurong 6a462b61e2 Revert "Skip test_deploy_app_with_volume_creation_readonly test to unblock murano gate"
This reverts commit 7ad8e9ef63.

Change-Id: I55c1ba452120bc68a819cc447715409f7b4bfb13
2018-08-07 10:58:24 +08:00
zhurong 354550af1f Add a space for the skip message
Change-Id: I10d5b2c019b9bc0952ed0471de5a8b8bfcb82a85
2018-08-04 15:25:07 +08:00
Chandan Kumar 3788a62b1f Use tempest.lib.decorators instead of nose
* tempest.lib.decorators provides a better way to handle attrs, let's
  use it instead of using nose from tempest.lib stable api.

Change-Id: Iad64bbaac517b8e1f53ec7046691a79e63f4f74d
2018-08-02 01:15:17 +05:30
Zuul 7a908fff2c Merge "Move functional test to murano-tempest-plugin" 2018-08-01 13:09:12 +00:00
zhurong 6aa5f13cab Move functional test to murano-tempest-plugin
Change-Id: I19debb3ca8cceb99d21a5bc500264b18e6bce8ce
2018-07-30 10:57:38 +00:00
zhurong 6ee8a454fa Update README.rst for murano-tempest-plugin
Change-Id: Ibfb7738ba4bea21638b6daf7b4c9c99eb3033c3a
2018-07-30 14:52:34 +08:00
ShangXiao 3b4376e848 Add release notes link to README
Change-Id: I07ebe4c98e7d7410014857362b4ff8a051116876
2018-06-15 00:42:04 -07:00
qingszhao d2250f249e change default python 3 env in tox to 3.5
Change-Id: I76c5d2c770a4a46c46b5f6e1852c1ac18a23cce4
2018-06-13 13:34:24 +00:00