Commit Graph

2439 Commits

Author SHA1 Message Date
pritisarap12 da72bb9aeb CLOUDSTACK-8574: Skip testcases for LXC if storagePool type is not RBD
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>

This closes #488
2015-06-24 09:43:55 +02:00
pritisarap12 6f643fc486 CLOUDSTACK-8574: Skip testcases including data disk creation for LXC if storagePool type is not RBD
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>
2015-06-24 09:43:55 +02:00
pritisarap12 7d70e4975e CLOUDSTACK-8576: Skip tests as snapshots and template are not supported on LXC
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>

This closes #506
2015-06-24 09:40:08 +02:00
Gaurav Aradhye 230cf2eefa CLOUDSTACK-8582: Tagging test cases which should not be run on simulator accordingly
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #519
2015-06-24 12:50:27 +05:30
nitt10prashant 4577af7206 CLOUDSTACK-8583 :fixing issue related to script test_stopped_vm 2015-06-24 12:31:23 +05:30
Rafael da Fonseca c599f63170 Extend wait before retry to states other than 'Starting'
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>

This closes #514
2015-06-24 07:34:26 +02:00
nitt10prashant 77508c9d9a CLOUDSTACK-8577: fixing script testpath_disable_enable_zone 2015-06-24 10:50:20 +05:30
nitt10prashant 49451750a9 CLOUDSTACK-8577: fixing script testpath_disable_enable_zone 2015-06-24 10:50:19 +05:30
Sanjeev Neelarapu 66d51c91ea Made misc changes
Reviewed-By: Shweta
2015-06-23 17:47:19 +05:30
Gaurav Aradhye c841d6850e CLOUDSTACK-8579: Fix cleanup operation in few test cases
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #511
2015-06-23 17:36:44 +05:30
Rafael da Fonseca f7a8d8e657 Fix erroneous assert expression to get debug from that line
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-21 15:13:26 +02:00
Rafael da Fonseca 3efe053952 Test would also throw success if vm was still 'Starting' after 1 minute, this resolves that Reduced for loop to two runs as it will make those many calls to the API if state was Running to start with
Signed-off-by: Daan Hoogland <daan@onecht.net>

This closes #493
2015-06-19 23:40:31 +02:00
Rafael da Fonseca 480cd4693f Allow some time for the SSVM to start before throwing a failure
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-06-19 23:40:31 +02:00
Sanjeev Neelarapu 964deb0245 VM deployments from ISO and attaching ISOs to vm are not supported in LXC. So no point in running iso tests for LXC Bug-Id: CS-42250 Reviewed-By: Shweta
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #487
2015-06-19 13:41:41 +03:00
Sowmya Krishnan a764d2c09d Move tests to maint/ folder and added few error checking 2015-06-19 15:51:39 +05:30
Gaurav Aradhye 897ea3db76 CLOUDSTACK-8527: Skipping VPC tests on HyperV
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>

This closes #458
2015-06-18 12:12:46 +02:00
pritisarap12 a5a1818d2a CLOUDSTACK-8555: Skip resize volume operation for HyperV
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #465
2015-06-18 15:23:52 +05:30
Sanjeev Neelarapu 64361d2b71 In case of vm deployment failure vm cleanup was not handled properly Corrected few script issues
This closes #472
2015-06-17 17:38:35 +05:30
Sanjeev Neelarapu 17ddb4b100 Skip VPC tests on LXC
This closes #470
2015-06-17 15:51:44 +05:30
pritisarap12 019f246b35 CLOUDSTACK-8555: Skip volume resize operation for HyperV as it's not
supported

Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #391
2015-06-15 12:49:12 +05:30
pritisarap12 fd1ef5220b CLOUDSTACK-8553: Unable to launch VM from template because of permission issue
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #387
2015-06-12 11:54:23 +05:30
pritisarap12 09abb193a1 CLOUDSTACK-8550: Fixed cleanup issue related to VM
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #385
2015-06-12 11:47:25 +05:30
Priti Sarap f61723dcfb CLOUDSTACK-8547: Modify hypervisor check in testpath_snapshot_hardning.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #378
2015-06-12 11:25:03 +05:30
Ian Southam 7ba2f2274a Allow test to run on tiny linux templates using busybox
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>

This closes #381
2015-06-10 22:00:54 +02:00
Sanjeev Neelarapu de6538c9e7 SKIP vm migration tests on LXC since it is not a supported hypervisor
This closes #383
2015-06-10 17:29:18 +05:30
Gaurav Aradhye 54a664730d CLOUDSTACK-8515: Skipping snapshot test cases on HyperV and LXC
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #376
2015-06-10 16:11:34 +05:30
Gaurav Aradhye e3cfe89053 CLOUDSTACK-8546: Correcting skip test code in testpath_vMotion_vmware.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #377
2015-06-10 16:04:10 +05:30
pritisarap12 84bc2e6127 CLOUDSTACK-8549: Update assert statements in testpath_disable_enable_zone.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #382
2015-06-10 15:59:45 +05:30
Sanjeev Neelarapu 8f1e0510cd Skipping all unsupported tests on LXC
This closes #379
2015-06-10 13:47:28 +05:30
Gaurav Aradhye 6140db50b3 CLOUDSTACK-8542: Correcting test case in test_vpc_on_host_maintenance.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #360
2015-06-08 13:37:37 +05:30
pritisarap12 0326fb3b5c CLOUDSTACK-8308: Updating Disable/enable host testpath as admin user should not be able to deploy vm on disabled host
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #356
2015-06-05 14:08:56 +05:30
Gaurav Aradhye f92a50363c CLOUDSTACK-8515: Skipping snapshots tests on HyperV and LXC hypervisors
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #350
2015-06-04 10:56:28 +05:30
pritisarap12 9c2a1ea81e CLOUDSTACK-8532: Modification in setupClass to skip testcases rather than throwing an exception on "Exceeding connection limit to Netscaler device"
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #343
2015-06-03 15:19:04 +05:30
Gaurav Aradhye f2b1ec2c7d CLOUDSTACK:8515: Skipping snapshot test case for HyperV and LXC
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #347
2015-06-02 16:18:51 +05:30
pritisarap12 d6052a31a3 Modified test_lb_secondary_ip.py file: Local variable accessed as class variable
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>

This closes #344
2015-06-02 12:33:06 +02:00
Gaurav Aradhye 06f9ee63bb CLOUDSTACK-8534: Fixed import and pep8 issues in test_redundant_router_upgrades.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #346
2015-06-02 15:52:11 +05:30
Gaurav Aradhye 8bf59b5393 CLOUDSTACK-8521: Improving logging in test case - test_egress_fw_rules.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #345
2015-06-02 13:31:29 +05:30
Abhinav Roy 108a74a6b8 CLOUDSTACK-8487 : Add vMotion related tests
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #268
2015-06-02 12:01:12 +05:30
Gaurav Aradhye 3e21c9bf2b CLOUDSTACK-8526: Use more memory for VM deployment on HyperV when SSH is tried to VM
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
Reviewed-by: Gaurav
2015-05-29 16:40:33 +05:30
Gaurav Aradhye 900b656d12 CLOUDSTACK-8527: Skipping VPC tests on HyperV
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #326
2015-05-29 15:15:52 +05:30
Gaurav Aradhye 8315be61ad CLOUDSTACK-8515: Skipping snapshot test cases for HyperV and LXC
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #324
2015-05-29 12:38:53 +05:30
Gaurav Aradhye f2d056ee1e CLOUDSTACK-8526: Use more memory for HyperV VMs in case SSH is tried to VM
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #322
2015-05-28 21:18:05 +05:30
sanjeev fabbfe5f9a If storage pool of type RBD is not found then skip the tests for LXC
This closes #320
2015-05-27 18:48:29 +05:30
Gaurav Aradhye d406e5b83e CLOUDSTACK-8518: Fix issues in testpath_disable_enable_zone.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #319
2015-05-27 18:27:21 +05:30
pritisarap12 a7ab794052 CLOUDSTACK-8308: Adding automation test cases for VM/Volume snapshot hardening
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #301
2015-05-27 14:35:47 +05:30
Priti Sarap c961f2f14d CLOUDSTACK-8476: Disable enable zone pod cluster and host: --Test cases for testing the behavior of resources running on zone, cluster, pod, host and admin/non-admin user after disabling the zone, cluster, pod, host respectively 2015-05-27 14:25:11 +05:30
sanjeev 57e02f16ee Snapshot tests are not supported on Hyper-v so skipping the tests 2015-05-27 14:19:43 +05:30
sanjeev dce34ad747 Skip snapshot tests since it is not supported on LXC
This closes #314
2015-05-27 12:45:31 +05:30
pritisarap12 39e2590a7b CLOUDSTACK-8513: Fixed VM deployment issue
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #313
2015-05-27 12:11:46 +05:30
Gaurav Aradhye 6ea65370d7 CLOUDSTACK-8516: Fixed syntax errors and pep8 issues in testpath_storage_migration.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #313
2015-05-27 12:05:15 +05:30
sanjeev 90847df531 Skip vm migration code from the test since it is not supported on LXC 2015-05-27 11:50:00 +05:30
Gaurav Aradhye f2178af317 CLOUDSTACK-8515: Skip snapshot test cases for HyperV and LXC
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #311
2015-05-27 11:41:40 +05:30
Gaurav Aradhye 3a7ad46725 CLOUDSTACK-8514: test_haproxy.py - Verifying router state before validating network rules
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #309
2015-05-27 10:19:51 +05:30
Gaurav Aradhye 0552039a8a CLOUDSTACK-8445: Keep only dvs tag for test case which tests the VCenter port groups
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #300
2015-05-26 12:13:42 +05:30
Gaurav Aradhye b9a0b88078 CLOUDSTACK-8512: Fixed test script issues in test_escalations_hosts.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #299
2015-05-25 18:47:52 +05:30
Gaurav Aradhye c6b3fe2c57 CLOUDSTACK-8511: Moved file test_escalations_hosts.py to maint folder
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #298
2015-05-25 18:37:04 +05:30
sanjeev dfafb441b0 CLOUDSTACK-8509: Skip snapshot tests for LXC and Hyper-V
This closes #296
2015-05-25 18:03:14 +05:30
sanjeev e6de9abeb4 CLOUDSTACK-8508 Install wget package inside LXC vm
This closes #295
2015-05-25 17:04:34 +05:30
sanjeev 345db34583 CLOUDSTACK-8507: Added code to install httpd package inside vm if not found
This closes #287
2015-05-22 18:59:05 +05:30
Gaurav Aradhye 424b5bb8d0 CLOUDSTACK-8492: Fix string case issue
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #284
2015-05-22 15:41:13 +05:30
sanjeev 67ad418299 CLOUDSTACK-8504: Remove creating network with RVR by default
This closes #283
2015-05-22 12:30:16 +05:30
Koushik Das 1cd2e9bc44 Merge branch 'CLOUDSTACK-8301' of https://github.com/apache/cloudstack 2015-05-22 09:47:59 +05:30
Gaurav Aradhye 166df0f153 CLOUDSTACK-8394: Skipping recurring snapshot test cases for Hyperv and LXC
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #267
2015-05-20 11:36:15 +05:30
nitt10prashant b776cbc214 CLOUDSTACK-8471:Automation for feature Enable configuring local storage use for system VMs at zone level
Signed-off-by: Koushik Das <koushik@apache.org>

This closes #253
2015-05-19 21:32:14 +05:30
Gaurav Aradhye dacdf97427 CLOUDSTACK-8482: Enhacing recurring snapshots test cases
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #260
2015-05-19 16:57:37 +05:30
Sowmya Krishnan bab4e3a6af Tests for Disable Storage Provisioning
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #257
2015-05-19 11:16:44 +01:00
Gaurav Aradhye 19c436fd59 CLOUDSTACK-8481: Adding test cases for validating global limit on concurrent snapshots
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #252
2015-05-19 15:25:29 +05:30
pritisarap12 f6789532b0 CLOUDSTACK-8476: Disabling Zone, Pod, Cluster: --Test cases for testing the behaviour of resources running on zone and admin/non-admin user after disabling the Zone
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #242
2015-05-18 12:18:15 +05:30
Gaurav Aradhye b1f2e598e8 CLOUDSTACK-8468: Correct test case in test_bugs.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #251
2015-05-13 16:40:00 +05:30
Gaurav Aradhye b8e82a97b6 CLOUDSTACK-8466: Fixed import error in testpath_snapshot_limits.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
2015-05-13 11:16:05 +05:30
Gaurav Aradhye fcd74d5fef CLOUDSTACK-8453: Fix DB result check in test_VirtualRouter_alerts.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #239
2015-05-08 19:44:51 +05:30
Daan Hoogland 1c408dec37 Merge branch '4.5' after 4.5.1 vote passes 2015-05-07 16:03:26 +02:00
Rohit Yadav 4ba72a877c Updating pom.xml version numbers for release 4.5.2-SNAPSHOT
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-07 15:33:01 +02:00
Gaurav Aradhye 5ba904abc2 CLOUDSTACK-8450: Fix method calls in test_escalations_hosts.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #235
2015-05-07 14:12:59 +05:30
Gaurav Aradhye c3e8d3d047 CLOUDSTACK-8445: Keep only dvs tag for test case which tests the VCenter port groups
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #232
2015-05-06 18:31:17 +05:30
Gaurav Aradhye 6c3dc15fcb CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass()
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #231
2015-05-06 16:25:32 +05:30
pritisarap12 628dde7fd2 CLOUDSTACK-8308: Adding automation test cases for VM/Volume snapshot continuation
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #230
2015-05-05 20:43:57 +05:30
pritisarap12 a380be6081 CLOUDSTACK-8308: Adding automation test cases for VM/Volume snapshot testpath snapshot limits
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #170
2015-05-05 16:22:18 +05:30
Gaurav Aradhye d849dd628f CLOUDSTACK-8394: Added missing lower() conversion 2015-05-05 09:54:26 +05:30
pritisarap12 a29fd6584a CLOUDSTACK-8308: Adding automation test cases for VM/Volume snapshot testpath - cuncurrent snapshots
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #181
2015-05-04 17:21:13 +05:30
Rohit Yadav 0eb4eb2370 Updating pom.xml version numbers for release 4.5.1
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-04 12:17:03 +02:00
SrikanteswaraRao Talluri ff4f31c4ea bug-id:correcting few more errors in testpaths reviewed-by: self
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-05-03 22:41:55 +05:30
Abhinandan Prateek fb0bfd5d4f CLOUDSTACK-8429: disabling unit test for faster build 2015-05-01 12:35:03 +05:30
sanjeev d9064ecfea Skipping change service offering test for LXC since this is not applicable to containers
This closes #213
2015-04-30 14:49:17 +05:30
Gaurav Aradhye dc3c43e607 CLOUDSTACK-8394: Skipping snapshots test cases for HyperV and LXC
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #212
2015-04-30 07:49:14 +05:30
SrikanteswaraRao Talluri 3147090e23 skipped iso attach test on lxc setup
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-04-30 06:38:27 +05:30
SrikanteswaraRao Talluri 6202142132 Fixed issues in test path files which are causing failures due to incorrect initialization of _cleanup list and returning after the skip variable is added.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-04-30 06:25:12 +05:30
SrikanteswaraRao Talluri 229f23874a Merging all required changes for these test paths to run properly 2015-04-29 17:09:03 +05:30
Gaurav Aradhye 69f239afff CLOUDSTACK-8394: Skipping download ISO tests for simulator
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #207
2015-04-29 11:30:17 +05:30
Rajani Karuturi 0b8355920e Merge branch 'volume-upload' into master
This closes #206
2015-04-29 11:12:53 +05:30
Gaurav Aradhye bede34d297 CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass()
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #203
2015-04-28 12:33:54 +05:30
Gaurav Aradhye fc6c792ce5 CLOUDSTACK-8304: Modify tags accordingly for tests which can't be run on simulator
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #193
2015-04-27 11:27:19 +05:30
Gaurav Aradhye 9a58794a04 CLOUDSTACK-8394: Use custom decorator to skip test case
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #190
2015-04-24 16:29:09 +05:30
manasaVeloori 23f4c022c2 To Verify that list templates by domain admin is not listing the templates of other Domains.....Made changes as per comments 2015-04-24 15:10:24 +05:30
manasaVeloori 293b9852c5 To Verfiy that list templates by domain admin is not listing the templates of other domains 2015-04-24 15:10:22 +05:30
sanjeev fd92f9d4d8 Revert "Removed raise for skiptest"
This reverts commit b5a74c34cf.
2015-04-23 10:46:16 +05:30
sanjeev 5b7527e2da Incorporated review comments provided in PR#183 2015-04-22 15:51:01 +05:30
sanjeev 0bae300fa2 Removed tag from the attr 2015-04-22 15:50:59 +05:30
sanjeev 2de64bcc91 Added additional verification steps to make sure that removing secondary ip from nic works fine 2015-04-22 15:50:58 +05:30
shweta agarwal 52b630fcbd incorporated review comments 2015-04-22 15:44:59 +05:30
shweta agarwal cf3a8c0d2b verifying template creation permission 2015-04-22 15:40:41 +05:30
sanjeev b5a74c34cf Removed raise for skiptest 2015-04-22 11:49:34 +05:30
sailajamada ed7be383de Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cloudstack 2015-04-20 15:24:12 +05:30
sailajamada d08d60b2f3 Interop API Additional scenarios 2015-04-20 15:22:31 +05:30
Gaurav Aradhye 46c35e2401 CLOUDSTACK-8390: Skipping VPC tests on Hyperv
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #179
2015-04-17 21:00:58 +05:30
sailajamada 6db212d413 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cloudstack 2015-04-17 17:24:37 +05:30
sailajamada 9d0cc12272 Interop API Validation 2015-04-17 17:23:52 +05:30
SrikanteswaraRao Talluri 02031aba69 fixed the tags in the testpaths 2015-04-16 22:42:31 +05:30
SrikanteswaraRao Talluri cfb5be761c Corrected wrong references in the testpaths and skipped appropriately 2015-04-16 17:45:24 +05:30
SrikanteswaraRao Talluri e262a3a4bb modified the test tags to not to run on simulator 2015-04-16 17:27:11 +05:30
Gaurav Aradhye 48f3325820 CLOUDSTACK-8388: test_VirtualRouter_alerts.py - Fix wait time and pep8 issues
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #173
2015-04-16 09:42:43 +05:30
Gaurav Aradhye 8558adb508 CLOUDSTACK-8388: test_accounts.py - Fixing pep8 issues
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #171
2015-04-15 17:31:51 +05:30
Gaurav Aradhye e81161def8 CLOUDSTACK-8374: Adding tests for guest traffic port group verification - VPC network 2015-04-14 18:17:17 +05:30
Gaurav Aradhye 9777e90504 CLOUDSTACK-8374: Adding tests for guest traffic port group verification - Shared and Isolated networks 2015-04-14 18:17:17 +05:30
KC Wang 01864ef77c CLOUDSTACK-6697: bigswitch networking plugin update
1. provide compatibility with the Big Cloud Fabric (BCF) controller
   L2 Connectivity Service in both VPC and non-VPC modes
2. virtual network terminology updates: VNS --> BCF_SEGMENT
3. uses HTTPS with trust-always certificate handling
4. topology sync support with BCF controller
5. support multiple (two) BCF controllers with HA
6. support VM migration
7. support Firewall, Static NAT, and Source NAT with NAT enabled option
8. add VifDriver for Indigo Virtual Switch (IVS)

This closes #151

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-09 13:02:02 +05:30
sanjeev 40943e85ca Hosts without tag are not listed while listing the hosts for migration for instance with tag 2015-04-09 10:53:59 +05:30
shweta agarwal 974c56423d Restore VM verification tests
This closes #148
Signed-off-by: SrikanteswaraRao Talluri<talluri@apache.org>
2015-04-08 12:39:16 +05:30
sailajamada 7c2c9b4e47 Additional automated test paths for browser based templates 2015-04-08 09:08:33 +05:30
sailajamada 55ee1ecd84 Additional automated test paths of browser based volume 2015-04-08 08:06:34 +05:30
shweta agarwal 433e6a2bd4 added two test case related to restore VM functionality 2015-04-07 11:16:20 +05:30
sailajamada 0d06dbd077 Browser bases Template additional scenarios 2015-04-06 23:57:39 +05:30
sailajamada 651f8c9339 Browser Based Volume additional test scenarios 2015-04-04 20:31:27 +05:30
sailajamada 736f7042f3 Automation script changes with additional cases 2015-04-02 09:31:34 +05:30
Abhinav Roy dedc860a62 CLOUDSTACK-8357 Add Test cases for vMotion support on VMFS as primary storage 2015-04-01 23:18:40 +05:30
Gaurav Aradhye ed979b159f CLOUDSTACK-8330: Adding dvs tag to test cases which can be run on DVS configuration on vmware
This closes #136

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-31 12:37:39 +05:30
sadhu a05f1b2fdb cloudstack-8218
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-30 16:06:20 +05:30
sadhu 26123dd079 CLOUDSTACK-8218:added missing scenrio and additional checks for betterdebugging
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-30 16:06:19 +05:30
Rohit Yadav 0540ba1b30 systemvm: fix socat usage
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 888f67f0bd)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-30 13:50:39 +05:30
Rohit Yadav 888f67f0bd systemvm: fix socat usage
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-30 13:49:15 +05:30
Gaurav Aradhye 02d322189d CLOUDSTACK-8344: Fixed SSH failures in test_haproxy.py test suite
This closes #130
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-30 11:09:53 +05:30
prashant kumar mishra dede9d94fe CLOUDSTACK-8343:modifying update method in Configurations to take **kwargs 2015-03-30 10:55:31 +05:30
sailajamada 5e7baa5a55 Updated Test automation scripts 2015-03-30 09:50:30 +05:30
sailajamada 98306c356a Updated Browser Based Volume Automation Script changes 2015-03-26 10:12:15 +05:30
Abhinav Roy ead41f9215 changes made after second review
Signed-off-by: Sowmya Krishnan <sowmya.krishnan@citrix.com>
2015-03-24 17:46:22 +05:30
Gaurav Aradhye 54a4b2bad7 CLOUDSTACK-8278: Usage test path - Correct code flow in case the usage job configuration is not to be set through test case
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 16:58:07 +05:30
Gaurav Aradhye 191bcdd439 CLOUDSTACK-8251: Adding automation test cases for dedicated public IP ranges
This closes #128

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 16:56:33 +05:30
Gaurav Aradhye c09427401a CLOUDSTACK-8340: Adding test case for stop/start operation for VPC router
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
 This closes #122
2015-03-23 15:57:12 +05:30
sailajamada 5c06f2bbd4 Browser Based Template Automation Changes 2015-03-23 15:19:17 +05:30
sailajamada f22bd7a79e Browser Basesd Test Template changes 2015-03-23 09:58:02 +05:30
Gaurav Aradhye 8031b62b7f Adding more test case for shared network
This closes #120
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-20 17:32:25 +05:30
Gaurav Aradhye 02c7bc0201 CLOUDSTACK-8336: Adding test for shared network restart, with and without cleanup
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-20 17:32:14 +05:30
Gaurav Aradhye 62a733e8cf CLOUDSTACK-8330: Tagging test cases which should be run with vmware dvs configuration
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-20 17:20:55 +05:30
SrikanteswaraRao Talluri 5cea73d413 Revert "Merge branch '8330' of https://github.com/gauravaradhye/cloudstack"
This reverts commit f4498c48e3, reversing
changes made to 7a2e27c3b3.
2015-03-20 17:14:07 +05:30
Gaurav Aradhye 104ea2b5ef CLOUDSTACK-8330: Tagging test cases which should be run with vmware dvs configuration 2015-03-20 10:28:39 +05:30
Antonio Fornie 09bd847040 Vpc redundancy enabled. Including Vpc & Vpc Offering creation. Marvin tests and UI. 2015-03-16 11:38:05 +01:00
Ian Southam 8a2391336c Getting redundancy to work via teh configuration files
Some refactoring to make class loading a little more logical
Removed fw global (does not persist accross modules)
Added first tests
Added command line call to set and disable redundancy
Added command line call to set master
2015-03-16 11:35:29 +01:00
Ian Southam 093749eaae A start on the redundancy code
This will not break anything but also will not work
2015-03-16 11:35:29 +01:00
Ian Southam 56900434b4 Added some new tests to check the acls are being made sort of correctly 2015-03-16 11:35:27 +01:00
Ian Southam fa3ecbe8a0 Add some parameters to make nose a little less chatty
Well to be accurate to make fabric a little less chatty
2015-03-16 11:35:27 +01:00
Ian Southam e779c9b1e3 Some new tests for the acl code
WIP:  Committed to reduce chances of conflicts
2015-03-16 11:35:26 +01:00
Ian Southam 5137d7e136 Removed dhcpopts.conf for now as, it is the routing options and they seem to be dealt with dofferently in the new arrangement
Changed the dhcp tests to avoid handing out the broadcast and gateway addresses :)
2015-03-16 11:35:25 +01:00
Ian Southam 7fc3365459 Implemented delete (add : false) for cs_dhcp
Added some tests to the test_update_config tests for dhcp entries
2015-03-16 11:35:24 +01:00
Ian Southam 99dd91c565 Added placeholder for networkacl tests 2015-03-16 11:35:20 +01:00
Ian Southam 680454dfdf Some bug fixes
Some more tests
store vmpassword functionally working
Tests for store password
2015-03-16 11:35:18 +01:00
Ian Southam 9d73879061 Fixed test (assert in guest check was wrong way around)
Also found condition inw hich apache would be miscobfigured and failed to run (I love tests!!)
Fixed configure.py to cover this case
Added a test to provoke this case!
2015-03-16 11:35:18 +01:00
Ian Southam 4c5f4a1f9f Added vmpassword type (does nothing yet)
Fixed tests to use /var/cache/cloud
Added some test files but will remove them when tests are properly completed
Fixed a bug in configure that did not deal well with databags with empty dev sections
2015-03-16 11:35:17 +01:00
Ian Southam ca2ff2946e Added some tests that test stuff
Specifically checking whether certain ip addresses get added and deleted
Also a rudementary test for the guest network ip
Much more to do!!
2015-03-16 11:35:16 +01:00
Ian Southam dd6b643ceb Do not use eth0 or eth1 for random tests
One or other will be the control interface of the box
2015-03-16 11:35:15 +01:00
Leo Simons 712fa9c92c Tests for update_config.py
These are failing on my machine with cloud.log lines like

  2014-08-07 14:34:09,509 Add dev eth2 table Table_eth2 10.0.2.0/24
  2014-08-07 14:34:09,511 Address 10.0.2.106/24 on device eth2 not configured
  2014-08-07 14:34:10,513 Device eth2 cannot be configured - device was not found

