30 Commits

Author SHA1 Message Date
John Bampton
e65c22d883
Fix spelling (#6860) 2022-11-13 10:56:15 +01:00
dahn
571a361926
tests: component test ports/fixes in python3 (#5082)
* cleanup plan

* more robust cleanup within member method

* ss_domain_limits fixed

* egress 'icmp' instead of 'all' and cleanup

* configdrive syntax, fixed to be up to par with py2

* cleanup fixed the lb secondary ip tests?

* deal with different base64 encoding in py3 for userdata

* cleanup of multiple_ips_per_nic

* cleanup and reformat of test_volumes

* cleanup and fixes for test_ps_domain_limits.py

* cleanup and fix of test_ps_limits.py

* fix occasional match of float against int

* cleanup and fix test_ps_resize_volume.py

* cleanup and fix test_snapshots

* cleanup ss_max_limits and fix for float vs int problem in API

* mere cleanup of test_volume_destroy_recover

* add missing command creation

* cleanup of test_vpc_on_host_maintenance

* cleanup test_vpc_network

* cleanup, comments and logging in test_vpc_network_lbrules

* cleanup of test_vpc_network_pfrules

* cleanup and format code for test_vpc_network_staticnatrule

* f string instead of conversion specifiers

* check http and ssh fix and cleanup (for vpc pfrules tests)

* generalise create network method

* make ip optional in creating webserver

* remove unused code and add rules to enable ssh

* more cleanup

* remove unused code and cleanup

* small cleanup, mostly precarous run environment required

* cleanup and removed unused code

* advancedsg only, cleanup, pulled in services

* reformat/cleanup

* log result of error after verify rule

* add nw_off_no_services

* tags=["TODO"] for escalations_networks

* tags=["TODO"] for organization_states

* tags=["TODO"] for browse_templates

* tags=["TODO"] for configdrive

* tags=["TODO"] for vpc_vms_deployment

* add remove network cleanup and fixes

* move tests that fail on all platforms out of the way

Co-authored-by: Daan Hoogland <dahn@onecht.net>
2021-09-02 16:03:49 +05:30
dahn
a1f825e7c7
python3: Migrate Marvin and smoketests to python3 (#4727)
This PR prepares marvin and tests for python3. it was part of #4479, until nose2 was decided to be abandoned from that PR.

Re-PR of #4543 and #3730 to enable cooperation

Co-authored-by: Daan Hoogland <dahn@onecht.net>
Co-authored-by: Gabriel Beims Bräscher <gabriel@apache.org>
Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-05-04 23:19:37 +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
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
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
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
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
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
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
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
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
bf72441d13 CLOUDSTACK-6006: Remove integration folder and lib 2014-02-04 12:01:58 +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
Gaurav Aradhye
6aca7de291 CLOUDSTACK-5215: Correcting and refactoring code related to
getting free vlan
2013-11-21 10:53:27 +05:30
Santhosh Edukulla
4473bb2185 Fixed few indentation errors and removed unwanted imports 2013-11-11 10:32:01 +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 ec00a6fb74042259ceea6add676de3f15e642d4a.
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
Girish Shilamkar
1e417994df CLOUDSTACK-3961: Added a function to get free vlan 2013-11-01 17:27:46 +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
Sheng Yang
c576917107 Automation: Fix endless silly test cases 2013-07-26 00:20:01 -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
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
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 a06b3f40eba6ebc3af5d7c366ec757703a085f67)
2013-07-23 21:40:52 +05:30
Prasanna Santhanam
8bc72ad55c Unskip all skipped tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-10 10:04:52 +05:30
Prasanna Santhanam
54ac779b8f Fix all occurrences of account.account
Fixes the dereference of account objects with account.account. This is
to conform to recent library changes in Marvin

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-20 22:59:52 +05:30
Prasanna Santhanam
a92abaa916 multiple fixes to regression tests in test/component
- invalid variable references
- syntax/indentation errors
- self/cls reference errors
- some logic fixes in redundant router suite

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-14 11:42:34 +05:30
Prasanna Santhanam
8f57a851be account name dereferences as account.name
Fix to tests to conform to library changes.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-14 10:34:01 +05:30
Prasanna Santhanam
894413e362 Marvin IP cleared tests for various cloudstack components
One big blob of all the tests that were posted for IP clearance several
months ago. IP clearance VOTE has passed on general@

Ref: http://markmail.org/thread/xareczan2kx4hhom

RAT check passed.
2013-05-14 10:24:27 +05:30