13840 Commits

Author SHA1 Message Date
Zuul
12707f5633 Merge "Make _get_network_by_name() non-private" 2021-03-02 16:12:32 +00:00
Zuul
ed0a1bbbb0 Merge "Make _create_network() non-private" 2021-02-26 00:26:46 +00:00
Zuul
35bc9bef6a Merge "[part1] Remove six" 2021-02-25 17:09:59 +00:00
Zuul
85e618faf3 Merge "test_live_migration: Rename test_iscsi_volume" 2021-02-25 09:16:38 +00:00
Zuul
a1d2c90ef8 Merge "add unitest for api of resource providers inventories" 2021-02-25 09:16:11 +00:00
Zuul
419d48fe3a Merge "Add wait_for_resource_deletion for swift api clients" 2021-02-25 09:15:51 +00:00
Soniya Vyas
c37410fc14 Make _get_network_by_name() non-private
_get_network_by_name() is made public by this commit as
the tempest.scenario.manager interface is meant to be
consumed by tempest plugins.

Implements: blueprint tempest-scenario-manager-stable
Signed-off by: Soniya Vyas<svyas@redhat.com>

Change-Id: Ia102acea773bd80d933a7e0a19b447f91134f81f
2021-02-25 12:53:35 +05:30
likui
19b70a3858 [part1] Remove six
Replace the following items with Python 3 style code

Remove six in follows:
   - six.text_type

Change-Id: I68d46733dd4dcef7a37e940ccbba5a66bfce2b5b
2021-02-24 12:45:22 +00:00
Zuul
044f9c8be5 Merge "Remove usage of six" 2021-02-24 12:41:04 +00:00
Zuul
8791b6e969 Merge "Remove usage of six" 2021-02-24 05:23:17 +00:00
Zuul
7ee3ccf9f1 Merge "Remove deprecated config options for volume API selection" 2021-02-23 22:42:23 +00:00
Zuul
9e93647c21 Merge "Add option to support volume_type in volume creation" 2021-02-23 22:41:59 +00:00
Zuul
e5a3300e25 Merge "Make _cleanup_volume_type non-private" 2021-02-23 19:36:24 +00:00
songwenping
4c3bf8f800 Remove usage of six
Remove six-library Replace the following items with Python 3 style code.
- six.add_metaclass

Change-Id: I7da3e8898e00bc07f6e462cbc9765ce7c199faa2
2021-02-23 00:38:55 +00:00
Soniya Vyas
3bdafd8979 Make _create_network() non-private
_create_network() is made public by this commit as
the tempest.scenario.manager interface is meant to be
consumed by tempest plugins.

Implements: blueprint tempest-scenario-manager-stable
Signed-off by: Soniya Vyas<svyas@redhat.com>

Change-Id: I3f6b8e274f9b57ae8d1389a188636660854971e3
2021-02-22 18:59:27 +05:30
songwenping
8c3dac1abc Remove usage of six
Remove six-library Replace the following items with Python 3 style code.
- six.BytesIO

Change-Id: Ia28a498fedb2b19e4b0fd84b08cce373afe568a5
2021-02-22 09:12:42 +08:00
Zuul
76f63460b3 Merge "Allow use custom uppper constraints in stable/stein" 2021-02-21 03:52:13 +00:00
Zuul
6a403bc4de Merge "Remove usage of six" 2021-02-21 00:57:57 +00:00
Zuul
2dd2879a2b Merge "Add log for all assigned roles for dynamic cred users" 2021-02-20 02:28:13 +00:00
songwenping
0fa2069510 Remove usage of six
Remove six-library Replace the following items with Python 3 style code.
- six.StringIO

Change-Id: Ia8a28940edc9ca1b26ca0ef5112a44fe5fc6258d
2021-02-20 00:44:49 +00:00
Zuul
8ff9746a30 Merge "Drop base grenade job for nova" 2021-02-19 22:14:33 +00:00
Zuul
982d364caa Merge "Remove usage of six" 2021-02-19 20:02:01 +00:00
Zuul
34743b278c Merge "Add release note and fix some TODO from system scope support" 2021-02-19 03:56:36 +00:00
Ghanshyam Mann
f97c5cc1e6 Add log for all assigned roles for dynamic cred users
This will help to know what all roles are
assigned to the dynamic cred user.

