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
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
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
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
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
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