13368 Commits

Author SHA1 Message Date
Tomas Krchnak
7cbe8b6b51 Add check_service_availability test
This patch increases test coverage of verify_tempest_config

partially-implements: blueprint tempest-cli-unit-test-coverage

Change-Id: I87966469df42f0fbabfa2b265398a101af414c9f
2020-06-24 12:59:00 +00:00
Zuul
3c272360d4 Merge "Add image "version" metadata in test_snapshot_pattern" 2020-05-26 23:23:06 +00:00
Zuul
a9ef5dbc73 Merge "Add response schema validation for volume pools" 2020-05-26 15:13:34 +00:00
Zuul
c1c070832b Merge "Add response schema validation for volume snapshots" 2020-05-26 15:13:31 +00:00
Zuul
ad25f2577b Merge "[Trivial]Do not use self in class method" 2020-05-25 04:59:34 +00:00
Archit Modi
2c8e8ae0e5 Add image "version" metadata in test_snapshot_pattern
Add image "version" metadata to the snapshot image in
test_snapshot_pattern as shown in the related bug. Creating
another test just to update the metadata is not worth it.

Change-Id: I2f1093616dc7c4268a0bda5a4854da23423f4cab
Related-Bug: #1717547
2020-05-22 16:53:48 +00:00
Zuul
d145194f52 Merge "Change bytes to str in servers_client for python3" 2020-05-22 11:41:10 +00:00
Zuul
f004447315 Merge "Add explicit external network for test_create_router_set_gateway_with_fixed_ip" 2020-05-21 12:57:43 +00:00
Zuul
b352e742d5 Merge "Adding description for testcases - image part2" 2020-05-21 11:22:27 +00:00
zhufl
adb162024d Add response schema validation for volume snapshots
This is to add response schema validation for volume snapshots.

Change-Id: I7de5569ed58fb6a3bf8115f89163cd951c19d951
partially-implements: blueprint volume-response-schema-validation
2020-05-21 09:42:49 +00:00
zhufl
126e996f0e Add response schema validation for volume pools
This is to add response schema validation for volume pools.
Besides, free_capacity and total_capacity in "List all back-end
storage pools" should be free_capacity_gb and total_capacity_gb,
Ic0690d12147fa63b903f3442eccde88c1d501711 will fix them.

Change-Id: I8ae2cd178b91756bb488c02a1a2fcdf64f572155
partially-implements: blueprint volume-response-schema-validation
2020-05-21 06:04:39 +00:00
zhufl
40e5eaa084 [Trivial]Do not use self in class method
This is to use cls in class method, instead of self.

Change-Id: I8db94bd689c7afe6b9aacd0ca4c5a62ad463e16e
2020-05-21 12:54:16 +08:00
Zuul
b19649ab0e Merge "Add response schema validation for encryption types" 2020-05-21 04:53:52 +00:00
Zuul
385873e65d Merge "Add response schema validation for volume group types" 2020-05-20 18:28:31 +00:00
Zuul
284a3a00cf Merge "Add response schema validation for volume limits" 2020-05-20 18:28:28 +00:00
Zuul
9d716814f4 Merge "Add migration uuid API schema validation for 2.59" 2020-05-20 18:28:20 +00:00
zhufl
19a487e5d4 Add response schema validation for volume group types
This is to add response schema validation for volume group
types.

Change-Id: I81c6cfd854507cdd295c1356370d73c1a4f0712c
partially-implements: blueprint volume-response-schema-validation
2020-05-19 09:28:57 +00:00
zhufl
e973452ce0 Add response schema validation for encryption types
This is to add response schema validation for encryption types.

Change-Id: Ic8e1dddd4a7e7bc57cc2959f1a7991dd4be22194
partially-implements: blueprint volume-response-schema-validation
2020-05-19 07:32:04 +00:00
Andreas Jaeger
0fbce17220 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* parallelizing building of documents

Update Sphinx version as well.

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.

Set openstackdocs_pdf_link to link to PDF file.

Depends-On: https://review.opendev.org/728938
Change-Id: Ia31f69f00eb24771bf700b4e25ae73a09c1c8aed
2020-05-18 19:34:29 +02:00
Paras Babbar
7ac89c977b Add explicit external network for test_create_router_set_gateway_with_fixed_ip
This avoid neutron error that IP address x.x.x.x already
allocated in subnet as the public network from tempest.conf
is shared amongs multiple test cases which may ask for ip
address in parallel to this test case execution and might end
up in race condition.