Change-Id: I052255db0b76cd68e707869ede523d45e3266ee3
2021-02-18 16:50:26 +00:00
songwenping
99d6e00982 Remove usage of six
Remove six-library Replace the following items with Python 3 style code.
- six.moves

Change-Id: Ied212eb0947c7441cc51193399185b4fb0f87271
2021-02-18 10:43:57 +08:00
Zuul
1ae5f72750 Merge "Enable swift in tempest-full-py3" 2021-02-17 15:42:45 +00:00
Soniya Vyas
fd4dcf98cc Make _cleanup_volume_type non-private
_cleanup_volume_type is made public by this commit as
the tempest.scenario.manager interface is meant to be
consumed by tempest plugins.

Implements: blueprint tempest-scenario-manager-stable
Signed-off by: Soniya Vyas<svyas@redhat.com>

Change-Id: Ia2116e9d1738276ae1edf566e6f5b9760d416ab9
2021-02-17 18:12:43 +05:30
Zuul
042eed72d2 Merge "Enable devstack parallel installation in tempest-full-parallel job" 2021-02-17 04:55:21 +00:00
Zuul
f154c05cee Merge "Make create_user domain-aware for V3CredsClient" 2021-02-16 21:37:52 +00:00
Zuul
b8a871abff Merge "Test glance reserved properties" 2021-02-16 21:37:27 +00:00
Ansuman Bebarta
46d540d33e Add option to support volume_type in volume creation
The volume creation uses default volume type from the backend. In
case of multiple backend, at the moment there is no option to test
volume test cases with volume type which is not default volume type.

Add a new config volume_type in tempest.conf.
Change the code to create volumes with volume_type mentioned in
the config.
Make sure when volume_type is not specified then volume will be
created with default volume type.

Change-Id: I1b4601e2ce6c83ec727b6dea65c67cacbfcfe957
2021-02-16 18:56:12 +05:30
Zuul
d141295f3e Merge "Optimize the check pipeline runtime" 2021-02-16 11:37:33 +00:00
Zuul
9b6f441fdc Merge "Fix run-tempest black/exclude var setting" 2021-02-12 22:53:59 +00:00
Zuul
0ce5bce43b Merge "change ipv6 public network cidr on tempest-slow job" 2021-02-12 16:52:44 +00:00
Zuul
b222657a2a Merge "Modify the port fake data according to api reference" 2021-02-12 16:04:34 +00:00
Zuul
36df5da74c Merge "Allow kwargs in create_volume_snapshot" 2021-02-12 03:45:30 +00:00
Hemanth Nakkina
f4bd554b91 change ipv6 public network cidr on tempest-slow job
Neutron recently enhanced CIDR overlap checks for all the subnets
attached to router including external [1]. This breaks tempest
scenario ipv6 tests which is fixed in tempest by the following
commit [2]. However the fix mentioned in [2] cannot be ported
back to tempest 23.0.0 as rocky is in EM stage.

To fix this, the public IPv6 network CIDR is changed to use
different subnet on the tempest-slow job.

Closes-Bug: #1914037

[1] https://review.opendev.org/q/Id5d8ac09a38c656619f88a6f87b8f384fe4c55a8
[2] 4ad346e649

Change-Id: I62a746cc871434e8488b19bc2ef5bbcfcf4f0be6
2021-02-12 01:55:16 +00:00
Ghanshyam Mann
0ead753495 Enable swift in tempest-full-py3
swift was disabled in tempest-full-py3 as
it was not ready on python3. But since ussuri
or train swift run fine on py3 and we have
tempest storage integrated py3 job also running on
swift gate.

This commit enable swift for ussuri onwards.

