summaryrefslogtreecommitdiff
path: root/functional/tests/compute
Commit message (Collapse)AuthorAgeFilesLines
* Transfer "ip floating CRUD" to "floating ip CRUD"Tang Chen2016-07-201-5/+6
| | | | | | | | | | | | This patch does the following things to transfer "ip floating xxx" to "floating ip xxx": * Add new command "floating ip create/delete/list/show", and doc. * Deprecate "ip floating create/delete/list/show" command. Change-Id: Ib071acaac81988431244e858bddafa7f93403df5 Implements: blueprint rework-ip-commands Closes-bug: 1555990 Co-Authored-By: Dean Troyer <dtroyer@gmail.com>
* Merge "Modify compute agent set command"Jenkins2016-07-141-4/+5
|\
| * Modify compute agent set commandsunyajing2016-07-111-4/+5
| | | | | | | | | | | | | | | | | | | | Migrate ``compute agent set`` arguments: version, url, md5hash to be optional. BackwardsIncompatibleImpact Change-Id: I092b7ed24274bafa548f0537c4586504be3a2825 Co-Authored-By: Huanxuan Ao <huanxuan.ao@easystack.cn>
* | Deduplicate get_opts methodsKyrylo Romanenko2016-07-055-21/+21
| | | | | | | | | | | | | | | | One get_opts method can work instead of get_list_opts and get_show_opts both. Remove mutable default value. Change-Id: I9c5683d416f0f3ed4989abab6f152b0341e30a4f
* | Add "--property" option to "flavor create" commandHuanxuan Ao2016-06-291-5/+9
|/ | | | | | | | Add "--property" option to "flavor create" command to support adding properties to a new falvor. Change-Id: I4f06b364375d5a81584fe41122d48e9568fa712a Closes-Bug: #1596798
* Fix several flake8 code style issues in compute tests.Kyrylo Romanenko2016-06-244-12/+12
| | | | | | | | Fix issues: H402 one line docstring needs punctuation, W503 line break before binary operator. Change-Id: Ie93430898403f137e7b647a97a28b0d7a4ebb463
* Improve server functional testsRichard Theis2016-06-231-10/+18
| | | | | | | | | | | | Patch set [1] fixed timing issues related to the server functional tests. As part of the review, additional enhancements were suggested. This patch set provides those enhancements. In particular, the functional tests will now check for the cirros256 flavor and the cirros-*-uec image. [1] https://review.openstack.org/#/c/313870/ Change-Id: I7fe18e26b3d09db92bbe669ffafcd16618cae383
* Add functional test for "aggregate unset" commandHuanxuan Ao2016-06-161-0/+8
| | | | | | | There was not functional test for "aggregate unset" command, this patch add the test. Change-Id: Icc8f51e863231e915b2a8cca59baaedd54a96de5
* Merge "Fix functest "test_server_metadata()" in test_sever.py"Jenkins2016-05-301-0/+8
|\
| * Fix functest "test_server_metadata()" in test_sever.pyHuanxuan Ao2016-05-281-0/+8
| | | | | | | | | | | | | | | | There is only a functional test for "server set" command in test_server_metadata(), we also need a functional test for "server unset" command, so I add it in this patch. Change-Id: I23c40ac1c5adcc2563d8aa9dcb5551df695e98e3
* | Add functional tests for server group in ComputeV2Huanxuan Ao2016-05-211-0/+46
|/ | | | Change-Id: I43a6ce3a6d976f3d1bd68c0483c929977b660f0d
* Fix functional test for floatingip add/remove in ComputeV2Huanxuan Ao2016-05-111-6/+3
| | | | | | Updata test_server_attach_detach_floating_ip in test_server.py Change-Id: I2963991dfafbb17431b44e2f37bb26fa4daac9aa
* Fix functional test failuresRichard Theis2016-05-071-9/+11
| | | | | | | | | | | There have been a lot of functional test failures for compute and network. I believe they are timing related in that the test_server is sometimes booting a server with a flavor, image and/or network created by another functional test. Such resources are then deleted by the owning functional tests causing various types of failures Change-Id: Ib82edd487da46610374fb0eb5796cb98f2d3aa2c
* bump timeout to prevent gate failuresSteve Martinelli2016-05-051-1/+1
| | | | | | | attempt to fix the transient gate failures by increasing the timeout Change-Id: I837652013f94b0d1ed3f4b40fe14ce5a47c687b6
* Replace tempest-lib with tempest.libDaniel Gonzalez2016-04-292-4/+4
| | | | | | | | | tempest-lib is deprecated, so replace it with tempest.lib. Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com> Change-Id: I0495eba110bb7581623fbcf49dc63a27e9cb6d64 Closes-Bug: #1553047
* Merge "Update keypair tests"Jenkins2016-04-201-31/+131
|\
| * Update keypair testsKyrylo Romanenko2016-04-191-31/+131
| | | | | | | | | | | | | | | | | | Make testcases separate instances of test class. Use setUp with addCleanup methods for every test case. Add negative test cases. Closes-Bug: #1564480 Change-Id: I5d8fd2a238e6cf0584777eb0d24dfcaed4133ee1
* | Merge "Update tests for server"Jenkins2016-04-201-56/+181
|\ \ | |/ |/|
| * Update tests for serverKyrylo Romanenko2016-04-201-57/+181
| | | | | | | | | | | | | | | | | | | | Make testcases separate instances of test class. Use setUp with addCleanup methods for every test case. Add more descriptive docstrings for tests. Closes-Bug: #1483422 Partial-Bug: #1566962 Change-Id: I1a16b5bad1dafd19fd7dc94794c0bd4587b7f516
* | Use CommandFailed exception from tempest_libKyrylo Romanenko2016-04-131-1/+1
| | | | | | | | | | | | | | Remove exceptions.py from functional/common. Import exception with the same code from the tempest_lib to tests. Change-Id: Ifaa658209c18dd608836079f57ed18fcf10fb84e
* | Improve tmpfile cleanup in functestsCedric Brandily2016-04-061-12/+11
| | | | | | | | | | | | | | | | | | | | | | This change replaces when possible homemade temporary file management by tempfile.NamedTemporaryFile[1][2] and defines only when needed a cleanup for a temporary file[2]. [1] functional/tests/compute/v2/test_keypair.py [2] functional/tests/object/v1/test_object.py Change-Id: I728ab96381ca9f3fd1f899dd50e5ceb5e97b9397
* | Add fixed keypair create functional testDean Troyer2016-03-301-0/+26
|/ | | | | | | | | This adds a test case to exercise the --public-key option of the 'keypair create' command. It is a follow-on to I7a299a542d9df543bff43d3ea1e7907fc8c5f640 that fixed a key file read bug. Change-Id: Id78c1c7ece02f619aca69dc397185fc426b92306
* Merge "Remove superfluous variable assignment statements"Jenkins2016-03-211-2/+0
|\
| * Remove superfluous variable assignment statementsKyrylo Romanenko2016-03-211-2/+0
| | | | | | | | | | | | wait and interval are already defaulted in the function signature Change-Id: I66317a24f8327c464343ac13fc0126c34915eeda
* | Style fix for one line docstring according to flake8Kyrylo Romanenko2016-03-211-1/+1
|/ | | | Change-Id: I639819a5b1d8a476cdd8b340b8c339754f471048
* Fix test_aggregate functional test2.2.0Richard Theis2016-03-031-1/+4
| | | | | | | | | | | | | | Nova API validation changes [1] appear to have broken the 'os aggregate create' and 'nova aggregate-create' commands when an availability zone name is not specified. This patch set updates the test_aggregate functional test to set the availability zone name in order to unblock the osc gate while nova investigates the issue. [1] https://review.openstack.org/#/c/281143/ Change-Id: I00b497be61c4bc4bc467c66c1e49b2e0636ab841 Related-Bug: #1541691
* Make SetAggregate inherit from cliff.CommandTang Chen2016-02-271-0/+56
| | | | | | | | | | | | | set/unset comamnd classes should inherit from cliff.Command class. Also, this patch adds functional tests for aggregate. And also, use utils.format_dict() to format the output of the properties dict. Change-Id: Idb50bef8990da95666960e2414dfd7c9be234bba Partial-bug: #1519503 Closes-Bug: 1546065
* Make SetAgent inherit from cliff.CommandTang Chen2016-02-271-0/+76
| | | | | | | | | set/unset command classes should inherit from cliff.Command class. Also, this patch adds functional tests for compute agent. Change-Id: I25eafffd1167f82aa0d430628c22dee7516b1e19 Partial-Bug: 1546065
* Make SetFlavor and UnsetFlavor inherit from cliff.CommandTang Chen2016-02-271-4/+13
| | | | | | set/unset comamnd classes should inherit from cliff.Command class. Change-Id: I54e5608ac0768d7d94b7f7d516ea1948daefdc1b Partial-Bug: 1546065
* Defaults are ignored with flake8Tom Cocozzello2016-02-231-3/+3
| | | | | | | | | | | | If “ignore” is not set under flake8 in the tox.ini file there there are defaults set to be ignored. The depended patch fixes many of the problems. Change-Id: Ieed2fe1c4654e201d3fe6d40ef93e247ee736f8b Doc: http://flake8.readthedocs.org/en/latest/config.html#default Depends-On: I935ab48e7c5bac5f88ecdb3a05f73fb44fc9f41d Closes-Bug: #1548910
* Refactor security group functional testsRichard Theis2016-02-052-116/+0
| | | | | | | | | | | Moved the functional tests for "os security group" and "os security group rule" from the compute to the network directory to align with the refactoring to the commands. Change-Id: Ief6ab17775c6d7e3bef58d9fa025d9dd520b7370 Partial-Bug: #1519511 Partial-Bug: #1519512 Related-to: blueprint neutron-client
* Functional tests for security group ruleRichard Theis2015-12-231-0/+59
| | | | | | | | Add functional tests for the "security group rule" commands. Change-Id: Ia03886e92632f37a3d2625df1c3fa7c2a536c564 Partial-Bug: #1519512 Related-to: blueprint neutron-client
* Fix functional tests for Python 3.4Sirushti Murugesan2015-10-121-3/+3
| | | | | | | | * shlex.split() expects a string. Not bytes. * decode the bytestring result of subprocess's communicate() to a string. Change-Id: I209f67a91dc609b1e30cb9e683d3d6ee63d00069
* Automate flavors, networks, and image getTerryHowe2015-08-221-9/+29
| | | | | | | | 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
* Skip functional test: test_server_upSteve Martinelli2015-08-101-0/+3
| | | | | | | | 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
* Add functional tests server rebootTerryHowe2015-07-181-1/+4
| | | | Change-Id: I1699ac826519ccc177159423c7b6727ffaf4abff
* Add functional tests server IP attach and detachTerryHowe2015-07-181-0/+21
| | | | Change-Id: Id87a5474e2df80c9ef84a6c554f12116302a38b3
* Add functional tests for servers that require waitTerryHowe2015-07-181-1/+68
| | | | Change-Id: I4c85b1e303ecb99458594e7743950b0668b3bdfc
* Merge "Add functional tests for security group CRUD"Jenkins2015-07-061-0/+57
|\
| * Add functional tests for security group CRUDTerryHowe2015-06-101-0/+57
| | | | | | | | Change-Id: Ib5bbd46c0454d7dbb541354d515430922569c994
* | Merge "Add functional tests for flavor metadata"Jenkins2015-07-061-0/+10
|\ \
| * | Add functional tests for flavor metadataTerryHowe2015-06-111-0/+10
| | | | | | | | | | | | Change-Id: Iae7a3f61c0c9777ee2511558d8942243066a8c60
* | | Merge "Add flavor functional test"Jenkins2015-07-061-0/+46
|\ \ \ | |/ /
| * | Add flavor functional testTerryHowe2015-06-111-0/+46
| |/ | | | | | | Change-Id: I3166e1c3fb0f9b89cff8f083d30cb15e7196f59a
* | Add functional tests for server CRUDTerryHowe2015-06-111-0/+55
|/ | | | Change-Id: I77f292d47a9bea6a5b486ce513c0c19ec8c845dd
* Remove checks for None dates in keypair functional testsTerry Howe2015-05-221-3/+2
| | | | | | | | Steve made a comment about this and I agree, we should try and keep these tests and simple as possible and this kind of thing doesn't add much value. Change-Id: I1eb73e5f38904ee6c74f6c7e27fc66cfe198619d
* Add support for keypair functional testsTerryHowe2015-05-173-0/+44
Change-Id: I5d4730f8229b50d2b162864c74d8eabfef6c0991