----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26776/ -----------------------------------------------------------
Review request for cloudstack, Chandan Purushothama, Prachi Damle, and Santhosh Edukulla. Bugs: CLOUDSTACK-7732 https://issues.apache.org/jira/browse/CLOUDSTACK-7732 Repository: cloudstack-git Description ------- This test suite has test cases that validates scenarios relating to deploying VM and stop/start of Vms by admin and regular user when disabling zone/pod/cluster/host. Diffs ----- test/integration/component/test_organization_states.py PRE-CREATION Diff: https://reviews.apache.org/r/26776/diff/ Testing ------- Tested with simulator build from master: Out of 25 test cases , 3 of them failed: Following are the 2 product bugs that are logged to track this issue: CLOUDSTACK-7735 Admin is not allowed deploy VM in a disabled host if hostId is parameter is not passed. CLOUDSTACK-7733 Admin/Regular User is not allowed to stop/start Vms that are running on disabled hosts. Results from the run: Disable Zone ... === TestName: test_11_disableZone | Status : SUCCESS === ok Validate that admin is allowed to deploy VM in a disabled zone ... === TestName: test_12_disableZone_admin_deployVM | Status : SUCCESS === ok Validate that admin is allowed to stop and start existing VMs ... === TestName: test_13_disableZone_admin_stop_startVM | Status : SUCCESS === ok Validate that regular user is not allowed to deploy VM in a disabled zone ... === TestName: test_14_disableZone_user_deployVM | Status : SUCCESS === ok Validate that regular user is allowed to stop and start existing VMs ... === TestName: test_15_disableZone_user_stop_startVM | Status : SUCCESS === ok Enable Zone that is diabled ... === TestName: test_16_enableZone | Status : SUCCESS === ok Disable Pod ... === TestName: test_21_disablePod | Status : SUCCESS === ok Validate that admin is allowed to deploy VM in a disabled zone ... === TestName: test_22_disablePod_admin_deployVM | Status : SUCCESS === ok Validate that admin is allowed to stop and start existing VMs ... === TestName: test_23_disablePod_admin_stop_startVM | Status : SUCCESS === ok Validate that regular user is not allowed to deploy VM in a disabled zone ... === TestName: test_24_disablePod_user_deployVM | Status : SUCCESS === ok Validate that regular user is allowed to stop and start existing VMs ... === TestName: test_25_disablePod_user_stop_startVM | Status : SUCCESS === ok Enable Pod that is diabled ... === TestName: test_26_enablePod | Status : SUCCESS === ok Disable Cluster ... === TestName: test_31_disableCluster | Status : SUCCESS === ok Validate that admin is allowed to deploy VM in a disabled cluster ... === TestName: test_32_disableCluster_admin_deployVM | Status : SUCCESS === ok Validate that admin is allowed to stop and start existing VMs ... === TestName: test_33_disableCluster_admin_stop_startVM | Status : SUCCESS === ok Validate that regular user is not allowed to deploy VM in a disabled cluster ... === TestName: test_34_disableCluster_user_deployVM | Status : SUCCESS === ok Validate that regular user is allowed to stop and start existing VMs ... === TestName: test_35_disableCluster_user_stop_startVM | Status : SUCCESS === ok Enable Cluster that is diabled ... === TestName: test_36_enableCluster | Status : SUCCESS === ok Disable Host ... === TestName: test_41_disableHost | Status : SUCCESS === ok Validate that admin is allowed to deploy VM in a disabled host by passing hostId parameter ... === TestName: test_42_disableHost_admin_deployVM | Status : SUCCESS === ok Validate that admin is allowed to deploy VM in a disabled host without passing hostId parameter ... === TestName: test_43_disableHost_admin_deployVM | Status : EXCEPTION === ERROR Validate that admin is allowed to stop and start existing VMs ... === TestName: test_44_disableHost_admin_stop_startVM | Status : EXCEPTION === ERROR Validate that regular user is not allowed to deploy VM in a disabled host ... === TestName: test_45_disableHost_user_deployVM | Status : SUCCESS === ok Validate that regular user is allowed to stop and start existing VMs ... === TestName: test_46_disableHost_user_stop_startVM | Status : EXCEPTION === ERROR Enable Host that is diabled ... === TestName: test_47_enableHost | Status : SUCCESS === ok Ran 25 tests in 179.587s FAILED (errors=3) Thanks, sangeetha hariharan