13545 Commits

Author SHA1 Message Date
Zuul
c00798ea9c Merge "volume: Introduce extend attached encrypted volume tests" 2020-09-23 17:07:11 +00:00
Zuul
7ef3c1c1b4 Merge "Updating the paramiko version to 2.7.0 or greater" 2020-09-22 19:21:41 +00:00
Zuul
e081f583ee Merge "Revert "Use stable constraint in tox to release new tag for Victoria"" 2020-09-18 17:12:32 +00:00
Zuul
94a76091f6 Merge "Add releasenote to tag the Tempest for Victoria release" 2020-09-18 10:02:23 +00:00
Zuul
d328a5b4cc Merge "Use stable constraint in tox to release new tag for Victoria" 2020-09-18 10:02:21 +00:00
Zuul
a8465b79a3 Merge "Move process-stackviz role from Tempest to Devstack" 2020-09-17 13:03:37 +00:00
Zuul
a59a1aba20 Merge "Adding description for testcases - compute part11" 2020-09-17 12:46:40 +00:00
Zuul
c6c0891564 Merge "Fix test_allowed_address_pair test case cleanup" 2020-09-17 12:46:30 +00:00
Masayuki Igawa
7313bc461a
Revert "Use stable constraint in tox to release new tag for Victoria"
This reverts commit 548e2d0b018eb9dfeb30e468a4871f1ca7516917.

Change-Id: Ie446828c30fe3ba4dc913ac08a198b3e1d62b7e8
2020-09-17 21:02:48 +09:00
Masayuki Igawa
c8d7a01014
Add releasenote to tag the Tempest for Victoria release
This commit adds the releasenote to tag Tempest for Victoria
and needed for version 25.0.0 to release.

Change-Id: I74db083a53ce0801416f8e1e992ea3e9331ea66a
2020-09-17 21:01:42 +09:00
Masayuki Igawa
548e2d0b01
Use stable constraint in tox to release new tag for Victoria
We are going to release Tempest new tag to declare the start of support
for stable/victoria. So that new tag use stable/victoria constraint in
the tox env.

For example, if anyone use Tempest 25.0.0 in future, let's say 1 year
later then tox env also should use the victoria constraint for
compatibility instead of master.

These need to be move back to master constraint, once release is done.

By using master constraint in tox for all the old tag is problem and we
faced the issue of constraint incompatibility due to that and we have to
workaround it all over the devstack, tempest role, grenade to set the
stable constraint via env var.

Further information:
 https://docs.openstack.org/tempest/latest/requirement_upper_constraint_for_tempest.html

Change-Id: I1f8c788327b4a1a7f804cf01f8c22609e6646dd9
2020-09-17 21:01:10 +09:00
zhufl
27f410a2d6 Adding description for testcases - compute part11
When Tempest is used in customer site, often we are required to
provide a testcase list including testcase names and descriptions.
Now no this kind of doc is available, so we can add descriptions
with the format of doc string for every testcase, so later we
can generata such a testcase description list.

There are hundreds of testcases missing descriptions, so we can
add them gradually, and limit the modified files in one patch
for the convenience of reviewing.

Change-Id: I5bf95ca579b731ca4baefb590edb8e265126ce4f
partially-implements: blueprint testcase-description
2020-09-16 07:25:13 +00:00
Zuul
6e81c8b785 Merge "Adding description for testcases - compute part8" 2020-09-14 05:59:16 +00:00
Zuul
4c1cb2ea9a Merge "Use os.path.join as possible" 2020-09-12 14:29:20 +00:00
Zuul
d351843628 Merge "Use the correct attachment id for multiattach." 2020-09-12 11:35:38 +00:00
Zuul
a86b565990 Merge "Fix test_list_flavors for compute microversion 2.55" 2020-09-12 03:58:09 +00:00
Zuul
0ac27dc298 Merge "compute: Wait until server is ACTIVE before deleting during resource_setup" 2020-09-12 03:17:14 +00:00
Paras Babbar
13c7434078 Updating the paramiko version to 2.7.0 or greater
We have recently observed that ssh-keygen by default
create OPENSSH format for keys and paramiko got the
support for decrypting it from paramiko 2.7.0[1]

