10870 Commits

Author SHA1 Message Date
Jenkins
36eade9256 Merge "Remove unused _delete_router()" 2017-05-04 16:59:39 +00:00
Jakub Libosvar
7835ca1771 Fix deprecation warnings
Those warnings produce wrong removal version message. Queens is the one
after Pike.

Change-Id: I2245722899521cbecc17d1b9ca05d221cce9d5c5
2017-05-04 16:44:23 +02:00
jeremy.zhang
ef5d4e9043 Fix for implied roles test
API check_role_inference_rule in roles_client only tested in
test_roles_client.py, but there is not api test for it. Also,
API show_role_inference_rule is called in api tests, but the
content of show_role_inference_rule has never been checked.
This patch is to provide tests for these two APIs.

Change-Id: I0b388e8f0149f5e721c920610d66057a1612cccd
2017-05-04 22:16:45 +08:00
zhufl
5380bdb9e6 Move logging extensions list before assert checks
This is to move logging extensions list before assert checks,
so if the testcase failes we can see the log info.

Change-Id: Ia7d2d207440da5355d2505b861c11f707ee7efe5
2017-05-04 14:58:09 +08:00
Ken'ichi Ohmichi
632221b857 Remove unused _delete_router()
Since I95dafb51236b16474ec2d349334bb4339b0120ba the method has not
been used at all. Let's remove the method.

Change-Id: I945f5a1060b94a1d4f82fca3db629866076efa53
2017-05-03 10:28:58 -07:00
Jenkins
29bcfd9c49 Merge "Move network admin test classes under admin path" 2017-05-03 16:11:26 +00:00
zhufl
16dd62c340 Merge test_list_get_two_volume_attachments
test_list_get_two_volume_attachments can be merged with
test_list_get_volume_attachments, thus we can save one
create_server and one create_volume.

test_list_get_two_volume_attachments is not used in defcore
so can be removed safely.

Besides, the comment about Liberty can be removed now because
Tempest doesn't support Liberty any longer.

Change-Id: I379b7b64cc563bfcd5a064b686bfa96024af3344
2017-05-03 17:13:13 +08:00
Jenkins
6d95417bed Merge "Revert "cinder backup force-delete when backup is error"" 2017-05-03 03:39:41 +00:00
zhufl
5db146f526 Correct skip condition for migrate_server
CONF.compute_feature_enabled.cold_migration should be checked
for migrate_server, this is to use the right skip condition
for migrate_server.

Change-Id: Iab825968861a867c788930f3ce27c62cd2323d3c
2017-05-03 02:09:08 +00:00
Matthew Treinish
909891d613
Remove the heat tests
This commit removes the heat tests from tempest, we've been pushing for
these to become a plugin for a long time without any progress. In
addition the heat team has no desire to maintain these tests. [1] Since
they're not providing value anymore let's just delete them. Note, the
clients are not removed in this patch because other projects depend on
those and we shouldn't break those users. Ideally those interfaces
should be moved to lib and just left there.

[1] http://lists.openstack.org/pipermail/openstack-dev/2017-May/116170.html

Depends-On: I983de842f1bf84a939cbcda6c65185c694a69949
Change-Id: Ifc2cac575919da4e361eaa3234d7e0f3e2f98d21
2017-05-02 14:14:24 -04:00
Jenkins
ee1108b15a Merge "Use min_count to create servers in ListServersNegativeTestJSON" 2017-05-02 14:52:00 +00:00
Jenkins
c02976768d Merge "Create a server in resource_setup in ImagesOneServerTestJSON" 2017-05-02 14:34:20 +00:00
Jenkins
3277c361cf Merge "Add test case for showing host details" 2017-05-02 14:32:34 +00:00
Ghanshyam Mann
b0d15bfefb Revert "cinder backup force-delete when backup is error"
force-delete feature is backend specific and not implemented by ceph.
It return 405 in case of ceph.
http://logs.openstack.org/01/458201/2/check/gate-tempest-dsvm-full-ceph-plugin-src-glance_store-ubuntu-xenial/d058f29/logs/testr_results.html.gz

Currently it block the glance_store gate where ceph job is voting.
Let's revert this for now and discuss such backend specific feature
should be tested on Tempest side or not.

This reverts commit 31169e21d6f00fb65b8e7bd104860a82a631b69d.