I think it's correct that they are failing -- this is work in progress.
2015-03-16 11:35:12 +01:00
Leo Simons 5f87bde909 Set up rsync for systemvm patches.
Note the convenience of 'vagrant rsync-auto'.
2015-03-16 11:35:12 +01:00
Leo Simons 6ffb063863 Don't fail if you've logged into an older systemvm manually, before. 2015-03-16 11:35:11 +01:00
Leo Simons 95e5f867f9 Second Attempt to get these tests working on python 2.6. 2015-03-16 11:35:10 +01:00
Leo Simons f593255371 Attempt to get these tests working on python 2.6 2015-03-16 11:35:10 +01:00
Leo Simons e405e94797 Replace serverspec with nose in systemvm test.sh
Also remove the serverspec-specific files.
2015-03-16 11:35:10 +01:00
Leo Simons 2188d8d633 Pure python tests for systemvm
This approach is instead of serverspec, but filling the same purpose. It's
main advantage is that it uses nose and python, just like the existing
marvin-based integration test suite.
2015-03-16 11:35:09 +01:00
Gaurav Aradhye 602fafd0a1 CLOUDSTACK-8323: Adding BVT to test NIC Adapter for Vmware
This closes #116

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-12 18:28:54 +05:30
sailajamada aad9b8a51f Added global config validation test 2015-03-12 16:57:48 +05:30
Gaurav Aradhye 5cdb25f412 CLOUDSTACK-8311: Adding test case to confirm Volume Snapshot for root disk is
... not allowed when VM snapshot is present for a VM

This closes #107

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-12 16:43:48 +05:30
Gaurav Aradhye a1e81a5d0b CLOUDSTACK-8314: Add test case to validate VM.DESTROY event is logged when VM deployment fails
This closes #110

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-12 16:43:08 +05:30
pritisarap12 c0c38f2350 CLOUDSTACK-8236: Automation test cases for storage migration test path review changes
This closes #115

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-12 16:42:07 +05:30
Rohit Yadav c198dfdb7a Update pom and version usage to 4.5.1-SNAPSHOT
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-12 12:13:18 +05:30
Gaurav Aradhye ff9ab5caa9 CLOUDSTACK-8290: Adding BVT to verofy product issue
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-12 11:20:48 +05:30
SrikanteswaraRao Talluri cd66844e9c fixed license header 2015-03-12 11:13:21 +05:30
Gaurav Aradhye d8bb1fad5e CLOUDSTACK-8286: Adding Basic validation test case to test deploying VM from ISO and correcting old regression test case to test HA VM from ISO
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-12 11:10:08 +05:30
Ashutosh K 891b597606 CLOUDSTACK-8236: Automation for storage migration test path
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-12 10:55:46 +05:30
sailajamada 8840d90ea8 Modified few lines 2015-03-12 09:02:46 +05:30
sailajamada db7964fb11 Test Automation Scripts for Browser Bases Upload volumes and templates with testdata config changes 2015-03-10 21:39:55 +05:30
Gaurav Aradhye 1fd401ff43 CLOUDSTACK-8299: Adding additional test case to test ingress rules with two security groups together
This closes #102

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-10 10:20:46 +05:30
Gaurav Aradhye 6da65eca88 CLOUDSTACK-8299: Adding test case to test security group ingress rules for a specific IP set
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
2015-03-08 11:12:12 -04:00
sailajamada f22760a9ad Modified Browser Volume Test 2015-03-08 20:07:54 +05:30
sailajamada fa7ef95817 Automated Script To Validate Browser Based Volume LifeCycle Test Scenarios 2015-03-04 09:16:43 +05:30
Gaurav Aradhye f393199325 CLOUDSTACK-8277: Code improvement - test_shared_networks.py, test_multiple_ip_ranges.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-26 13:05:45 +05:30
Daan Hoogland 0e31366a3d Merge branch 'hotfix/singlerun-test-breakage' of https://github.com/DaanHoogland/cloudstack 2015-02-20 16:10:59 +01:00
Gaurav Aradhye 53bae00801 CLOUDSTACK-8269: Code changes in primary storage test cases as per recent change in product behavior
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-20 20:03:45 +05:30
Ashutosh K 0440960933 CLOUDSTACK-7594: Adding automation test cases for stopped VM test path
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-20 20:02:08 +05:30
Gaurav Aradhye ba08229ff9 CLOUDSTACK-8264: Code improvement - test_stopped_vm.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-20 19:59:37 +05:30
Daan Hoogland d64672aeb7 test fails unexplicalby while functionality is ok 2015-02-20 14:24:45 +01:00
Gaurav Aradhye e768d702cb CLOUDSTACK-8261: test_haproxy.py - Remove the code checking AppCookle and LbCookie Stickiness policies
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:33:24 +05:30
Gaurav Aradhye 8bfda973c2 CLOUDSTACK-8259: Code improvement - test_routers.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:23:34 +05:30
Gaurav Aradhye 9734582197 CLOUDSTACK-8258: test_iso.py - Removed assertion on Iso name when random characters are appended to test data before creating Iso
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:19:52 +05:30
Gaurav Aradhye a95ce8138a CLOUDSTACK-8257: test_escalations_volume.py - Removing asserts on volumes names as they don't hold true when random characters are appended to the volume name before creation
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:19:29 +05:30
SrikanteswaraRao Talluri a7b8e987d3 As this is not tested and causing other failures, reverting for now and let the author resubmit a fresh patch
Revert "Automation of CCP Objects Verification after external changes made to the original setup Purpose of this code:"

This reverts commit 7461297f3e.
2015-02-14 21:20:25 +05:30
Gaurav Aradhye e66ceaa254 CLOUDSTACK-8255: Adding secondary IP to correct ethernet interface present on the VM
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 18:08:17 +05:30
Ashutosh K ada8cdce70 CLOUDSTACK-7911: Adding test cases for usage test path
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 16:02:56 +05:30
SrikanteswaraRao Talluri a68de9acb6 CLOUDSTACK-8161: disable template create and dynamic scaling tests for LXC 2015-02-13 15:47:19 +05:30
Gaurav Aradhye 500baea9b6 CLOUDSTACK-8235: Fixed test case in test_bugs.py to read variable data from configurableData section of test_data.py and also fixed wrong parameter name
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 13:06:08 +05:30
Gaurav Aradhye eab63a6dd9 CLOUDSTACK-8149: Fixed test_Virtualrouter_alerts.py for VMware
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:40:09 +05:30
Gaurav Aradhye d849a66b47 CLOUDSTACK-8253: Code correction and improvement: test_haproxy.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:36:28 +05:30
Gaurav Aradhye dc4578dd44 CLOUDSTACK-8254: Choosing high end service offering for HyperV in case it tries to SSH to VM because Hyperv needs more resources because it is GUI based VM
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:30:47 +05:30
Chandan Purushothama 7461297f3e Automation of CCP Objects Verification after external changes made to the original setup Purpose of this code:
Generate CCP Objects (VMs, Volumes, Snapshots, VPC, etc..) and CCP Use Cases (Networking, Data Content,etc) before an external action on the CCP Setup and verify the integrity of the CCP Objects and the Use Cases after the external action on the CCP Setup. The integrity of the CCP Objects is verified by performing operations that test the Usability of the objects. This validates the intactness of the setup after an external action. The submitted patch covers only few major use cases. It proves that similar code can be added in future to address similar goals in verifying the integrity of CCP objects belonging to different components of the product.

The code format can be followed to verify validity of real time business use cases while any code changes (CCP,hypervisor,external devices code, etc…) happen over a period of time.

The following are the scenarios that the code format can be used for:
1.Upgrade Validity Verification
     a. CCP Upgrade
     b. Hypervisors Upgrade
     c. External Devices Upgrade
     d. System VM Template Changes.
2.Patch Validity Verification

Code can be used as one of the primary Components to validity Upgrades. It will facilitate the automation of Upgrade Test Verification completely.

How to use the code:

*Kindly make the corresponding substitutions in the commands listed below.

Execute:
 nosetests --with-marvin --marvin-config=$CONFIG $BASEDIR/integration/component/ test_minimal_ug_check.py --load -a tags=preupgrade

After Upgrade or any Changes done to the Setup, Verify that the existing CCP objects are not affected due to the external changes.

Execute:
nosetests --with-marvin --marvin-config=$CONFIG $BASEDIR/integration/component/ test_minimal_ug_check.py --load -a tags=postupgrade

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:06:46 +05:30
Gaurav Aradhye ec1c3894f0 CLOUDSTACK-8240: Skipping test case in test_vmware_drs.py because the scenario is not testable through automation
Signed-off-by: Srikanteswararao Talluri <talluri@apache.org>
2015-02-11 17:02:25 +05:30
Gaurav Aradhye af09388eda CLOUDSTACK-8241: Moved upload volume dict data to configurableData section of the test_data.py file so that data can be changed according to the setup, also made relevant changes in the test cases
Signed-off-by: Srikanteswararao <talluri@apache.org>
2015-02-11 16:53:08 +05:30
SrikanteswaraRao Talluri 0aa2b90516 removed unnecessary pdb break point. 2015-02-09 11:56:33 +05:30
SrikanteswaraRao Talluri 2567ef2452 CLOUDSTACK-8161: changed apiclient to api_client in some of the tests 2015-02-08 11:17:17 +05:30
SrikanteswaraRao Talluri cf82af9567 CLOUDSTACK-8161: disabled vm migrate related test cases for LXC. 2015-02-08 00:52:05 +05:30
SrikanteswaraRao Talluri b3cebdbbf4 CLOUDSTACK-8161: fixed few more wrong references in the tests while
disabling LXC unsupported tests.
2015-02-08 00:36:01 +05:30
SrikanteswaraRao Talluri 6e3009a299 CLOUDSTACK-8161: fixed few more wrong references
in the tests
2015-02-05 18:48:32 +05:30
Gaurav Aradhye 9658569f5a CLOUDSTACK-8124: Skipping snapshot tests on Hyper-V
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-05 17:36:11 +05:30
Gaurav Aradhye 762727439b CLOUDSTACK-8124: Skipping snapshot tests on hyperv hypervisor
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-05 17:35:36 +05:30
Gaurav Aradhye a4e9b4e8a4 CLOUDSTACK-8211: Correcting expected secondary storage count value by rounding off to floor value and including the physicalsize of snapshot
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-05 17:32:35 +05:30
Gaurav Aradhye 82b6c1377b CLOUDSTACK-8213: Fixed typo in test_lb_secondary_ip.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-05 15:50:51 +05:30
Gaurav Aradhye 8354d4a765 CLOUDSTACK-8214: test_netscaler_nw_off.py - Skip test if enough zones are not present instead of throwing exception
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-05 15:50:51 +05:30
Chandan Purushothama cfc0e12432 CLOUDSTACK-7745: Fixed the script 'test_ssvm.py' - Private IP of System VMs can change on systemVMs reboot
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-03 18:18:25 +05:30
Ashutosh K dbe9d93ec6 CLOUDSTACK-8153: Adding global setting value check for few test cases in test_custom_hostname.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-03 17:58:42 +05:30
Abhinav Roy f2ea617238 Correcting a minor typo in test_deploy_vgpu_vm.py script
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-03 17:57:33 +05:30
SrikanteswaraRao Talluri fc6d925ade CLOUDSTACK-8161: added skips for the tests which are not supported on LXC:
1. vm create from ISO
2. dynamic scaling of VM.
3. windows VM on LXC
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-30 17:05:28 +05:30
SrikanteswaraRao Talluri 3eb5c76911 CLOUDSTACK-8161: added skips for the tests which are not supported on LXC:
1. snapshot related
2. template create from volume.
3. VM create from ISO.
4. Data volume related operations on a non RBD storage.

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-30 15:52:33 +05:30
Gaurav Aradhye 2db5ee3c0a CLOUDSTACK-8152: Adding delay before creating snapshot/template from root disk after writing data to disk - test_vm_passwordenabled.py 2015-01-22 16:50:57 +05:30
Chandan Purushothama 78dea8725b CLOUDSTACK-8007: Fixed the script 'test_vm_passwdenabled.py' - Template created by Admin should have public access to be used for regular User VM Deployment
Conflicts:
	test/integration/component/test_vm_passwdenabled.py
2015-01-22 16:45:50 +05:30
Gaurav Aradhye d37c1589be CLOUDSTACK-8170: Skipping tests on HyperV which try to scale VM in running state because feature not supported 2015-01-22 16:38:52 +05:30
Gaurav Aradhye 8c68ac15c1 CLOUDSTACK-8170: Skipping tests on HyperV which try to scale VM in running state because feature not supported 2015-01-22 16:37:11 +05:30
Gaurav Aradhye ab333e4e36 CLOUDSTACK-8124: Skipping snapshot tests on Hyper-V 2015-01-22 14:28:56 +05:30
Gaurav Aradhye c996c8e31a CLOUDSTACK-8174: Fixed cleanup issue in test_add_remove_network.py 2015-01-22 14:27:04 +05:30
Gaurav Aradhye 8894fc897b CLOUDSTACK-8174: Fixed cleanup issue in test_add_remove_network.py 2015-01-22 14:14:53 +05:30
Rohit Yadav debfcdef78 CLOUDSTACK-8160: use preferable protocols
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-21 18:02:58 +05:30
Chandan Purushothama b5ef7de290 CLOUDSTACK-7955: Fixed the script test_project_limits.py - Register Template in the Project to test the Template limits on the project
(cherry picked from commit 71bb436c8d)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-20 11:30:59 +05:30
Chandan Purushothama d1d288522d CLOUDSTACK-7956: Fixed the script 'test_project_usage.py' - Register Template in the Project to test the Template limits on the project
(cherry picked from commit 3a6f248e3a)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-20 11:30:49 +05:30
Chandan Purushothama 1b7a100688 CLOUDSTACK-7996: Fixed the script test_tags.py - Tags and Template should belong to the User Account to test the case
(cherry picked from commit b0d74ad6fc)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-20 10:29:41 +05:30
Chandan Purushothama 535c037428 CLOUDSTACK-8007: Fixed the script 'test_vm_passwdenabled.py' - Template created by Admin should have public access to be used for regular User VM Deployment
(cherry picked from commit 41b871b6bd)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	test/integration/component/test_vm_passwdenabled.py
2015-01-20 10:28:57 +05:30
SrikanteswaraRao Talluri cc31571307 bug-id:CLOUDSTACK-8055cleaned up test tags, removed unecessary tags.
reviewed-by: SrikanteswaraRao Talluri <talluri@apache.org>

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit b6bac7f673)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-20 10:23:15 +05:30
Ashutosh K 345fd54fc1 CLOUDSTACK-8130: Fixed test_escalations_templates.py - Removed test case dependency on each other
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 17da2e9ce9)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-20 10:18:39 +05:30
Ashutosh K 9a75a0cd22 CLOUDSTACK-8132: Fixed issue related to secondary storage count of template
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit f938a5e1c3)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-20 10:18:24 +05:30
Gaurav Aradhye fc502a97c2 CLOUDSTACK-8152: Adding delay before creating snapshot/template from root disk after writing data to disk - test_vm_passwordenabled.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit d79837b67a)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	test/integration/component/test_vm_passwdenabled.py
2015-01-20 10:16:26 +05:30
SrikanteswaraRao Talluri 3384888c39 CLOUDSTACK-8161: mark the data volume related operations on LXC as skipped if RBD storage pool is not available
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-16 18:46:03 +05:30
SrikanteswaraRao Talluri 2c515395d7 CLOUDSTACK-8161: mark the data volume related operations on LXC as skipped if RBD storage pool is not available
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-16 18:45:19 +05:30
Rajani Karuturi ebaa4dd38e volume upload: added httpcomponents server and removed nio server
removing nio server as it is currently handling only https connections
and the parsing logic is also specific to agent communication.

current limitation of httpcomponents server is that the entire file is
read in memory. need figure out how to read it in chunks and send it
through a inputstreamreader to save on secondary storage.
2015-01-16 17:15:14 +05:30
Ashutosh K 2ed76b2a55 CLOUDSTACK-8143: Corrected a test in BVT test_routers.py 2015-01-13 16:43:01 +05:30
Ashutosh K 9f55411295 CLOUDSTACK-8143: Corrected a test in BVT test_routers.py 2015-01-13 16:37:56 +05:30
K@clogeny.com 17e1922439 CLOUDSTACK-8137: Fixed cleanup issue in sec group tests in test_escalations_instances.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:49:23 +05:30
Ashutosh K 613aa8ea28 CLOUDSTACK-8135: Fixed cleanup issue in test_escalations_instances.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:47:57 +05:30
Ashutosh K b8184d1e74 CLOUDSTACK-8149: Code-refactor - test_VirtualRouter_alerts.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:22:22 +05:30
Ashutosh K 032a003905 CLOUDSTACK-8147: Fixed typo in test case test_redundant_router.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:22:15 +05:30
Gaurav Aradhye 9278ac1130 CLOUDSTACK-8145: Adding new test to test blocker bugs and modifying other test case to work around the bug
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:22:06 +05:30
Gaurav Aradhye f11e570796 CLOUDSTACK-8145: Adding new test to test blocker bugs and modifying other test case to work around the bug
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:15:10 +05:30
Ashutosh K 9056e4c3fb CLOUDSTACK-8147: Fixed typo in test case test_redundant_router.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:13:59 +05:30
Ashutosh K d0b6234e51 CLOUDSTACK-8149: Code-refactor - test_VirtualRouter_alerts.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:13:06 +05:30
Gaurav Aradhye d79837b67a CLOUDSTACK-8152: Adding delay before creating snapshot/template from root disk after writing data to disk - test_vm_passwordenabled.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:09:58 +05:30
Gaurav Aradhye 22d6565434 CLOUDSATCK-8138: Fixed VmSnapshot revert issue in test_escalations_instances.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-05 18:42:07 +05:30
K@clogeny.com eae9f0f0b0 CLOUDSTACK-8137: Fixed cleanup issue in sec group tests in test_escalations_instances.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-05 18:32:30 +05:30
Ashutosh K 1ee4188835 CLOUDSTACK-8135: Fixed cleanup issue in test_escalations_instances.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-05 18:31:52 +05:30
Ashutosh K f938a5e1c3 CLOUDSTACK-8132: Fixed issue related to secondary storage count of template
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-05 18:30:16 +05:30
Ashutosh K 17da2e9ce9 CLOUDSTACK-8130: Fixed test_escalations_templates.py - Removed test case dependency on each other
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-05 18:05:17 +05:30
Gaurav Aradhye 214d63ee1e CLOUDSTACK-8124: Skipping snapshot tests on hyperv hypervisor
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-05 18:04:37 +05:30
Gaurav Aradhye 7f10e6fe0b CLOUDSTACK-8124: Skipping snapshot test cases on hyperv
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-05 17:02:10 +05:30
Gaurav Aradhye 67eff27f54 CLOUDSTACK-8117: Increase the allowed margin (+/-) for memory of VM on hyperv used to equate with the memory specified in service offering
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-24 11:10:28 +05:30
Gaurav Aradhye 0ed40140a6 CLOUDSTACK-8116: Moved ldap data to configurableData section in test_data.py and made related changes in the test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-24 11:10:18 +05:30
Gaurav Aradhye 94237a4c5b CLOUDSTACK-8116: Moved ldap data to configurableData section in test_data.py and made related changes in the test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-24 10:38:05 +05:30
Gaurav Aradhye 239150c558 CLOUDSTACK-8117: Increase the allowed margin (+/-) for memory of VM on hyperv used to equate with the memory specified in service offering
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-24 10:36:33 +05:30
Ashutosh K 5a6eb3b6e1 CLOUDSTACK-8099: Fixed missing import in test_dynamic_compute_offering.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-23 15:05:23 +05:30
Chandan Purushothama ddcbfb43bc CLOUDSTACK-7788: Fixed the script 'test_dynamic_compute_offering.py' to be run only on hardware 2014-12-23 15:05:14 +05:30
Ashutosh K bce67bc282 CLOUDSTACK-8099: Fixed missing import in test_dynamic_compute_offering.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-23 15:03:30 +05:30
Gaurav Aradhye 125c1c27fc CLOUDSTACK-8098: Fixed VM snapshot issue in smoke/test_vm_snapshots.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-23 14:59:55 +05:30
SrikanteswaraRao Talluri f18e00abf1 Revert "CLOUDSTACK-7762 -[Automation] - Fix test failure for test_02_revert_vm_snapshots in smoke/test_vm_snapshots.py"
This reverts commit f510ef995b.
2014-12-23 14:59:46 +05:30
Gaurav Aradhye fc2c1a09a7 CLOUDSTACK-8098: Fixed VM snapshot issue in smoke/test_vm_snapshots.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-23 14:46:10 +05:30
SrikanteswaraRao Talluri 0d75682a34 Revert "CLOUDSTACK-7762 -[Automation] - Fix test failure for test_02_revert_vm_snapshots in smoke/test_vm_snapshots.py"
This reverts commit f510ef995b.
2014-12-23 14:46:10 +05:30
Gaurav Aradhye 77bd069cc7 CLOUDSTACK-8096: Fixed test_ssvm.py for issues while checking the result of diagnostic scripts
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-23 14:27:03 +05:30
Gaurav Aradhye 1413efcac3 CLOUDSTACK-8096: Fixed test_ssvm.py for issues while checking the result of diagnostic scripts
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-23 14:24:32 +05:30
Chandan Purushothama ab3af7b014 CLOUDSTACK-7769 - Fixed test_ssvm.py script 2014-12-23 14:23:49 +05:30
Sangeetha Hariharan 3736d9435a CLOUDSTACK-7762 -[Automation] - Fix test failure for test_02_revert_vm_snapshots in smoke/test_vm_snapshots.py 2014-12-22 13:55:07 +05:30
Gaurav Aradhye 588e7dc811 CLOUDSTACK-8100: Fixed pep8 issues in test_vpc.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-22 13:53:10 +05:30
Ashutosh K a2fa2e4911 CLOUDSTACK-8095: Fixed Iso attach issue in test_escalations_instances.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-22 13:53:01 +05:30
Ashutosh K ff37fa5de0 CLOUDSTACK-8095: Fixed Iso attach issue in test_escalations_instances.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-22 13:03:20 +05:30
Gaurav Aradhye f52f968c83 CLOUDSTACK-8100: Fixed pep8 issues in test_vpc.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-22 12:55:41 +05:30
Ashutosh K 6c722c9d21 CLOUDSTACK-8087: Fixed test_vpc_on_host_maintenance.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-19 10:36:14 +05:30
Gaurav Aradhye 0db63d87aa CLOUDSTACK-8084: Fixed test_17_add_nic_different_zone in test_add_remove_network.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-19 10:36:02 +05:30
Gaurav Aradhye d88126988b CLOUDSTACK-8090: Moving test_dedicated_guest_vlan_ranges.py to maint folder for the test cases need to be run separately, serially
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-19 10:35:36 +05:30
Gaurav Aradhye 3090e4a030 CLOUDSTACK-8084: Fixed test_17_add_nic_different_zone in test_add_remove_network.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-19 10:20:29 +05:30
Ashutosh K 162f61b73f CLOUDSTACK-8087: Fixed test_vpc_on_host_maintenance.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-19 10:15:25 +05:30
Gaurav Aradhye 95b558414f CLOUDSTACK-8090: Moving test_dedicated_guest_vlan_ranges.py to maint folder for the test cases need to be run separately, serially
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-19 10:13:06 +05:30
Gaurav Aradhye 27295d235d CLOUDSTACK-8089: Fixed test_explicit_dedication.py test case and moved to maint folder for it is to be run separately
Signed-off-by: pdion891 <pdion891@apache.org>
2014-12-18 20:00:41 -05:00
Gaurav Aradhye ad258cc8f5 CLOUDSTACK-8089: Fixed test_explicit_dedication.py test case and moved to maint folder for it is to be run separately
Signed-off-by: pdion891 <pdion891@apache.org>
2014-12-18 20:00:12 -05:00
SrikanteswaraRao Talluri b6bac7f673 bug-id:CLOUDSTACK-8055cleaned up test tags, removed unecessary tags.
reviewed-by: SrikanteswaraRao Talluri <talluri@apache.org>

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 18:54:09 +05:30
Ashutosh K ed5bc1c7ea CLOUDSTACK-8071: Fixed api key issue in test_snapshots_improvement.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:28:53 +05:30
Gaurav Aradhye 94814603db CLOUDSTACK-8055: test_portable_ip.py - Tagging test case which can't be run on simulator
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:28:44 +05:30
Gaurav Aradhye daabe92a99 CLOUDSTACK-8081: Fixed VM snapshot test cases in test_escalation_instances.py and also dealt cleanup issues
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:28:35 +05:30
Ashutosh K c3508f61a1 CLOUDSTACK-8074: Fixed maint/test_multiple_ip_ranges.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:28:25 +05:30
Ashutosh K 7cf94260ee CLOUDSTACK-8074: Fixed maint/test_multiple_ip_ranges.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:25:05 +05:30
Gaurav Aradhye 6674f95cdd CLOUDSTACK-8081: Fixed VM snapshot test cases in test_escalation_instances.py and also dealt cleanup issues
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:20:53 +05:30
Gaurav Aradhye 831cb1130e CLOUDSTACK-8055: test_portable_ip.py - Tagging test case which can't be run on simulator
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:18:40 +05:30
Ashutosh K 391108ff53 CLOUDSTACK-8071: Fixed api key issue in test_snapshots_improvement.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:17:59 +05:30
Gaurav Aradhye 9c7f50aaac CLOUDSTACK-8069: Fixed test script in test_tags.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 19:03:08 +05:30
Gaurav Aradhye e791e8ec6d CLOUDSTACK-8069: Fixed test script in test_tags.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 19:01:17 +05:30
Gaurav Aradhye ecbeb003ec CLOUDSTACK-8055: Tagging test cases which can't be run on simulator accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 18:58:14 +05:30
Gaurav Aradhye ff15320a4e CLOUDSTACK-8055: Tagging test cases which can't be run on simulator accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 18:57:02 +05:30
Gaurav Aradhye fab0054782 CLOUDSTACK-8068: Fixing test script issue in test_ps_project_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 18:55:48 +05:30
Gaurav Aradhye 44d295e5c0 CLOUDSTACK-8068: Fixing test script issue in test_ps_project_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 18:54:28 +05:30
Gaurav Aradhye 47ee7c0319 CLOUDSTACK-8055: Tagging test cases which can't be run on simulator accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 18:39:24 +05:30
Gaurav Aradhye d2ed5fb9a3 CLOUDSTACK-8055: Tagging test cases which can't be run on simulator accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 18:31:45 +05:30
Gaurav Aradhye b45fe24e5c CLOUDSTACK-8062: test_multiple_ip_ranges.py - Fix the test case to avoid using same vlan IP range in each test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-11 17:54:32 +05:30
Gaurav Aradhye d773eee39c CLOUDSTACK:8018: Fix test_redundant_router.test_redundantVR_internals - The SSH to router was being done from wrong host
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-11 17:54:22 +05:30
Gaurav Aradhye 487bf5f57d CLOUDSTACK:8058: Fix test_reset_ssh_keypair.py for EIP setup
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-11 17:54:00 +05:30
Gaurav Aradhye 9aefd9bf4f CLOUDSTACK:8058: Fix test_reset_ssh_keypair.py for EIP setup
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-11 17:48:17 +05:30
Gaurav Aradhye bbebac7339 CLOUDSTACK:8018: Fix test_redundant_router.test_redundantVR_internals - The SSH to router was being done from wrong host
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-11 17:44:30 +05:30
Gaurav Aradhye 7ff118c90b CLOUDSTACK-8062: test_multiple_ip_ranges.py - Fix the test case to avoid using same vlan IP range in each test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-11 17:41:54 +05:30
Gaurav Aradhye 40f26142b3 CLOUDSTACK-8059: test_host_high_availability.py - Adding necessary code to check the hosts in cluster and update the host with appropriate tags to make it HA enabled
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-10 18:45:43 +05:30
Gaurav Aradhye 75f9201853 CLOUDSTACK-8057: test_dedicate_guest_vlan_range.py - Marking a test as invalid
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-10 18:45:30 +05:30
Gaurav Aradhye ec478c49a6 CLOUDSTACK-8057: test_dedicate_guest_vlan_range.py - Marking a test as invalid
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-10 18:44:25 +05:30
Gaurav Aradhye 345a2f8cdd CLOUDSTACK-8059: test_host_high_availability.py - Adding necessary code to check the hosts in cluster and update the host with appropriate tags to make it HA enabled
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-10 18:43:20 +05:30
Gaurav Aradhye c4d383786f CLOUDSTACK-8053: Fix loop termination - test_vpc_host_maintenance.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-09 19:01:44 +05:30
Gaurav Aradhye f07c6bce49 CLOUDSTACK-8049: Tagging test cases which cannot be run on simulator accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-09 19:01:34 +05:30
Gaurav Aradhye 0977140043 CLOUDSTACK-8048: Fix test_ss_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-09 19:01:27 +05:30
Gaurav Aradhye e22cc6e940 CLOUDSTACK-8048: Fix test_ss_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-09 18:54:14 +05:30
Gaurav Aradhye b23fd5ee53 CLOUDSTACK-8049: Tagging test cases which cannot be run on simulator accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-09 18:53:19 +05:30
Gaurav Aradhye ab580de38d CLOUDSTACK-8053: Fix loop termination - test_vpc_host_maintenance.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-09 18:30:06 +05:30
Gaurav Aradhye ca52f15530 CLOUDSTACK-8021: Change test cases to use host information from configurableData section in test_data.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 20:13:27 +05:30
Gaurav Aradhye 7c951a2fa9 CLOUDSTACK-8018: Improve code quality - test_redundant_router.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 19:51:13 +05:30
Sheng Yang ddf6fd2f9a CLOUDSTACK-7436: Fix automation test on RvR status detection
Everytime when checking the RvR status, you must wait some time for RvR to
update it's status. The polling thread would update the status only every 30
seconds by default.
2014-12-05 19:51:04 +05:30
Gaurav Aradhye 100e46bf4e CLOUDSTACK-8018: Improve code quality - test_redundant_router.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:40:23 +05:30
Gaurav Aradhye 6020053110 CLOUDSTACK-8028: Fix test_data.py - Separate virtual_machine dict having userdata key
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:37:22 +05:30
Gaurav Aradhye a72b6a7f99 CLOUDSTACK-8028: Fix test_data.py - Separate virtual_machine dict having userdata key
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:36:19 +05:30
Gaurav Aradhye d5370a95d2 CLOUDSTACK-8002: test_high_availability.py - Skip test cases if enough hosts are not available
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 11:19:03 +05:30
Gaurav Aradhye a6fd3190c0 CLOUDSTACK-8003: test_egress_fw_rules.py - Remove test case dependency on each other and improve cleanup code
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 11:18:54 +05:30
Gaurav Aradhye fe0a55fb57 CLOUDSTACK-8003: test_egress_fw_rules.py - Remove test case dependency on each other and improve cleanup code
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 11:18:19 +05:30
Gaurav Aradhye 6f046bd1ab CLOUDSTACK-8002: test_high_availability.py - Skip test cases if enough hosts are not available
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 11:18:19 +05:30
Chandan Purushothama 41b871b6bd CLOUDSTACK-8007: Fixed the script 'test_vm_passwdenabled.py' - Template created by Admin should have public access to be used for regular User VM Deployment 2014-12-04 13:01:25 -08:00
Rohit Yadav bf88be5b25 Revert "CLOUDSTACK-8011: Upgrade maven dependencies"
This reverts commit 482815d084.
2014-12-04 19:47:23 +05:30
Ashutosh K 608b0c5a24 CLOUDSTACK-7998: test_escalations_instances.py - Correcting code related to detach volume
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-04 16:38:35 +05:30
Ashutosh K 1f7699f458 CLOUDSTACK-7998: test_escalations_instances.py - Correcting code related to detach volume
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-04 16:37:35 +05:30
Ashutosh K c2c7ee25ed CLOUDSTACK-8020: test_snapshots.py - Fixed cleanup issue
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-04 16:32:48 +05:30
Ashutosh K 0a757b0f10 CLOUDSTACK-8020: test_snapshots.py - Fixed cleanup issue
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-04 16:30:50 +05:30
Rohit Yadav 482815d084 CLOUDSTACK-8011: Upgrade maven dependencies
Changes;
- Upgrades maven-war plugin to 4.5 (faster war packaging)
- Upgrade spring framework to latest minor release
- Upgrade ehcache, jasypt, httpclient, httpcore and other core dependencies
- Upgrade to latest ipv6 library, fix unit test NetUtilsTest
- httpcore and httpclient are sharing same version variable
- commons-httpclient is different that httpclient, the fix gives it a separate var
- Apidocs failed to generate and get stuck with new reflections version, for now
  we will continue using 0.9.8

