90 Commits

Author SHA1 Message Date
Jenkins
794c2a1738 Merge "Add functional tests for snapshots" 2016-02-05 22:50:01 +00:00
TerryHowe
514a168656 Add recursive object delete for containers
Change-Id: Ib291e79864c218464e842a08efd3742193ba5ff0
2016-02-05 11:18:46 -07:00
TerryHowe
e108719f77 Add functional tests for snapshots
Change-Id: I863583d6c8263d144d45a0443fc6af04301d23e7
2016-02-05 07:02:29 -07:00
Richard Theis
bca1a930f4 Revert "Skip identity v2 functional tests"
This reverts commit 5032dbc8074d5133c6b71610cd57d3c8da07c9b9 based on [1].

[1] https://review.openstack.org/#/c/274703/

Change-Id: Ic10ef7c37d71e452fbc4bd36e28be79d669b4e3f
2016-02-01 20:56:43 +00:00
Richard Theis
5032dbc807 Skip identity v2 functional tests
DevStack now uses identity v3 by default thus causing OSC to
only load openstack.identity.v3 commands. This prevents running
functional tests on openstack.identity.v2 commands. As a result,
this patch set skips all identity v2 functional tests to unblock
the gate.

Change-Id: I066187318be71792a966fa21226fab0d406c3758
Partial-Bug: #1539780
2016-01-29 15:45:07 -06:00
Richard Theis
1db40e8563 Add router functional tests
Add functional tests for the "os router" commands.

Change-Id: I99045e6e2f548ac4206afcdb61940180e609a6bc
Partial-bug: #1519503
Partially-implements: blueprint neutron-client
2016-01-25 10:28:59 -06:00
Richard Theis
84174440fc Refactor "os availability zone list"
Refactor the "os availability zone list" command to make it a common
command instead of a compute-only command. Since availability zones
are common to compute, volume and network (new), this refactoring
allows availability zone support to be added for volume and network.

In addition to the refactor, unit and functional tests were added.

Change-Id: I63e9d41d229b21cd38e5a083493042c096d65e05
Partial-Bug: #1532945
2016-01-14 11:43:31 -06:00
Jenkins
774201b696 Merge "Implementation for project unset cmd for python-openstackclient." 2016-01-04 19:09:31 +00:00
Jude Job
a2a63f19bf Implementation for project unset cmd for python-openstackclient.
This patch introduces a unit test class TestProjectUnset
for testing unset cmd.

Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com>
Change-Id: Ib4a414d2313e3d37e48d1cb3639f064231aec508
Closes-Bug: #1486597
2016-01-04 10:25:55 -05:00
Richard Theis
7a1a59e5bb Functional tests for security group rule
Add functional tests for the "security group rule" commands.

Change-Id: Ia03886e92632f37a3d2625df1c3fa7c2a536c564
Partial-Bug: #1519512
Related-to: blueprint neutron-client
2015-12-23 15:15:06 -06:00
Tang Chen
2a2cb4f75d Migrate "network show" command to use SDK.
This patch makes "network show" command use sdk.

Since we have to keep the other commands runnable with
the old network client, we use a temporary method to
create sdk network client. And as a result, the tests
need to patch a method to fake the temporary method,
which will be removed at last.

There are two same test cases in the unit tests. This
patch will remove one.

And since the output has changed, we also need to fix
function test cases.

Change-Id: I4c06b4efad2db430767bbaa882b0876df3ab483a
Implements: blueprint neutron-client
Co-Authored-By: Terry Howe <terrylhowe@gmail.com>
Co-Authored-By: Tang Chen <tangchen@cn.fujitsu.com>
2015-12-09 09:30:13 +08:00
TerryHowe
3dc97c0d3f Add functional tests for network crud
Change-Id: If965a7389ffa5b7ad44f53eebc2e8b918c6d2ace
2015-11-24 15:29:59 -07:00
Jenkins
4c7bbdae28 Merge "Have configuration tests support OCC" 2015-11-21 01:17:57 +00:00
TerryHowe
c0cc538077 Have configuration tests support OCC
Change-Id: Ia8b0e5672e2e6cf6a37582bf231385aafda8836d
2015-11-20 10:57:36 -06:00
Steve Martinelli
539c39bfaf remove url from v3 regions
the parameter "url" was removed from Keystone, it was only added
for one release as part of an experimental support for adding
service providers.