Related-Bug: #1687538
Change-Id: I81c0911812945f8ada7c09fe98690aabacb0eda1
2017-05-02 05:05:38 +00:00
Ken'ichi Ohmichi
321fbbcd52 Move network admin test classes under admin path
The moved test classes inherit from an admin test class, and it
would be nice to exist under admin path like the other test classes.

NOTE: These test classes are not used from the other projects which
      include Defcore. It is not necessary to take care of this move.

Change-Id: Ie1ba523dbe1ea88ce27a16d9975192d5ce752075
2017-05-01 17:09:07 -07:00
Felipe Monteiro
59fdd2a210 Fix recent releasenotes typo
The word "Switch" is misspelled as "Swich" in one of the
releasenotes. This patch corrects the typo.

Change-Id: I8202f5fb47c83a6691765e0c1974c3dca3b6e80e
2017-04-30 20:06:40 +01:00
zhufl
2ae8a9ea03 Use min_count to create servers in ListServersNegativeTestJSON
This is to use min_count=3 to create 3 servers, and then delete
one of the created servers, so to reduce the time of waiting for
one server to be active.

Besides, there is only one deleted server so needn't use a list,
thus the code can be more simple.

Change-Id: I1daabb64147bb9e0025ae7d7a0913254c966704f
2017-04-28 14:29:23 +08:00
zhufl
4c79608c83 Create a server in resource_setup in ImagesOneServerTestJSON
Generally speaking resources are better not to be shared between
testcases, but testcases in ImagesOneServerTestJSON can share
one server because they have almost no effect on the server,
thus we can reduce the time of creating one server.

Change-Id: I16a786ad874bd7d85c0a517a6f7d7c16655a6234
2017-04-28 12:16:17 +08:00
Jenkins
192e64e66b Merge "Support testing nova-novncproxy on SSL" 2017-04-27 18:58:25 +00:00
Jenkins
e73d974df9 Merge "Add test for cinder volume extend when volume has snapshot" 2017-04-27 10:53:51 +00:00
OpenStack Proposal Bot
bd36c536fe Updated from global requirements
Change-Id: I99840204b12ec86a3abafcd64c9fd8ef98e7d7fe
2017-04-26 19:40:01 +00:00
Jenkins
3f0163a931 Merge "Create a snapshot from a in-use volume with force=False" 2017-04-26 19:05:23 +00:00
jeremy.zhang
dcf6b564bc Remove redundant api client in volume tests
In class method 'setup_clients' of volume tests, it defined api client
'admin_volume_types_client' for twice. This patch is to remove the
redundant one.

Change-Id: Ia91bc8829f2692ab57bc5e2b4d069eff0c94da64
2017-04-26 22:45:56 +08:00
Jenkins
5fc2548eae Merge "test.py: stop using aliases for creds manager" 2017-04-26 14:37:11 +00:00
jeremy.zhang
44c2e0f24a Add test case for showing host details
Tempest has provided test for listing volume hosts, but lacks test
for showing details of a volume host. This patch adds the support.

Including:
[1] Add show host API to volume v2 hosts_client library
[2] Add release note
[3] Add test case for showing volume host details
[4] Add unit tests for hosts_client API
[5] Fix for test_list_hosts

Change-Id: I72e91bb86fbc65083aceb59a59b0a375904c7678
2017-04-26 20:52:34 +08:00
Jenkins
93f2f81e58 Merge "[Negative] Create a volume from deactivated image" 2017-04-26 12:25:26 +00:00
Jenkins
47351cb5ef Merge "Identity V3: create_domain() must return a description field" 2017-04-26 11:45:12 +00:00
Jenkins
db4a97af41 Merge "Fix bugs about 'default' domain." 2017-04-26 10:27:30 +00:00
lianghao
6c0119947e Create a snapshot from a in-use volume with force=False
In order to test the interface of "force=False",
and distinguish with "force=True".
If the interface is "force=True",
we can create a snapshot from a in-use volume successfully.