Newer dependencies can be listed using:
mvn versions:display-dependency-updates -Dnoredist -Dsimulator -P developer,systemvm

Testing;
- Tested using Maven 3.2.1
- Local noredist build with unit tests succeeds
- CloudStack mgmt server started, basic business layer tests work
- Observed 10-15% build time improvement using new maven-war plugin

Branch: bugfix/4.5-8011 (commits are squashed in favour of a linear history)

Pull request:
https://github.com/apache/cloudstack/pull/50

This closes #50

TravisCI build summary:
https://travis-ci.org/shapeblue/cloudstack/builds/42902172

- Build passes with unit tests
- Apidocs generates successfully
- Most integration tests pass, some fail due to timeout errors, second re-run
  passes some of them

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit fac7bfc5d5)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	pom.xml
2014-12-04 02:14:54 +05:30
Rohit Yadav fac7bfc5d5 CLOUDSTACK-8011: Upgrade maven dependencies
Changes;
- Upgrades maven-war plugin to 4.5 (faster war packaging)
- Upgrade spring framework to latest minor release
- Upgrade ehcache, jasypt, httpclient, httpcore and other core dependencies
- Upgrade to latest ipv6 library, fix unit test NetUtilsTest
- httpcore and httpclient are sharing same version variable
- commons-httpclient is different that httpclient, the fix gives it a separate var
- Apidocs failed to generate and get stuck with new reflections version, for now
  we will continue using 0.9.8

Newer dependencies can be listed using:
mvn versions:display-dependency-updates -Dnoredist -Dsimulator -P developer,systemvm

Testing;
- Tested using Maven 3.2.1
- Local noredist build with unit tests succeeds
- CloudStack mgmt server started, basic business layer tests work
- Observed 10-15% build time improvement using new maven-war plugin

Branch: bugfix/4.5-8011 (commits are squashed in favour of a linear history)

Pull request:
https://github.com/apache/cloudstack/pull/50

This closes #50

TravisCI build summary:
https://travis-ci.org/shapeblue/cloudstack/builds/42902172

- Build passes with unit tests
- Apidocs generates successfully
- Most integration tests pass, some fail due to timeout errors, second re-run
  passes some of them

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-04 02:12:51 +05:30
Chandan Purushothama b0d74ad6fc CLOUDSTACK-7996: Fixed the script test_tags.py - Tags and Template should belong to the User Account to test the case 2014-12-02 16:48:20 -08:00
Gaurav Aradhye 98d75b0259 CLOUDSTACK-7991: test_security_groups.py - Move config data to test_data.py and fix pep8 issues
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
2014-12-02 10:03:41 -05:00
Gaurav Aradhye 818957de0c CLOUDSTACK-7991: test_security_groups.py - Move config data to test_data.py and fix pep8 issues
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
2014-12-02 09:56:49 -05:00
Chandan Purushothama 4c21172f3b CLOUDSTACK-7979 : Fixed the script 'test_security_groups.py' - Zone Network Type Information should to be passed to VirtualMachine create method 2014-12-02 15:44:22 +05:30
Gaurav Aradhye 3d279bbb19 CLOUDSTACK-7993: Code enhancement - test_egress_fw_rules.py - Removing unncessary waits
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-02 15:40:47 +05:30
Gaurav Aradhye 6a2c18a989 CLOUDSTACK-7993: Code enhancement - test_egress_fw_rules.py - Removing unncessary waits
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-02 15:36:13 +05:30
Gaurav Aradhye 2fa1b02e3c CLOUDSTACK-8001: test_add_remove_network.py - Tag invalid test case as invalid
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-02 15:33:09 +05:30
Gaurav Aradhye e6236297a1 CLOUDSTACK-8001: test_add_remove_network.py - Tag invalid test case as invalid
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-02 15:32:33 +05:30
Chandan Purushothama d5761ea65b CLOUDSTACK-7980 : Fixed the script '/maint/test_egress_rules_host_maintenance.py' - Zone Network Type Information should to be passed to VirtualMachine create method 2014-11-26 19:33:23 -08:00
Chandan Purushothama 4f8799315f CLOUDSTACK-7979 : Fixed the script 'test_security_groups.py' - Zone Network Type Information should to be passed to VirtualMachine create method 2014-11-26 19:33:06 -08:00
Chandan Purushothama b81cf5eab1 CLOUDSTACK-7978 : Fixed the script 'test_egress_rules.py' - Zone Network Type Information should to be passed to VirtualMachine create method 2014-11-26 19:32:46 -08:00
SrikanteswaraRao Talluri 2b22022f92 CLOUDSTACK-7865:Wrongly skipping the test if the local storage is enabled.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 19:22:51 +05:30
SrikanteswaraRao Talluri 8cca0b224d CLOUDSTACK-7865:Wrongly skipping the test if the local storage is enabled.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 19:22:11 +05:30
Gaurav Aradhye d0ca2d5d8b CLOUDSTACK-7933: test_escalations_instances.py - Fixed test_13_vm_nics for Vmware
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:58:00 +05:30
Gaurav Aradhye 1bc13f7537 CLOUDSTACK-7933: test_escalations_instances.py - Fixed test_13_vm_nics for Vmware
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:55:54 +05:30
Ashutosh K 2fbef677b0 CLOUDSTACK-7934: Fixed cleanup issues test_escalations_volumes.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:53:51 +05:30
Ashutosh K df6078bb2d CLOUDSTACK-7934: Fixed cleanup issues test_escalations_volumes.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:51:11 +05:30
Ashutosh K 30a2ade17a CLOUDSTACK-7942: Fixing account permission issue in test_template.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:48:53 +05:30
Ashutosh K 7197f8c24a CLOUDSTACK-7942: Fixing account permission issue in test_template.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:48:08 +05:30
Ashutosh K 6eb4a40afe CLOUDSTACK-7949: Fixing issue in test_base_image_updation.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:43:07 +05:30
Ashutosh K c25b6fab12 CLOUDSTACK-7949: Fixing issue in test_base_image_updation.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:42:08 +05:30
Ashutosh K 50ab04dc0d CLOUDSTACK-7953: Fixed time wait period for verifying snapshot policy
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:39:43 +05:30
Ashutosh K 0ce9439d37 CLOUDSTACK-7953: Fixed time wait period for verifying snapshot policy
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:38:49 +05:30
Ashutosh K 1db2d14422 CLOUDSTACK-7963: Fixed test case in test_dedicate_guest_vlan_ranges.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:35:13 +05:30
Ashutosh K 825cae8d92 CLOUDSTACK-7963: Fixed test case in test_dedicate_guest_vlan_ranges.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:32:33 +05:30
Gaurav Aradhye 684268f4c3 CLOUDSTACK-7938: Marvin - Create a new section in test_data.py for configurable data and change test cases accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:30:33 +05:30
Gaurav Aradhye d7940cca1e CLOUDSTACK-7938: Marvin - Create a new section in test_data.py for configurable data and change test cases accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:27:01 +05:30
Ashutosh K 4f82528829 CLOUDSTACK-7965: Fix script related to force delete domain test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:18:16 +05:30
Ashutosh K 2805f51e43 CLOUDSTACK-7965: Fix script related to force delete domain test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:16:31 +05:30
Chandan Purushothama 71bb436c8d CLOUDSTACK-7955: Fixed the script test_project_limits.py - Register Template in the Project to test the Template limits on the project 2014-11-21 18:25:44 -08:00
Chandan Purushothama 3a6f248e3a CLOUDSTACK-7956: Fixed the script 'test_project_usage.py' - Register Template in the Project to test the Template limits on the project 2014-11-21 18:24:15 -08:00
Sangeetha Hariharan 50bf7496e3 CLOUDSTACK-7732-[Automation] - Automate organization States Test Cases relating to enabling/disabling of zone,pod,host and cluster. 2014-11-21 12:32:14 -08:00
Chandan Purushothama 20a8852db1 CLOUDSTACK-7928 : Fixed the script 'test_vpc_vm_life_cycle.py' - Removed the Invalid test cases for Stopped VPC VR Scenario 2014-11-18 19:19:44 -08:00
Chandan Purushothama e712ac78d0 CLOUDSTACK-7810 : Fixed the script 'test_vpc_vm_life_cycle.py' 2014-11-17 17:35:13 -08:00
Gaurav Aradhye 91ffaaa5a2 CLOUDSTACK-7912: Remove hardcoded netscaler info and read it from config file
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-17 15:30:24 +05:30
Gaurav Aradhye 5f99917991 CLOUDSTACK-7912: Remove hardcoded netscaler info and read it from config file
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-17 15:14:27 +05:30
SrikanteswaraRao Talluri 44663a868b Merge branch '4.5'
* 4.5:
  CLOUDSTACK-7355 - test_netscaler_configs.py uses hardcoded NetScaler credentials
2014-11-14 16:58:31 +05:30
Doug Clark 3609f60447 CLOUDSTACK-7355 - test_netscaler_configs.py uses hardcoded NetScaler credentials
Refactored code to use test_data instead of hardcoded NetScaler credentials
Refactored code to remove large scale duplication
Fixed some minor logic error in the existing tests

This patch has not added or removed any of the original test-cases.

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-14 16:56:59 +05:30
SrikanteswaraRao Talluri 0fd5475593 Merge branch '4.5'
* 4.5:
  CLOUDSTACK-7885 : Fixed the script '/maint/test_vpc_host_maintenance.py'
  CLOUDSTACK-7860: test_eip_elb.py - Move Netscler info out of the test case. Read it from config. Fix attribute error. Fix pep8 issues. Fix imports.
2014-11-14 16:49:51 +05:30
Chandan Purushothama f92fa4257a CLOUDSTACK-7885 : Fixed the script '/maint/test_vpc_host_maintenance.py'
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-14 16:46:37 +05:30
Gaurav Aradhye 2bfddc55b8 CLOUDSTACK-7860: test_eip_elb.py - Move Netscler info out of the test case. Read it from config. Fix attribute error. Fix pep8 issues. Fix imports.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-14 16:39:55 +05:30
SrikanteswaraRao Talluri 63ff683b89 Merge branch '4.5' 2014-11-13 18:30:12 +05:30
Gaurav Aradhye b3faab6f42 CLOUDSTACK-7693: test_scale_vm.py - fix pep8 issues
CLOUDSTACK-7878: Skip scale VM operation on vmware if vmware tools are not installed

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-13 18:28:13 +05:30
Gaurav Aradhye 46d9f8c6f5 CLOUDSTACK-7879: Skip dynamic scaling on vmware if vmware-tools are not installed
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-13 18:27:48 +05:30
SrikanteswaraRao Talluri 4bfb7f20c1 merging 2c08e30a49 from 4.5
Merge branch '4.5'
2014-11-13 18:11:49 +05:30
Chandan Purushothama 2c08e30a49 CLOUDSTACK-7894 : Fixed the script test_vm_passwdenabled.py - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-13 18:10:44 +05:30
SrikanteswaraRao Talluri fa4cc856aa bringing in bcf328833a from 4.5
Merge branch '4.5'
2014-11-13 17:58:56 +05:30
Chandan Purushothama bcf328833a CLOUDSTACK-7895 : Fixed the script test_security_groups.py - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-13 17:56:20 +05:30
Chandan Purushothama a02864ab8b CLOUDSTACK-7897 : Fixed the script test_reset_ssh_keypair.py - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-13 17:50:14 +05:30
Chandan Purushothama 765443e7d5 CLOUDSTACK-7897 : Fixed the script test_reset_ssh_keypair.py - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-13 17:49:22 +05:30
Chandan Purushothama 81e03c4c31 CLOUDSTACK-7788: Fixed the script 'test_dynamic_compute_offering.py' to be run only on hardware 2014-11-12 18:36:07 -08:00
Chandan Purushothama 57f6642234 CLOUDSTACK-7787: Fixed the script 'test_lb_secondary_ip.py' to be run only on hardware 2014-11-12 18:35:33 -08:00
Chandan Purushothama 540687c392 CLOUDSTACK-7786: Fixed the script 'test_haproxy.py' to be run only on hardware 2014-11-12 18:29:50 -08:00
Chandan Purushothama 172a0b7ee0 CLOUDSTACK-7811: Fixed the script 'test_persistent_networks.py' - Test Cases failing on Simulator due to hardware resources requirement for test execution 2014-11-12 18:26:56 -08:00
Chandan Purushothama f416c82f01 CLOUDSTACK-7812: Fixed the script 'maint/test_redundant_router_network_rules.py' - Test Cases failing on Simulator due to hardware resources requirement for test execution 2014-11-12 18:26:18 -08:00
Sangeetha Hariharan b12207cf25 CLOUDSTACK-7891 - Fix failure in integration.component.test_escalations_instances.TestInstances/test_15_revert_vm_to_snapshot 2014-11-12 17:11:44 -08:00
Chandan Purushothama 76ef987e7c CLOUDSTACK-7876 - Fixed the script 'test_vpc_vm_life_cycle.py' - Destruction of VM before it can be recovered needs to be prevented 2014-11-12 16:04:55 -08:00
SrikanteswaraRao Talluri 7efc4c388f CLOUDSTACK-7865: fixed pep8 errors and errors in wrong references
to the variables
2014-11-11 19:21:38 +05:30
SrikanteswaraRao Talluri 5759857ffc CLOUDSTACK-7865: fixed pep8 errors and errors in wrong references
to the variables
2014-11-11 19:18:59 +05:30
Gaurav Aradhye 46802557e8 CLOUDSTACK-7818: Fixing test_escalations_instances.py, Removing dependency of test cases on each other
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:22:12 +05:30
Gaurav Aradhye 85ac979f72 CLOUDSTACK-7818: Fixing test_escalations_instances.py, Removing dependency of test cases on each other
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:20:35 +05:30
Gaurav Aradhye 53694133d8 CLOUDSTACK-7823: test_snapshots.py - remove test case dependency on each other
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:17:32 +05:30
Gaurav Aradhye d4d8326a31 CLOUDSTACK-7823: test_snapshots.py - remove test case dependency on each other
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:14:08 +05:30
Gaurav Aradhye a3d08aebb7 CLOUDSTACK-7856: test_vpc_network_pf_rules.py - Check if httpd service is running or not, if not, start it
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:10:11 +05:30
Gaurav Aradhye 23df5f22ac CLOUDSTACK-7856: test_vpc_network_pf_rules.py - Check if httpd service is running or not, if not, start it
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:07:46 +05:30
Chandan Purushothama 2f7959d219 CLOUDSTACK-7862: Fixed the script 'maint/test_high_availability.py' - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:37:02 +05:30
Chandan Purushothama fa8f0a43c3 CLOUDSTACK-7862: Fixed the script 'maint/test_high_availability.py' - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:34:30 +05:30
Chandan Purushothama aed6e95e5d CLOUDSTACK-7863: Fix the script 'test_vpc_vms_deployment.py' - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:32:39 +05:30
Chandan Purushothama f78defda0f CLOUDSTACK-7863: Fix the script 'test_vpc_vms_deployment.py' - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:31:31 +05:30
Gaurav Aradhye 3e00f99c53 CLOUDSTACK-7866: Passing type value to list_hosts method so as to avoid listing SSVM and CPVM
Correcting hostid attribute

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:29:39 +05:30
Gaurav Aradhye b00f144c20 CLOUDSTACK-7866: Passing type value to list_hosts method so as to avoid listing SSVM and CPVM
Correcting hostid attribute

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:28:02 +05:30
Gaurav Aradhye 2cd4ad201a CLOUDSTACK-7800: Correcting code related to unplug NIC on VMware
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-05 12:57:40 +05:30
Gaurav Aradhye fce9f96399 CLOUDSTACK-7800: Correcting code related to unplug NIC on VMware
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-05 12:57:00 +05:30
Gaurav Aradhye 8b636bd41e CLOUDSTACK-7800: VMware - Hot plug/unplug NIC to/from VM only when vmware tools are installed, else assert for exception
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:59:50 +05:30
Gaurav Aradhye 0d6e3e48ba CLOUDSTACK-7805: test_vpc_vms_deployment.py - Removing invalid steps from test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:58:23 +05:30
Gaurav Aradhye d5316d0572 CLOUDSTACK-7685: Fixed copy template method call in test_escalations_template.py. Removed unbound method of the same name as bound method from base library and changed method call accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:55:52 +05:30
Gaurav Aradhye 6d7666b135 CLOUDSTACK-7801: test_volumes.py - Fixed import and pep8 issues
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:54:40 +05:30
Gaurav Aradhye 7b48b69763 CLOUDSTACK-7802: test_vpc_network.py - Increasing polling period for network state check
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:53:59 +05:30
Gaurav Aradhye 883123630c CLOUDSTACK-7682: Fixed usage event issue. Used api client of account for which we are checking the usage
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:53:27 +05:30
Gaurav Aradhye 1f7ffb2618 CLOUDSTACK-7684: Fixed Exception not raised issue in secondary storage limits test suite test_ss_max_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:52:41 +05:30
Gaurav Aradhye bf7ce74c93 CLOUDSTACK-7691: Fixed 'Exception not raised' issue in test_project_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:52:03 +05:30
Gaurav Aradhye 5d37f37436 CLOUDSTACK-7692: Fixed template register issue in test_project_usage.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:23:01 +05:30
Gaurav Aradhye b277b1abd8 CLOUDSTACK-7728: Test script to identify product issue
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:22:07 +05:30
Prashant Kumar Mishra 9e37a51bde CLOUDSTACK-7632:Automation for volume life cycle testPath
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:12:16 +05:30
Hugo Trippaers 1681b02279 CLOUDSTACK-7646 Move the nuage test out of smoke as it depends on noredist components
(cherry picked from commit 779cd60a70)
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-10-30 16:49:05 +01:00
Hugo Trippaers 779cd60a70 CLOUDSTACK-7646 Move the nuage test out of smoke as it depends on noredist components 2014-10-30 16:45:41 +01:00
Prashant Kumar Mishra a69950f6a9 CLOUDSTACK-7632:Automation for volume life cycle testPath
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This closes #32
2014-10-30 18:30:25 +05:30
Gaurav Aradhye aa1e260812 CLOUDSTACK-7728: Test script to identify product issue
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:35:32 +05:30
Gaurav Aradhye 4f297efef5 CLOUDSTACK-7692: Fixed template register issue in test_project_usage.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:33:37 +05:30
Gaurav Aradhye e2ba1b614c CLOUDSTACK-7691: Fixed 'Exception not raised' issue in test_project_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:32:24 +05:30
Gaurav Aradhye dc4b04fbe8 CLOUDSTACK-7684: Fixed Exception not raised issue in secondary storage limits test suite test_ss_max_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:31:19 +05:30
Gaurav Aradhye b9fed951ef CLOUDSTACK-7682: Fixed usage event issue. Used api client of account for which we are checking the usage
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:28:39 +05:30
Gaurav Aradhye a1e7feead9 CLOUDSTACK-7685: Fixed copy template method call in test_escalations_template.py. Removed unbound method of the same name as bound method from base library and changed method call accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:15:52 +05:30
Gaurav Aradhye b1ab888bf0 CLOUDSTACK-7801: test_volumes.py - Fixed import and pep8 issues
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:07:52 +05:30
Gaurav Aradhye af510eb656 CLOUDSTACK-7802: test_vpc_network.py - Increasing polling period for network state check
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:06:46 +05:30
Gaurav Aradhye a4174d3e91 CLOUDSTACK-7805: test_vpc_vms_deployment.py - Removing invalid steps from test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:01:31 +05:30
Hugo Trippaers 4ebaf0a583 Bump master version to 4.6.0-SNAPSHOT after branching 4.5.0-SNAPSHOT 2014-10-29 14:54:23 +01:00
Gaurav Aradhye 070e689c4f CLOUDSTACK-7800: VMware - Hot plug/unplug NIC to/from VM only when vmware tools are installed, else assert for exception
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-29 15:06:08 +05:30
Chandan Purushothama b10f0a7990 CLOUDSTACK-7769 - Fixed test_ssvm.py script 2014-10-22 15:55:37 -07:00
Sangeetha Hariharan f510ef995b CLOUDSTACK-7762 -[Automation] - Fix test failure for test_02_revert_vm_snapshots in smoke/test_vm_snapshots.py 2014-10-21 18:35:53 -07:00
sanjeev a1b913db2a Adding new test which would verify the fix for issue "The ISO/Template is automatically deleted after URL expires"
Signed-off-by: sanjeev <sanjeev@apache.org>
2014-10-17 18:04:35 +05:30
Daan Hoogland 1de0cb7094 restore barematel work after merge 2014-10-17 10:24:01 +02:00
Rohit Yadav 7072d8d701 PR: #23 Merge 4.5 back into master from 'DaanHoogland/merge-master'
Fixes #23

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-10-16 18:54:06 +05:30
Alex Brett 20d3cf1acc CLOUDSTACK-7727 Skip various BVT tests on LXC
A number of BVT tests are not valid for LXC (e.g. migrating a VM), so this patch
ensures they skip if LXC is in use.

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-16 17:23:04 +05:30
Alex Brett d081efc647 CLOUDSTACK-7727 Skip various BVT tests on LXC
A number of BVT tests are not valid for LXC (e.g. migrating a VM), so this patch
ensures they skip if LXC is in use.

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-16 17:21:44 +05:30
Daan Hoogland 148efbb73f Merge remote-tracking branch 'origin/4.5' into merge-master
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade441to450.java
	plugins/hypervisors/baremetal/src/com/cloud/baremetal/manager/BaremetalManagerImpl.java
	plugins/hypervisors/baremetal/src/com/cloud/baremetal/manager/BaremetalVlanManager.java
	plugins/hypervisors/baremetal/src/com/cloud/baremetal/manager/BaremetalVlanManagerImpl.java
	plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalKickStartServiceImpl.java
	plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareStorageProcessor.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
	setup/db/db/schema-441to450.sql
	test/integration/component/test_deploy_vgpu_vm.py
	tools/marvin/marvin/config/test_data.py