We have recenlty seen failures in whitebox plugin but
considering this can also be observe in tempest as well
it's good to update the version here too.

[1]: http://www.paramiko.org/changelog.html

Change-Id: I3603bbc9787e99fe864a4ec63d49fea6b90a45a8
2020-09-11 10:21:23 -04:00
Stephen Finucane
39fa9c1631 Add 'xenapi_apis' compute feature flag
Nova is removing the XenAPI virt driver. There are a number of APIs that
only work with this virt driver so those are being removed at the same
time. Once removed, they will return a HTTP 410 response, regardless of
the microversion.

Add a feature flag that allows us to skip these tests on clouds that no
longer provide these APIs. It default to False (skip). We will set this
to True (do no skip) on stable branches of nova.

Change-Id: I0ae3f7a81ca7b56f56871e61bcf196ca572ae6d6
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2020-09-10 11:22:29 +01:00
Zuul
2c306e295d Merge "Adding description for testcases - compute part10" 2020-09-09 16:41:58 +00:00
Zuul
fb66ad5594 Merge "Adding description for testcases - volume part3" 2020-09-09 16:41:56 +00:00
Lee Yarwood
764069ec10 compute: Wait until server is ACTIVE before deleting during resource_setup
Partial-Bug: #1892837
Change-Id: Ie2671f338dd111bb111d1c2956fbaa2eebb142ce
2020-09-09 14:52:39 +01:00
Zuul
65bc35d171 Merge "Use assert_has_calls() correctly." 2020-09-09 11:15:46 +00:00
Zuul
18166f2e49 Merge "Volume backup response schemas are incorrect" 2020-09-09 00:30:14 +00:00
Peter Penchev
5c243a9e4e Use the correct attachment id for multiattach.
A volume attached to multiple servers has multiple attachment structures
that are distinguished by their "attachment_id" field, not the "id" one.
So when setting up a waiter watching for an attachment being removed,
the "attachment_id" field must be passed. Thus, when attaching a volume,
it is necessary to wait until the attachment shows up in the volume's
data and then use the "attachment_id" field of that record to pass to
the waiter invoked at tear-down time.

Change-Id: I9ab9f786b23061dd3a6a3482ab9739ba504d2bc0
Closes-Bug: 1894724
2020-09-09 00:51:43 +03:00
Peter Penchev
dc4ceae3b7 Use assert_has_calls() correctly.
Change-Id: Ib4679be8731501421d09ccfaa45dec7f6fcc79d1
2020-09-09 00:48:25 +03:00
Zuul
0d45dffa8f Merge "Add response schema validation for volume manage" 2020-09-08 17:57:46 +00:00
Zuul
ae5b61c3c4 Merge "Create documentation for tests" 2020-09-08 14:47:50 +00:00
Gayathri Devi Kathiri
a09be7e018 Fix test_allowed_address_pair test case cleanup
Make network cleanup to wait until its
dependent ports are cleaned up

Change-Id: I91f5ced7873755081f94117c6a43bffcb85faab6
Closes-bug: #1894835
2020-09-08 14:33:33 +00:00
Brian Rosmaita
cfddd400ce Volume backup response schemas are incorrect
Change I2ab6ecfeb0c48c7ef4a0fc94e670d43dbc3f6650 added response
schemas for volume backup responses. The schema specifies the 'name'
as type string in the response for create-backup and update-backup,
but the name is not required in the create request and the cinder
backup service does not supply one. This element should be string
or null.