BackwardsIncompatibleImpact
Closes-Bug: 1506841

Change-Id: I7a62fbf1d9bfa8e6dd8d619e98c32b9860348d2e
2015-10-21 13:21:20 +00:00
Jenkins
155e8c6f1e Merge "Fix functional tests for Python 3.4" 2015-10-14 18:26:17 +00:00
Sirushti Murugesan
b12d850222 Fix functional tests for Python 3.4
* shlex.split() expects a string. Not bytes.
* decode the bytestring result of subprocess's communicate()
  to a string.

Change-Id: I209f67a91dc609b1e30cb9e683d3d6ee63d00069
2015-10-12 17:23:06 +05:30
Jenkins
9f23f1f13f Merge "image set should not show the resource" 2015-10-08 20:38:05 +00:00
Steve Martinelli
bd14d07809 unwedge the gate
devstack defaults to v3 and makes some janky assumptions in
the generated rc files

Change-Id: I4b0b3eb6ab2aa9be2ac4c2404b2f9655e3ed564e
2015-10-08 03:09:43 -04:00
Steve Martinelli
2bd82ab892 image set should not show the resource
the rest of OSC set commands do not show the resource after it has
been updated. unless the update fails then we report back a failure,
otherwise the user should assume everything went fine.

Change-Id: I2bd4188450c3853b4a1bc25f80fc9450cda32bdd
2015-10-06 20:14:54 +00:00
Steve Martinelli
817ab3ec0e set image api to 1 for functional tests
devstack now defaults to image api v2, but osc does not support
v2 image create. set the functional tests to use v1 for now
to unwedge the gate.

Closes-Bug: #1496337
Change-Id: Ia02ed761446b8de52c932a424b9c423691ebcceb
2015-09-16 19:33:34 +00:00
TerryHowe
48f7f0f1bc Automate flavors, networks, and image get
Functional tests rely on some sort of configuration and
rather than configure something right now, how about it
pulls something from the middle of the available list.

Change-Id: I8147e40e5ee7393d8a8dcf1b0beb48856f28af7e
2015-08-22 17:32:54 +00:00
Jenkins
3751dbf127 Merge "additional functional tests for identity providers" 2015-08-22 04:40:13 +00:00
Steve Martinelli
59d12a63b4 unwedge the osc gate
keystone added a new property to projects, called is_domain.
our functional tests fail because we are not expecting that in
the project's 'show' command.

Change-Id: Idf05118155847e3a6002818c44b99825801ea9f4
Related-Bug: #1487600
2015-08-21 15:33:48 -05:00
Kelvin Lui
8fb19bc2a9 additional functional tests for identity providers
add tests for:

  * delete
  * set
  * list
  * show 

Change-Id: Ibe34f28d7ae77d139a6e0edf4fe04215c371c9a8
2015-08-21 16:07:58 +00:00
Steve Martinelli
d0cb0d1192 Skip functional test: test_server_up
seems like test_server_up is causing intermittent issues in our
CI, skipping for now, so we can proceed with merging code.

Change-Id: Id41a78e703d7b416dfdc9a7bc95b19a8999192e3
Related-Bug: 1483422
2015-08-10 15:09:10 -07:00
Robert Francis
4850728b99 Add functional test for volume type create --property
Combine test_volume_set_one_propety and
test_volume_type_set_unset_properties.