2014-10-16 12:29:37 +02:00
Gaurav Aradhye bd9d57e20c CLOUDSTACK-7690: Added missing unittest import to test_escalations_volumes.py
fixed pep8 issues

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-15 11:02:33 +05:30
Gaurav Aradhye ac820a3230 CLOUDSTACK-7690: Added missing unittest import to test_escalations_volumes.py
fixed pep8 issues

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-15 11:01:39 +05:30
Gaurav Aradhye 159a372fdd CLOUDSTACK-7693: Fixing pep8 issues
pep8 fixes for test_routers.py

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-15 10:58:15 +05:30
Gaurav Aradhye 35e05a69a5 CLOUDSTACK-7693: Fixing pep8 issues
pep8 fixes for test_routers.py

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-15 10:56:55 +05:30
sailajamada 58cfbcdf98 vGPU VMSnapshot Test Automation 2014-10-15 10:32:34 +05:30
Prashant Kumar Mishra 372ad94368 CLOUDSTACK-7632:Automation for volume life cycle testPath
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 679f945074)
2014-10-13 00:34:54 -04:00
Gaurav Aradhye f3196d6518 CLOUDSTACK-7646: test_nuage_vsp.py - Fixed basic indentation issues, list index issues, marked it as invalid because the test cases needs attention by the original author as it does not pass even after fixing the issues. Also moving it to smoke folder as clearly it is a Basic Validation test
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 5408e0b8d1)
2014-10-13 00:33:06 -04:00
Gaurav Aradhye f583dcb463 CLOUDSTACK-7644: test_persistent_networks.py - SSH failure in case of LB rule due to port mismatch
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit cd672709c3)
2014-10-13 00:32:41 -04:00
Gaurav Aradhye 54a2bb0a7e CLOUDSTACK-7649: test_lb_secondary_ip.py - Removed SSH trying step after Destroying and Recovering VM because secondary IP information does not retain on VM after destroying it and SSH will not be successful in that case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 69bd2d3c7c)
2014-10-13 00:32:19 -04:00
VinayV c90db15ade CLOUDSTACK-6282-Added hyper-v hypervisor checks for automated tests
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
(cherry picked from commit d7dea70e89)
2014-10-13 00:29:38 -04:00
sailajamada 2116f7dbb7 Additional Guest OS support for vGPU Test Automation
(cherry picked from commit 402a3323f8)
2014-10-13 00:04:44 -04:00
sanjeev 285cdae773 Test script to verify vm deployment with two networks in SG enabled advanced zone
Test data to deploy new data center and execute test using the deployed zone

Signed-off-by: sanjeev <sanjeev@apache.org>

Incorporated review comments provided in RR 25097

Fixed review comments mentioned in RR25293

Conflicts:

	tools/marvin/marvin/config/test_data.py

(cherry picked from commit 9e5da759b3)
2014-10-13 00:04:04 -04:00
Gaurav Aradhye d6970d4514 CLOUDSTACK-7616: Fixed test_escalations_ipaddress.py - test suite should use its own vpc offering
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 0b9938ce40)
2014-10-13 00:03:29 -04:00
Gaurav Aradhye f22b0cf76a CLOUDSTACK-7603: Fixed test_escalations_network.py - test suite should use its own vpc offering
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit e5efa702bb)
2014-10-13 00:03:18 -04:00
Ashutosh K 20a0763b04 CLOUDSTACK-7499: Adding test cases for VMLC test path
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 05913e3cbd)
2014-10-13 00:02:44 -04:00
sailajamada 09420dd0b1 List ISO's test to verify default ISO's are listed always
(cherry picked from commit d19a78ddf7)
2014-10-13 00:00:59 -04:00
Gaurav Aradhye 059633d09a CLOUDSTACK-7617: Removed hard coded VM names and skipped test cases according to the hypervisor support
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit f4ef836309)
2014-10-13 00:00:38 -04:00
Chandan Purushothama 89736d011e CLOUDSTACK-7555 - Fixed the test_usage script - Template now belongs to the Regular Account to test TEMPLATE.CREATE Event
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit f3252db797)
2014-10-12 23:55:01 -04:00
sanjeev 5c2094eec1 CLOUDSTACK-6172: Adding new test case to verify this fix
Conflicts:

	test/integration/component/test_volumes.py

Signed-off-by: sanjeev <sanjeev@apache.org>

CLOUDSTACK-6172: Fixed review comments provided in RR 25771
(cherry picked from commit 2d19bcb46a)
2014-10-12 23:47:05 -04:00
sanjeev 4076d87038 Creating custom disk does not work as expected
(cherry picked from commit 0d5a435f76)
2014-10-12 23:45:27 -04:00
Sangeetha Hariharan 8f4e8a4d79 CLOUDSTACK-7587 - Automation - Add simulator_only attribute to acl related test cases.
(cherry picked from commit 7877f3f960)
2014-10-12 23:38:53 -04:00
Prashant Kumar Mishra 679f945074 CLOUDSTACK-7632:Automation for volume life cycle testPath
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-08 17:50:25 +05:30
Gaurav Aradhye 5408e0b8d1 CLOUDSTACK-7646: test_nuage_vsp.py - Fixed basic indentation issues, list index issues, marked it as invalid because the test cases needs attention by the original author as it does not pass even after fixing the issues. Also moving it to smoke folder as clearly it is a Basic Validation test
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-07 17:17:31 +05:30
Gaurav Aradhye cd672709c3 CLOUDSTACK-7644: test_persistent_networks.py - SSH failure in case of LB rule due to port mismatch
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-07 17:15:38 +05:30
Gaurav Aradhye 69bd2d3c7c CLOUDSTACK-7649: test_lb_secondary_ip.py - Removed SSH trying step after Destroying and Recovering VM because secondary IP information does not retain on VM after destroying it and SSH will not be successful in that case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-07 16:59:08 +05:30
VinayV d7dea70e89 CLOUDSTACK-6282-Added hyper-v hypervisor checks for automated tests
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-10-07 10:09:33 +05:30
sailajamada 402a3323f8 Additional Guest OS support for vGPU Test Automation 2014-09-26 17:12:41 +05:30
sanjeev 9e5da759b3 Test script to verify vm deployment with two networks in SG enabled advanced zone
Test data to deploy new data center and execute test using the deployed zone

Signed-off-by: sanjeev <sanjeev@apache.org>

Incorporated review comments provided in RR 25097

Fixed review comments mentioned in RR25293

Conflicts:

	tools/marvin/marvin/config/test_data.py
2014-09-26 16:08:58 +05:30
Gaurav Aradhye e5efa702bb CLOUDSTACK-7603: Fixed test_escalations_network.py - test suite should use its own vpc offering
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-26 14:46:43 +05:30
Gaurav Aradhye 0b9938ce40 CLOUDSTACK-7616: Fixed test_escalations_ipaddress.py - test suite should use its own vpc offering
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-26 14:43:50 +05:30
Ashutosh K 05913e3cbd CLOUDSTACK-7499: Adding test cases for VMLC test path
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-26 14:37:26 +05:30
sailajamada d19a78ddf7 List ISO's test to verify default ISO's are listed always 2014-09-26 12:50:18 +05:30
Gaurav Aradhye f4ef836309 CLOUDSTACK-7617: Removed hard coded VM names and skipped test cases according to the hypervisor support
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-26 12:09:07 +05:30
Chandan Purushothama f3252db797 CLOUDSTACK-7555 - Fixed the test_usage script - Template now belongs to the Regular Account to test TEMPLATE.CREATE Event
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-25 12:04:16 +05:30
Sheng Yang d2fbe5ccd3 CLOUDSTACK-7436: Fix automation test on RvR status detection
Everytime when checking the RvR status, you must wait some time for RvR to
update it's status. The polling thread would update the status only every 30
seconds by default.
2014-09-23 16:50:04 -07:00
sanjeev 5fb2b3a0d2 Test to verify fix for issue "Exception when attaching data disk to RHEL vm on vSphere
Added Rhel6 template details to test_data.py

Signed-off-by: sanjeev <sanjeev@apache.org>

Fixed review comments provided in RR 25536
2014-09-23 17:17:16 +05:30
sanjeev 2d19bcb46a CLOUDSTACK-6172: Adding new test case to verify this fix
Conflicts:

	test/integration/component/test_volumes.py

Signed-off-by: sanjeev <sanjeev@apache.org>

CLOUDSTACK-6172: Fixed review comments provided in RR 25771
2014-09-23 16:08:26 +05:30
sanjeev 0d5a435f76 Creating custom disk does not work as expected 2014-09-23 14:15:39 +05:30
Sangeetha Hariharan 7877f3f960 CLOUDSTACK-7587 - Automation - Add simulator_only attribute to acl related test cases. 2014-09-19 16:00:00 -07:00
Sangeetha Hariharan 7537c33bcd CLOUDSTACK-7585 -Automation - Fix test_acl_sharednetwork.py and test_acl_sharednetwork_deployVM-impersonation.py to pick 'Shared Network' network offering when creating networks 2014-09-18 19:53:28 -07:00
Gaurav Aradhye 032bce5b54 CLOUDSTACK-7565: Fixes to avoiding QEMU issue in attach volume operation by changing test case steps
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-18 12:01:02 +05:30
Sangeetha Hariharan d08adef264 CLOUDSTACK-7567 - Automate ACL test cases relating to depoying VM in shared network with different scopes - All/Domain/Domain with subdomain/Account for Admin, domain admin and regular users. 2014-09-17 13:45:37 -07:00
Gaurav Aradhye 71611da17f CLOUDSTACK-7547: Brocade Device Data was hard coded, moved it to config file
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-17 14:40:30 +05:30
Gaurav Aradhye 58ea99a9d6 CLOUDSTACK-7557: test_vpc_network.py - Fixed wait period of network state check
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-17 14:38:59 +05:30
Gaurav Aradhye 20f9d3dcd8 CLOUDSTACK-7387: Corrected code related to adding host tags
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-17 14:34:32 +05:30
SrikanteswaraRao Talluri 374d6ad798 Revert "CLOUDSTACK-7387: Corrected code related to adding host tags"
This reverts commit 1b14fa6abe.
2014-09-17 14:34:18 +05:30
Sangeetha Hariharan 65608e9949 CLOUDSTACK-7551 - Automate ACL test cases relating to impersonation when depoying VM in shared network 2014-09-16 18:45:58 -07:00
Chandan Purushothama 50990c4042 CLOUDSTACK-7554 : Fixed the script - /component/test_templates.py - User Account now has permissions to the Template created by Admin 2014-09-16 12:11:48 +05:30
sanjeev 8567701f07 CLOUDSTACK-7552: In hyper-v additional data disks will be mapped to /dev/sdb
Made changes to test_volumes.py accordingly
2014-09-16 11:59:12 +05:30
Gaurav Aradhye 1b14fa6abe CLOUDSTACK-7387: Corrected code related to adding host tags
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-16 11:33:13 +05:30
Gaurav Aradhye 13357cff7d CLOUDSTACK-7516: Fixed resource permission issue in test_snapshots.py, account was using template registered with other account
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-16 11:30:33 +05:30
Gaurav Aradhye f5ff78947e CLOUDSTACK-7441: Fixed template registration issue in test_resource_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-16 11:22:18 +05:30
Gaurav Aradhye 593ba5538a CLOUDSTACK-7135: test_baremetal.py - Tagging test case as invalid
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-15 16:53:50 +05:30
Gaurav Aradhye 46c1c1c949 CLOUDSTACK-7391: Passing virtualmachineid while retrieving suitable hosts for migration
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-15 16:41:40 +05:30
Gaurav Aradhye 3a3e5cbbbb CLOUDSTACK-7134: Fixed test cases for basic zone, services dict was getting overwritten which passed zone type as advanced even in basic zone setup
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-15 14:58:15 +05:30
Gaurav Aradhye 3411fbacca CLOUDSTACK-7351: Passing hypervisor type while deploying VM using ISO
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-10 18:17:51 +05:30
Gaurav Aradhye 81d5dd9bcd CLOUDSTACK-7519: Using bound/unbound methods instead of directly calling API methods from test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-10 14:37:54 +05:30
Sangeetha Hariharan 9b65759f36 CLOUDSTACK-7033-[Automation] - Automate ACL test cases relating to isolate Network for deleteNetwork() api 2014-09-09 17:46:34 -07:00
Sangeetha Hariharan 7a79fd1c5e CLOUDSTACK-7514-[Automation] - Automate ACL test cases relating to listSnapshots() 2014-09-09 17:44:29 -07:00
Gaurav Aradhye 402fc914cf CLOUDSTACK-7393: Expunging VM immediately and removing unncessary wait in test_vpc_vm_life_cycle.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-09 11:43:54 +05:30
Sangeetha Hariharan 5049dd0bf0 CLOUDSTACK-7034 - [Automation] - Automate ACL test cases relating to listVirtualMachines() 2014-09-08 14:18:29 -07:00
Gaurav Aradhye 40a537fedc CLOUDSTACK-7434: Fixed VM Internal name issue in test_custom_hostname.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-08 17:41:27 +05:30
Koushik Das 23f5772c30 Removed 'BugId' tag from tests for fixed bugs 2014-09-08 16:00:08 +05:30
Santhosh Edukulla 412791e09f Removed a print statement, its printing huge data to stdout making to see the run info difficult, removed 2014-09-06 12:31:31 +05:30
Gaurav Aradhye ffbcd29103 CLOUDSTACK-7393: Fixed host tags issue in test_vpc_vm_life_cycle.py, This enables 9 test cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-05 14:33:23 +05:30
Sangeetha Hariharan 3f9e826d28 CLOUDSTACK-7492 -[Automation]-Automate ACL test cases relating to listVloumes() 2014-09-04 17:55:50 -07:00
Alex Brett 06b96d1ccf CLOUDSTACK-7448 Fix test_delete_account and test_releaseIP
CLOUDSTACK-4840 changed test_data.py to make the lbrule publicport be 22,
instead of 2222. In doing so, this caused the following tests to fail, as they
hit a problem where they tried to use port 22 for both the lbrule and for other
purposes:
integration.smoke.test_network.TestDeleteAccount.test_delete_account
integration.smoke.test_network.TestReleaseIP.test_releaseIP

The reason the change appears to have been made was that in
test_lb_secondary_ip.py, despite setting up the load balancer using lbrule, the
tests then used the SSH port from natrule to try and access the VM. By changing
lbrule to use port 22 (the same as natrule) this avoided the problem.

This patch updates test_lb_secondary_ip.py to use the SSH port in lbrule where
necessary to access the VMs, and reverts the change to test_data.py
2014-09-04 17:19:08 -07:00
Gaurav Aradhye abfb469f91 CLOUDSTACK-7442: Fixed template permission issue in test_project_resources.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-04 17:56:50 +05:30
SrikanteswaraRao Talluri a8c75c197e CLOUDSTACK-7433: removed hard coding for host credentials
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-04 17:44:50 +05:30
SrikanteswaraRao Talluri b43d9345e9 CLOUDSTACK-7431: moved ldap configuration details to test_data.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-04 17:38:42 +05:30
SrikanteswaraRao Talluri 3d369de6fe CLOUDSTACK-7388: removed host credentials in the services dict. 2014-09-04 17:26:51 +05:30
SrikanteswaraRao Talluri aa64d8b3e7 CLOUDSTACK-7389: fix for the script bugs CLOUDSTACK-7389, CLOUDSTACK-7390 and few
other fixes.
2014-09-04 17:07:34 +05:30
sailajamada a958730b39 vGPU Service offering test automation after including review comments 2014-09-04 14:52:03 +05:30
Hugo Trippaers dc3f0cbc63 Improve the handling of the findbug exclude files 2014-09-03 10:41:22 +02:00
John Dilley 9b783d19ad CLOUDSTACK-7228 Only shrink disk when CLVM is in use.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-03 12:30:59 +05:30
Gaurav Aradhye 396f29c135 CLOUDSTACK-7441: Fixed tempalte register issue in test_resource_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-03 12:17:08 +05:30
Alex Brett 24dd6cee78 CLOUDSTACK-7467 Fix TestVolumes.test_07_resize_fail
Previously if you had a volume using a non customisable disk offering, and
attempted to resize it passing in the same disk offering id, the command would
be accepted, but it would actually be resized to its current size (i.e. the
provided size parameter was ignored). This is what the test used to check.

Commit de6a3112b6 modified the logic to check if
the provided diskofferingid was the same as the current one, and if so treat it
as if it hadn't been provided - this means the resize command now fails, which
is probably the more sensible thing to do (rather than giving the impression it
will be resized but actually not doing so).

This change therefore modifies the test logic to match.

Signed-off-by: Mike Tutkowski <mike.tutkowski@solidfire.com>
2014-09-02 13:09:40 -06:00
sailajamada 3d04b52d7e Changing host password to retrieve from testdata 2014-09-02 13:30:27 +05:30
sailajamada 885431864c vGPU automation changes removing the host password 2014-09-01 22:21:36 +05:30
sailajamada 50b1fd4c47 vGPU add and list host test cases with review comments 2014-09-01 22:04:11 +05:30
Abhinav Roy 615c070c0a vgpu lifecycle test cases with review comments 2014-09-01 14:13:39 +05:30
Gaurav Aradhye 623205a658 CLOUDSTACK-7437: Fixed snapshot cleanup issue in test_escalations_snapshots.py 2014-09-01 13:47:37 +05:30
Gaurav Aradhye a1dc17125b CLOUDSTACK-7444: Allowing user account to submit async jobs in addition to admin 2014-09-01 13:35:01 +05:30
Gaurav Aradhye 6827d677a4 CLOUDSTACK-7407: Skip tests if physical network does not have OVS provider support 2014-09-01 13:33:38 +05:30
Gaurav Aradhye a4307f85c6 CLOUDSTACK-7439: Fix 'Unable to find VM' issue in test_tags.py 2014-09-01 13:26:07 +05:30
Ashutosh K fe6f0cf626 CLOUDSTACK-1466: Automation - Secondary Storage Test Cases 2014-08-28 12:39:41 +05:30
Ashutosh K 4c69609fa1 CLOUDSTACK-2251: Automation - dedicated guest VLAN ranges feature 2014-08-28 12:32:07 +05:30
Sangeetha 68b95aec0f CLOUDSTACK-7002 This test suite contains test cases relating to access checks for createNetwork(), deploying VM in an isolated network and restartNetwork() for Admin, domain admin and regular users. 2014-08-25 16:05:45 -07:00
Ashutosh K 134a868013 CLOUDSTACK-4840: Automation test cases for LB for secondaruy IP 2014-08-25 10:36:31 +05:30
Girish Shilamkar 598e9b1cbc CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
John Dilley 2995c7f34b CLOUDSTACK-7354: Set isdynamicallyscalable before attempting to scale the VM
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-22 19:10:38 +05:30
Gaurav Aradhye 4e115c28a6 CLOUDSTACK-7367: Corrected script in test_add_remove_network.py related to expunge VM 2014-08-22 17:24:43 +05:30
Gaurav Aradhye 3e0c55cabe CLOUDSTACK-7385: Fixed LB creation issue in test_persistent_networks.py 2014-08-22 13:42:21 +05:30
Gaurav Aradhye a67bc4975a CLOUDSTACK-7386: Fixed cleanup issue in test_escalations_volumes.py 2014-08-22 13:40:15 +05:30
sanjeev c4a32d9416 CLOUDSTACK-5986: Test script for verifying fix CS-5986 for vpc networks
Signed-off-by: sanjeev <sanjeev@apache.org>

Made changes to test script as per the review comments in Review Request 23928
2014-08-22 11:17:54 +05:30
sanjeev 51bfd56244 Test script to verify if there is an error in editing a network without network domain
Signed-off-by: sanjeev <sanjeev@apache.org>
2014-08-22 11:07:28 +05:30
Gaurav Aradhye ac80535574 CLOUDSTACK-7368: Fixed network cleanup issue in test_add_remove_network.py 2014-08-21 11:34:44 +05:30
sanjeevneelarapu 76d050ba53 CLOUDSTACK-4282: [SharedNetworks] Unable to create multiple shared networks with different VLAN but with same CIDR
Signed-off-by: sanjeev <sanjeev@apache.org>

