Commit Graph

1070 Commits

Author SHA1 Message Date
Ghanshyam Mann dadcdeb7ea 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: I6437f79587ac28c7926f995ba64ddd5c9fa32cdd
2023-06-09 05:06:32 +00:00
Zuul 2df1c32df4 Merge "Remove reference to 'all-plugin' tox environment" 2023-02-28 02:07:33 +00:00
Ghanshyam Mann b6189a4e0f 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: Ie6ae6d3961d9dba8701e8b6f02475953db9c19da
2022-10-15 22:32:07 -05:00
Ghanshyam Mann fef699f82f 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: Ib5d3dcf53b091fa68dee23b3ed9c0b8278e6ded8
2022-10-16 02:43:24 +00:00
Lukáš Piwowarski 818872322e 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: I693e4a106f11e0cadac369fbc186e54ffff13d41
2022-10-07 16:17:22 +02:00
Ghanshyam Mann e4829f056c 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
and stable/victoria job.

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

Change-Id: I550f33a18cc8318d97072115e0df1462821ecb0e
2022-05-31 16:20:17 -05:00
Zuul 7a8121fc5f Merge "API test list receiver negative" 2022-01-31 04:58:32 +00:00
Zuul a807df3964 Merge "API test list receiver by action\cluster" 2022-01-31 04:58:31 +00:00
Zuul 0679529caa Merge "Create receiver name length out 255" 2022-01-31 04:58:29 +00:00
Zuul 903b1ee1cb Merge "Add victoria/wallaby/xena stable branch jobs on master gate" 2022-01-31 00:26:47 +00:00
Ghanshyam Mann 8469b2d345 Add victoria/wallaby/xena stable branch jobs on master gate
We have stable/victoria, stable/wallaby, and
stable/victoria released so we should add their job on
master gate to keep branchless tempest plugins compatible
to those branch.

This also removes the stable/train|stein job as thare are 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: I9440ed27823193054fdd3e0a4ff7785fadca8d24
2022-01-18 19:39:10 -06:00
likangkang01 fd13cbe70e API test list receiver negative
Change-Id: I510052c54562760d5da35f8b8e8b4a8a04baece7
2022-01-11 13:45:34 +08:00
likangkang01 5550f67d17 API test list receiver by action\cluster
Change-Id: Ieb3a27f5bcf8885ab0a8c2fb9e1d5f7e9a39a9bc
2022-01-10 16:15:28 +08:00
likangkang01 5a5b0c1264 Create receiver name length out 255
Change-Id: I7d51a4e6092d22ce7e3d46054a6d90cb7d362bec
2022-01-10 16:00:37 +08:00
Zuul f300314aa3 Merge "API for list actions by status" 2021-12-15 02:49:55 +00:00
Zuul 33a38e44f0 Merge "API for list all service for senlin engine" 2021-12-15 02:48:51 +00:00
likangkang01 3be00f8adc API for list all service for senlin engine
Change-Id: I07c3788161dbb922efca50daa808fdcd703c73f6
2021-12-14 05:20:57 +00:00
likangkang01 6c248fc2e4 API for list actions by status
Change-Id: I45e3dfbd30ee6236222c8bd8a462cd060cbddd72
2021-12-14 05:20:55 +00:00
Hervé Beraud 9cc23899db Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver [1] for the release team [2][3].
Removing specific doc requirements from test-requirements.txt.

The problem here is that this repos haven't doc/requirements.txt file
and by default in this case zuul will use the test-requirements.txt file
to pull requirements [4].

This requirements file contains extra requirements like flake8 that
collided with those allowed in our job environment and so the new pip
resolver fails to install these requirements and the job exits in error.

This project meet the conditions leading to the bug.

/!\/!\/!\
Notice that I voluntarily added the doc directory even if no docs
are generated here because zuul will try to pull this requirements from
there first and the contained requirements are needed for reno but AFAIK
the releasenotes dir is ignored by zuul. c.f [4] for further details.
/!\/!\/!\