Note:Interop/Any other user doesn't use this test location
so we should be good to move the location

Change-Id: Ibf5ad52062b3719899a123a799f5f4f8e961f609
Closes-bug: #1676207
Logs: https://bugs.launchpad.net/tempest/+bug/1676207/comments/13
2020-05-14 13:51:47 -04:00
James Parker
4bbe5b58ec Add migration uuid API schema validation for 2.59
Microversion 2.59 [1] compute API added a "uuid" parameter to the body of
the following migration responses:

- GET /os-migrations
- GET /servers/{server_id}/migrations/{migration_id}
- GET /servers/{server_id}/migrations

This commit adds the uuid to the response validation schema for
list_migrations.

[1] https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id55

Change-Id: Ic748f70d90446c79324df30147e4a270b72d710e
2020-05-14 10:21:26 -04:00
Zuul
0c71fc29a1 Merge "test_server_rescue.py should use CONF.volume.volume_size" 2020-05-14 12:33:41 +00:00
Zuul
e67ebd83d9 Merge "Use new encryption provider constants (reprise)" 2020-05-14 04:56:18 +00:00
Zuul
714a92f0c3 Merge "Modify the fake data" 2020-05-14 03:00:19 +00:00
Zuul
7ad6abd520 Merge "Adding description for testcases - image part1" 2020-05-14 01:28:08 +00:00
Ghanshyam Mann
8d1974efa5 Bump hacking min version to 3.0.1
hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new
version with new checks.

bumping the min version for hacking so that any older hacking versions
which auto adopt the new checks are not used.

The 2.6.0 version introduces some checks that cause failures
with the current code. hacking and flake8 cap could have solve
the pycodestyle compatible version but flake8-import-order which
does not cap the pycodestyle pulled its latest version and break
things.

Change-Id: I8996fec39e9b7c411b2708eb8baeb50aa2c28d42
2020-05-13 03:06:16 +00:00
Martin Kopec
abda8712a4 test_server_rescue.py should use CONF.volume.volume_size
test_server_rescue.py contains hard-coded volume_size value without
any option to override it. The tests should use CONF.volume.volume_size.

Closes-Bug: 1877259
Change-Id: Id502dfa06547023229ae2e6f9426eeb99da7dd89
2020-05-11 15:33:00 +00:00
Zuul
006e8d175e Merge "Switch testing to Victoria testing runtime" 2020-05-11 02:04:23 +00:00
Martin Kopec
a857880423 Improve logging in tempest cleanup
* add additional handler so that INFO messages are printed to stdout
  besided tempest.log
* replace print commands by LOG.info calls
* when --debug argument used print DEBUG messages to stdout
* add additional debug messages to improve transparency of the cleanup
  execution
* use --debug argument within tempest-cleanup ansible role to see more
  details directly in the output

Change-Id: Iee72dc411fdf5cda8a8eed8dd7f349e0866648ab
2020-05-07 05:54:48 +00:00
Zuul
1dbaa8dff0 Merge "Add tempest-cleanup ansible role" 2020-05-07 01:56:51 +00:00
Zuul
4b6aff009e Merge "Fix redirect for doc section" 2020-05-06 03:08:44 +00:00
Zuul
ccc41e6010 Merge "Use ensure-pip for stackviz pip install" 2020-05-06 02:25:44 +00:00
Ghanshyam Mann
710e877e43 Fix redirect for doc section
support-policy section was renamed in
- https://review.opendev.org/#/c/725446/

but redirect for that was not correct. Fixing that
redirect.

Change-Id: Ia2921533c7a61bab4325a4a89b2b84f391e0aafd
2020-05-05 14:30:34 -05:00
Ghanshyam Mann
de69845d75 Switch testing to Victoria testing runtime
Updating the testing template from ussuri to victoria
testing runtime
- https://governance.openstack.org/tc/reference/runtimes/victoria.html

Change-Id: If964909a73a52836e3adbb7b695f1c7322b81830
2020-05-05 14:35:52 +00:00
Martin Kopec
f62dbc1c22 Add tempest-cleanup ansible role
The patch adds a new ansible role called tempest-cleanup which will
allow us to test tempest cleanup in the gate jobs.