Incorporated review comments provided in review request 23610
2014-08-21 10:22:19 +05:30
Alex Brett fd1a71603f CLOUDSTACK-7363 test_vmware_drs.py should skip on non-VMWare hypervisors
Make the tests check if the hypervisor being used is VMWare, and skip if not

Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-18 22:16:47 +05:30
Gaurav Aradhye 762f831c28 CLOUDSTACK-7352: Fixed issue in test_escalations_vpncustomergateways.py 2014-08-18 20:31:25 +05:30
John Dilley b9079f3db1 CLOUDSTACK-7346: Skip iSCSI primary storage test for VMWare
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-18 20:18:17 +05:30
Girish Shilamkar bbd1da19d4 CLOUDSTACK-7353: Fixed issue with list VM in test_projects.py 2014-08-18 20:04:12 +05:30
Santhosh Edukulla 516895d48e Removed a print statement 2014-08-14 21:57:20 +05:30
Gaurav Aradhye a38bb389b2 CLOUDSTACK-7331: Fixed issue in test_persistent_networks.py 2014-08-14 11:35:58 +05:30
Santhosh Edukulla 56071844da Moved vm sync test cases to misc folder 2014-08-14 00:40:32 +05:30
Girish Shilamkar 5f893daa2c CLOUDSTACK-7284: Fixed regression issue in test_escalations_instances.py 2014-08-13 18:49:28 +05:30
Girish Shilamkar f6bde7b46b CLOUDSTACK-7284: Fixed string issue in test_snapshots.py 2014-08-13 17:39:26 +05:30
Gaurav Aradhye b7c4259d97 CLOUDSTACK-7330: Fixing ListNetworks issue in test_portable_ip.py
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-13 17:14:47 +05:30
Gaurav Aradhye 525ee4a4aa CLOUDSTACK-7329: Fixed issues in test_region_vpc.py
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-13 17:10:48 +05:30
Santhosh Edukulla 4c4d89f4d9 Fixed an isci failure for kvm in ci 2014-08-13 16:28:09 +05:30
Santhosh Edukulla ce622c0a29 Fixed an issue failing in CI, where iscsi support is not available for kvm 2014-08-13 15:38:36 +05:30
Gaurav Aradhye 76cecc325f CLOUDSTACK-7284: Fixed test script related to expunge VM in test_add_remove_network.py 2014-08-13 11:32:23 +05:30
Gaurav Aradhye f9a66655e3 CLOUDSTACK-7321: Resolved cleanup issue in test_network.py
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-13 10:07:33 +05:30
Girish Shilamkar 97ecd5575c CLOUDSTACK-7284: Fixed cleanup issue in test_escalations_instances.py, VM should be deleted before deleting the network 2014-08-12 19:28:06 +05:30
Girish Shilamkar 07abf7d7c1 CLOUDSTACK-7284: Fixed VM delete issue, expunge not allowed by user api client 2014-08-12 19:19:43 +05:30
Girish Shilamkar 045a290cec CLOUDSTACK-7284: Fixed cleanup issue in test_escalations_snapshots.py 2014-08-12 19:15:22 +05:30
Gaurav Aradhye d3f75618e7 CLOUDSTACK-7304: Fixed Exception not raised issue in portable IP test cases
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-12 17:51:23 +05:30
John Dilley d75961d973 CLOUDSTACK-7192: Skip tests on Hyper-V which don't apply 2014-08-12 16:49:56 +05:30
sanjeev bc92bfd827 CLOUDSTACK: Test script to verify fix for CS-5332
Signed-off-by: sanjeev <sanjeev@apache.org>
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-12 13:45:55 +05:30
Gaurav Aradhye a52a1cd4fc CLOUDSTACK-7292: Fixed issue in test_deploy_vm_root_resize.py
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-08 18:06:36 +05:30
Doug Clark 6220947dbe CLOUDSTACK-7281: Fix error in debug line
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-07 21:00:13 +05:30
Doug Clark a75646b185 CLOUDSTACK-7269 - Fix expunge from non-Admin account error in Marvin
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-07 15:40:09 +05:30
John Dilley 5f816e3e3f CLOUDSTACK-7271: Accept any hypervisor in error message
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-07 14:02:38 +05:30
Gaurav Aradhye 1e3a689793 CLOUDSTACK-6873: Moved test cases that run only on simulator and those should be run serially to misc folder and also tagged them with required_hardware='simulator only'
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-07 12:49:28 +05:30
Gaurav Aradhye c38a15f6e8 Removing invalid import from test_escalations_templates.py
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-06 15:32:47 +05:30
Gaurav Aradhye adcfdf2547 CLOUDSTACK-7241: Fixed error in test_escalations_ipaddresses.py
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-06 15:29:35 +05:30
Doug Clark f7c72cdedc test_06_destroy_vm in test/integration/smoke/test_vm_life_cycle.py fails because the expunge parameter is set to true, this also cause tests that execute in test_vm_life_cycle.py after this test to fail.
Signed-off-by: Nitin Mehta <nitin.mehta@citrix.com>
2014-08-05 11:04:26 -07:00
Gaurav Aradhye c76302cdd8 CLOUDSTACK-7240: Fixed expunge VM issue in test_persistent_networks.py
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-05 17:30:41 +05:30
Girish Shilamkar 9bab1c8550 Fixing vpc distributed test cases 2014-08-05 11:09:21 +05:30
John Dilley 0c77b2007e CLOUDSTACK-7223: Wait for system VM agent state to be up before verification
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-04 20:28:56 +05:30
sailajamada acffe5ac3b vGPU automation changes to make use of existing windows 8 template in the setup to deploy vGPU VMs 2014-08-04 16:13:48 +05:30
Gaurav Aradhye c32b19a07d CLOUDSTACK-7215: Make expunge=True as default parameter value while calling destroyVirtualMachine through base library
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-04 12:21:32 +05:30
Girish Shilamkar 2231fc8920 Revert "CLOUDSTACK-6992 Test data was passed to test methods.Made code changes to get test data and pass it to test methods. Also reading portable ip config values was not proper in getPortableIpRangeServices method. So corrected it"
This reverts commit dfee7b1456.
2014-08-04 11:01:31 +05:30
Girish Shilamkar 98e2a0444f Revert "CLOUDSTACK-7044: Portable IP Range test case changes - reading portable ip range from test_data.py file"
This reverts commit 613eb12104.
2014-08-04 11:01:09 +05:30
Gaurav Aradhye 1cf1abcf47 Fixed key error in test_snapshots.py 2014-07-31 20:48:34 +05:30
Gaurav Aradhye 42a861e590 CLOUDSTACK-7205: Adding expunge=True while deleting VM for test case execution speed improvement 2014-07-30 21:37:26 +05:30
Gaurav Aradhye 291b3ceea5 Fixing missing attribute issue in test_stopped_vm.py 2014-07-30 21:36:14 +05:30
Gaurav Aradhye 0b6996bef6 Fixed test_escalations_instances.py - Stop VM before detaching root volumes 2014-07-30 21:35:15 +05:30
Gaurav Aradhye cfbbc81a82 Fixing test_escalations_ipaddresses.py - Passing type Isolated while listing Networks to avoid inclusion of shared networks in the list 2014-07-30 21:33:34 +05:30
Gaurav Aradhye e1be035870 CLOUDSTACK-6873: Removing BugId from tests 2014-07-30 18:46:40 +05:30
Girish Shilamkar ec10e8db27 CLOUDSTACK-7199: Fixed test_multiple_ips_per_nic.py test failures 2014-07-30 12:12:58 +05:30
Chandan Purushothama e8486dfcaa 18 Test cases in the test_egress_fw_rules.py script fails if the guest network is any network other than 10.1.1.0/24 network. The script assumes the guest network to be 10.1.1.0/24 network. Added code to the test suite so that the test cases will work for isolated guest network with any network cidr.
Signed-off-by: Nitin Mehta <nitin.mehta@citrix.com>
2014-07-29 10:50:32 -07:00
John Dilley 57ee142ded CLOUDSTACK-7190: Fix Hyper-V issue when attempting SSH to System VMs 2014-07-28 16:59:34 +05:30
sailajamada 0ae2a8a581 vGPU QA Automation Script with review comments 2014-07-28 15:45:19 +05:30
sailajamada 1c925ede37 Fixing vGPU script 2014-07-25 22:59:20 +05:30
Girish Shilamkar 4046b19a6b Changing 'raise exception' to 'skip test' in case not enough hosts available 2014-07-25 20:26:08 +05:30
Girish Shilamkar e4e9b745e1 Fixing resize volume test case 2014-07-25 19:58:40 +05:30
Gaurav Aradhye 12ce5115e4 CLOUDSTACK-7181: Skip tests on KVM - changing service offering when VM is in running state - not supported on KVM 2014-07-25 19:18:21 +05:30
Gaurav Aradhye 0332a23aa7 Removing basic tag from few test cases which should not be run on basic zone 2014-07-25 19:17:25 +05:30
Gaurav Aradhye e62df62d92 Code rector - using library functions instead of repetative code 2014-07-25 19:15:28 +05:30
Gaurav Aradhye 97b9e86561 Skipping test instead of raising exception in case enough zones are not present for it to run on 2014-07-25 19:10:49 +05:30
Gaurav Aradhye 9245b7b71f CLOUDSTACK-7183: Fixing cleanup issue in tsest_escalations_instances.py 2014-07-25 18:29:15 +05:30
Gaurav Aradhye 853d66a439 CLOUDSTACK-7180: Tagging test case with product bug ID 2014-07-25 18:27:48 +05:30
Girish Shilamkar b63acc2278 Removed invalid code from file test_snapshot_gc.py 2014-07-25 17:53:09 +05:30
SrikanteswaraRao Talluri 59f25d2436 CLOUDSTACK-7053: automated tests for 4.2.x bugs- management server components 2014-07-25 01:27:01 +05:30
Gaurav Aradhye 59c77fbaa4 CLOUDSTACK-7127: Fix for addRegion failure, avoiding regionid 1 while creating new region through test case 2014-07-24 20:32:40 +05:30
Gaurav Aradhye 49005b324f CLOUDSTACK-7125: Fixed test_blocker_bugs.py, added code to wait for snapshots to be in 'BackedU' state 2014-07-24 20:30:48 +05:30
Gaurav Aradhye 78a6d557f8 CLOUDSTACK-7178: Correcting imports in test_escalations* test cases 2014-07-24 20:28:15 +05:30
sanjeev 9f4f9211d0 CLOUDSTACK-5986: Test scipt to verify the fix in isolated network for non-vpc networks
Signed-off-by: sanjeev <sanjeev@apache.org>
2014-07-23 18:28:08 +05:30
Ritu Sabharwal 628d8e66f7 CLOUDSTACK-6823 : First code drop for Brocade Network plugin to orchestrate Brocade VDX switches for L2 connectivity
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-07-23 11:11:18 +02:00
sanjeev 0ac2eb4f67 CLOUDSTACK: Static IP address assignment for VM
Signed-off-by: sanjeev <sanjeev@apache.org>

Incorporated review comments for review request 23614
2014-07-23 14:14:22 +05:30
Gaurav Aradhye 2c0765195a CLOUDSTACK-7147: Resolving test script issue in test_ip_reservation.py 2014-07-22 08:00:50 -04:00
Ashutosh K 613eb12104 CLOUDSTACK-7044: Portable IP Range test case changes - reading portable ip range from test_data.py file 2014-07-22 07:44:35 -04:00
Ashutosh K 981becc735 CLOUDSTACK-7148: Adding missing list method 2014-07-22 07:37:58 -04:00
Ashutosh K 45888e214c CLOUDSTACK-7137: Resolving cleanup issue in test_escalations_securitygroups.py 2014-07-22 07:27:32 -04:00
Girish Shilamkar 88f35179ef Revert "CLOUDSTACK-7130: Adding BugId to failed test cases"
This reverts commit 24da72f373.
2014-07-21 19:10:34 -04:00
Suresh Ramamurthy 03de9cc335 CLOUDSTACK-6845 : NuageVsp Network plugin
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-07-21 10:49:49 +02:00
Koushik Das 43dffaad5f Revert "CLOUDSTACK-7107: Disabling failed test case"
This reverts commit 186606a0bf.
2014-07-21 12:05:55 +05:30
Gaurav Aradhye 24da72f373 CLOUDSTACK-7130: Adding BugId to failed test cases 2014-07-18 04:09:43 -04:00
Ashutosh K 5f87056e95 CLOUDSTACK-7024: Resolved cleanup issue in test script 2014-07-18 02:31:33 -04:00
sailajamada 1e4695b9aa Fixing vGPU BVT testcase to skip the test on unsupported hypervisors 2014-07-18 10:57:36 +05:30
Ashutosh K 4bab99972f CLOUDSTACK-7022: Fixed typo 2014-07-17 03:27:20 -04:00
Ashutosh K 332191b1bf CLOUDSTACK-7013: Fixing test script issue in test_add_remove_network.py 2014-07-16 23:59:33 -04:00
Ashutosh K 7f6ea4bbed CLOUDSTACK-7014: Resolving test script related to affinity groups tests 2014-07-16 23:22:05 -04:00
Ashutosh K 0c050e04fd CLOUDSTACK-7020:Fixed test script issue 2014-07-16 23:19:19 -04:00
Ashutosh K 28a4ae3713 CLOUDSTACK-7025: Resolving test script issue 2014-07-16 23:15:51 -04:00
Gaurav Aradhye 186606a0bf CLOUDSTACK-7107: Disabling failed test case 2014-07-16 21:36:57 -04:00
sanjeevneelarapu dfee7b1456 CLOUDSTACK-6992 Test data was passed to test methods.Made code changes to get test data and pass it to test methods. Also reading portable ip config values was not proper in getPortableIpRangeServices method. So corrected it
CLOUDSTACK-6992: Incorporated review comments for patch request 23009

CLOUDSTACK-6992: Added portable ip range to services class

Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-07-16 13:05:56 +05:30
santhosh aab6e1222f Fixed Regression issues mentioned under CLOUDSTACK-6708
Signed-off-by: santhosh <santhosh.edukulla@gmail.com>

Conflicts:

	test/integration/smoke/test_deploy_vm.py
	test/integration/smoke/test_network.py
	test/integration/smoke/test_routers.py
	test/integration/smoke/test_vm_life_cycle.py
2014-07-11 20:49:00 +05:30
Koushik Das ba38981933 CLOUDSTACK-7062: Enabled back the test as not able to repro 2014-07-11 17:04:36 +05:30
Koushik Das a413536f90 Added a simulator based test for VM sync 2014-07-07 12:57:55 +05:30
Gaurav Aradhye 8c61566d61 CLOUDSTACK-7062: Tagging test case with bug Id 2014-07-03 18:00:02 +05:30
SrikanteswaraRao Talluri 2148a1a64d CLOUDSTACK-7009: add ability to handle serviceofferingdetails to base.py
to support creation of service offering upon passing details in the  following format
            serviceofferingdetails[1].key=pciDevice
            serviceofferingdetails[1].value=Group of NVIDIA Corporation GK107GL [GRID K1] GPUs
            serviceofferingdetails[2].key=vgpuType
            serviceofferingdetails[2].value=GRID K120Q
2014-06-30 19:23:03 +05:30
Girish Shilamkar 2fedc281b7 Disable testcases 2014-06-29 22:30:56 -07:00
Girish Shilamkar 7bc997f4fb CLOUDSTACK-6984: Re-enable the testcase 2014-06-26 15:25:04 +05:30
Girish Shilamkar 867c894d27 Re-enabling fixed test case test_primary_storage.py
Conflicts:

	test/integration/smoke/test_primary_storage.py
2014-06-25 18:08:36 +05:30
Girish Shilamkar 83f2bb5ac7 Re-enabling fixed test cases
Conflicts:

	test/integration/smoke/test_scale_vm.py
2014-06-25 18:02:04 +05:30
Gaurav Aradhye 0df156c09e CLOUDSTACK-6984: Resolving issues found during simulator run 2014-06-24 20:54:05 +05:30
Girish Shilamkar fef55acbbf CLOUDSTACK-6914: Disabling few failing BVTs 2014-06-24 13:14:14 +05:30
Girish Shilamkar 5638c493ff CLOUDSTACK-6906: Fixing volume resize BVT 2014-06-20 20:44:16 +05:30
Girish Shilamkar 06fbaf59cc CLOUDSTACK-6943: Skip VM snapshot tests on KVM 2014-06-20 14:42:06 +05:30
Gaurav Aradhye aa5572c0ee CLOUDSTACK-6932: Removing redundant file test_escalations.py 2014-06-18 16:46:51 +05:30
Gaurav Aradhye e7fe391be4 CLOUDSTACK-1466: Automatiion - Primary Storage Limits test cases 2014-06-18 13:15:21 +05:30
Gaurav Aradhye 942fc98848 CLOUDSTACK-6887: Code enhancement to ensure better cleanup 2014-06-18 13:08:02 +05:30
Gaurav Aradhye e65b746b34 CLOUDSTACK-6906: Fixed volume resize BVT failure 2014-06-18 13:05:21 +05:30
Santhosh Edukulla 7c15f148da CLOUDSTACK-6914: Fixed the mentioned issue
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-06-17 14:26:44 +05:30
VinayV 99e4da15da CLOUDSTACK-6282-Modified IpAddresses, Instances, Templates, Snapshots tests to handle KVM and modified IPAddresses for failed list cases 2014-06-16 16:56:54 +05:30
Gaurav Aradhye 59a98839ce CLOUDSTACK-6887: Fixing account cleanup issue across multiple test cases 2014-06-13 19:08:29 +05:30
Girish Shilamkar 8e0aba4609 CLOUDSTACK-6888: Read postable IP configuration from config 2014-06-13 09:41:20 +05:30
Santhosh Edukulla 31d870933d Fixed vm ha cases failing in master
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-06-11 16:39:10 +05:30
Alex Brett cdfa265060 Fix for test_01_create_volume to use the correct volume name for KVM
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-06-11 16:02:03 +05:30
Ashutosh K dd26d4db63 CLOUDSTACK-6780: Resolved cleanup issue in portable ip test cases 2014-06-11 11:29:17 +05:30
sedukull b43517c496 CLOUDSTACK-6856 : Fixed few data corruption and retries issues for failing cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-06-06 21:52:03 +05:30
Bharat Kumar 96272f4cde CLOUDSTACK-6776: Removed hard coded vlan ids from BVT test_non_contiguous_vlan.py
Conflicts:
	test/integration/smoke/test_non_contigiousvlan.py
2014-06-05 11:33:08 +05:30
monism cdf4047ce8 CLOUDSTACK-6282-Added Autometed test for network APIs after incorporating review comments 2014-05-29 18:03:12 +05:30
Gaurav Aradhye b105a33e0c CLOUDSTACK-6782: Egress FW rules test cases - Format unicode to string before string matching 2014-05-29 11:10:20 +05:30
Abhinandan Prateek 9cd6c4f2ae Revert "CLOUDSTACK-6781: Disabling failing test corresponding to this bug"
This reverts commit 7bc7377a17.
2014-05-28 10:50:32 +05:30
Koushik Das 7bc7377a17 CLOUDSTACK-6781: Disabling failing test corresponding to this bug
Once the bug is fixed this needs to be enabled back
2014-05-27 20:37:52 +05:30
Gaurav Aradhye 0cc826aa53 CLOUDSTACK-5342: Fix for failure in adding network to VM 2014-05-27 14:44:59 +05:30
Gaurav Aradhye 3e3dc73271 CLOUDSTACK-6726: Fixing BVT test case test_network.py 2014-05-27 14:37:07 +05:30
Koushik Das 3f947f6124 CLOUDSTACK-6767: [Automation] integration.smoke.test_volumes.TestVolumes.test_07_resize_fail is failing on simulator
This test is not supported for simulator, updated tags from 'selfservice' to 'provisioning'
2014-05-27 11:45:32 +05:30
SrikanteswaraRao Talluri d0f806b3a4 CLOUDSTACK-6760: skipping unsupported scale VM test on KVM 2014-05-26 19:26:48 +05:30
Gaurav Aradhye 2218053fb1 Fixed issues in regression suite project cpu limits
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-26 10:53:14 +05:30
Gaurav Aradhye a0ad836fd2 CLOUDSTACK-6758: [Marvin] Detect failed job and throw exception
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-26 10:50:08 +05:30
Doug Clark f1ef34550e Add the shrinkok flag to allow volume shrinking in resize tests
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-05-23 11:54:17 +05:30
Min Chen ba848087f8 Disable IAM feature from 4.4 release. 2014-05-22 18:27:08 -07:00
Doug Clark 6f0b57216c Fix for Marvin utils.py:checkVolumeSize Fix for test_01_create_volume to use the correct volume name for XenServer
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-05-22 11:12:37 +05:30
Gaurav Aradhye 326f6d04ea Fixing issues in regression test suite test_accounts.py 2014-05-20 20:36:06 +05:30
vinayvarmav ef2012677c CLOUDSTACK-6282 - Divided test_escalations.py into individual files based on functionality and added automed tests for Public IP Addresses 2014-05-19 02:15:17 -04:00
Girish Shilamkar b4ad709d32 Revert "CLOUDSTACK-6282 - Divided test_escalations.py into individual files based on functionality and added automed tests for Public IP Addresses"
This reverts commit 2ba6322030.
2014-05-19 01:59:23 -04:00
vinayvarmav 2ba6322030 CLOUDSTACK-6282 - Divided test_escalations.py into individual files based on functionality and added automed tests for Public IP Addresses 2014-05-19 01:43:32 -04:00
Gaurav Aradhye 8c4763a1e9 Code improvement: Persistent Network Test cases, Adding check to verify network state and fail test case in case network state is not as desired 2014-05-18 21:11:59 -04:00
Gaurav Aradhye de9909403e CLOUDSTACK-6687: Fixed IP reservation test case failures with code re-factoring 2014-05-18 21:04:31 -04:00
Gaurav Aradhye 2e9cc58af6 CLOUDSTACK-6657: Adding condition for checking error code 530 across test cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-05-17 16:12:33 +05:30
Girish Shilamkar 1f05fa2fba CLOUDSTACK-6655: Fixing cleanup issues with portable IP test cases 2014-05-16 04:13:28 -04:00
Gaurav Aradhye 9f6e60f97f CLOUDSTACK-6689: Fixed indentation issue in persistent network test cases 2014-05-16 00:43:09 -04:00
Gaurav Aradhye 931dd051a8 CLOUDSTACK-5887: Resolved issue in test_base_image_updation.py 2014-05-15 10:33:40 +05:30
santhosh f03e8a6f72 CLOUDSTACK-6627 catch exception instead of checking response
Signed-off-by: santhosh <santhosh.edukulla@gmail.com>
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-05-12 15:03:30 +02:00
Gaurav Aradhye 6c8a0a1f96 Fixing few issues in Multiple IPs test cases 2014-05-10 00:37:56 -04:00
santhoshe 0e975a773a Fixed Few cases running on invalid zone,domain Fixed creating client on user passed port Fixed other misc issues
Signed-off-by: jayapal <jayapal@apache.org>
2014-05-08 01:47:29 +10:00
Girish Shilamkar 247c796693 CLOUDSTACK-6536: Code cleanup - removing unnecessary waits after VM stop operation, modifying imports, removing white-spaces, adding try catch blocks whenever necessary 2014-05-07 02:43:10 -04:00
Anish Kumar Bindal 25b1c037d6 JIRAID - CLOUDSTACK-6282 Added Networks API calls to test_escalations.py 2014-05-06 23:48:34 -04:00
Koushik Das 82c082792e CLOUDSTACK-6445: Minor fixes in vm ha test 2014-05-02 17:32:07 +05:30
SrikanteswaraRao Talluri 91d7d2b51e Fixed test data object retrieval 2014-04-30 19:51:21 +05:30
SrikanteswaraRao Talluri 9ed6563e7a Fixes for BVT and Regression run failures against 4.4 CS 2014-04-30 19:25:53 +05:30
SrikanteswaraRao Talluri b273f66423 CLOUDSTACK-5674:Fixes for BVT and Regression test failures.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>

Conflicts:
	test/integration/smoke/test_nic.py
2014-04-30 19:25:35 +05:30
SrikanteswaraRao Talluri 4efe933818 removed basic zone tag and added advanced zone tag 2014-04-30 14:00:18 +05:30
Santhosh Edukulla 6c9b21907c Added fix for CLOUDSTACK-6389
Added changes for CLOUDSTACK-6389.
More details in the bug.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-30 13:56:52 +05:30
Santhosh Edukulla bf54f74ffc Fix few issues seen in run.
Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2014-04-30 13:56:34 +05:30
SrikanteswaraRao Talluri e9fb906599 CLOUDSTACK-6511: fixed for bvt and component test failures 2014-04-25 18:13:47 +05:30
unknown e9e8c65b4d CLOUDSTACK-6282: Added Automated tests to test_escalations.py for Security Groups, VPN Customer Gateways, Templates, ISO's CS API calls
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-24 17:37:31 +05:30
Santhosh Edukulla ef9e2a9367 Fixed issues in CLOUDSTACK-6489
Fixed issues for CLOUDSTACK-6489
Along with fixed few indent issues.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-24 15:02:49 +05:30
unknown 2e95b5b707 0001-JiraId-CLOUDSTACK-6282.patch Added automated tests for Instances API calls to test_escalations.py file and added utility functions to base.py file 2014-04-24 12:33:57 +05:30
Santhosh Edukulla f57f22a79e Fixed few Licensing Issues
Added licensing information to files

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-24 12:16:49 +05:30
SrikanteswaraRao Talluri d22adf943d Merge branch 'marvin'
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>

Conflicts:
	test/integration/component/test_dynamic_compute_offering.py
	test/integration/smoke/test_deploy_vm.py
	test/integration/smoke/test_disk_offerings.py
	test/integration/smoke/test_volumes.py
2014-04-23 11:45:43 +05:30
Koushik Das b088821c61 CLOUDSTACK-6445: Simulator enhancements
Refer FS - https://cwiki.apache.org/confluence/display/CLOUDSTACK/Simulator+enhancements
2014-04-18 16:44:21 +05:30
Min Chen 5d59fc7f5a Fix RoleBasedQuerySelector to handle new listAll semantics. If
listAll=true, show all resources that caller (or impersonater) has
ListEntry access type; otherwise, show all resources that caller (or
impersonater) has UseEntry access type.
2014-04-17 18:06:07 -07:00
Min Chen 7796128372 Handle listAll flag in IAM buildAclSearchParameters. 2014-04-17 18:05:44 -07:00
SrikanteswaraRao Talluri 2f02abf364 Fixed failed tests in regression tests. 2014-04-11 12:11:50 +05:30
SrikanteswaraRao Talluri ca67e25f23 CLOUDSTACK-6316: fixed test data and their references in the test files and few more fixes in tests 2014-04-11 11:43:38 +05:30
SrikanteswaraRao Talluri 94fc4bf6bd CLOUDSTACK-6316: fixes for bvt failures 2014-04-11 02:28:49 +05:30
Marcus Sorensen 11f5bdd78d CLOUDSTACK-6191 Add support for specifying volume provisioning
type (thin, sparse, fat) in disk/compute offerings.

Submitted-by: Yoshikazu Nojima <mail@ynojima.net>
Reviewed-by: Marcus Sorensen, Mike Tutowski
2014-04-10 09:23:04 -06:00
Girish Shilamkar ef9471692d CLOUDSTACK-5674: Remove assigning accountname which was useless 2014-04-10 17:49:39 +05:30
SrikanteswaraRao Talluri f866bb21e6 CLOUDSTACK-6316: Fixed component and smoke test failures-third pass 2014-04-10 13:20:13 +05:30
Girish Shilamkar 8df1c71b6d CLOUDSTACK-5674: Fix issues with BVT 2014-04-09 21:17:01 +05:30
SrikanteswaraRao Talluri b83407fca3 CLOUDSTACK-6316: Fixed component and smoke test failures-second pass 2014-04-09 19:53:50 +05:30
Harikrishna Patnala ecc71518a9 CLOUDSTACK-6253: Optimizing VR alerts getting algorithm In addition to this a new configuration parameter is added router.alerts.check.interval defaulted to 30minutes to check for alerts in Virtual Router 2014-04-09 18:12:20 +05:30
Ashutosh K b5a93751e2 CLOUDSTACK-6147: Adding automation tests for Dynamic Compute
Offering
2014-04-09 15:13:35 +05:30
unknown d0b6e01da0 CLOUDSTACK-6282: Added-volume-API-tests-to-test_escalations.py.patch JiraId-CLOUDSTACK-6282.patch
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-08 23:13:08 +05:30
SrikanteswaraRao Talluri 0e223d6787 Merge branch 'master' into marvin
Conflicts:
	test/integration/component/test_base_image_updation.py
	test/integration/component/test_cpu_domain_limits.py
	test/integration/component/test_cpu_limits.py
	test/integration/component/test_cpu_project_limits.py
	test/integration/component/test_ip_reservation.py
	test/integration/component/test_memory_limits.py
	test/integration/component/test_mm_domain_limits.py
	test/integration/component/test_mm_project_limits.py
	test/integration/component/test_persistent_networks.py
	test/integration/component/test_portable_ip.py
	test/integration/component/test_routers.py
	test/integration/smoke/test_deploy_vm.py
	test/integration/smoke/test_deploy_vm_with_userdata.py
	test/integration/smoke/test_internal_lb.py
	test/integration/smoke/test_vm_life_cycle.py
	test/integration/smoke/test_volumes.py
	tools/marvin/marvin/codes.py
	tools/marvin/marvin/configGenerator.py
	tools/marvin/marvin/lib/base.py
	tools/marvin/marvin/lib/common.py
	tools/marvin/marvin/lib/utils.py
2014-04-08 17:53:37 +05:30
SrikanteswaraRao Talluri 818d4a6d9d CLOUDSTACK-6316: Fixed component and smoke test failures for wrong references 2014-04-08 16:08:27 +05:30
SrikanteswaraRao Talluri 08b87c0409 CLOUDSTACK-6316: Fixed bvt failures 2014-04-08 15:02:37 +05:30
SrikanteswaraRao Talluri bacfd109e2 CLOUDSTACK-6316: Fixed bvt failures because of test data and wrong references
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-04 21:35:30 +05:30
SrikanteswaraRao Talluri 0d5ec63371 CLOUDSTACK-6316: Fixed issues in various files(testcases and marvin related)
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-04 19:46:25 +05:30
Santhosh Edukulla 65e8f2dc53 Fixed issues related to CLOUDSTACK-5674
Fixed issues mentioned for CLOUDSTACK-5674.
More changes in the bug

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-04 18:30:45 +05:30
Sanjay Tripathi 4779e575bb CLOUDSTACK-5674: Minor fixes to BVT tests 2014-04-04 14:30:59 +05:30
Ashutosh K ca1b911a4f CLOUDSTACK-2266: Adding automation tests for IP reservation feature
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-02 10:59:06 +05:30
Santhosh Edukulla 34409d74cd Fixed few issues for CLOUDSTACK-6316,CLOUDSTACK-5674
Fixed issues related to the mentioned bugs.
More information in the bug.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-01 23:53:14 +05:30
Santhosh Edukulla 63d3688360 Added fix for CLOUDSTACK-6316
Added changes for CLOUDSTACK-6316.
More details in the bug

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2014-04-01 16:15:53 +05:30
Daan Hoogland 8b62b2cb92 findbugs: exclude known spiffy hacks a.k.a. false positives 2014-03-28 14:28:10 +01:00
yichi.lu 9b07979442 CLOUDSTACK-6015: add user account, add user, login as new user, delete user, delete user account.
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-03-28 06:21:59 -04:00
SrikanteswaraRao Talluri 91a5e3bb66 CLOUDSTACK-6125: adding 'selfservice','provisioning' tags to segregate the tests
that can be run on simulator only and that needs hardware.
2014-03-28 15:34:57 +05:30
Girish Shilamkar c1b4ac5004 Fix problem string comparison with unicode 2014-03-27 19:00:27 -04:00
SrikanteswaraRao Talluri 102c1bc9c8 CLOUDSTACK-6125: added smoke tests with following tags 1. selfservice - tests which can be run on simulator. 2. provisioning - tests that need actual hypervisor resource.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-03-25 15:43:05 +05:30
Girish Shilamkar 1f2d86c9ba CLOUDSTACK-6279: Fix egress rules tests failed due to comparison between string and unicode 2014-03-24 20:02:23 -07:00
Ashutosh K fe5ab4aa91 CLOUDSTACK-4840: Final set of test cases for Multiple IPs
per NIC feature
2014-03-23 21:15:45 -07:00
Murali Reddy d2d54a9463 region level VPC support
introduce 'RegionLevelVpc' as capability of 'Connectivity' service. Add
support for CreateVPCOffering to take the 'regionlevelvpc' as capability
of service 'connectivity'.