Change-Id: I032e54a2065859d4ebc0969faccf68494fe745bc
Closes-bug: #1894844
2020-09-08 09:25:04 -04:00
Zuul
3d761179c3 Merge "Skip test_qos_min_bw_allocation_basic when not supported" 2020-09-08 03:24:31 +00:00
Zuul
2d336983db Merge "Adding description for testcases - compute part6" 2020-09-07 09:16:33 +00:00
Zuul
accd1e0d0c Merge "Adding description for testcases - compute part9" 2020-09-06 13:22:50 +00:00
Zuul
a6ab1841f3 Merge "Adding description for testcases - volume part5" 2020-09-06 12:31:42 +00:00
Zuul
6b46098b0b Merge "Adding description for testcases - compute part12" 2020-09-06 11:11:03 +00:00
Masayuki Igawa
9e492eee81 Use os.path.join as possible
This commit makes to use os.path.join instead of using the Unix path
character '/'. This change is not mandatory since we don't support
Windows environments as Tempest execution and, it seems Windows supports
'/' as a path separator. However, using both os.path.join and '/' is a
bit awkward.

Change-Id: I117acb281c352179d526808009e761335bb314fc
2020-09-06 09:49:40 +00:00
Zuul
b666f90498 Merge "Adding description for testcases - compute part7" 2020-09-05 22:46:25 +00:00
Zuul
24d9193e02 Merge "Adding description for testcases - swift part3" 2020-09-05 21:05:50 +00:00
Zuul
96b43661cb Merge "Need to have stable implementation of nova_volume_detach() and add missing docstrings" 2020-09-05 18:21:07 +00:00
Zuul
1e2c6f0667 Merge "Adding description for testcases - swift part2" 2020-09-05 12:57:17 +00:00
Zuul
26b662242d Merge "Add response schema validation for volume groups" 2020-09-04 19:30:58 +00:00
Zuul
b579888bdb Merge "Add response schema validation for volume backups" 2020-09-04 19:30:55 +00:00
Zuul
6c63c48146 Merge "Adding description for testcases - volume part4" 2020-09-04 18:23:36 +00:00
Soniya Vyas
ae6311373f Need to have stable implementation of nova_volume_detach()
and add missing docstrings

Earlier implementation of this api just detached the
volume and wait for the volume to be in 'available'
state.
But the scenario manager don't really verify the state
of the volume. Tempest plugins do verify the state.

Implements: blueprint tempest-scenario-manager-stable
Signed-off by: Soniya Vyas<svyas@redhat.com>
Change-Id: I023177c09cf035bbb29941cc5d4bb4cc6c60ed1c
2020-09-04 21:52:11 +05:30
Zuul
36bc05aa32 Merge "Need to have stable tempest scenario manager" 2020-09-04 15:19:44 +00:00
Zuul
ac85727af4 Merge "Do not specify a host for live-migration for non homogeneous nodes" 2020-09-04 00:31:34 +00:00
Zuul
db6f85e5be Merge "remote_client: Use blkid -L to find config drive by filesystem label" 2020-09-04 00:31:31 +00:00
Zuul
bd196b2016 Merge "Use the networking-l2gw project new location" 2020-09-03 22:32:20 +00:00
Soniya Vyas
0c84f3ee2e Need to have stable tempest scenario manager
This patch addresses following facts:
1. common manager methods among plugins should be
   defined in Tempest.
2. methods should be consistent with names and
   parameters.
3. Add docstring about method usage and parameter.

Implements: blueprint tempest-scenario-manager-stable
Signed-off by: Soniya Vyas<svyas@redhat.com>
Change-Id: I191c8861c9ec29b78c9c8ad12ff2ddf3ffbf4db1
2020-09-03 15:49:53 +05:30
zhufl
f18730dad6 Add response schema validation for volume manage
This is to add response schema validation for volume manage.
As gmann pointed out in https://review.opendev.org/#/c/616783/,
the response of volume_manage is same as that of show_volume,
so here we use common_show_volume directly.

Change-Id: I5e26d0cca87c303ebb9a2fe93ad0b13b73eb41a6
partially-implements: blueprint volume-response-schema-validation
2020-09-03 16:47:36 +08:00