275 Commits

Author SHA1 Message Date
Zuul
5cc3ffce8c Merge "Remove the stable rocky from supported branch in Tempest master" 2020-04-29 21:54:31 +00:00
Ghanshyam Mann
d9654dae59 Fix typo in contributor guide
There are few typo in contributor guide which were
added recently.

Change-Id: I0f3d18ee375ac32d83a019f3ce6194b332b2c9a1
2020-04-22 21:54:19 -05:00
Ghanshyam Mann
ba416467e6 Remove the stable rocky from supported branch in Tempest master
Rocky is in Extended Maintainance state now so we can
remove this from supported branch and also remove its
jobs to run on master gate.

-https://releases.openstack.org/

Depends-On: https://review.opendev.org/#/c/722186/

Change-Id: I46f4abf07839fb5e8767635e2502e97e8409b8b8
2020-04-23 02:30:32 +00:00
Zuul
e357481ffb Merge "[ussuri][goal] Update contributor documentation" 2020-04-20 17:36:37 +00:00
Ghanshyam Mann
95c410afc0 [ussuri][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: #38554

Change-Id: Ib54b16543eb428087555cd3411bae51244d1aa65
2020-04-19 17:44:59 -05:00
Zuul
a21844a609 Merge "Document the policy for Tempest & its plugins release" 2020-04-18 02:45:02 +00:00
Ghanshyam Mann
235c264457 Document the policy for Tempest & its plugins release
Tempest and its plugin are very tightly coupled for testing
Upstream or Production Cloud. Due to its branchless model,
one of the challenges we faced/facing is to provide their
compatible version set.

Since Queens release and with operator request, we started
doing a coordinated release of plugins along with Tempest
which will be marked as the First compatible version for
that particular release.

For example https://releases.openstack.org/train/index.html#tempest-plugins

We test our stable branch with master version of Tempest &
plugins until it is moved to Extended Maintainance state.
One stable release is in EM state, Tempest officially declares
the end of support tag so that we can use that as the last compatible
version for that EM stable testing. But we do not have the correct
last compatible version from plugins which can be used for testing
the EM branch. It should be with hash from the master at the time
stable release is moved to EM not the hash when the stable release
was done otherwise it will be incompatible with Tempest.

We have faced and fixed many issue due to that during py2-drop work
where we have to pick and try all different versions from plugin to
make it work against EM testing.

Change-Id: I99a6df0a2c02e19efaf484fcd97b875887f08d8e
2020-04-17 15:23:18 +00:00
Lee Yarwood
803b4a7e83 compute: Add missing 2.73 response schema validation
Microversion v2.73 was introduced in Nova by I46edd595e7417c58410648
changing the request responses of ``GET servers/{server_id}``, ``GET
/servers/detail``, ``POST /servers/{server_id}/action``  where the
action is rebuild and ``PUT servers/{server_id}``.

Change-Id: I8c800f6e280ec6fdf204d344124d994a25d0af19
2020-04-12 11:15:09 +01:00
Ghanshyam Mann
551e8d7a59 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Tempest is ready with python 3 and ok to drop the
python 2.7 support. Last Tempest version officially supported
for py2.7 is 23.0.0.

Now onwards, Tempest will test all stable branch with py3 jobs.
tempest-full and other py2 version of jobs definition are kept
for stable branch gate.

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: I75868d5c9b6630fe78958ff89e58a0aced09a6b3
2020-02-12 00:11:31 +00:00
Ghanshyam
b0a8057fbb Drop python 3.5 support from Tempest
Tempest, its plugins and their dependencies in ussuri
cycle are python-requires>=py3.6 which makes distro not
having python 3.6 to do hack to install py3.6 etc.

We cannot do >py3.6 in basepython so one way is to drop the
py3.5 support and basepython to py3 so that it can choose
the available py version in env.

It time to drop the py3.5 from Tempest. Last supported version of
Tempest for py3.5 is 23.0.0.

oslo drop py2 so we need to remove the py2 unit test job which
is failing and blocking gate.

There is seoarate work to drop the py2 things from Tempest in
compplete set.

Change-Id: I872dbb57df46d1193c0d409bb00d56f372d295fe
Related-Bug: 1861308
2020-02-04 19:23:01 +00:00
Zuul
01b779e784 Merge "Add doc for supported OpenStack release & py version" 2020-01-26 00:26:50 +00:00
Ghanshyam Mann
68600b18fa Add doc for supported OpenStack release & py version
Tempest is branchless and support many OpenStack stable branches
and python versions. Users of Tempest should have a clear doc about
what all openstack releases and python versions are supported.

Change-Id: Idc76e07efdd3710a59c773c564ca532419989ed5
2020-01-23 14:39:36 +00:00
Soniya Vyas
6ed6fb5af5 Replaced testr with stestr
The officially supported test runner for Tempest is stestr.
overview.rst has frequently used testr as Tempest runner.
Hence, there is need to replace it.

Change-Id: Ie9f9557ebb791225cb2a9f7dabba67f92a1ac376
Signed-off-by:- Soniya Vyas<svyas@redhat.com>
2019-12-06 11:51:47 +05:30
pengyuesheng
e740d39d04 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: Ia656e992e86293339521627acc892f81f7bd6a0b
2019-09-16 02:08:48 +00:00
Masayuki Igawa
7e4ef4c823
Add PDF building
This commit add PDF building tox.ini environment and options for LaTeX
output. overview.rst is copied from README.rst. And, the original
README.rst file is shrunk because we don't need such a long information
in the README file. People can see the same contents in overview.rst
now.

Change-Id: Id654c814988e78704726d2ba8bea9a03ce8596f8
2019-09-11 16:42:28 +09:00
Matthew Treinish
4730b9dd45
Remove references to locking test accounts config doc
The name locking test accounts was an early name in the development of
the pre-provisioned credentials development. It described what it did
used tests accounts and lock files to ensure one test class only was
using an account at a time. However, that name hasn't been really used
in a long time and we've called the feature pre-provisioned credentials.
The configuration guide section for pre-provisioned credentials still
had some out dated references to locking test accounts which were never
updated when the feature was renamed. This commit corrects the oversight
and consistently names the feature in that section of the documentation.

Change-Id: I0f3a7b373c5ca2d84a8e82c1e2c3bcd6a2d833f9
2019-08-15 09:33:15 -04:00
Masayuki Igawa
ac8ae64d5b
Publish BLACKLIST on Tempest plugin registry page
This commit makes the BLACKLIST to be published on the Tempest plugin
registry page which we discussed at the PTG[0].

[0] https://etherpad.openstack.org/p/qa-train-ptg

Change-Id: I707aba930037e86f5f94dac73da957f5afacf935
2019-06-13 11:57:09 +09:00
Zuul
53d8b0b1cf Merge "Add compute API response schema validation for 2.71" 2019-05-28 14:36:25 +00:00
Zuul
21ce12ed9f Merge "Add support for compute API v2.70 - os-volume_attachments" 2019-05-28 13:59:39 +00:00
caoyuan
349ba75410 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org and review.openstack.org URLs
with their opendev.org counterparts.

Change-Id: I88e894db7b854d32593c770f5aa9b8a91fad7866
2019-05-23 10:19:31 +00:00
Matt Riedemann
0b14b1e0ff Add compute API response schema validation for 2.71
The 2.71 compute API includes the "server_groups" parameter
in the response to the following APIs:

- GET /servers/{server_id} (show)
- PUT /servers/{server_id} (update)
- POST /servers/{server_id}/action (rebuild)

This will be used in an upcoming change to test attaching
and detaching the root volume of a shelved offloaded instance.

Change-Id: I612a15c475404ded0af15b6241b9ac8ec9fb8e26
2019-05-21 12:34:51 +02:00
Matt Riedemann
b9b6e37a75 Add support for compute API v2.70 - os-volume_attachments
This adds the compute API response schema validation for the
2.70 microversion and the following APIs:

- GET /servers/{server_id}/os-volume_attachments (list)
- GET /servers/{server_id}/os-volume_attachments/{volume_id} (show)
- POST /servers/{server_id}/os-volume_attachments (attach)

This will be used in an upcoming change for testing root volume
attach/detach of a shelved offloaded server.

Since the response schema for these have not changed since 2.1 we
have to backfill all of the other servers API response schema
files going back to 2.1.

Change-Id: I2f36a51fa47b28df1afada5396dec3ce7dc43d78
2019-04-26 10:20:00 +02:00
ghanshyam
59a93d1bba Fix openstack-dev ML ref in test removal process.
Change-Id: I281ab52bc714e6b6dc1529f13b700d23caaf6f41
2019-03-07 17:25:29 +00:00
Matt Riedemann
f786405da0 doc: fix compute API microversion list format
Change-Id: I5737b2c906b9e85e7cac3a3abd0746db608bc79d
2019-03-02 12:50:52 -05:00
Sergey Vilgelm
eac094a8cf
docs: Fix incorrect docstrings in reStructuredText format
Several docstrings have incorrect format, what prevents to generate
a documentation using sphinx-apidoc extension.

Change-Id: I66431c7030089173d7635c1e2a72765db21f9780
2018-11-21 19:06:43 -06:00
sunqingliang6
8606c83b4b change http links to https links
Change-Id: I9875b8db497129baebadc8e74cf602ea1c063cbd
2018-11-09 14:26:19 +08:00
Zuul
f7fe7ff723 Merge "Add server schema for microversion 2.8" 2018-08-22 05:46:49 +00:00
Zuul
114214cab6 Merge "Change schema hypervisor.cpu_info from string to object in 2.28" 2018-08-20 15:19:27 +00:00
Felipe Monteiro
00b3bd55d9 Add server schema for microversion 2.8
This commit adds servers schema for microversion 2.8 [0]:

Add ‘mks’ protocol and ‘webmks’ type for remote consoles.

The appropriate api_schema files are updated with the
2.8 microversion changes.

Note that no test is added to cover this new microversion
since it isn't possible to test mks protocol in Tempest
gates so as per REVIEWING documentation [1] we shouldn't
add such a test. So, we could only cover the vnc protocol
for 2.8 but this would also not be of much value since
the vnc value (instead of mks) would be returned by the
server.

[0] https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id7
[1] https://docs.openstack.org/tempest/latest/REVIEWING.html#ensuring-code-is-executed

partially-implements: blueprint full-schema-for-all-microversions
Change-Id: I5a6d2852db8e2a67013eee71a094e9b521a92524
2018-08-20 14:06:26 +00:00
zhufl
e142f54605 Change schema hypervisor.cpu_info from string to object in 2.28
This is to change schema hypervisor.cpu_info from string to object
in microversion 2.28.
https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id25

Change-Id: I36715c6b1751ceee304d18114b4473d60758a7ff
2018-08-17 10:44:53 +08:00
Zuul
8778ca1e15 Merge "Fill aggregate schema for microversion 2.41" 2018-08-13 17:02:52 +00:00
zhufl
4af2c82068 Fill aggregate schema for microversion 2.41
The ‘uuid’ attribute of an aggregate is returned from calls
to the /os-aggregates endpoint from microversion 2.41, so
this is to add 'uuid' in schema of aggregate.

https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id37

Change-Id: I90e53056ceae5ad6b6ea2995f3f8c6eceea4739a
partially-implements: blueprint full-schema-for-all-microversions
2018-08-09 13:57:42 +00:00
ghanshyam
df037310ba Dynamic width count for plugin registry table column
There might be chance that few plugin name and url
does not fit into hard coded column width and give error.

This commit count the column width as per plugins name.

Also display the number of plugins in new SR column.
Change-Id: Ia5736d2581ee3b6f851b8d08f855c2a19c157c47
2018-07-31 17:09:37 +05:30
Zuul
365f701964 Merge "Modify limits fields according to microversion" 2018-07-30 16:44:02 +00:00
zhufl
8013413d8c Modify limits fields according to microversion
1. Some limits fields are removed from Microversion 2.35/2.38/2.56,
   so we should check limits fields according to microversion.
2. In test_max_metadata_exceed_limit, maxImageMeta is deprecated from
   Microversion 2.38, so maxServerMeta is used instead, btw, maxServerMeta
   seems to be more suitable for this testcase.
   Besides, test_max_metadata_exceed_limit is not used in interop, so we
   can safely change its name.

ref: https://developer.openstack.org/api-ref/compute/#show-rate-and-absolute-limits

Implements blueprint: clear-deprecated-api

Change-Id: I53e2ee82c9c52afb0a56526c655eb9b3b6b8f483
2018-07-30 11:01:26 +08:00
Zuul
b286ad402e Merge "trivial: Fix typos in the documentation page" 2018-07-18 23:22:56 +00:00
deepak_mourya
e495cd257d trivial: Fix typos in the documentation page
This patchset fixes typos (capitalization mistakes,
grammar mistakes) found in the documentation pages.

Change-Id: If500aeab1af7dd8b56d63cbc481ee501216df161
2018-07-18 08:39:27 +00:00
Felipe Monteiro
f89ab81c38 docs: Add information on test removal/interop to REVIEWING
This patch set adds information on test removal, relocation,
renaming to REVIEWING because it is important that such
actions do not break interop. Interop is closely tied to
Tempest because it directly references Tempest tests that
are not only expected to exist, but to also work.

The same is true of breaking blacklist/whitelist
references to Tempest tests, this is also included
in the new documentation section.

It is important that there be REVIEWING guidelines
in place to assist reviewers understand this importance.
Also references are included for defcore/interop to help
users find more information on these topics.

Currently interop is only mentioned in 1 place in Tempest [0]
and yet there is little information about it. This patchset
aims to make it easier to find more information about it
for reviewers and users alike.

[0] http://git.openstack.org/cgit/openstack/tempest/tree/doc/source/test_removal.rst

Change-Id: Ifbde674b42355077fcd8daa07be8be1248b77b0f
2018-07-14 19:30:06 -04:00
Zuul
eab26ec501 Merge "trivial: Fix typos in the test_removal documentation page" 2018-07-14 15:32:47 +00:00
Felipe Monteiro
c384bc4ae0 trivial: Fix typos in the test_removal documentation page
This patchset fixes typos (capitalization mistakes, grammar
mistakes) found in the test_removal.rst documentation page.

Change-Id: Ia9a6b9d7a2a151a460a620be9fa6875f2efda00f
2018-07-10 20:14:04 -04:00
Felipe Monteiro
c0348ee84e Add update_service to compute services_client library
This patchset adds update_service to compute module's services_client
library. This API is introduced in microversion 2.53 and supersedes
the following APIs:

    * ``PUT /os-services/disable`` (``disable_service``)
    * ``PUT /os-services/disable-log-reason`` (``disable_log_reason``)
    * ``PUT /os-services/enable`` (``enable_service``)
    * ``PUT /os-services/force-down`` (``update_forced_down``)

Negative tests were added for all the APIs above. The negative
tests only test the microversion >= 2.53 case: the new
udpate_service API is called (also with bad parameters).

The v2_11 schema was updated to reference all the unchanged
APIs from v2_1 for the compute services api_schema. Also,
the v2_53 schema was introduced for the new update_service
API and it also references all the unchanged APIs from v2_1.

Finally, unit tests and releasenotes are included.

Change-Id: I5e7b81496cbb87cda81413124b5f82bd5356e666
2018-07-10 18:56:24 +01:00
Zuul
1718a0393f Merge "trivial: fix some incorrect compute microversion references" 2018-07-09 19:51:51 +00:00
Zuul
96dedaca0b Merge "Add compute microversion 2.61 schema in flavors_client" 2018-07-09 12:39:53 +00:00
ghanshyam
d201cd3977 Add compute microversion 2.61 schema in flavors_client
Compute microversion 2.61 adds 'extra_specs' in flavor APIs response
This commit fill the schema gap for that.

Change-Id: Id1f1e51fbae1cc3d0c9efdcd9009f384745915d6
2018-07-09 08:55:10 +00:00
Felipe Monteiro
dd09bd9590 trivial: fix some incorrect compute microversion references
This patchset fixes some incorrect compute microversion references.

2.54: should have id 49 (was 4)
2.55: should have id 50 (was 49)
2.57: should have id 52 (was 51)

Change-Id: I81d90637fe16e1d5de1e26f50a86f9ff83d355ca
2018-07-07 16:26:29 -04:00
Zuul
1a0a6d685e Merge "Move Stable branch Policy Doc outside of coding guide" 2018-06-28 14:14:58 +00:00
ghanshyam
247841ecf6 Move Stable branch Policy Doc outside of coding guide
Current doc explaining the stable branches support policy is under
coding guide. But support policy should be at higher level which
can be useful for user or maintainer of Tempest.

Change-Id: Id46e14080559062b4d89e5f7a9acbcd5df09691e
2018-06-20 04:53:16 +00:00
Zuul
d09caf65b8 Merge "Add new schema for Nova microversion 2.63" 2018-06-18 08:05:30 +00:00
Jackie Truong
1fa4464404 Add new schema for Nova microversion 2.63
This microversion adds the trusted_image_certificates parameter to the
server rebuild, server create, server update, and servers details
responses.

Change-Id: I48f62d36a871a95601ebf277a2f39a41a873daa8
Implements blueprint: nova-validate-certificates
2018-06-14 16:23:23 -04:00
Zuul
575dc80cd9 Merge "Add compute microversion 2.57 schema in servers_client" 2018-06-05 02:07:15 +00:00