introduces new capability 'StretchedL2Subnet' for 'Connectivity'
service. Also add support to createNetworkOffering api to allow
StretchedL2Subnet capablity for the connectivity service.

adds check to ensure 'Connectivity' service provider supports
'StretchedL2Subnet' and 'RegionLevelVpc' capabilities when specified in
createNetworkOffering and createVpcOffering respectivley

enable ovs plug-in to support both StretchedL2Subnet and RegionLevelVpc
capabilities

make zone id optional parameter in createVpc, zone id can be null only
if vpc offfering supports region level VPC

in region level vpc, let the network/tier to be created in any zone of
the region

keep zoneid as required param for createVpc

skip external guest network guru if 'Connectivy' service is present in
network offering

fix build break in contrail manager

permit VM's to be created in different zone that in which network is
created if the network support streched L2 subnet

add integration tests for region level VPC

rebase to master

Conflicts:
	setup/db/db/schema-430to440.sql

Conflicts:
	api/src/org/apache/cloudstack/api/ApiConstants.java
	engine/schema/src/com/cloud/network/vpc/VpcVO.java
	setup/db/db/schema-430to440.sql
2014-03-20 16:32:22 +05:30
Marcus Sorensen d638d04cbf CLOUDSTACK-6181: Merge of resize root feature (resize-root branch) 2014-03-14 07:17:33 -06:00
Hugo Trippaers 4402685e11 Update master to 4.5.0-SNAPSHOT 2014-03-14 14:55:26 +01:00
Saksham Srivastava 48f8a95b06 CLOUDSTACK-6092: Storage OverProvisioning as a Per Primary Basis Allow storage.overprovisioning.factor to be specified at storape pool level.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2014-03-14 12:16:46 +05:30
Murali Reddy 015b667c6a integration tests for VPC's enabled for distributed routing 2014-03-14 16:56:38 +05:30
Harikrishna Patnala f7337527cf CLOUDSTACK-6090: Virtual Router Service Failure Alerting
Signed-off-by: Koushik Das <koushik@apache.org>
2014-03-14 15:14:15 +05:30
Gaurav Aradhye 768e91ef45 CLOUDSTACK-6215: Updating test case to accomodate condition for VMware
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-03-14 11:41:43 +05:30
Gaurav Aradhye 286974488e CLOUDSTACK-6215: Updating test case to accomodate condition for VMware
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-03-14 11:34:52 +05:30
Min Chen 99bdc8d875 Merge branch 'master' into rbac. 2014-03-13 11:05:03 -07:00
Koushik Das 5779292e93 CLOUDSTACK-6052: List VM enhancement to support querying with multiple VM IDs
New parameter 'ids' added to listVirtualMachine API. The syntax looks like
http://localhost:8096/api?command=listVirtualMachines&listAll=true&ids=eddac053-9b12-4d2e-acb7-233de2e98112,009966fc-4d7b-4f84-8609-254979ba0134
The new parameter will be mutually exclusive with the existing 'id' parameter.
2014-03-13 17:05:35 +05:30
Sanjay Tripathi c7d31fe288 CLOUDSTACK-4760 : Enabling GPU support for XenServer.
CLOUDSTACK-4762 : Enabling VGPU support for XenServer.

This feature is to enable the GPU-passthrough and vGPU functionality,
with the help of this feature, admins/users will be able to leverage
the GPU graphics unit power by deploying a virtul machine with GPU or
vGPU support or by changing the service offering of an existing VM
at any later point of time. There GPU/vGPU enabled VMs are able to run
graphical applications.
For now, this feature is only supported with XenServer hypervisor but
can be extended to add the support of other hypervisors.
2014-03-11 15:44:51 +05:30
sanjeevneelarapu 4eece72eb1 Bug-Id: CS-19455 Add support for Hyper-v in regression test test_routers.py
Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
2014-03-10 18:12:21 +05:30
Gaurav Aradhye 3f7b628c70 CLOUDSTACK-6147: Adding first set of test caess for Dynamic Compute Offering feature
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-03-10 11:20:44 +05:30
Gaurav Aradhye 3b3ae02459 CLOUDSTACK-5626: Simplifying VM Migrate code
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-03-10 11:18:26 +05:30
Min Chen 48e08fe676 Merge branch 'master' into rbac. 2014-03-06 14:02:20 -08:00
Min Chen 690c5d4d2a First time test_vm_iam.py is completely passed. 2014-03-04 11:17:20 -08:00
Gaurav Aradhye bb149fb77b CLOUDSTACK:4840: Adding further test cases for Multiple IPs per NIC feature
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-03-04 12:25:48 +05:30
Min Chen 91882e26bf List VM marvin test fix. 2014-03-03 17:26:16 -08:00
yichi.lu cefd4ce3be add some wait statements to tests
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-03-02 16:24:43 -05:00
yichi.lu 58a3e75058 CLOUDSTACK-6015 add Apache license header
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-03-02 16:24:43 -05:00
yichi.lu 3800728df7 initial check in
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-03-02 16:24:43 -05:00
Min Chen ae9be657e4 Fix IAM VM marvin test. 2014-02-28 17:33:10 -08:00
Min Chen 9f47466fea Fix some issues in renaming iam api, also fix marvin library. 2014-02-26 17:30:34 -08:00
Girish Shilamkar d70ef2a279 CLOUDSTACK-5925: Changes to regression tests as per new get_zone, get_pod etc definitions 2014-02-26 17:13:21 +05:30
Santhosh Edukulla 4a0e95cf5b CLOUDSTACK-6164: Added few changes for CLOUDSTACK-6164 2014-02-26 17:03:22 +05:30
Santhosh Edukulla bf77e9d669 CLOUDSTACK-6160: Changes to marvin apiclient
Removed apiclient.hypervisor references. More details in the bug
Few other changes pending for this related to VirtualMachine.create
need to be cleaned up
2014-02-24 18:56:46 +05:30
Min Chen b78cb2284a Add marvin integration test for list VM. 2014-02-21 15:35:48 -08:00
Ashutosh K 2091211c28 CLOUDSTACK-2232: Adding automation test cases for Persistent Networks feature 2014-02-21 17:46:14 +05:30
Girish Shilamkar 47c5b63881 CLOUDSTACK-5674: Fixed all BVTs and some marvin functions 2014-02-19 16:33:42 +05:30
Girish Shilamkar b70af44ecf CLOUDSTACK-4840: Add missed testcase in previous commit 2014-02-19 11:17:22 +05:30
Girish Shilamkar 38f4000108 CLOUDSTACk-5674: Fix missing import 2014-02-14 15:12:27 +05:30
Girish Shilamkar 1eb98e135b CLOUDSTACK-5674: Fix a missing closing bracket. 2014-02-14 15:06:29 +05:30
Girish Shilamkar 2d93d83b44 CLOUDSTACK-5674: Added missing import for FAILED 2014-02-14 14:59:35 +05:30
Girish Shilamkar aa2831231c CLOUDSTACK-5674: apiclient was used before it was created. Fixed it. 2014-02-14 14:42:06 +05:30
Girish Shilamkar f3a77c79e8 CLOUDSTACK-5674: cls.fail does not work in setUpClass fixed it with assert. 2014-02-14 14:27:13 +05:30
Santhosh Edukulla 3dbb2ae488 CLOUDSTACk-5674: Added fix for CLOUDSTACK-5674 2014-02-12 17:34:34 +05:30
Girish Shilamkar c1d34369aa Revert "CLOUDSTACK-5674: Few fixes"
This reverts commit e6b93b0a68.
2014-02-12 17:27:47 +05:30
Girish Shilamkar e6b93b0a68 CLOUDSTACK-5674: Few fixes 2014-02-11 14:54:46 +05:30
Girish Shilamkar 995e3f5b5d Revert "CLOUDSTACK-5674: Few new fixes"
This reverts commit 3493f17bad.
2014-02-11 12:36:07 +05:30
Girish Shilamkar 3493f17bad CLOUDSTACK-5674: Few new fixes 2014-02-09 16:04:31 -05:00
Gaurav Aradhye 9174020d9a CLOUDSTACK-6066: Improved migration code to handle scenarios
according to hypervisor type
2014-02-12 10:04:39 +05:30
Gaurav Aradhye d44c850445 CLOUDSTACK-5959: Fixed cascading failures in portable IP test cases 2014-02-10 12:34:17 +05:30
Santhosh Edukulla bf72441d13 CLOUDSTACK-6006: Remove integration folder and lib 2014-02-04 12:01:58 +05:30
Santhosh Edukulla a908b8d94b CLOUDSTACK-5793: Fixed few issues related CLOUDSTACK-5973 2014-02-04 11:23:10 +05:30
Santhosh Edukulla dedd41ed87 CLOUDSTACK-5963: Fixed smoke/test_network.py 2014-01-29 10:54:12 +05:30
Santhosh Edukulla d057585128 CLOUDSTACK-5948: Fixes to BVT test_volumes.py
1. Added a generic way of verifying isk volumes.
2. Now, detach volume is called post the assert.
3. Added a sleep post detach volume to facilitate list volumes to have some time for detach operation.
4. Added a fix for a log check.
2014-01-29 10:36:23 +05:30
Girish Shilamkar 226df296d0 CLOUDSTACK-5674: Some fixes to marvin and resultant changes to tests. 2014-01-28 02:11:24 -05:00
Girish Shilamkar 6c5b1670b2 CLOUDSTACK-5925: Removed incorrect import 2014-01-27 19:14:45 -05:00
Girish Shilamkar 7305063fb4 CLOUDSTACK-5925: get_*() functionality changed in marvin, changed BVT too. 2014-01-28 11:12:24 +05:30
Girish Shilamkar 6a2cc9fbd0 CLOUDSTACK-5925: Moved test data from testsuites to marvin/config
Also merged redundant testdata as they were found.
2014-01-22 12:21:07 +05:30
Santhosh Edukulla 9393275611 CLOUDSTACK-5674: Added Fix for CLOUDSTACK-5674,5498,5500 and other issues as
part of cleanup
2014-01-22 12:19:20 +05:30
Ashutosh K c108d7f0d0 CLOUDSTACK-2237: Automation-Adding next set of test cases for feature - SG in advanced zone 2014-01-14 14:34:21 +05:30
Girish Shilamkar 842b58d6ee CLOUDTACK-5626: Made few changes to test_vpc_vm_life_cycle.py 2014-01-14 11:19:22 +05:30
Gaurav Aradhye 1760de47e5 CLOUDSTACK-5748: Refactored code related to executing script 2014-01-13 13:00:50 +05:30
Ashutosh K e58c3c809d CLOUDSTACK-5619: Egress Firewall rules - Increased timeout for router to come up 2014-01-08 19:22:07 +05:30
Gaurav Aradhye 777ab14942 CLOUDSTACK-5803: Fixed issues related to egress rule 2014-01-08 17:56:32 +05:30
Gaurav Aradhye b98c0ee809 CLOUDSTACK-5630: Fixed snapshots' test cases 2014-01-08 17:16:06 +05:30
Girish Shilamkar 393d437b26 CLOUDSTACK-5627: Removed a validation which expected createVPCOffering to fail if SourceNAT not provided
createVPCOffering API creates VPC with SourceNat even if not provided as param. So this validation
is not required any more.
2014-01-08 12:05:39 +05:30
Ashutosh K 944358706d CLOUDSTACK-5802: Increased timeout for template state to become ready, improved assertion messages 2014-01-08 11:10:04 +05:30
Girish Shilamkar d2ddf62679 CLOUDSTACK-5805: Increasing timeout period for VM to come to running state 2014-01-08 11:06:38 +05:30
Girish Shilamkar 0ff0bd2c17 CLOUDSTACK-5627: Fixed test_project_resources.py which 2014-01-07 16:02:51 +05:30
Girish Shilamkar 05df0cb823 Revert "CLOUDSTACK-5637: Detach volume before migrating"
This reverts commit 6c9b517929.
2014-01-07 12:37:18 +05:30
SrikanteswaraRao Talluri 75ebc03693 CLOUDSTACK-5797: Fixed integration test for test_03_restore_vm_with_new_template 2014-01-06 19:46:05 +05:30
SrikanteswaraRao Talluri c2b5addaed CLOUDSTACK-5625: removed unnecessary global setting 'ldap.realname.attribute' 2014-01-06 14:52:26 +05:30
Gaurav Aradhye 17b696e053 CLOUDSTACK-5185: Fixed test script related to cleanup in test_egress_fw_rules.py 2014-01-03 11:17:50 +05:30
Gaurav Aradhye 4251a09ef7 CLOUDSTACK-5633: Fixed network cleanup issue 2014-01-03 11:02:30 +05:30
Gaurav Aradhye 97ede2524c CLOUDSTACK-5636: Fixed issue 'Failed to upgrade network offering' in test_vpc_network test suite
Conflicts:
	test/integration/component/test_vpc_network.py
2014-01-02 12:34:00 +05:30
Girish Shilamkar 6c9b517929 CLOUDSTACK-5637: Detach volume before migrating 2013-12-31 11:34:16 +05:30
Gaurav Aradhye 013f100078 CLOUDSTACK-5635: Fixed issue (Max volumes has been exceeded for domain during test) 2013-12-30 18:05:04 +05:30
Gaurav Aradhye 5882123f19 CLOUDSTACK-5640: Correcting imports in test cases
Conflicts:
	test/integration/component/test_security_groups.py
2013-12-30 14:40:58 +05:30
Gaurav Aradhye 6ad27d903b CLOUDSTACK-5640: Correcting imports in test cases 2013-12-29 19:38:57 +05:30
Ashutosh K 4d9b95e13d CLOUDSTACK-2237: Automation - Adding new test cases for security group in advanced zone feature 2013-12-27 16:06:34 +05:30
Girish Shilamkar ec8610f756 CLOUDSTACK-5638: Fixed code to check router state 2013-12-27 10:53:42 +05:30
Girish Shilamkar b544669a84 CLOUDSTACK-5497: Fix test_guest_vlan_range.py to get free vlan range 2013-12-24 11:11:17 +05:30
Gaurav Aradhye a160b46cd4 CLOUDSTACK-4780: Changes related to checking snapshot path
on NFS server, also made marvin import paths specific
2013-12-23 17:58:51 +05:30
Gaurav Aradhye 5d03fa83a2 CLOUDSTACK-5518: Fixing non contiguous vlan test case 2013-12-23 17:56:14 +05:30
Girish Shilamkar fde14bcc32 Revert "CLOUDSTACK-4780: Changes related to checking snapshot on NFS server"
This reverts commit 33fb241fdf.
2013-12-21 12:47:32 +05:30
Gaurav Aradhye 33fb241fdf CLOUDSTACK-4780: Changes related to checking snapshot on NFS server 2013-12-19 10:21:33 +05:30
Girish Shilamkar 75f4f55c35 CLOUDSTACK-5506: Fixed egress_fw_rules.py, one of hunks was missing. 2013-12-16 14:00:38 +05:30
Alex Huang be5e5cc641 All Checkstyle problems corrected 2013-12-12 12:26:07 -08:00
Santhosh Edukulla d715058fa1 Added a temp sleep fix for vm start command
Added a temporary time sleep fix post a restart command. Applies to 4.2,master,4.3
Note: Has to clean other things as well and will do more cleaner way of handling things.
2013-12-11 13:04:17 +05:30
Girish Shilamkar 623529060f Revert "Fixed an Issue reported by xen server team"
The commit message is incorrect.
This reverts commit ed477744c8.
2013-12-11 12:37:52 +05:30
Santhosh Edukulla ed477744c8 Fixed an Issue reported by xen server team 2013-12-11 12:20:06 +05:30
Ashutosh K ae911a2ad2 CLOUDSTACK-4820: Remove netacl check from test_01_wait_network_gc
From 4.2, network ACLs are no longer associated with a single network.
Multiple tiers within a VPC can share the same ACL.
Due to this, ACLs should not be cleaned up during network GC.
2013-12-10 00:58:58 -05:00
Girish Shilamkar 71aa2c0881 CLOUDSTACK-5364: Fail the test incase cleanup is not successful 2013-12-09 19:16:30 +05:30
Ashutosh K 9b2addf481 CLOUDSTACK-5381: Corrected code related custom host name (vm.instancename) 2013-12-05 16:25:38 +05:30
Gaurav Aradhye 2d369dbdd8 CLOUDSTACK-5377: Fixed test case dependency issue in snapshots test cases 2013-12-05 13:49:11 +05:30
Girish Shilamkar dfff362c11 CLOUDSTACK-5351: Fixed a regression where shared_ntwk_vlan was not changed to shared_vlan 2013-12-04 18:54:50 +05:30
Ashutosh K b2c8955222 CLOUDSTACK-5364: Resolving network cleanup issue in egress fw rules test cases 2013-12-04 18:41:10 +05:30
Ashutosh K 4b5a0ca4c2 CLOUDSTACK-5230: Removing test cases' dependency on each other leading to failures 2013-12-04 11:37:22 +05:30
Gaurav Aradhye 291eafadae CLOUDSTACK-5347: Resolved issue related to snapshot state 2013-12-04 11:32:36 +05:30
Gaurav Aradhye 6b955958c6 CLOUDSTACK-5333: Code changes related to snapshots listing
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-12-04 11:29:50 +05:30
Gaurav Aradhye f05063f377 CLOUDSTACK-5346: Fixed shared network cleanup issue 2013-12-04 11:25:58 +05:30
Parth Jagirdar 58fd6f0603 CLOUDSTACK-5223: Fix hosttags.
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-26 13:23:40 +05:30
Ashutosh K d6298302a1 CLOUDSTACK-5257: Fixed Network ACL issue related to Egress traffic
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-26 11:46:56 +05:30
Girish Shilamkar ab2c38c050 Add test/integration/component/test_add_remove_network.py 2013-11-25 13:43:18 +05:30
Alex Huang 433a631916 Reformat of source code to set a stable base for the future. I couldn't get checkstyle enabled. There's still about a thousand errors from checkstyle. Most of it from length errors from comments and strings. Will attempt to remove those tonight. This change is so large I just want to get it in before any merge nightmares. The changes are fairly minor though and I did a full compile and start a server with the reformat code. 2013-11-21 07:56:47 -08:00
Alex Huang 170f32f171 Broke up some long strings 2013-11-21 07:25:01 -08:00
Hugo Trippaers cf715ff491 Bump 4.3.0 to 4.4.0 in master 2013-11-21 16:01:15 +01:00
Alex Huang d620df2bdd Reformatted all of the code. 2013-11-21 06:15:26 -08:00
Alex Huang eaa250fd3c Formatted again after all the tab expansions and eol removals 2013-11-21 04:47:01 -08:00
Alex Huang 224f479974 Removed trailing spaces 2013-11-21 04:08:01 -08:00
Alex Huang e4b22d0fca Replace all tabs, particularly the ones in the comments 2013-11-21 03:39:58 -08:00
Gaurav Aradhye 138cee401f CLOUDSTACK-5201: Correcting code related to schedule of
recurring snapshot policy
2013-11-21 11:15:32 +05:30
Ashutosh K db2ea0a16a CLOUDSTACK-5204: test_routers - fixed ssh issue 2013-11-21 11:06:34 +05:30
Gaurav Aradhye 6aca7de291 CLOUDSTACK-5215: Correcting and refactoring code related to
getting free vlan
2013-11-21 10:53:27 +05:30
Gaurav Aradhye 67b071beaa CLOUDSTACK-5194: portable ip - Improving cleanup code to
avoid cascading failures
2013-11-19 11:21:33 +05:30
Gaurav Aradhye 438cf4ea63 CLOUDSTACK-5186: Increasing the waiting time for router to
come up
2013-11-16 17:15:14 +05:30
Girish Shilamkar e2051de98e CLOUDSTACK-5187: Fix test_vpc_vm_life_cycle recover tests
The vms were recovered without deleting the vms first
therefore the API failed.
2013-11-15 23:38:57 -05:00
Ashutosh K 02c15528c8 CLOUDSTACK-5185: test_egress_fw_rules - failed the test case
if vm deployment failed instead of going on executing rest
2013-11-16 14:57:59 +05:30
Girish Shilamkar 09c0370d70 CLOUDSTACK-2243: base_image_updation - Adding tags to test cases 2013-11-15 16:53:33 +05:30
Gaurav Aradhye 8a1918dbe1 CLOUDSTACK-5179: Fixed test script issue related to detach
volume
2013-11-15 16:33:37 +05:30
Gaurav Aradhye a6c2c6a261 CLOUDSTACK-5147: Removing basic and sg tags from the test
case which is invalid for basic zone
2013-11-15 16:25:10 +05:30
Girish Shilamkar 186b82ae3a CLOUDSTACK-5148: Fix test_createSharedNetwork_projectSpecific
VM was being created with accountid and also project. By doing
this create vm or any other resource will fail. Only specify
project in which resource is created.
2013-11-14 21:16:01 -05:00
Ashutosh K 9410423555 CLOUDSTACK-5169: Egress rules - Improved assertion code
related to SSH to avoid assertion error
2013-11-15 11:28:07 +05:30
Ashutosh K b178d06454 CLOUDSTACK-5168: Fixed test script issue related to SSH
command
2013-11-15 11:24:30 +05:30
Ashutosh K 868e944bf1 CLOUDSTACK-5166: Fixed test script issue related to egress
rules
2013-11-15 11:14:44 +05:30
Ashutosh K 401e0ca0ba Including tests for VPC VM Lifecycle on Tagged hosts 2013-11-13 21:56:51 +05:30
Ashutosh K cb918928e6 Missing tests from QA repo to ASF - 3 tests from test_vmware_drs.py 2013-11-13 21:51:35 +05:30
Gaurav Aradhye 6aff6aa601 CLOUDSTACK-5155: Removing basic and sg tags from test case
which is invalid for basic zone
2013-11-13 21:29:47 +05:30
Gaurav Aradhye 2e373d58e0 CLOUDSTACK-5156: Fixed test script issue related to detach volume 2013-11-13 21:16:13 +05:30
Ashutosh K 52b0484812 CLOUDSTACK-5154: Fixed test script issue related to failure
in creating snapshot from volume

Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-13 17:35:28 +05:30
Girish Shilamkar c6195c3556 CLOUDSTACK-5147: Removing basic and sg tag from the test case which should not be run on basic zone setup
component.test_project_limits.TestMaxProjectNetworks.test_maxAccountNetworks tries to create multiple guest networks in an project of account which is not possible in basic zone as there is only one guest network allowed per zone in basic zone setup.
Hence removing the tags basic and sg so that this test case won't be picked up to run on basic zone setup.
2013-11-13 12:28:44 +05:30
Girish Shilamkar 967a5bded4 CLOUDSTACK-5146: Removing basic and sg tags from the test
case which is invalid for the basic zone

TestRouterRestart.test_01_restart_network_cleanup test scenario is invalid for basic zone. The test case tries to restart the Router assigned to individual account but in basic zone, there is only one router i.e of shared network and there is only one guest(shared) network per zone. Hence the API fails to list the router of the individual account.

More over, we will not try to restart the Router of the shared network because it is used by many accounts and restarting it may affect the execution of other test cases.
2013-11-13 12:22:02 +05:30
SrikanteswaraRao Talluri c2078cd60c CLOUDSTACK-5149: fixed cls._cleanup initialization issue 2013-11-12 19:24:12 +05:30
Santhosh Edukulla 4473bb2185 Fixed few indentation errors and removed unwanted imports 2013-11-11 10:32:01 +05:30
SrikanteswaraRao Talluri ded8d6592b fixed indentation error in test_network.py 2013-11-09 11:54:50 +05:30
SrikanteswaraRao Talluri 31b439eab6 fixing indentation problem in test_network.py 2013-11-08 23:40:06 +05:30
Gaurav Aradhye a2117d46f9 CLOUDSTACK-5107: Decreasing memory in service offering so as
not to run out of resources

Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-08 18:56:50 +05:30
Santhosh Edukulla c7fe212c3b CLOUDSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 16:34:46 +05:30
SrikanteswaraRao Talluri 65b12f45b9 Revert "CLOUSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention"
This reverts commit ec00a6fb74.
2013-11-08 16:05:30 +05:30
Santhosh Edukulla ec00a6fb74 CLOUSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 16:02:10 +05:30
Gaurav Aradhye 3c350ab0b8 CLOUDSTACK-4648: Fixed Snapshots test cases
Fixed following test cases:
1) test_01_volume_from_snapshot
2) test_03_snapshot_detachedDisk
3) test_07_template_from_snapshot

All three test cases are running successfully on XenServer but test cases (01 and 07) failing on KVM due to a common issue.
Product defect logged for this: https://issues.apache.org/jira/browse/CLOUDSTACK-5097

