Michael Andersen
c883853892
smoke/test_vpc_vpn: Add template wait & refactor
...
PEP8
Changed hardware tag to true
2015-11-04 07:45:10 +01:00
Wilder Rodrigues
86d1b9632c
CLOUDSTACK-9021 - Add right interface when test is executed against HyperV/VMware
2015-11-03 11:18:11 +01:00
Wilder Rodrigues
7d40814ba1
CLOUDSTACK-8991 - Process the IPs that have been removed
2015-10-28 19:51:57 +01:00
Wilder Rodrigues
99318caa67
CLOUDSTACK-8991 - Make sure the public IP is removed form the router before checking
...
- Adding proper logger to the tests
- Changing message that was copied/pasted from another assert
2015-10-27 19:45:34 +01:00
Remi Bergsma
8a09f88d7f
Merge pull request #971 from michaelandersen/fix/loadbalancer-test
...
smoke/test_internal_lb.py: Fix template not ready errorAdd wait for template download
Refactored template section of services
Added some extra logging in the setup phase
* pr/971:
Add wait for template download Refactored template section of services
Signed-off-by: Remi Bergsma <github@remi.nl>
2015-10-25 18:31:53 +01:00
Remi Bergsma
b1c7d4b20d
Merge pull request #967 from ekholabs/fix/cleanup-CLOUDSTACK-8935
...
CLOUDSTACK-8935 - Cannot remove [r]VPC networks due to RTNETLINK errorThis PR fixes the "sequence item 0: expected string, NoneType found" error found in the CsDhcp.py file when attempting to remo a network from a VPC.
* pr/967:
CLOUDSTACK-8935 - Filter the DNS list because it might contain 1 None entry which breaks the code.
CLOUDSTACK-8935 - Clean up network resources in the right order
CLOUDSTACK-8935 - Do not retry 60 times when we expect the SSH to fail
CLOUDSTACK-8935 - Check if the key is available in the dictionary
CLOUDSTACK-8935 - Add a check to avoid exception related to None value
Signed-off-by: Remi Bergsma <github@remi.nl>
2015-10-24 09:14:56 +02:00
Wilder Rodrigues
3eb6ba0699
CLOUDSTACK-8935 - Do not retry 60 times when we expect the SSH to fail
2015-10-23 15:59:03 +02:00
Michael Andersen
b95c8200e2
Add wait for template download
...
Refactored template section of services
2015-10-23 15:23:53 +02:00
Remi Bergsma
cf839bdf0c
Merge pull request #952 from michaelandersen/test/site2sitevpn
...
Improve marvin test site2site VPNAdd optional fields: iprange and fordisplay to Marvin base.py class method Vpn.create
Add optional field: passive to Marvin base.py class method Vpn.createVpnConnection
* pr/952:
Improve marvin test site2site VPN
Signed-off-by: Remi Bergsma <github@remi.nl>
2015-10-22 12:42:07 +02:00
Remi Bergsma
e7638c0288
Merge pull request #959 from ekholabs/pr/930-CLOUDSTACK-8933
...
CLOUDSTACK-8933 SSVm and CPVM do not survive a reboot from APIThis closes PR #930 as well.
I Rebased @bvbharat's PR with latest Master and tested the SSVM/CPVM and the routers: rVPC; VPC; VR; and RVR.
* pr/959:
CLOUDSTACK-8933 - Improves the the test internals of the SSVM/CPVM
CLOUDSTACK-8933 - Replace infinite loop by a for loop
CLOUDSTACK-8933 SSVm and CPVM do not survive a reboot from API
This closes #930
Signed-off-by: Remi Bergsma <github@remi.nl>
2015-10-21 23:14:52 +02:00
Remi Bergsma
39bd17d797
Merge pull request #933 from michaelandersen/fix/loadbalancer-test
...
CLOUDSTACK-8697 - Refactored & Added Internal LB smoke testAdded 1VPC 2TIER internal lb roundrobin test
Added 1VPC 1TIER internal lb admin stats test
Refactored existing test
Thanks @wilderrodrigues for examples and advice!
* pr/933:
Improve Internal Loadbalancer Smoke Test
Signed-off-by: Remi Bergsma <github@remi.nl>
2015-10-21 14:39:09 +02:00
Wilder Rodrigues
ae6aa2af88
CLOUDSTACK-8933 - Improves the the test internals of the SSVM/CPVM
...
- Check if the link local IP is the same a dthe one cached in the cmdline config file.
- SSVM/CPSM can have the same IP after reboot
2015-10-21 14:18:53 +02:00
Wilder Rodrigues
8708d0dc43
CLOUDSTACK-8971 - Improve the current test_privategw_acls.py
...
- Read cofiguration from the zone: template id; template id; and domain id
- Create Account and VPC Offering
- Add cleanup resources
2015-10-20 15:48:27 +02:00
Michael Andersen
e2d13131e7
Improve marvin test site2site VPN
...
Add optional fields: iprange and fordisplay to Marvin base.py class method Vpn.create
Add optional field: passive to Marvin base.py class method Vpn.createVpnConnection
2015-10-20 11:01:23 +02:00
Michael Andersen
3b15890b5f
Improve Internal Loadbalancer Smoke Test
...
Added 1VPC 2TIER internal lb roundrobin test
Added 1VPC 1TIER internal lb admin stats test
Refactored existing test
Removed double license and imports
Changed default hypervisor from xen to kvm
Fixed default network acl to default_allow
Renamed test02
2015-10-20 08:51:12 +02:00
Wilder Rodrigues
bb3d1cde60
CLOUDSTACK-8947 - Do not rely on the machine hostname to verify the test
...
- The machine hostname might be different depending on the template. So do not rely on it.
- Using the "uname" command instead.
2015-10-14 07:44:39 +02:00
Wilder Rodrigues
384b6c7cd4
CLOUDSTACK-8947 - Fail fast!
...
- If we canno SSH after 5 retries, it means it's not working. Do not wait for 60 attempts
2015-10-14 07:44:39 +02:00
sanjeev
33bdfc773a
CLOUDSTACK-8924: Removed duplicate test from test_scale_vm.py
2015-09-30 15:23:30 +05:30
sanjeev
7147627aa2
Modified test description
2015-09-23 11:52:10 +05:30
sanjeev
fbc2e2e983
CLOUDSTACK-8893: Fixing script as per the latest functionality
2015-09-23 11:52:08 +05:30
shweta agarwal
2eb83604a2
CLOUDSTACK-8755: xs-tools.iso missing from ISOs in CCP GUI
...
This closes #727
2015-09-02 11:46:28 +05:30
Koushik Das
53cba7c741
Merge pull request #741 from koushik-das/simulator_fixes
...
Made following fixes in simulator
- Support for ScaleVmCommand/NetworkRulesVmSecondaryIpCommand in resource layer
- Added support for scaling up a running VM in simulator
- Fixed some method names not following convention
In order to test PR #725 using simulator some of these changes are needed.
Based on the way HV check is present in the scale VM API, had to explicitly put simulator related check to allow support. The ideal way would be to remove all these HV specific check from code and made them some configuration (by putting them in hypervisor_capabilities table in DB). But that will be a bigger effort outside the scope of this PR.
Signed-off-by: Koushik Das <koushik@apache.org>
2015-08-31 12:15:54 +05:30
Miguel Ferreira
acc11dc3fb
Add vm scalling test that runs on simulator
2015-08-27 11:14:17 +02:00
manasaVeloori
cc9c868590
verify that when createTemplate is ued to create templates with same name, all of them fet unique_name under vm_template table so that templates with same name does not get deleted during template sync
...
This closes #688
2015-08-26 17:43:14 +05:30
Miguel Ferreira
98dd771702
Add Marvin test for Nicira NVP plugin
2015-08-25 14:50:30 +02:00
sanjeev
18fee95109
Removed medium dictionary from test_data and modified the tests dependent on it
...
Removed duplicate test data related to vm properties.Modified tests dependent on it
Removed duplicte service offerings from test data and modified tests dependent on it
Bug-Id: CLOUDSTACK-8617
This closes #644
2015-08-06 11:29:13 +05:30
manasaVeloori
f45548bf0b
Added a test to verify that listSnapshots response returns zone id
...
Made changes based on Comments
This closes #632
2015-07-30 12:32:04 +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
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
Sanjeev Neelarapu
8f1e0510cd
Skipping all unsupported tests on LXC
...
This closes #379
2015-06-10 13:47:28 +05:30
Daan Hoogland
1c408dec37
Merge branch '4.5' after 4.5.1 vote passes
2015-05-07 16:03:26 +02:00
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
d849dd628f
CLOUDSTACK-8394: Added missing lower() conversion
2015-05-05 09:54:26 +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
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
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
sanjeev
fd92f9d4d8
Revert "Removed raise for skiptest"
...
This reverts commit b5a74c34cf .
2015-04-23 10:46:16 +05:30
sanjeev
b5a74c34cf
Removed raise for skiptest
2015-04-22 11:49:34 +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
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
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
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