Change-Id: I63159e5e8c0c8b6751ea481577b4c4637a7f25b5
2021-02-12 00:51:28 +00:00
Zuul
d44fcfed79 Merge "add unittest for trust client operation interface in identity part" 2021-02-11 22:46:39 +00:00
Zuul
42353c5d4d Merge "Implemetation of tempest client for keystone v3 OS_FEDERATION API" 2021-02-11 22:46:18 +00:00
Zuul
3093adda0e Merge "Disable file injection tests until bug/1882421" 2021-02-11 22:32:53 +00:00
Martin Kopec
a17cca4e76 Allow kwargs in create_volume_snapshot
As a part of the scenario/manager.py stabilization tracked by
the below BP the patch adds kwargs argument for create_volume_snapshot
method so that the consumers are able to pass additional parameters
if needed.

Implements: blueprint tempest-scenario-manager-stable
Change-Id: Ib58a6125b34adb932e1f282ebab6a79a6906dd73
2021-02-11 20:49:43 +00:00
Martin Kopec
8a8c85ddfc Fix run-tempest black/exclude var setting
Before [1] we didn't have conditionals for tempest_black_regex
being set or not, therefore it had a default value of empty
string set in the role's defaults. However after [1] we do
have such conditionals which make setting the default value
unnecessary - especially when we're asking if the var is
defined - it will be always defined.
Therefore this patch removes the default setting of
tempest_black_regex and tempest_exclude_regex.

The patch also removes 'Set tempest_exclude_regex' task
introduced by [1] as it appears unnecessary as well. This
task simply copied tempest_black_regex value to
tempest_exclude_regex. However there are 2 tasks below which
do the same logic plus more - they build CLI arguments for
tempest where depending on which ansible var is used the
appropriate CLI arg is chosen - tempest_black_regex is set,
--black-regex will be passed to tempest (for backward
compatibility) and if tempest_exclude_regex is set,
--exclude-regex will passed to tempest.

The patch creates a new temporary ansible var which will be used
only internally. The role will store in it the CLI argument
chosen dynamically which is passed to tempest later. Before we
reused the tempest_exclude_regex variable for that, however that
causes problems whent the var is set on a role level as set_fact
won't override such var.

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

Change-Id: I3e45741057e7a95b282b03bab4695f46c62d5271
2021-02-11 17:18:25 +00:00
wanglbj
1a727de104 Modify the port fake data according to api reference
Modify the fake data according to api reference
https://docs.openstack.org/api-ref/network/v2/index.html?expanded=create-port-detail#ports

Change-Id: Icd385c6bf0aeca836659d06e5b28375b21b7f796
2021-02-11 10:12:02 +00:00
wanglbj
35eaed9865 add unittest for trust client operation interface in identity part
add unittest for trust client operation interface in identity part

Change-Id: I01635a4f492adc0f7d14747c1037a05fa7f22fd3
2021-02-11 10:00:37 +00:00
Zuul
bf5a9eef5c Merge "Fix race condition for image test" 2021-02-11 02:21:43 +00:00
Zuul
76a9af2e26 Merge "Refactor skip_because decorator" 2021-02-11 02:07:55 +00:00
Ghanshyam Mann
daf445a64c Optimize the check pipeline runtime
devstack-tempest and devstack-tempest-ipv6 jobs
are base jobs and other Tempest job like tempest-full-py3
or Tempest-ipv6-only are derived from those base job so running
tempest jobs are enough.

We do not need to run base jobs as such.

Change-Id: I2526b3bd5dc0d9a46ed15cefd941a3bbd55e6a49
2021-02-10 17:17:03 -06:00
Ghanshyam Mann
05bc7f17b4 Enable devstack parallel installation in tempest-full-parallel job
Devstack depends-on patch enable the way to install the things
in parallel, let's try it in tempest-full-parallel job which
run all the scenario tests in parallel with API tests.

This can help to check the stability of devstack parallel logic
as well as to see how much improvement it add in runtime. If
tempest-full-parallel job run faster then it will be
bigger step to run back the scneario tests in parallel.

Depends-On: https://review.opendev.org/c/openstack/devstack/+/771505
Change-Id: I1da50a89fb7617364249b04efcf207e7728f7de7
2021-02-10 12:14:51 -06:00
Zuul
83912f7a6c Merge "Fix --exlude typo in tox.ini" 2021-02-10 17:17:32 +00:00