Change-Id: I2cef2da6fee13e622da07b890da88850fe420152
2020-05-05 12:07:51 +00:00
Ian Wienand
08a40ad129 Use ensure-pip for stackviz pip install
Infra is trying to move to nodes that do not come with pip/virtualenv
pre-installed on the image; for details see the spec at [1].

zuul-jobs include ensure-pip [2] to provide pip dependencies; use that
before installing stackviz.  Note that if pip is installed this is a
noop.

[1] https://docs.opendev.org/opendev/infra-specs/latest/specs/cleanup-test-node-python.html
[2] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#role-ensure-pip

Needed-By: https://review.opendev.org/723762
Change-Id: I24925ab8e885404da64a3ecfca3848041b6dfc05
2020-05-05 14:12:12 +10:00
Ghanshyam Mann
da3bb61f1f Add index page for plugins documents
Now we have more documents for plugins on stable release,
support and their testing policy. Let's prepare a
index page for it will be easy for plugins maintainer.

Also renaming the stable support policy section to have a clear
name.

Adding redirect links for moved documents.

Change-Id: I17a9a6e0e88605a0ee5047678d6ed168c31396ec
2020-05-05 02:12:05 +00:00
Ghanshyam Mann
96800bb833 Add document for stable branch testing for tempest plugins
As Tempest and plugins master version is used to test the supported
stable branches, we need to test them on master gate.

Adding document for that so that we can test the stable branches
more consistently on plugins side too.

Change-Id: Ied3c6bb4032fd3740ae0d6d185e4a138fd335b02
2020-05-05 01:41:11 +00:00
Vishakha Agarwal
e8f1876aa6 Update supported version doc tempest
This patch updates about the new supported release Ussuri.

Change-Id: Ib17602dfe0eb1707acfe220ab0c230cf781cd367
2020-05-02 21:57:10 +05:30
Zuul
ba95c36a2d Merge "Integrated gate storage/swift: blacklist more tests" 2020-05-01 00:27:42 +00:00
Zuul
56743fea3a Merge "compute: Add stable device rescue tests with BFV instances" 2020-05-01 00:27:40 +00:00
Zuul
b714ae3895 Merge "run-tempest: save the result of tempest execution" 2020-05-01 00:12:07 +00:00
Zuul
7d1b080f17 Merge "Add Tempest gate job for stable/ussuri" 2020-04-30 22:20:00 +00:00
Zuul
1e844a898e Merge "Remove the deprecated tempest-account-generator CLI" 2020-04-30 22:14:44 +00:00
Doug Schveninger
6a2be436f6 Make image_ssh_password a secret so it does not show in console
We are doing this for downstream testing that use custom images
and in case you are not a cubs fan :)

Change-Id: I5860dc67233ce3135daf11b7901b93547ba1f30a
2020-04-29 20:05:03 -05:00
Zuul
5cc3ffce8c Merge "Remove the stable rocky from supported branch in Tempest master" 2020-04-29 21:54:31 +00:00
Zuul
66f1000004 Merge "Move the grenade-py3 job to new zuulv3 grenade job name" 2020-04-28 03:17:20 +00:00
Ghanshyam Mann
f8b8987c5b Move the grenade-py3 job to new zuulv3 grenade job name
'grenade' is zuulv3 native job for py3 (because devstack is default to
py3 since Ussuri) which replace the old 'grenade-py3'
legacy job. 'grenade-py3' job is alias to the new zuulv3 native
'grenade' job but that is only for migration time. Later once
all switch to new job name, we will remvoe the 'grenade-py3' alias
job.

Change-Id: Iea355514ec7cc2a52ed5e88c356bcb1cdeadd639
2020-04-27 20:58:17 +00:00
Ghanshyam Mann
6d6bf5e6e8 Add Tempest gate job for stable/ussuri
Now we have stable/ussuri branch ready for devstack
and so does for all service projects.

This commit adds the Tempest testing for stable/ussuri
by adding new jobs running on stable/ussuri version of
openstack.

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

Change-Id: Ifa7887675d34ab8169347b69a8e1ff723b55e466
2020-04-27 17:18:15 +00:00
Lee Yarwood
2ad7ca4c01 compute: Add stable device rescue tests with BFV instances
This change introduces tests for stable device rescue with boot from
volume instances using blank, image and snapshot based volumes.

Change-Id: Ic5e38c6da710e1e5fb40b186d8da537eef48b1a5
2020-04-27 10:46:56 +01:00