test_03 is running ok on KVM too, the problem was - disk was not getting detached because it was not unmounted before detaching. Added code to unmount the disk.

Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-08 12:54:20 +05:30
Gaurav Aradhye 5d6d14bc1f CLOUDSTACK-4934: Rename Limit resources tests so that they have unique names.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 10:25:39 +05:30
SrikanteswaraRao Talluri db3252645d Revert "Renamed modules with same name to avoid confusion"
This reverts commit af8eb63dc6.
2013-11-08 10:22:59 +05:30
Santhosh Edukulla af8eb63dc6 Renamed modules with same name to avoid confusion
There were two module files with same name and
is creating confusion while reporting the test results.
Renamed them prefixing them with mem\cpu

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 10:02:41 +05:30
Ashutosh K 5d75c6b75c CLOUDSTACK-4996: Resolved gateway accessibility issue
Gateway of isolated network is pinged instead of shared
network
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-07 16:03:57 +05:30
suresh f25354dca1 CLOUDSTACK-2272: testscript validates the vmdeployment with userdata
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-04 17:02:01 +05:30
Girish Shilamkar 1e417994df CLOUDSTACK-3961: Added a function to get free vlan 2013-11-01 17:27:46 +05:30
Girish Shilamkar addf5b0f8c CLOUDSTACK-4256: Fixed Shared Network test cases using random private
ips for shared networks
2013-10-31 22:21:00 +05:30
Gaurav Aradhye 23499efe42 CLOUDSTACK-4995: Fixed test_reset_ssh_keypair which checks the state of the VM
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-10-31 21:57:57 +05:30
Girish Shilamkar 58179d2884 CLOUDSTACK-4335: Delete test_deployVmSharedNetworkWithoutIpRange
test_deployVmSharedNetworkWithoutIpRange creates a shared network
without start and end ip. This is no longer permitted and creation
of shared network will fail with error "insufficient capacity". So
remove this test which is invalid.

Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-10-31 18:26:14 +05:30
Ashutosh Kelkar c53d4e9e14 CLOUDSTACK-2243: Add automation tests for VMs base image
update faclity

Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-10-31 14:55:29 +05:30
Sheng Yang 3205cd42b5 CLOUDSTACK-730: Site-to-site VPN between VPC VR to VR
Now VPN connection can be created as "passive", which would enable the ability
of remote peer initiate the connection. So it's possible for VPC VR to
establish the connection to another VPC VR of CloudStack.

Test case also included.

The test case would create 2 vpcs and using VPN to connect them.
2013-10-30 19:30:22 -07:00
Sowmya Krishnan af4f78ecca CLOUDSTACK-4776: New Tests for Netscaler as external device 2013-10-30 16:57:21 +05:30
SrikanteswaraRao Talluri b13cc0d027 CLOUDSTACK-4772: remove test tag for the test test_01_RouterStopCreateFW
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-10-30 12:33:48 +05:30
SrikanteswaraRao Talluri 3223fcf672 CLOUDSTACK-4772: modify the script to get_process_status for vmware deployment
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-10-30 01:46:26 +05:30
Gaurav Aradhye 8a6694b396 CLOUDSTACK: 2238 - Automation - Adding non contiguous VLAN ranges feature test cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-10-29 23:44:06 +05:30
Gaurav Aradhye 1972d6121d Adding missing test cases: Snapshots Improvement 2013-10-29 23:42:38 +05:30
Girish Shilamkar c8b91f1b72 CLOUDSTACK-4686: Fixed volume limit for domain 2013-10-28 11:36:20 +05:30
SrikanteswaraRao Talluri da7d2fe4f3 CLOUDSTACK-4691: Deleted host maintenance tests from this file 2013-10-25 14:47:11 +05:30
sanjeevneelarapu 2103068816 CLOUDSTACK-702: Added tests for alias ip verifications on VR 1. Moved vm deployment code to setup and vm deletion code teadDown methods 2. Added two tests which would verify alias removal after last vm expunge in CIDR and alias status after VR reboot
CLOUDSTACK-702: Test for verifying ip alias after VR stop start
     1.Deploy vm in new cidr which will create ip alias on existing VR
	Stop,start VR and verify ip alias

Conflicts:

	test/integration/component/maint/test_multiple_ip_ranges.py

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-10-25 14:29:19 +05:30
Sheng Yang 1528725949 CLOUDSTACK-754: Enable Remote Access VPN for VPC
With integration smoke test case.
2013-10-24 17:34:41 -07:00
Anshul Gangwar 325c94ed60 CLOUDSTACK-2232: marvin tests for Persistent networks without running a VM 2013-10-18 14:04:46 +05:30
Gaurav Aradhye a65f1ebefc CLOUDSTACK-4637: Fix failures in test_egress_fw_rules.py
Removed log_test_exceptions which did not add any value.
Skipped few tests which are incomplete. Added timeout logic
and to wait for router to boot.
2013-10-17 19:20:30 -07:00
sanjeevneelarapu 7a7fb61a17 CLOUDSTACK-702: Verify Userdata,password services 1.Added two tests to vefiy userdata and password services on alias ip on VR
Conflicts:

	test/integration/component/maint/test_multiple_ip_ranges.py

Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-10-17 17:19:47 +05:30
Girish Shilamkar 9cc5575092 CLOUDSTACK-4766: Add timeout if vm does not reach running state
The tests use to wait for ever for the vm to attain Running state.
Added a timeout so it does not get into infinite loop.

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit e3bcdc16a1)
2013-10-17 17:07:58 +05:30
Girish Shilamkar c5e1c4725c CLOUDSTACK-4747: Rename testcase name to use lesser characters
Renamed testcase name and also initialised _cleanup so that
it does not break on non-NS Cloudstack setup.

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-10-17 15:23:56 +05:30
Gaurav Aradhye 0a3329731a CLOUDSTACK: 4705 - Fixed memory limits - domain limits test cases. Fixed attribute error
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 7854dbc213)
2013-10-17 15:18:59 +05:30
Gaurav Aradhye 8350a6bd4c CLOUDSTACK-4256 - Fixed shared network test cases
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 13:40:00 +05:30
Gaurav Aradhye 986ac0f124 CLOUDSTACK-4780: Fixed BVT test case TestSnapshotRootDisk.test_01_snapshot_root_disk
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 13:37:11 +05:30
Gaurav Aradhye 0a8bce5cf6 CLOUDSTACK-4647: Fixed snapshot_gc test case and common util function is_snapshot_on_nfs
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 13:37:08 +05:30
Girish Shilamkar 56ccb2835b Automation Tests for HA Proxy Stickiness
Reviewed-by: Suresh Sadhu <Suresh.Sadhu@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 12:14:01 +05:30
Girish Shilamkar 4747b2abfe Cloudstack:4407 - Pending changes - Use extractTemplate API to get hypervisor specific template information. 2013-10-14 17:21:22 -07:00
Chandan Purushothama 2ecf272dac test_stopped_vm.py tries to clean up ISOs that are already deleted as part of Account Deletion. Do not add account owned iso objects to the cleanup list. 2013-10-14 17:21:22 -07:00
sanjeevneelarapu f6c6f03fad CLOUDSTACK-702: 1. Moved common code to setupClass method 2. Added a test to deply vm in new CIDR and verify dns service on alias IP
Conflicts:

	test/integration/component/maint/test_multiple_ip_ranges.py

Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 1efd544ee27fd0c7c9eac4649568647c0dcbc85b)
2013-10-08 16:26:18 +05:30
Gaurav Aradhye 98daad9300 CLOUDSTACK:4537 - Fixed shared network and vpc test cases
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-10-07 21:42:45 +05:30
Girish Shilamkar fbf057a323 CLOUDSTACK-4262: Fix TestVPCNetworkGc.test_01_wait_network_gc
As per the test plan, after waiting for network gc
LB rules should be cleared. Added that check instead of router
being in stopped state.

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit abdb84bb05abc9f2bd102bca1c1b34865f34d771)
2013-10-07 21:41:06 +05:30
Sowmya Krishnan 2621602787 CLOUDSTACK-4776: New Tests for Netscaler as external LB provider in VPC
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 76c85d0ce854aa7d868ba9e018382237c88fe42c)
2013-10-04 17:41:24 +05:30
venkataswamybabu budumuru 59ad4a9ab5 Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
Have added a test for transferring portable ip across different works with in the same zone.
(cherry picked from commit 32cdffdd629134864220fbc400d3d28f0e6549c2)
2013-10-03 20:01:22 +05:30
Sowmya Krishnan a5ede3af7f CLOUDSTACK-4696 Handle Netscaler Provider enable for both zones
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-10-01 11:18:30 +05:30
SrikanteswaraRao Talluri 55ef4b8c3c CLOUDSTACK-4646: Increase the wait time for the routers to go into stopped state
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-30 15:14:41 +05:30
SrikanteswaraRao Talluri 65da24c35e CLOUDSTACK-4691: move egress rules host maintenance tests to maint folder
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 6b28e03d6d)
2013-09-30 15:12:20 +05:30
sanjeevneelarapu ff2bd3d443 CLOUDSTACK-702: Adding test for deploying vm in new cidr 1. Add guest ip range in new cidr and deploy vm in that
Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-30 14:54:31 +05:30
SrikanteswaraRao Talluri ff0f738973 CLOUDSTACK-4344: pass delay and retries explicitly to remoteSSHclient to reduce time taken by the tests
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 94f741bbf5)
2013-09-30 12:24:16 +05:30
Hugo Trippaers 15a97ec412 Cleanup pom.xml in various projects to properly use managed versions and other defaults 2013-09-21 17:21:06 +08:00
Girish Shilamkar a726bfdba5 Storage type was set to local due to which tests failed. Removed it.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-09-19 19:10:44 +05:30
Ashutosh K 5b5a617544 Added missing test for VPC load balancing rule from old QA repo to cloudstack repo
def test_04_VPC_CreateLBRuleInMultipleNetworksVRStoppedState

Since VPC now only allows load balancing on a single tier the test case
has been updated to check that condition

Ref : http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Installation_Guide/configure-vpc.html

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-18 21:48:12 +05:30
Girish Shilamkar d4dc4f7e70 CLOUDSTACK-4637: Add 30sec sleep before router is ssh'd
Egress rules testcases access vm via router. Sleep before
accessing router else the expect fails since router is not
accessible. Also use router.hostid instead of vm.hostid
to identify the host.

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 7d06e77ed9)
2013-09-18 21:41:46 +05:30
Harikrishna Patnala 62b0ad03c8 CLOUDSTACK-2247: Automation - Reset a VM on Reboot
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-09-18 09:37:37 +05:30
Girish Shilamkar dd4b1cbf44 CLOUDSTACK-1800: Add automation tests for reset sshkey to access VM
Reviewed-By: Harikrishna Patnala <harikrishna.patnala@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-09-18 09:33:01 +05:30
Anshul Gangwar 955408166c CLOUDSTACK-2266: marvin tests for IP Address reservation within a network it also adds the ipaddress parameter to virtual machine's create method in base.py
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-09-18 09:21:24 +05:30
Gaurav Aradhye 51da534cce CLOUDSTACK-4634: Fixed issue arising due to wrong indentation 2013-09-16 15:59:51 +05:30
Gaurav Aradhye 4b79858c01 CLOUDSTACK: 4635 - Fixed test case issues due to wrong indentation 2013-09-16 15:55:07 +05:30
Gaurav Aradhye f1f5f2eec1 CLOUDSTACK: 4640 - Fixed indentation issues in function createInstance 2013-09-16 15:39:42 +05:30
Gaurav Aradhye ae1cebf4e9 Automation - Portable Ip feature test cases
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 23c759ec35)
2013-09-13 17:35:08 +05:30
Gaurav Aradhye f946747091 Automation: Resource Limits - memory limits test cases 2013-09-13 15:34:12 +05:30
venkataswamybabu budumuru 2ea66124f2 Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
Corrected Indentation issues.
2013-09-12 18:33:41 +05:30
venkataswamybabu budumuru 4356ecc627 Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
Skipped the test "test_createSharedNetwork_usedVlan" as there is another test
(test_createSharedNetwork_usedVlan2) which is covering the righ scenario.
moreover this test is creating issues for couple of other tests due to
incompleteness
(cherry picked from commit 237f8ec702)
2013-09-12 18:26:31 +05:30
sanjeevneelarapu ce479ef0d2 CLOUDSTACK-702: Tests for Multiple IP Ranges 1. Removed advanced tag from all the tests. At the movement scripts support only basic zone 2. Added a test to deploy guest vm after adding ip range in new CIDR
CLOUDSTACK-702: Removed test for deploying vm after adding new cidr
1.This test would block parallel execution of remianing tests
2.Removed list_Routers proc and unused code
3.Added few more debug statements

Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit daaec56d40)
2013-09-06 15:27:59 +05:30
sanjeevneelarapu 883b9802d4 CLOUDSTACK-4203: Adding a test for migrating volumes of stopped vms to test_stopped_vm.py
Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>

s
(cherry picked from commit dfee47e3b6)
2013-09-05 18:54:33 +05:30
Ian Duffy 7ded3c803d Prep for merge with master 2013-08-31 21:55:27 +01:00
Prasanna Santhanam fb7eb06198 get host credentials from marvin configuration for ssvm test
(cherry picked from commit 6371d3b98c56784e4a3588c2546be18aa79cb595)
2013-08-31 12:50:58 +05:30
Ian Duffy bdba0ddeed Bring up to date with master 2013-08-31 00:25:48 +01:00
Prasanna Santhanam 3c38a1cd9f cpu_limits module of tests 2013-08-29 14:30:55 +05:30
Prasanna Santhanam 58bcce0142 Formatting and tab errors in the new test suites for limits
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-29 14:27:34 +05:30
Gaurav Aradhye 95e4b7afa8 Automation: Limit Resources - Adding tests related to CPU limits
Reviewed-by: Sanjay Tripathi <Sanjay.Tripathi@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-29 14:13:39 +05:30
Girish Shilamkar c6f0d46911 CLOUDSTACK-4407: Use extractTemplate API to get hypervisor specific template information
Template url, hypervisor and format were defined in Service class to be Xenserver specific
and therefore registering a new template failed on Vmware and KVM.
Fixed this to get hypervisor specific info for registering new template.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 20256706b376551fe8993ee2e73c61df31dcb6de)
2013-08-29 14:10:54 +05:30
venkataswamybabu budumuru 2abb1cb282 CLOUDSTACK-4378 : Fixing the typo in Apache License Text
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-08-27 15:23:04 +05:30
venkataswamybabu budumuru fab3185187 CLOUDSTACK-4378 : Existing tests were deploying VMs as admin and creating
affinity groups as admin. There are few reason why this needs to be changed and
the reasons are as mentioned below
1. we usually create an account for each test and we run the test as the newly
created account and not as admin.
2. tests were failing during deployVirtualMachine step when they are run as
admin and if anyone during these tests create an additional isolated networks
as admin account .
(P.S: current deployVirtualMachine in the scripts is not taking the networkId
and hence it fails when there are multiple isolated networks because it doesn't
know which one to pick)
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 98dfd65291)
2013-08-27 13:53:28 +05:30
Sowmya Krishnan 6334b738d0 CLOUDSTACK-4491: Added missing NS setup
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 239281a401)
2013-08-27 12:13:46 +05:30
Sowmya Krishnan f1c6535f6e CLOUDSTACK-4510 Move NS scripts to appropriate suites and related common.py fixes
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f7df3ef9f1)
2013-08-27 10:59:13 +05:30
Jayapal 6837f162ab Marvin test cases for multiple ip address per nic 2013-08-26 17:11:02 +05:30
Prasanna Santhanam 02e7630f1c CLOUDSTACK-4452: Cleaning up the is_snapshot_on_nfs utility
- Pass in config and determine the mgmtsvr credentials
- remove the dir_paths param which is not reqd.
- pass all entities as uuids and convert to ids within the method

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-26 11:10:06 +05:30
Gaurav Aradhye 684573939f CLOUDSTACK-4452 - Fixed method is_snapshot_on_nfs and moved it to utils
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 35ee38385c)
2013-08-26 10:40:44 +05:30
Sowmya Krishnan f724c91296 CLOUDSTACK-4487: No need to delete offerings or wait on offering cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit bc5b6ae0e4)
2013-08-26 10:36:29 +05:30
Girish Shilamkar 6c73308d0c CLOUDSTACK-4144: Add free vlan to shared network in TestVMLifeCycleSharedNwVPC
Shared network has to have specifyVlan = True. So changed it to True
and aded a function to get free vlan.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 9ff40829a9)
2013-08-24 10:06:22 +05:30
Prasanna Santhanam aec21b3a36 local storage is not enabled on the zone
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d8e5b8907bc97ca58017c0aedff03658a63f1955)
2013-08-24 10:04:06 +05:30
Prasanna Santhanam 7d4a575631 Appropriately skip the test_nic setup when in a basic zone 2013-08-23 17:02:35 +05:30
SrikanteswaraRao Talluri 08627aa753 CLOUDSTACK-4448: Fix test_03_RouterStartOnVmDeploy to stop all the pre-existing VMs before starting the test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4a8119c807)
2013-08-23 12:39:49 +05:30
SrikanteswaraRao Talluri c5165643f4 CLOUDSTACK-4447: Fix router tests by listing Routers for that account of type 'Isolated'.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit db673b2b9b)
2013-08-23 12:39:48 +05:30
SrikanteswaraRao Talluri 0454723f98 CLOUDSTACK-4425:Fix to attach uploaded volume to a stopped VM test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8762a0d0c6)
2013-08-23 12:39:48 +05:30
Prasanna Santhanam b3306497fe CLOUDSTACK-4453: fetch host credentials from marvin config
Tests would fetch the credentials for the host to hop into router to
check for essential services. Each test would require to put in the host
information into the test data. Instead fetch the credential information
from the marvin configuration file.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4b546ce85d40098ade69c575316e76e25a422a12)
2013-08-22 20:20:16 +05:30
SrikanteswaraRao Talluri c36cf73cfb CLOUDSTACK-4437: Fix iso usage event count to match the number of image stores
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 502b2ff0f90f5b0e8741335643f7710ce650633f)
2013-08-22 12:39:42 +05:30
Prasanna Santhanam 197108c6a3 CLOUDSTACK-4442: Include a test for creating networks with sourcenat only
The test attempts to create a network with offering serving only
dhcp,dns and sourcenat. However the source NAT functionality itself
isn't tested as reported in the bug. So the test will pass.

TODO: come up with a way to test source nat without enabling additional
services for pf/staticnat

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 79df10ee24840dc7fe8fdb4ccbde240658a109fc)
2013-08-22 12:39:31 +05:30
Sowmya Krishnan e4b5d4d62e CLOUDSTACK-3927, CLOUDSTACK-3928: Fix NS scripts to add/remove NS device in setupClass/tearDown
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1c31ee22d4)
2013-08-22 10:27:56 +05:30
Gaurav Aradhye 26705cf53f CLOUDSTACK-4422: Corrected the wrong service paths
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit cff832044043a361d360f775c7227a77ac99509a)
2013-08-21 15:42:52 +05:30
Prasanna Santhanam eeb53d52ee CLOUDSTACK-4225: Remove additional / in the nfs path
nfs://nfs-server://export/share ->
nfs://nfs-server:/export/share

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f056af8cbd)
2013-08-21 15:20:27 +05:30
Prasanna Santhanam 3a29c73447 CLOUDSTACK-4225: list the snapshot path on secondary store
list the snapshot on secondary store. avoid changing directories and
additional debug commands.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 5b66677d74)
2013-08-20 19:39:43 +05:30
Prasanna Santhanam 463afeef3b CLOUDSTACK-4225: new_virtual_machine is not a attr of the test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3605280a2eb49c719c022d411fd90596c7a2a24e)
2013-08-20 19:33:33 +05:30
Gaurav Aradhye ac77660864 CLOUDSTACK-4356: Added code for checking empty host, skip the test if no empty host found
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-20 17:31:24 +05:30
Prasanna Santhanam 9ed5083f9b CLOUDSTACK-4257: Additional asserts for storage migration test
Test whether valid storage pools are listed and at least one pool is
available for migration.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a82f66e0fa)
2013-08-20 17:28:41 +05:30
Saksham Srivastava ed745d3489 CLOUDSTACK-4257: [Automation] test_storage_motion test cases failed during with unexpected result in listStoragePool API call
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a9e45bf776)
2013-08-20 17:28:41 +05:30
Sheng Yang 3c1b6c69be Automation: Disable TestVMLifeCycleSharedNwVPC test suite
Rather than TestVMLifeCycleVPC.

Shared network's setup is wrong.
2013-08-19 11:25:37 -07:00
Prasanna Santhanam 0eb1690872 CLOUDSTACK-4340: Add more debug logging
VM (id) moves from host (id) to host (id)

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit da0bb63005)
2013-08-19 15:42:37 +05:30
Prasanna Santhanam aec34865ea CLOUDSTACK-4396: Invalid case comparison leaves egress rule unprogrammed
Thereby failing the wget for the cloud-setup-guest-password script which
in turn fails the test.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8576b1ddc9)
2013-08-19 15:18:04 +05:30
Prasanna Santhanam f13a6a0deb CLOUDSTACK-4225: Fix template references in setUpClass
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 7768613edc)
2013-08-19 15:00:21 +05:30
Prasanna Santhanam 12380835b5 CLOUDSTACK-4394: remove cleanups for offerings
offerings do not need to be cleaned up

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b9c2471cfc5e051db4478783c6928f6e0c5a1f7a)
2013-08-19 14:39:43 +05:30
Ashutosh K d5203b19e0 Additional tests for custom_hostname
- vm with existing displayname
- change display name post deploy
- deploy with unsupported chars in display name
- vm.instancename.flag = true and deploy vm
- vm.instancename.flag = false and deploy vm

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-15 10:46:29 +05:30
Ashutosh K 31c4a9159a Removed Invalid test from TestRemoveUserFromAccount see -> http://markmail.org/message/vk7wyl3b57cltj44
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 84e81df2a3)
2013-08-15 10:44:43 +05:30
Ashutosh K 0d0409bddb CLOUDSTACK-3594: New affinity group tests
- list all vms in affinity group
- delete an affinity group by id
- admin deletes affinity groups
- list affinity groups as admin
- list affinity groups by accountid/domainid
- list affinity groups by group id
- user deletes his affinity group

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 682e995a4a)
2013-08-15 10:38:37 +05:30
Sanjay Tripathi 151fc3e837 CLOUDSTACK-3688: Test cases test_accounts.TestDomainForceRemove.test_forceDeleteDomain, not found the domain to delete and failed.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 20:04:55 +05:30
Prasanna Santhanam 500545cb82 flaky RvR tests to run sequentially
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a04599b3ca)
2013-08-14 19:54:05 +05:30
Prasanna Santhanam d771e3fa5b CLOUDSTACK-3961: multi network test in VPC
Test delete network rules in a VPC. Multiple Fixes
- correct protocol ICMP->TCP
- Remove LB actions from non-lb network
- correct private gateway CIDRs to not overlap with vpc guest cidrs
- remove unrequired SSH on non-lb network
- typos

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 17:04:23 +05:30
Prasanna Santhanam 21d8982484 CLOUDSTACK-4252: Correct the cleanup order of resources
Apply a LIFO cleanup when deleting cloud resources

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 9e7983ac18)
2013-08-14 16:32:30 +05:30
Prasanna Santhanam 465adf984d CLOUDSTACK-4258: Additional debug to the assertion
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 15:27:42 +05:30
Prasanna Santhanam 042f998db4 CLOUDSTACK-4262: Wait twice network.gc for vpcvr shutdown
Wait a little bit longer for the VpcVr to shutdown on network shutdown.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4ed5033a59c7aa5fe95f865c5fcbdba21c03616e)
2013-08-14 15:27:42 +05:30
Prasanna Santhanam 211f519421 Additional logging and better error reporting on assert fail
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 05bb315636eba87722ce3f49fe61bdd6bc4dcc32)
2013-08-14 15:27:42 +05:30
Prasanna Santhanam 61b787975c CLOUDSTACK-4283: remove hardcoded shared_vlan from test_shared_networks
SharedNetwork creation requires a pre-setup VLAN outside of the guest
VLANs defined during zone creation. Use a VLAN tag outside the guest
range as a shared network vlan to create shared networks.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 35867ccbd90c824b4faae438dac99400babeff95)
2013-08-13 15:31:43 +05:30
Rayees Namathponnan ab254a5131 TestVMLifeCycleSharedNwVPC need to disable since its failing, netscaler configuration need to change
Signed-off-by: Edison Su <sudison@gmail.com>
2013-08-12 17:20:01 -07:00
Prasanna Santhanam 73d49d0907 Fix test naming to reflect the test purpose
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 445341355d18d280c745e8a1abcf39bafd938f91)
2013-08-12 14:42:33 +05:30
Prasanna Santhanam 59f944d7c3 CLOUDSTACK-3017: Add tags to Cisco ASA tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit cdff1360674385e538cd9128160030f08588bda9)
2013-08-12 12:03:45 +05:30
SrikanteswaraRao Talluri 4bdaffb66a CLOUDSTACK-4230: Fix the script to not to add egress rule if zone network type is not advanced
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8872af90d3d1014bf3fdfeb5f78652d5184f42cc)
2013-08-10 19:17:54 +05:30
Prasanna Santhanam 3ba68a1624 Add more debug logging to download detached volume test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3455a76237)
2013-08-10 16:19:10 +05:30
Prasanna Santhanam 472370f888 CLOUDSTACK-4225: change to directory where snapshots are mounted
return back to HOME_DIR and unmount the secondary storage

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 99329dfa4a)
2013-08-10 16:18:59 +05:30
Prasanna Santhanam 2100789f23 Fix indent to stop tabnanny from complaining
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 78c802da1343abe2c82f9a7dfb7903f81287abe9)
2013-08-09 15:55:13 +05:30
Prasanna Santhanam 75cd6cce40 Fix VPC test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-09 12:08:27 +05:30
Prasanna Santhanam b3fb75e6c6 Fix redundant router deployment tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-09 12:08:16 +05:30
Prasanna Santhanam bad72a0aeb Fix volumes tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-09 12:08:02 +05:30
Prasanna Santhanam ed70eaf2ce include test for volumes created in non-root domains
Test verifies that volumes in non-root domains are visible to the user
that created them.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 22:20:04 +05:30
Girish Shilamkar f1734ed71d CLOUDSTACK-4144 Make specifyVlan to false for shared network
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 16:59:49 +05:30
Saksham Srivastava ac6b26ff81 CLOUDSTACK-4021:[Automation] TestExplicitDedication.test_01_deploy_vm_with_explicit_dedication failed to deploy VM
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8191f5c690)
2013-08-08 16:57:47 +05:30
Prasanna Santhanam ceec1fb243 Fix the kwargs passed in as dict to listVirtualMachines
listVirtualMachines queried using tags needs the tags (key,value) to be
passed as a dictionary.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c2840b93f5)

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 12:09:32 +05:30
Sheng Yang 17b2bda13c CLOUDSTACK-3939: Add wait time after VM boot up
If VR is reboot before VM booted up, VM cannot get IP. Add timeout for VM
booting up.
2013-08-07 17:43:05 -07:00
Sheng Yang cab72c0193 Automation: Fix test_redundant_router_network_rules.py
Stop VR after VM booted up.
2013-08-07 16:08:59 -07:00
Sheng Yang 8e395b2a89 Automation: Fix test_vpc.py 2013-08-07 15:51:06 -07:00
Prasanna Santhanam d1c01a79a5 Fix missing key
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 22:52:45 +05:30
Girish Shilamkar 1a46bbd893 Test assumes storagetype to be local therefore test_egress_fw_rules fail.
Removed storagetype definition.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 20:30:52 +05:30
Gaurav Aradhye a6076818e0 Automation: Affinity Groups- Removing invalid test case
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ae378940c3)
2013-08-07 19:44:16 +05:30
Prasanna Santhanam 37b8775203 fix snapshots tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit baf0400124)
2013-08-07 19:38:01 +05:30
Prasanna Santhanam 8ac1796226 Fix invalid references
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 16:10:53 +05:30
Prasanna Santhanam 70fdd43c84 Fix snapshot limit tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 79cd3df6fb)
2013-08-07 15:09:46 +05:30
Prasanna Santhanam 03439e497e remove local path in cloud-set-guest-password script
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 2d4e17e8d4)
2013-08-07 14:48:21 +05:30
Prasanna Santhanam fb58addc35 Fix snapshot GC test
Changes to object store removes SecondaryStorage host from the host
table. This affects the test where we identify the secondary storage nfs
host to login to where we verify if the snapshot is present on the
physical resource.