Change-Id: I7a2002b274c8ccefc4e398c1ef362ebd7cdb1395
2017-04-26 18:01:10 +08:00
Jenkins
753966f254 Merge "Skip when force_tenant_isolation=true and no admin credentials" 2017-04-26 09:43:58 +00:00
Jordan Pittier
8160d31e58 test.py: stop using aliases for creds manager
It could be confusing to new comers that the variables
cls.os and cls.os_primary or cls.alt_manager and cls.os_alt
actually are aliases. Besides we are not consistent in their usage.

This patch normalizes the usage around os_admin, os_primary and
os_alt. We keep the old aliases for compatibility but we should not
use them anymore.

This fix a long standing TODO item.

Change-Id: I5f7164f7a7ec5d4380ca22885000caa0183a0bf7
2017-04-26 10:34:56 +02:00
Jenkins
5ee0941501 Merge "Update .mailmap" 2017-04-26 07:13:02 +00:00
Jenkins
a55be93c28 Merge "Remove skip condition when resize is enable" 2017-04-26 07:12:39 +00:00
Jenkins
5e6e5dd8e6 Merge "Move compute admin test classes under admin path" 2017-04-26 07:11:09 +00:00
Jenkins
2e5fbf5ec4 Merge "Update 'test_volume_upload' test docstring" 2017-04-25 19:39:44 +00:00
Jenkins
cc8acb711c Merge "Log output of lsblk cmd if test_device_tagging failed" 2017-04-25 19:14:04 +00:00
Jenkins
de5790513d Merge "Enhancement of tempest cleanup documentation" 2017-04-25 19:13:56 +00:00
Ken'ichi Ohmichi
3cf1627b66 Move compute admin test classes under admin path
The moved test classes inherit from an admin test class, and it
would be nice to exist under admin path like the other test classes.

NOTE: These test classes are not used from the other projects which
      include Defcore. It is not necessary to take care of this move.

Change-Id: I28b1acbb5b139614bd4f6a272410a4e4f1f989f7
2017-04-25 12:10:04 -07:00
Jenkins
f84537bfc8 Merge "Add test cases for volume quota class" 2017-04-25 15:57:15 +00:00
Jenkins
924db3a73c Merge "Remove deprecated TYPE in rest_client" 2017-04-25 15:49:52 +00:00
Jenkins
1e94b918aa Merge "Add python3-dev(el) to bindep.txt" 2017-04-25 15:31:33 +00:00
Jordan Pittier
d5262400d9 Log output of lsblk cmd if test_device_tagging failed
test_device_tagging has been failing twice in the last 48h with
the following error: "mount: mounting /dev/sr0 on /mnt failed: Device or
resource busy".

Add the result of the lsblk command to see whether /dev/sr0 exists
and /mnt is not already mounted.

Change-Id: I7067b87cad79f98cdf6eff83809d96dd0ac3ed2f
2017-04-25 17:28:31 +02:00
Jenkins
5b1d1f82a1 Merge "Nova: test live migration with serial console" 2017-04-25 15:14:14 +00:00
Jenkins
dc10b934c0 Merge "Keystone v3 extension os-ep-filter api testcases" 2017-04-25 14:50:48 +00:00
Jenkins
61218715a6 Merge "Add test case for force detach volume" 2017-04-25 14:45:40 +00:00
Jordan Pittier
1189dd15c6 Add test for cinder volume extend when volume has snapshot
It should be possible to extend a Cinder volume even if it has one
or several snapshots. There was once a regression here (see #1470558)

Change-Id: I1b50795e9bb2c66554cade8f623ff2059029ab88
Related-Bug: #1470558
2017-04-25 14:14:14 +00:00
lkuchlan
153df1561e Update 'test_volume_upload' test docstring
'image_client' was renamed to 'images_client'

Change-Id: Ia190702c1b8144e936cd528827193b3516f72623
2017-04-25 16:43:47 +03:00
Jenkins
06d81fde85 Merge "Use cliff.lister for tempest workspace command" 2017-04-25 13:02:46 +00:00
Jenkins
7bc5aa516a Merge "Use base.create_domain to create domain in testcases" 2017-04-25 10:19:55 +00:00
gongxiao
5092b81a5e Fix bugs about 'default' domain.
When default_domain_id configured is not 'default', it will
throw erros.
So use CONF.identity.default_domain_id instead of 'default'.

Change-Id: Idca1a4c70242ed8f72b01b9e5de7a3de47627a76
Closes-Bug: 1682984
2017-04-25 18:17:53 +08:00