Change-Id: Ia8862a59161f6a15880b87ea305fb5bb15c31300
2015-08-05 07:25:06 -04:00
Jenkins
7e9c1946f2 Merge "Added a new function test for volume type set" 2015-08-03 21:46:09 +00:00
Jenkins
2039011097 Merge "Introduce functional test for Identity Provider" 2015-08-03 20:39:15 +00:00
JP Parkin
d52ecfc058 Added a new function test for volume type set
This is a new test to validate the setting of one property
for an existing volume type

Change-Id: Ia9a7d86ce9b0d8df9d64ddc1df2d443843bba5ef
2015-08-03 14:55:32 -04:00
Jenkins
20d32dd362 Merge "Removed unnecessary assignment of function result Joined lines together" 2015-08-01 06:11:23 +00:00
Kelvin Lui
cd98e063eb Introduce functional test for Identity Provider
Identity Provider currently doesn't have test coverage.

Change-Id: Iea2e705f9d2303f58516f08a7526135988032025
2015-08-01 01:38:20 -04:00
Joe Wigglesworth
cfb99cb9b1 Removed unnecessary assignment of function result
Joined lines together

Change-Id: Iffe19c309369301137cfd52c8ea1aa988ce39f7e
2015-07-31 11:02:33 -04:00
Jenkins
bd022cb58c Merge "Added test for volume type show" 2015-07-31 08:57:30 +00:00
Jenkins
6787017bdc Merge "Set OS_VOLUME_API_VERSION before running functional tests" 2015-07-30 21:14:39 +00:00
Jenkins
3a6cb49200 Merge "New test for configuration show --mask" 2015-07-30 20:39:04 +00:00
Jenkins
811ed669ad Merge "add new test for configuration show unmask" 2015-07-30 20:30:57 +00:00
Yunpeng Li
235cd227bd New test for configuration show --mask
Change-Id: I56bb110d25b9f05cb1a706ecc5bbf5b6b154b240
2015-07-30 12:26:38 -07:00
Jenkins
f03eca3f05 Merge "New test for configuration show" 2015-07-30 19:16:00 +00:00
John Keenleyside
4ebeb25b23 add new test for configuration show unmask
Change-Id: Ib85bfa627f4ddee9e017f148c86a6d7d640bfba4
2015-07-30 15:07:48 -04:00
Steve Martinelli
acb1c94750 Set OS_VOLUME_API_VERSION before running functional tests
For v1 functional tests, set the env. var.

Change-Id: I6c554932bdb8f99438d4f2ae855eb16c5bb3a357
2015-07-30 11:28:31 -07:00
Kenneth Chu
d7d2b92cff Added test for volume type show
Change-Id: I05bbbdd8389f57d567b02391cbbc52448a9a2e7a
2015-07-30 13:39:43 -04:00
Radu Mateescu
149ce52614 Add functional tests for volume type list
add tests for `os volume type list`

Change-Id: Icd874b9cfac9376cc410041806fac64f1ff0c59d
2015-07-29 20:15:00 +00:00
Manuel Silveyra
4b86324ee2 New test for configuration show
Creates a new common file for configuration tests.

Change-Id: Id4c26759dfec5d508b762d0b54386f258a362971
2015-07-29 13:03:12 -07:00
TerryHowe
ea103cab1d Add functional tests server reboot
Change-Id: I1699ac826519ccc177159423c7b6727ffaf4abff
2015-07-18 15:08:46 +00:00
TerryHowe
a9f85736ef Add functional tests server IP attach and detach
Change-Id: Id87a5474e2df80c9ef84a6c554f12116302a38b3
2015-07-18 09:08:26 -06:00
TerryHowe
d79900a075 Add functional tests for servers that require wait
Change-Id: I4c85b1e303ecb99458594e7743950b0668b3bdfc
2015-07-18 12:22:45 +00:00
Jenkins
fcadb16470 Merge "Add functional tests for volume qos" 2015-07-18 12:19:04 +00:00
Jenkins
154f4ed347 Merge "enhance tests for user v3" 2015-07-18 00:55:06 +00:00
Jenkins
7f5bcb5a5b Merge "add functional tests for identity v2" 2015-07-17 23:30:30 +00:00