* added base classes for imagestore/stagingstore operations
* fixed the test to check only if NFS is used as backing store

TODO: Fix for s3 based storage layer

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4f973778bf6c2bfc7da2b8c785557e86f81af9d5)
2013-08-07 14:33:57 +05:30
Alena Prokharchyk 638f8e0046 CLOUDSTACK-4120: fixed automation script for resource tags 2013-08-06 12:54:50 -07:00
rayeesn 78bc6314ea updated interface in netscaler config test script
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 22:03:09 +05:30
Prasanna Santhanam 14a889df36 Add missing sleep
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 22da47087b0ed67bb8bf30b92b1199cc67898150)
2013-08-06 19:55:29 +05:30
SrikanteswaraRao Talluri c853426c76 CLOUDSTACK-4098: Fix the test which deploys a VM from password enabled template.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 64591e65be)
2013-08-06 18:46:44 +05:30
Prasanna Santhanam 31493d8d83 add cleanup list
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 7f25510a280271a890a4db8d565fdc75316c66ae)
2013-08-06 16:58:18 +05:30
Prasanna Santhanam c5054d8957 Fix egress rules offering - rvr not required
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b1e6188308d43183219e9844fa7465a66064c586)
2013-08-06 15:55:46 +05:30
Prasanna Santhanam 8d0f08a4b8 Egress Rules: Corrections to few areas
1. correcting the log_test_exceptions decorator so nose testrunner can
detect and document the running test
2. correct the wait for network cleanup -> network.gc
3. Remove commented skips
4. Sanitize host passwords

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 13:22:59 +05:30
ashutoshkelkar c1f8dc982d Adding Tests for Egress Firewall rules advance zone. Code review changes and added tests for RVR and DB table value checks
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 13:22:59 +05:30
Prasanna Santhanam da1a79dab7 remove hardcoded vlan for shared network test
use a vlan outside of the vlans managed by cloudstack.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-05 22:05:21 +05:30
Prasanna Santhanam f17e046319 Log the API exception for debugging
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-05 20:16:15 +05:30
Prasanna Santhanam 0561daa54d No need to cleanup lightweight entities like offerings
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1670aeac360b591f513a76a0c77158672f3e387f)
2013-08-05 20:14:07 +05:30
Sheng Yang b96fea2e06 Automation: BVT: Fix test_guest_vlan_range.py due to updated API 2013-08-02 16:47:32 -07:00
Sheng Yang 498c18f654 Automation: Fix test_vpc_network_staticnatrule.py 2013-08-02 14:04:35 -07:00
Prasanna Santhanam b8c01cfdd0 moving rvr deployment planning to maint suites
this suite performs enable/disable of pods/clusters in the zone causing
other tests to fail deploying VMs. Move it to sequential execution suite
in the maintenance tests

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 73de7646ffd289b779d5c45cfee84e07551c3a0c)
2013-08-02 22:23:44 +05:30
Prasanna Santhanam 51cacadead vpn tags are not supported resource types
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 6f63817d07)
2013-08-02 22:10:48 +05:30
Prasanna Santhanam 04cc1be58a make name=value when calling publicipaddress
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 22:05:13 +05:30
Prasanna Santhanam 052d6e251b CLOUDSTACK-3926: Add isportable=True explicitly
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 18:16:49 +05:30
Gaurav Aradhye 514cb91906 CLOUDSTACK:3798: Removed wrong assert. Login was getting successful, assert was failing. Anyway it is being checked in the assert below for sesionKey
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit cb1a5a49f4)
2013-08-02 16:47:35 +05:30
Bharat Kumar eaeef9e994 CLOUDSTACK-3753 fixed the test test_non_contigiousvlan.py
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 6e83a54ffb)
2013-08-02 16:34:10 +05:30
Gaurav Aradhye 6ef51b4159 CLOUDSTACK:3594: Fixes related to affinity groups tests. Included two test suites those were missed because there was no decorator for test cases
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3028f4223b2a00f80159b387e86211effcfeda11)
2013-08-02 16:00:05 +05:30
Prasanna Santhanam 16c1de84e0 Remove duplicate tests for stopped_vm
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 12:52:26 +05:30
Sheng Yang f3dd0c6008 Automation: More fix fox test_vpc_vm_life_cycle.py
You cannot reach VPC router IP because you're in one of it's networks.

As well as adding missing import for test_vpc_network_pfrules.py
2013-08-01 18:52:30 -07:00
Rayees Namathponnan 07dcd6ffb1 Automation: fixed cleanup issue with test_vpn_user.
Reviewed-by: Sheng Yang <sheng.yang@citrix.com>
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-08-01 18:09:51 -07:00
Sheng Yang 6007380252 Automation: Reconnect the ssh for test_vpc_vm_life_cycle.py
Since VM are reused for test cases, we need to reconnect the SSH client to avoid
error like:

Failed to SSH into VM, SSH session not active
2013-08-01 18:00:23 -07:00
Prasanna Santhanam 912754249c CLOUDSTACK-2921: Added more logging to attach failure
Also reduced size of attached disk to 1GB

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ba059dd0ae)
2013-08-01 22:23:28 +05:30
Prasanna Santhanam 7b352603bd CLOUDSTACK-2921: Fix the change service offering test on stoppedvm
There is no need to attach a volume to the VM when doing the
changeserviceOffering test. Condensed the test to verify that the VM's
offering is changed successfully when stopped and reflects when VM is
started.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 35492a3668)
2013-08-01 21:54:43 +05:30
Prasanna Santhanam e8594a22ef CLOUDSTACK-3865: Additional debug logging for size mismatch
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 76764e115d311611096fd5df6ce849c12b22ed7f)
2013-08-01 21:18:45 +05:30
Chip Childers 8225374138 Updating pom.xml version numbers for release 4.3.0-SNAPSHOT
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-08-01 10:35:00 -04:00
Prasanna Santhanam a2dc4b1ca9 CLOUDSTACK-3989: We don't hold the vm object
VirtualMachine.list( only gives the list of vms but not the vm object as
returned by VirtualMachine.create( any operations on the listed VMs then
fails. Explicit call to startVirtualMachine as in setUpClass fixes this.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f064ad22dc)
2013-08-01 16:43:25 +05:30
Prasanna Santhanam eb5099a2a2 Include the exception from urllib in wget test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-01 16:23:16 +05:30
Prasanna Santhanam b303fd3428 CLOUDSTACK-3999: Fix the skipTest typo
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-01 16:10:57 +05:30
Sheng Yang bb95624708 Automation: More fix for test_vpc_network_lbrules.py 2013-07-31 23:14:50 -07:00
Sheng Yang c92cb4f3d0 Automation: Removing the template's UUID
My bad...
2013-07-31 22:41:47 -07:00
Sheng Yang 6ebf7e273d Automation: Fix test_vpc_network_lbrules.py 2013-07-31 22:34:22 -07:00
Sheng Yang 7e9e804484 Automation: Fix test_vpc_network_pfrules.py
Need to wait VM to boot up before stop the VR.

Also test 4 is identical to test 3, fix it.
2013-07-31 19:09:45 -07:00
Sheng Yang b0dda92025 Automation: Fix test_vpc_routers.py
Account cannot be cleaned per test case since it's setup in setUpClass()
2013-07-31 15:03:58 -07:00
Prasanna Santhanam fee7a868e1 CLOUDSTACK-3916: Fix silly string formatting mistake
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-31 11:12:48 +05:30
SrikanteswaraRao Talluri bd7bff792b CLOUDSTACK-3923: Fix the scripts to select default vpc offering
CLOUDSTACK-3923: Fix the scripts to select default vpc offering

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-31 11:12:48 +05:30
Sheng Yang 7882ef512c CLOUDSTACK-3864: Fix test_blocker_bugs.py for firewall
Currently we're using enable/disable static nat rather than create IP forwarding
command. The list of StaticNAT won't work.

Also change to use API to verify the rules rather than look into db directly.
2013-07-30 19:04:35 -07:00
Sheng Yang e4f8068ef1 CLOUDSTACK-3826: Automation: Fix test_vpc_routers
1. You cannot check routers after your destroy them
2. You cannot use the old value in checking migration status.
3. You cannot upgrade VR to a non-system offering.
2013-07-30 16:52:53 -07:00
Gaurav Aradhye 906ea82572 CLOUDSTACK-3168: Fix test_reboot_router.py to ssh using public IP
test_reboot_router.py was trying to ssh to vm using private IP
and hence it failed with error "No route to host."
Fixed the testcase to ssh using public IP.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 20:12:23 +05:30
Prasanna Santhanam e78f93224f Fix url for upload volume test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d0a851ec5de261c83babd94a07dd1091f804110d)
2013-07-30 15:49:35 +05:30
Prasanna Santhanam d875a36e5c CLOUDSTACK-3916: The size test is invalid
ISO size can differ from the mounted packages within the ISO. Remove the
size check and only perform attach and detach in the guest.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 14:12:33 +05:30
Prasanna Santhanam 8ca5097752 CLOUDSTACK-3930 : Add cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 308fa41416dc37b4651087c8e30da31a0e9a63d3)
2013-07-30 13:51:54 +05:30
Prasanna Santhanam 1efa542433 CLOUDSTACK-3929: Remove references to unittest.
Skip is done using cloudstackTestCase inheriting from unittest as
self.SKipTest

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 797450a5ba)
2013-07-30 12:41:18 +05:30
Prasanna Santhanam f4dd80989f add debug message
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 56043eb6cf)
2013-07-30 11:43:02 +05:30
Sheng Yang 16c3d21eec Automation: add object to cleanup set immediately after creation
Otherwise it's possible that the later failure would prevent the object from
been clean up.
2013-07-29 17:15:34 -07:00
Girish Shilamkar 4054a8e2ac CLOUDSTACK-3454: Fix test_portable_publicip
Added isportable param to associateIP API. Fixed base class
for PortableIP tio call portableip APIs.
Removed test_createPortablePublicIPAcquire from basic zone run
requires additional network creation handling which can be done
in component tests.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 20:00:08 +05:30
Gaurav Aradhye 3a3145507d CLOUDSTACK-3841: Fixed test case issue. The exception raised earlier was valid behaviour, added missing assertRaiss statement
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 67c96d419d)
2013-07-29 19:57:33 +05:30
Prasanna Santhanam dd1717883e remove vpc offering from cleanup.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 83f4c3289a)
2013-07-29 16:38:15 +05:30
Prasanna Santhanam e4de46e4b1 CLOUDSTACK-3901: Test for vpc offerings
- Fix the test that ensures vpc offerings cannot be created with
  firewall service
- CLOUDSTACK-3902 blocks the fix for vpc offerings created without
  source nat service. Without source NAT VPC creation should fail.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 16:21:07 +05:30
Prasanna Santhanam 098c2db4b7 CLOUDSTACK-3900: Remove the offering that is deleted before cleanup
One of the VPC offerings (4) is deleted in the test before moving into
teardown. This offering should be removed from cleanup.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d66edb5e2b)
2013-07-29 15:56:26 +05:30
Sowmya Krishnan eae874918d CLOUDSTACK-3744 Fixed order of cleanup objects, removed offerings cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 08c82883f6)
2013-07-29 15:35:29 +05:30
Prasanna Santhanam ade13bb773 Remove duplicate while-loop retries during ssh
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 53feae08de)
2013-07-29 14:52:07 +05:30
Prasanna Santhanam 9c36ad722b CLOUDSTACK-3795: When listing the publicipaddress provide assocNtwkId
PublicIpAddresses.list takes an associatednetworkid which lists all the
public ip addresses in the deployment's physical network associated with
the vnet.

Various tests failed because of `networkid` used in place of
`associatednetworkid`

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b88fe8233af699786de6d08a6bc981546538898d)
2013-07-29 14:38:37 +05:30
Prasanna Santhanam 76c90efa40 Removing invalid test for accounts
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f83187585e)
2013-07-28 17:00:48 +05:30
Prasanna Santhanam 3fec71e748 Fix domain deletion in test_project_resources.py
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a019f34572)
2013-07-28 11:56:50 +05:30
Prasanna Santhanam 40b59d7e2a CLOUDSTACK-2882: We are mounting an ISO not a volume
So fdisk -l doesn't list the mounted iso. Instead use showmount -e to
find the mounted device.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 93f79e1a15)
2013-07-27 21:53:16 +05:30
Prasanna Santhanam 738523b57c CLOUDSTACK-2882: Additional device types for IDE/SCSI
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b39d302888)
2013-07-27 21:53:11 +05:30
Sheng Yang c576917107 Automation: Fix endless silly test cases 2013-07-26 00:20:01 -07:00
Sheng Yang 5077ed7e8b Automation: Fix test_redundant_router.py
1. Many state check need to wait for while for status to update
2. BACKUP router would still have eth2 and IP, but it's not enabled. Fix the
case.
2013-07-25 20:47:16 -07:00
Prasanna Santhanam 23e7753741 Fix bunch of affinity group tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 2b0a972676)
2013-07-25 22:51:35 +05:30
Ian Duffy eaa4143371 Merge LDAPPlugin
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-25 17:54:52 +05:30
Prasanna Santhanam 1d5feb158b CLOUDSTACK-3796: Fix the missing attribute for zoneid
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-25 15:54:26 +05:30
Prasanna Santhanam 9e8663c7ca CLOUDSTACK-3617: Skip the test if config is not suitable
Provided a utility method to ensure the config is suitable for running
the test. If vm.instancename.flag is unset then skip the tests.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8b8cee52f09f9f2c1b612ece16fc7ffc4b2c9176)
2013-07-25 15:34:04 +05:30
Prasanna Santhanam e432ce6f77 CLOUDSTACK-3021: Do not delete the domain
We delete the accounts within the domain thereby cleaning up resources.
Also corrected the typo in the test description. ForceDelete test was
called without force option and vice versa

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a3c21b3682db51986e7cc54d8f25b1dbf4ae9eaa)
2013-07-25 14:14:49 +05:30
Sheng Yang 29ee68821e Automation: Fix test_vpc_network_staticnatrule.py
And remove NAT rule part from static nat test case. Remove static nat part from
port forwarding test case.
2013-07-24 18:50:20 -07:00
Sheng Yang 2b1266e276 Automation: Fix test_vpc_vms_deployment resource release
The account may be failed to be deleted in the test case, so we still need to
clean it up after.
2013-07-24 16:55:03 -07:00
Sheng Yang 7150afab20 Automation: Redundant routers don't have the same link local IP
It's invalid test case.
2013-07-24 16:09:34 -07:00
Sanjay Tripathi cd51303f20 CLOUDSTACK-3696: Test case test_project_limits.TestResourceLimitsProject.test_06_volumes_per_project failed due to volume usage exceeded for project.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 5009d3b82a)
2013-07-24 23:05:17 +05:30
Sowmya Krishnan d0971ce806 Add wait while Netscaler recognizes service to be up
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a7df12edbf)
2013-07-24 22:43:13 +05:30
Prasanna Santhanam 64c120c0db Fixing minor typos
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-24 18:04:29 +05:30
Prasanna Santhanam 368f32fa25 CLOUDSTACK-3698: Ensure VM is accessible before stopping VR
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-24 18:04:29 +05:30
Prasanna Santhanam 2b8f1bde8f CLOUDSTACK-3724: optimizing cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8b7d00ee4de53d15a1d495c3c1fdd166b1651460)
2013-07-24 16:53:32 +05:30
Likitha Shetty 2424dcf62e CLOUDSTACK-3743. test_tags.py:TestResourceTags not tearing down the account. 2013-07-24 11:18:43 +05:30
Sheng Yang 35f4aa30c8 Automation: Add sleep for RvR state checking
Because the mgmt server would update RvR state only every 30 seconds by default.
2013-07-23 22:45:58 -07:00
Sheng Yang f3cf319c37 Automation: Fix clean up in tearDown
We shouldn't clean up class-scope resources(_cleanup). We should create local
ones(cleanup) then clean it.

So:
cls._cleanup would be used for class-scope resources.
self.cleanup would be used for each unit.
2013-07-23 21:20:02 -07:00
Sowmya Krishnan 1898fa5046 CLOUDSTACK-3693 Fix more account objects 2013-07-23 13:59:20 -07:00
Sowmya Krishnan c6ea21866e CLOUDSTACK-3697 LB rule clean up already done in cleanup project 2013-07-23 13:59:15 -07:00
Sheng Yang 7faa71dc68 Automation: Fix different names for cleanup 2013-07-23 13:15:07 -07:00
Sheng Yang c1e6968464 Automation: Fix typo in test_redundant_network_rules
It result in failed to setUp and clean up.
2013-07-23 12:22:14 -07:00
Sheng Yang 5b238fa4af Automation: Fix enormous missing tearDown() for test cases
This result in countless test case failure because many test case units didn't
clean up after it.

The regression test result should be improved quite a bit after this change.
2013-07-23 12:10:37 -07:00
Sanjay Tripathi 5c45645932 CLOUDSTACK-3724: Test case "test_vpc_vms_deployment.py" failed to find network offering.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a06b3f40eb)
2013-07-23 21:40:52 +05:30
Sowmya Krishnan d2ce17ea73 Fixed account objects CLOUDSTACK-3726
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1cd435e25a)
2013-07-23 20:51:16 +05:30
Sanjay Tripathi 3e6e66fee1 CLOUDSTACK-3689: Test case test_accounts.TesttemplateHierarchy.test_01_template_hierarchy failed during ListTemplate call.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 6b2c9bf3ae)
2013-07-23 18:02:29 +05:30
Prasanna Santhanam 63cf7aa8ce CLOUDSTACK-3678: Multiple fixes to shared network tests
- No need to cleanup offerings as they are lightweight entities
- Cleanup order changed to clean accounts, networks and then the domains

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c44fa2cc20)
2013-07-23 18:02:29 +05:30
Prasanna Santhanam 821bbe0610 CLOUDSTACK-3728: same issue as CLOUDSTACK-3719
Make the size explicit parameter to random_gen() for snapshot data

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 874d59847aa6bfd12e6967891a21f1746987b566)
2013-07-23 18:02:29 +05:30
Prasanna Santhanam 4585e46a35 CLOUDSTACK-3719: wrong declaration of random_gen call
since random_gen can take an id to prepend a testcase identifier to the
created cloud resource, we need to explicitly specify the size param. In
vmsnapshot test create the random_data string of size (100)

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 5bb3a56acac440b022ed6c45f97d0d85dcc94b96)
2013-07-23 11:39:08 +05:30
Sheng Yang 9f15779f10 CLOUDSTACK-3643: Automation: Fix VPC test cases
Also add a timeout for network connection testings.

Ideally this timeout should be around 30s or even less, but keep it at 60s for
now for safe.
2013-07-22 18:45:39 -07:00
Girish Shilamkar 18fbbcfc5a CLOUDSTACK-3610: Fix regression test "test_accounts.TestUserLogin"
Now password is sent as clear text as per CLOUDSTACK-1734
So changed marvin to handle this. Plus domainid was not
passed in the testcase and marvin used "domainid" instead of
"domainId" as a parameter. Fixed these two errors.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit dba09791fc99c342974d8ca1c69609c04f1a5512)
2013-07-22 19:36:28 +05:30
Sanjay Tripathi 95e1f6324f CLOUDSTACK-3695: test_add_user_to_project failed with missing attribute "email".
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-22 19:36:27 +05:30
Prasanna Santhanam 323db5c517 CLOUDSTACK-3672: Multiple minor fixes to tags tests
- SourceHost is an id
- Invalid format in debug() message corrected

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ce4dd723ab486894523f08f48b6054f614be4d85)
2013-07-22 19:36:27 +05:30
Prasanna Santhanam 5fa77f3099 Minor fixes to the test_accounts
when an account is deleted listAccounts raises an exception.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit aa9bc4413efad4eccdf8e336f66ea8c8168fbbda)
2013-07-22 19:36:27 +05:30
Gaurav Aradhye e245718837 CLOUDSTACK-3679: Added subsequent change that was needed after change in try_ssh function
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 233456d95f80effa293e21e199886d61b17dbd19)
2013-07-22 19:36:27 +05:30
Sheng Yang a102853fb9 CLOUDSTACK-3643: Automation: Fix test_vpc_network.py
1. Port 80 won't help on ICMP
2. RvR doesn't support VPC now.
2013-07-21 22:24:10 -07:00
Sheng Yang 982c0b5dfb CLOUDSTACK-3643: Automation: Fix wrong network acl rule for ping 2013-07-21 22:24:03 -07:00
Sanjay Tripathi ecfeaa1037 CLOUDSTACK-3620: [Automation] API removevpnuser failed, in test case test_project_usage.TestVpnUsage.test_01_vpn_usage.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-20 12:20:15 +05:30
Sheng Yang 88c84d9109 CLOUDSTACK-3643: Fix wrong protocol type and test case sequence 2013-07-19 19:27:14 -07:00
Prasanna Santhanam 2d9566eb8a CLOUDSTACK-3644: Failed to pass apiclient to public ip delete
Test VPC Release IP assigned to LB rule fails because we don't pass in
the apiclient to it.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 2f0a0a61363074ffa959d7ff9596a1b07b2de40a)
2013-07-19 17:44:53 +05:30
Prasanna Santhanam 62c54e77a3 CLOUDSTACK-3655: RvR tests fail when handling switchover
During switchover of master->backup->master, the rvr goes through
UNKNOWN, FAULT, MASTER/BACKUP. In case of improper transition the state
is FAULT. Include additional state check in the tests.
(cherry picked from commit 0c699394f246bc2b052a22d88b3f938ba8a72770)
2013-07-19 17:44:52 +05:30
Prasanna Santhanam ae2ee95069 CLOUDSTACK-3655: RvR fails with unexpected state
The guestcidr is no longer specified directly. Use the netmask and
gateway combination to create custom cidr network

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a4d902fc9b48e963d5987965207e3745e1728741)
2013-07-19 17:44:52 +05:30
Sowmya Krishnan 78ac22e157 Fixed ostype CLOUDSTACK-3645
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-19 11:17:11 +05:30
Prasanna Santhanam cba42bba25 Fix typo in spelling Afifnity -> Affinity
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 5d3856911e)
2013-07-18 18:31:22 +05:30
Prasanna Santhanam a3511c3ecf remove tag used while debugging
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d6fc6577ef)
2013-07-18 18:31:22 +05:30
Prasanna Santhanam 97ad190383 remove waits during claenup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 06f5f5ba44)
2013-07-18 18:31:22 +05:30
sailajam 69462fd0cb CLOUDSTACK-3636: Fix invalid condition to check for empty response for private service offerings 2013-07-18 17:01:00 +05:30
Gaurav Aradhye e25cbd66d2 CLOUDSTACK-3168: Change in try_ssh function
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-18 15:06:22 +05:30
Prasanna Santhanam 8442e35a79 tearDownClass and not teardown
Include the affinity group in the deletion/cleanup

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit af9a8de901)
2013-07-18 15:05:57 +05:30
Prasanna Santhanam c0de2c5857 Delete the affinity group by id and not name
Adding some docstrings to the tests so the test runner reports them.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 296c2f6a70)
2013-07-18 15:05:57 +05:30
Prasanna Santhanam c3a04b63a7 CLOUDSTACK-3619: Cleanup of volume is not required as gc takes care.
We don't need to delete the volume resource as part of cleanup as the
storage gc is expected to cleanup orphaned volumes in deleted
accounts/projects.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8bc3757e80)
2013-07-18 15:05:56 +05:30
Prasanna Santhanam e90ef2b4b5 remove the wait during cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-18 15:05:56 +05:30
Sanjay Tripathi d52d2c8505 CLOUDSTACK-3618: When project account does not exist, API now throws exception
API call listprojectaccounts failed, and test case
test_projects.py:test_08_cleanup_after_project_delete failed due to
this

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 52fa8532bb)
2013-07-18 15:05:56 +05:30
sailajam f5bd253b2b CLOUDSTACK-3596: Domain ID missing to deploy VM request . Included Domain id 2013-07-18 13:52:04 +05:30
Prasanna Santhanam 22cb5be8b6 CLOUDSTACK-3592: Fix project email reference.
Emails belong to user's within accounts. Refer to the first user within
the account and use his email for account invites.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 19:26:21 +05:30
Girish Shilamkar 234db0561f CLOUDSTACK-3586: Fixed regression test cases for Affinity Groups
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 19:23:58 +05:30
ashutoshkelkar 9f9510be91 CLOUDSTACK-2273: cleanup using user api client for domain admins
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 19:23:57 +05:30
Sowmya Krishnan cfd892fc3b Fixes CLOUDSTACK-3582
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 19:23:57 +05:30
SrikanteswaraRao Talluri 5fbec76c8a Fixed arguments in the format string in the debug message.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 12:36:27 +05:30
SrikanteswaraRao Talluri 3a60e56529 change all instances of account.account to acccount.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 12:36:27 +05:30
Sowmya Krishnan 2910f9058d CLOUDSTACK-3582: Add sleep so Netscaler recognizes the service to be up
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 12:36:27 +05:30
Sowmya Krishnan 51b7f5de91 Fix typo netscaler_1 in TestAddMultipleNSDiffZone
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 12:14:11 +05:30
Prasanna Santhanam 535903f928 ostypeid references removed
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 088c1e2a46)
2013-07-11 16:45:53 +05:30