[1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
[3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html
[4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36

Change-Id: If0c66938ff1b505aba53d17293ff70612a3bd889
2021-12-14 05:20:53 +00:00
Anand Bhat 519e78ee84 Switch to stestr
* Replace .testr.conf by .stestr.conf for migration and update
  .gitignore and test-requirements.txt file accordingly
* Use py3 as the default runtime for tox
* The patch bumps min version of tox to 3.18.0 python in order to
  replace tox's whitelist_externals by allowlist_externals option
* Updated ostestr occurances to stestr`

Change-Id: Iacc4e5054deb6ef832085d131c933e48e418bf1b
2021-11-29 05:08:52 +00:00
Ghanshyam Mann f71166b2c6 Moving IRC network reference to OFTC
Change-Id: Id518fe93f5b17b5809db5f385f270da0e2722372
2021-07-07 19:39:32 -05:00
Zuul 652bff95e0 Merge "Add stable branch jobs on the plugins master gate" 2021-02-18 02:16:48 +00:00
Zuul 465390213e Merge "Rmove six forgotten before" 2021-02-18 02:16:45 +00:00
Zuul d446c51f6f Merge "negative cases for update action" 2021-02-18 02:16:42 +00:00
Zuul 0c316712f3 Merge "list profile type operation" 2021-02-18 02:16:39 +00:00
Zuul 3d3fc8e2e6 Merge "negative cases for update receiver" 2021-02-18 02:08:17 +00:00
likangkang01 9724ee711c negative cases for update receiver
update receiver, the receiver not found; update receiver no param

Change-Id: I442cb24292d3be05260a4b3621262bc90886d943
2020-12-18 10:12:22 +08:00
likangkang01 57ec4df144 updates a receiver
Change-Id: Ia5606fae47ee30646e3a1cfd98d16da524d66a64
2020-12-17 14:24:48 +08:00
likangkang cc30e0c1c3 negative cases for update action
negative cases for update action, action id not exist, invalid status

Change-Id: I74b552e57508611546bd39692dfa7164aa49ee3e
2020-11-30 17:33:53 +08:00
wangzihao 44c54cb98a Rmove six forgotten before
- six.moves.BaseHTTPServer
- six.moves.http_client

Change-Id: I855d13af3f1f5ffb3543b864655624c99dbce403
2020-11-10 09:47:01 +00:00
likangkang01 81c87af063 list profile type operation
api for list profile type operation

Change-Id: Ic1e76edf56cad602b18baf4f3380d8b89010c976
2020-11-04 15:13:22 +08:00
jacky06 a85b110a1d Remove all usage of six library
Convert all code to not require six library and instead
use python 3.x logic.

Change-Id: I0f7d623d58072bc3b7761a3c70832298cbc00de1
2020-07-02 05:03:36 +00:00
Andreas Jaeger 8b9d3e87ee 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
- Remove obsolete sections from setup.cfg
- Update classifiers
- Use newer openstackdocstheme and Sphinx versions
- Remove install_command from tox.ini, the default is fine;
  move constraints into deps
- Remove Babel from requirements, it's not needed for running;
  remove babel.cfg likewise
- Use TOX_CONSTRAINTS_FILE, UPPER_CONSTRAINTS_FILE is obsolete
- update hacking to version 3.0

Change-Id: Ibcb7be4fd057b24147b7b562302ea362ad8c71b3
2020-05-10 14:24:21 +02:00
Ghanshyam Mann a9b828c28c 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: I31798ce47063a55e6ef29d713dc156c2d873e3cb
2020-05-05 17:42:59 -05:00
Zuul 38f3acc3f2 Merge "Drop python 2.7 support and testing" 2020-04-01 22:39:00 +00:00
Ghanshyam Mann a922ca138d Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

senlin-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://review.opendev.org/#/c/691178/

Change-Id: I53e47c4cf7446c38eb47ad1c889483197a3d8698
2020-03-15 18:43:52 +00:00
Duc Truong e0e49c1fea Check for max supported api version
Retrieve max api version at client creation and skip tests that require
higher api versions than supported.

Change-Id: I1d099157966bc73e6d104f7d293f4a0e30180662
2020-02-14 00:33:19 +00:00
Erik Olof Gunnar Andersson ec20720626 Always clean up nodes and cluster
This was hiding a bug with flavor_id. Make sure we
delete the cluster so that it will always fail gracefully.

In addition we also stop re-using the same private network
for cluster tests and instead create custom networks to
prevent race conditions between tests.

* Add a small retry for logic for deleting subnets and networks.
* Add override to network name to allow for randomized names.

Change-Id: Ibcf1b25bc6e5e3a54678646a397dc1c41b1d29af
2019-12-11 13:34:09 -08:00
Zuul beb8dad555 Merge "Add tests for new tainted field in nodes" 2019-10-25 18:51:08 +00:00
Zuul daf232c074 Merge "Remove check for content-length on delete" 2019-10-23 00:00:49 +00:00
Duc Truong 01aa3de05f Add tests for new tainted field in nodes
- Added API tests for nodes returning tainted fields in v1.13+
- Fixed missing and duplicate idempotent ids.

Depends-On: https://review.opendev.org/#/c/689606/
Change-Id: I283467b3dc4a6f32b1c7b81c2e97a52d8c0c9f1e
2019-10-22 21:34:08 +00:00
Zuul b3bad59d51 Merge "Replace Chinese punctuation with English punctuation" 2019-10-22 11:39:03 +00:00
Zuul 43fe4eec43 Merge "update http link to https" 2019-10-22 11:00:35 +00:00
Erik Olof Gunnar Andersson db41f1b09d Remove check for content-length on delete
There is no garuantee that content-length is set when
the payload is empty. It is also not a required field for
HTTP Status 204 (No Content) or DELETE.

Change-Id: Ifdd7cdef3a214a1153563c12e349dda9f179a2ad
2019-10-19 22:07:48 +00:00
Erik Olof Gunnar Andersson 44310b8364 Fix Health Check tests
Introduced a new configuration variable to set the
supported health policy version that is used to
help determine if we can run the health related
tests.

Change-Id: I025aada17db6900d3e4328d5c09890e4f260f4d6
2019-10-16 19:51:22 -07:00
yangyong 79c2f7a148 update http link to https
Change-Id: Iee5f537677098e1db0e42b86c21833472bdea9de
2019-08-26 17:40:23 +08:00
inspurericzhang 4c573a4f07 Replace Chinese punctuation with English punctuation
Curly quotes(Chinese punctuation) usually input from Chinese input method.
When read from english context, it makes some confusion.

Change-Id: I8b96ee793eee8a8802cd9bd3993714768df27cb7
2019-08-23 10:55:28 +08:00
chenke e8c68ffb74 Switch to the new canonical constraints URL on master
Reference:
1. http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html
2. https://github.com/openstack/nova/blob/master/tox.ini#L17

Change-Id: I13a31b3dab9667d9ac68da0c2dacfde338a80b42
2019-06-22 15:25:06 +08:00
Zuul 184d46a246 Merge "update git.openstack.org to opendev" 2019-05-22 15:12:23 +00:00
Zuul a082e32e9f Merge "Update tests to work with updated cluster delete" 2019-05-13 18:54:37 +00:00