----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/22709/#review46647 -----------------------------------------------------------
Ship it! Ship It! - Santhosh Edukulla On June 24, 2014, 12:38 a.m., sangeetha hariharan wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/22709/ > ----------------------------------------------------------- > > (Updated June 24, 2014, 12:38 a.m.) > > > Review request for cloudstack, Min Chen, Prachi Damle, and Santhosh Edukulla. > > > Repository: cloudstack-git > > > Description > ------- > > 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. > > > Added error string constants in code.py > Added verifyMsginException() to verify the presence of error string in > exception string > > > Diffs > ----- > > test/integration/component/test_acl_isolatednetwork.py PRE-CREATION > tools/marvin/marvin/cloudstackException.py c2eb57a > tools/marvin/marvin/codes.py a1e7085 > tools/marvin/marvin/config/test_data.py d870c98 > > Diff: https://reviews.apache.org/r/22709/diff/ > > > Testing > ------- > > test_01_createNetwork_admin > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_01_createNetwork_admin | Status : SUCCESS === > ok > test_02_createNetwork_admin_foruserinsamedomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_02_createNetwork_admin_foruserinsamedomain | Status : SUCCESS > === > ok > test_03_createNetwork_admin_foruserinotherdomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_03_createNetwork_admin_foruserinotherdomain | Status : SUCCESS > === > ok > test_04_createNetwork_domaindmin > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_04_createNetwork_domaindmin | Status : SUCCESS === > ok > test_05_createNetwork_domaindmin_foruserinsamedomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_05_createNetwork_domaindmin_foruserinsamedomain | Status : > SUCCESS === > ok > test_06_createNetwork_domaindmin_foruserinsubdomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_06_createNetwork_domaindmin_foruserinsubdomain | Status : > SUCCESS === > ok > test_07_createNetwork_domaindmin_forcrossdomainuser > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_07_createNetwork_domaindmin_forcrossdomainuser | Status : > SUCCESS === > ok > test_08_createNetwork_user > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_08_createNetwork_user | Status : SUCCESS === > ok > test_09_createNetwork_user_foruserinsamedomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_09_createNetwork_user_foruserinsamedomain | Status : SUCCESS > === > ok > test_10_createNetwork_user_foruserinotherdomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_10_createNetwork_user_foruserinotherdomain | Status : SUCCESS > === > ok > test_11_deployvm_admin > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_11_deployvm_admin | Status : SUCCESS === > ok > test_12_deployvm_admin_foruserinsamedomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_12_deployvm_admin_foruserinsamedomain | Status : SUCCESS === > ok > test_13_1_deployvm_admin_foruserinotherdomain_crossnetwork > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_13_1_deployvm_admin_foruserinotherdomain_crossnetwork | Status > : SUCCESS === > ok > test_13_deployvm_admin_foruserinotherdomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_13_deployvm_admin_foruserinotherdomain | Status : SUCCESS === > ok > test_14_deployvm_domaindmin > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_14_deployvm_domaindmin | Status : SUCCESS === > ok > test_15_deployvm_domaindmin_foruserinsamedomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_15_deployvm_domaindmin_foruserinsamedomain | Status : SUCCESS > === > ok > test_16_deployvm_domaindmin_foruserinsubdomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_16_deployvm_domaindmin_foruserinsubdomain | Status : SUCCESS > === > ok > test_17_1_deployvm_domainadmin_foruserinotherdomain_crossnetwork > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_17_1_deployvm_domainadmin_foruserinotherdomain_crossnetwork | > Status : SUCCESS === > ok > test_17_deployvm_domaindmin_forcrossdomainuser > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_17_deployvm_domaindmin_forcrossdomainuser | Status : SUCCESS > === > ok > test_18_deployvm_user > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_18_deployvm_user | Status : SUCCESS === > ok > test_19_deployvm_user_foruserinsamedomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_19_deployvm_user_foruserinsamedomain | Status : SUCCESS === > ok > test_20_1_deployvm_user_incrossnetwork > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_20_1_deployvm_user_incrossnetwork | Status : SUCCESS === > ok > test_20_deployvm_user_foruserincrossdomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_20_deployvm_user_foruserincrossdomain | Status : SUCCESS === > ok > test_21_restartNetwork_admin > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_21_restartNetwork_admin | Status : SUCCESS === > ok > test_22_restartNetwork_admin_foruserinsamedomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_22_restartNetwork_admin_foruserinsamedomain | Status : SUCCESS > === > ok > test_23_restartNetwork_admin_foruserinotherdomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_23_restartNetwork_admin_foruserinotherdomain | Status : > SUCCESS === > ok > test_24_restartNetwork_domaindmin > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_24_restartNetwork_domaindmin | Status : SUCCESS === > ok > test_25_restartNetwork_domaindmin_foruserinsamedomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_25_restartNetwork_domaindmin_foruserinsamedomain | Status : > SUCCESS === > ok > test_26_restartNetwork_domaindmin_foruserinsubdomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_26_restartNetwork_domaindmin_foruserinsubdomain | Status : > SUCCESS === > ok > test_27_restartNetwork_domaindmin_forcrossdomainuser > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_27_restartNetwork_domaindmin_forcrossdomainuser | Status : > SUCCESS === > ok > test_28_restartNetwork_user > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_28_restartNetwork_user | Status : SUCCESS === > ok > test_29_restartNetwork_user_foruserinsamedomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_29_restartNetwork_user_foruserinsamedomain | Status : SUCCESS > === > ok > test_30_restartNetwork_user_foruserinotherdomain > (integration.component.test_acl_isolatednetwork.TestIsolatedNetwork) ... === > TestName: test_30_restartNetwork_user_foruserinotherdomain | Status : SUCCESS > === > ok > > ---------------------------------------------------------------------- > Ran 33 tests in 256.713s > > OK > > > Test results from listNetworks: > > # Test listing of Networks by passing no parameters as domain admin ... === > TestName: test_listNetwork_as_domainadmin | Status : FAILED === > FAIL > # Domain admin should not be allowed to list networks of accounts in other > domains ... === TestName: test_listNetwork_as_domainadmin_cross_domainid | > Status : SUCCESS === > ok > # Regular User should not be allowed to list networks of other accounts in > other domains ... === TestName: > test_listNetwork_as_domainadmin_cross_domainid_accountid | Status : SUCCESS > === > ok > # Test listing of Networks by passing domainId parameter as domain admin ... > === TestName: test_listNetwork_as_domainadmin_domainid | Status : SUCCESS === > ok > # Test listing of Networks by passing domainId and isrecursive=false > parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid__rec_false | Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname parameter as > domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_accountid | Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , listall=false > parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_accountid_listall_false | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , listall=false > and isrecursive=false parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_accountid_listall_false_rec_false | > Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , listall=false > and isrecursive=true parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_accountid_listall_false_rec_true | > Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , listall=true > parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_accountid_listall_true | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , listall=true > and isrecursive=false parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_accountid_listall_true_rec_false | > Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , listall=true > and isrecursive=true parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_accountid_listall_true_rec_true | > Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname and > isrecursive=false parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_accountid_rec_false | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname and > isrecursive=true parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_accountid_rec_true | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,listall=false parameter as > domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_listall_false | Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,listall=false and > isrecursive=false parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_listall_false_rec_false | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,listall=false and > isrecursive=true parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_listall_false_rec_true | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId and listall=true parameter as > domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_listall_true | Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,listall=true and > isrecurisive=false parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_listall_true_rec_false | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,listall=truei and > isrecursive=false parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_listall_true_rec_true | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId and isrecursive=true parameter > as domain admin ... === TestName: > test_listNetwork_as_domainadmin_domainid_true_rec_true | Status : SUCCESS === > ok > # Test listing of Networks by passing listall="false" parameter as domain > admin ... === TestName: test_listNetwork_as_domainadmin_listall_false | > Status : FAILED === > FAIL > # Test listing of Networks by passing listall="false",isrecursive="false" > parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_listall_false_rec_false | Status : FAILED === > FAIL > # Test listing of Networks by passing listall="false",isrecursive="true" > parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_listall_false_rec_true | Status : FAILED === > FAIL > # Test listing of Networks by passing listall="true" parameter as domain > admin ... === TestName: test_listNetwork_as_domainadmin_listall_true | Status > : SUCCESS === > ok > # Test listing of Networks by passing listall="true",isrecursive="false" > parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_listall_true_rec_false | Status : SUCCESS === > ok > # Test listing of Networks by passing listall="true" and isrecursive="true" > parameter as domain admin ... === TestName: > test_listNetwork_as_domainadmin_listall_true_rec_true | Status : SUCCESS === > ok > # Test listing of Networks by passing isrecursive="false" parameter as domain > admin ... === TestName: test_listNetwork_as_domainadmin_rec_false | Status : > FAILED === > FAIL > # Test listing of Networks by passing isrecursive="true" parameter as domain > admin ... === TestName: test_listNetwork_as_domainadmin_rec_true | Status : > FAILED === > FAIL > # Test listing of Networks by passing no parameter as Regular User ... === > TestName: test_listNetwork_as_regularuser | Status : SUCCESS === > ok > # Regular User should not be allowed to list networks of other accounts in > other domains ... === TestName: > test_listNetwork_as_regularuser_cross_domainid | Status : SUCCESS === > ok > # Regular User should not be allowed to list networks of other accounts in > the same domain ... === TestName: > test_listNetwork_as_regularuser_cross_domainid_accountid | Status : EXCEPTION > === > ERROR > # Test listing of Networks by passing domainId parameter as Regular User ... > === TestName: test_listNetwork_as_regularuser_domainid | Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname parameter as > Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_accountid | Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , listall=false > parameter as Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_accountid_listall_false | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , listall=false > ,isrecursive=false parameter as Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_accountid_listall_false_rec_false | > Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname ,listall=false, > isrecursive=true parameter as Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_accountid_listall_false_rec_true | > Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , listall=true > parameter as Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_accountid_listall_true | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , > listall=true,isrecursive=false parameter as Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_accountid_listall_true_rec_false | > Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , > listall=true,isrecursive=true parameter as Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_accountid_listall_true_rec_true | > Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , > isrecursive=false parameter as Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_accountid_rec_false | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , > isrecursive=true parameter as Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_accountid_rec_true | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,listall=false parameter as > Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_listall_false | Status : SUCCESS === > ok > # Test listing of Networks by passing domainId , listall=false, > isrecursive=false parameter as Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_listall_false_rec_false | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,listall=false, > isrecursive=true parameter as Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_listall_false_rec_true | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,listall=true parameter as > Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_listall_true | Status : SUCCESS === > ok > # Test listing of Networks by passing domainId , listall=true, > isrecursive=false parameter as Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_listall_true_rec_false | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,listall=true, > isrecursive=true parameter as Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_listall_true_rec_true | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId, isrecursive=false parameter > as Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_rec_false | Status : SUCCESS === > ok > # Test listing of Networks by passing domainId , isrecursive=true parameter > as Regular User ... === TestName: > test_listNetwork_as_regularuser_domainid_true_rec_true | Status : SUCCESS === > ok > # Test listing of Networks by passing listall, isrecursive=false parameter as > Regular User ... === TestName: test_listNetwork_as_regularuser_listall_false > | Status : SUCCESS === > ok > # Test listing of Networks by passing listall=false , isrecursive=false > parameter as Regular User ... === TestName: > test_listNetwork_as_regularuser_listall_false_rec_false | Status : SUCCESS === > ok > # Test listing of Networks by passing listall=false , isrecursive=true > parameter as Regular User ... === TestName: > test_listNetwork_as_regularuser_listall_false_rec_true | Status : SUCCESS === > ok > # Test listing of Networks by passing listall=true parameter as Regular User > ... === TestName: test_listNetwork_as_regularuser_listall_true | Status : > SUCCESS === > ok > # Test listing of Networks by passing listall=true, isrecursive=false > parameter as Regular User ... === TestName: > test_listNetwork_as_regularuser_listall_true_rec_false | Status : SUCCESS === > ok > test_listNetwork_as_regularuser_listall_true_rec_true > (integration.component.test_acl_listnetwork.TestNetworkList) ... === > TestName: test_listNetwork_as_regularuser_listall_true_rec_true | Status : > SUCCESS === > ok > test_listNetwork_as_regularuser_rec_false > (integration.component.test_acl_listnetwork.TestNetworkList) ... === > TestName: test_listNetwork_as_regularuser_rec_false | Status : SUCCESS === > ok > # Test listing of Networks by passing isrecursive=true parameter as Regular > User ... === TestName: test_listNetwork_as_regularuser_rec_true | Status : > SUCCESS === > ok > # Test listing of Networks by passing no parameter as domain admin ... === > TestName: test_listNetwork_as_rootadmin | Status : SUCCESS === > ok > # Test listing of Networks by passing domainId parameter as ROOT admin ... > === TestName: test_listNetwork_as_rootadmin_domainid | Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname parameter as ROOT > admin ... === TestName: test_listNetwork_as_rootadmin_domainid_accountid | > Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , listall=false > parameter as ROOT admin ... === TestName: > test_listNetwork_as_rootadmin_domainid_accountid_listall_false | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , > listall=false,isrecurisve=false parameter as ROOT admin ... === TestName: > test_listNetwork_as_rootadmin_domainid_accountid_listall_false_rec_false | > Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , listall=false, > isrecursive=true parameter as ROOT admin ... === TestName: > test_listNetwork_as_rootadmin_domainid_accountid_listall_false_rec_true | > Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , listall=true > parameter as ROOT admin ... === TestName: > test_listNetwork_as_rootadmin_domainid_accountid_listall_true | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , listall=true, > isrecursive=true parameter as ROOT admin ... === TestName: > test_listNetwork_as_rootadmin_domainid_accountid_listall_true_rec_false | > Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , listall=true > ,isrecrsive=true parameter as ROOT admin ... === TestName: > test_listNetwork_as_rootadmin_domainid_accountid_listall_true_rec_true | > Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,accountname , > isrecursive=false parameter as ROOT admin ... === TestName: > test_listNetwork_as_rootadmin_domainid_accountid_rec_false | Status : SUCCESS > === > ok > test_listNetwork_as_rootadmin_domainid_accountid_rec_true > (integration.component.test_acl_listnetwork.TestNetworkList) ... === > TestName: test_listNetwork_as_rootadmin_domainid_accountid_rec_true | Status > : SUCCESS === > ok > # Test listing of Networks by passing domainId ,listall=false parameter as > ROOT admin ... === TestName: > test_listNetwork_as_rootadmin_domainid_listall_false | Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,listall=false , > isrecursive=false parameter as ROOT admin ... === TestName: > test_listNetwork_as_rootadmin_domainid_listall_false_rec_false | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,listall=false, > isrecursive=true parameter as ROOT admin ... === TestName: > test_listNetwork_as_rootadmin_domainid_listall_false_rec_true | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId and listall=true parameter as > ROOT admin ... === TestName: > test_listNetwork_as_rootadmin_domainid_listall_true | Status : SUCCESS === > ok > # Test listing of Networks by passing domainId ,listall=true and > isrecurisive=false parameter as ROOT admin ... === TestName: > test_listNetwork_as_rootadmin_domainid_listall_true_rec_false | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId ,listall=truei and > isrecursive=false parameter as ROOT admin ... === TestName: > test_listNetwork_as_rootadmin_domainid_listall_true_rec_true | Status : > SUCCESS === > ok > # Test listing of Networks by passing domainId , isrecursive=false parameter > as ROOT admin ... === TestName: > test_listNetwork_as_rootadmin_domainid_rec_false | Status : SUCCESS === > ok > # Test listing of Networks by passing domainId , isrecursive=true parameter > as ROOT admin ... === TestName: > test_listNetwork_as_rootadmin_domainid_true_rec_true | Status : SUCCESS === > ok > # Test listing of Networks by passing listall="false" parameter as domain > admin ... === TestName: test_listNetwork_as_rootadmin_listall_false | Status > : SUCCESS === > ok > # Test listing of Networks by passing listall="false", isrecursive=false > parameter as domain admin ... === TestName: > test_listNetwork_as_rootadmin_listall_false_rec_false | Status : SUCCESS === > ok > # Test listing of Networks by passing listall="false" , isrecursive=true > parameter as domain admin ... === TestName: > test_listNetwork_as_rootadmin_listall_false_rec_true | Status : FAILED === > FAIL > # Test listing of Networks by passing listall="true" parameter as ROOT admin > ... === TestName: test_listNetwork_as_rootadmin_listall_true | Status : > SUCCESS === > ok > # Test listing of Networks by passing listall="true" parameter as ROOT admin > ... === TestName: test_listNetwork_as_rootadmin_listall_true_rec_false | > Status : SUCCESS === > ok > # Test listing of Networks by passing listall="true" parameter as ROOT admin > ... === TestName: test_listNetwork_as_rootadmin_listall_true_rec_true | > Status : SUCCESS === > ok > # Test listing of Networks by passing isrecursive=false parameter as domain > admin ... === TestName: test_listNetwork_as_rootadmin_rec_false | Status : > SUCCESS === > ok > # Test listing of Networks by passing isrecursive=true parameter as domain > admin ... === TestName: test_listNetwork_as_rootadmin_rec_true | Status : > FAILED === > FAIL > # Domain admin should be able to list networks that is owned by any account > in his domain by passing uuid in "id" parameter ... === TestName: > test_listNetwork_by_id_as_domainadmin_ownedbyusersindomain | Status : SUCCESS > === > ok > # Domain admin should be able to list networks that is owned by any account > in his sub-domain by passing uuid in "id" parameter ... === TestName: > test_listNetwork_by_id_as_domainadmin_ownedbyusersinsubdomain | Status : > FAILED === > FAIL > # Domain admin should be able to list networks that is owned by account that > is in his sub domains by passing uuid in "id" parameter ... === TestName: > test_listNetwork_by_id_as_domainadmin_ownedbyusersinsubdomain2 | Status : > FAILED === > FAIL > # Domain admin should not be able to list networks that is owned by account > that is not in his domain by passing uuid in "id" parameter ... === TestName: > test_listNetwork_by_id_as_domainadmin_ownedbyusersnotindomain | Status : > SUCCESS === > ok > # Domain admin should be able to list networks that he owns by passing uuid > in "id" parameter ... === TestName: > test_listNetwork_by_id_as_domainadmin_owns | Status : SUCCESS === > ok > # ROOT admin should be able to list Volumes that is owned by account that is > in his sub domains by passing uuid in "id" parameter ... === TestName: > test_listNetwork_by_id_as_rootadmin_Vmsownedbyothers | Status : FAILED === > FAIL > # ROOT admin should be able to list networks that is owned by account in his > domain by passing uuid in "id" parameter ... === TestName: > test_listNetwork_by_id_as_rootadmin_owns | Status : SUCCESS === > ok > # Regular user should be able to list Volumes that is owned by him by passing > uuid in "id" parameter ... === TestName: test_listNetwork_by_id_as_user_own | > Status : SUCCESS === > ok > # Regular user should not be able to list networks that is owned by different > account in the same domain by passing uuid in "id" parameter ... === > TestName: test_listNetwork_by_id_as_user_vmfromsamedomaindifferentaccount | > Status : SUCCESS === > ok > # Regular user should not be able to list networks that is owned by different > account in the different domain by passing uuid in "id" parameter ... === > TestName: test_listNetwork_by_id_as_user_vmsfromotherdomain | Status : > SUCCESS === > ok > > > Ran 95 tests in 153.031s > > FAILED (errors=1, failures=11) > > 12 test case failures are relating to bugs: > CLOUDSTACK-6974 - IAM-Root Admin - When listNetwork is used with > listall=false (or no listall passed), all isoalted networks belonging to > other users is listed. > CLOUDSTACK-6973 - IAM - listNetworks - When Domain Admin calls listNetwork > with listall=false , isolated networks belonging to other users in the domain > is also listed. > CLOUDSTACK-6939 - IAM - DomainAdmin - Not able to listNetwork belonging to a > subdomain by passing uuid. > CLOUDSTACK-6937 - IAM - ROOT admin - Not able to list network owned by > accounts under any domain by passing uuid. > > Test results from shared Network test suite: > > # Validate that admin user in ROOT domain is NOT allowed to deploy VM in a > shared network created with scope="account" for an account ... === TestName: > test_deployVM_in_sharedNetwork_scope_account_ROOTadmin | Status : SUCCESS === > ok > # Validate that user in ROOT domain is NOT allowed to deploy VM in a shared > network created with scope="account" for an account ... === TestName: > test_deployVM_in_sharedNetwork_scope_account_ROOTuser | Status : SUCCESS === > ok > # Validate that regular user from a domain different from that of the account > is NOT allowed to deploy VM in a shared network created with scope="account" > for an account ... === TestName: > test_deployVM_in_sharedNetwork_scope_account_differentdomain | Status : > SUCCESS === > ok > # Validate that an admin user under the same domain but belonging to a > different account is allowed to deploy VM in a shared network created with > scope="account" for an account ... === TestName: > test_deployVM_in_sharedNetwork_scope_account_domainadminuser | Status : > SUCCESS === > ok > # Validate that any other user in same domain is NOT allowed to deploy VM in > a shared network created with scope="account" for an account ... === > TestName: test_deployVM_in_sharedNetwork_scope_account_domainuser | Status : > SUCCESS === > ok > # Validate that regular user in the account is allowed to deploy VM in a > shared network created with scope="account" for an account ... === TestName: > test_deployVM_in_sharedNetwork_scope_account_user | Status : SUCCESS === > ok > # Validate that admin user in ROOT domain is allowed to deploy VM in a shared > network created with scope="all" ... === TestName: > test_deployVM_in_sharedNetwork_scope_all_ROOTadmin | Status : SUCCESS === > ok > # Validate that regular user in ROOT domain is allowed to deploy VM in a > shared network created with scope="all" ... === TestName: > test_deployVM_in_sharedNetwork_scope_all_ROOTuser | Status : SUCCESS === > ok > # Validate that regular user in "ROOT" domain is allowed to deploy VM in a > shared network created with scope="all" ... === TestName: > test_deployVM_in_sharedNetwork_scope_all_domainadminuser | Status : SUCCESS > === > ok > # Validate that regular user in a domain is allowed to deploy VM in a shared > network created with scope="all" ... === TestName: > test_deployVM_in_sharedNetwork_scope_all_domainuser | Status : SUCCESS === > ok > # Validate that regular user in a subdomain under ROOT is allowed to deploy > VM in a shared network created with scope="all" ... === TestName: > test_deployVM_in_sharedNetwork_scope_all_subdomainadminuser | Status : > SUCCESS === > ok > # Validate that regular user in any subdomain is allowed to deploy VM in a > shared network created with scope="all" ... === TestName: > test_deployVM_in_sharedNetwork_scope_all_subdomainuser | Status : SUCCESS === > ok > # Validate that admin in ROOT domain is NOT allowed to deploy VM in a shared > network created with scope="domain" and no subdomain access ... === TestName: > test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_ROOTadmin | > Status : SUCCESS === > ok > # Validate that user in ROOT domain is NOT allowed to deploy VM in a shared > network created with scope="domain" and no subdomain access ... === TestName: > test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_ROOTuser | > Status : SUCCESS === > ok > # Validate that admin user in a domain is allowed to deploy VM in a shared > network created with scope="domain" and no subdomain access ... === TestName: > test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_domainadminuser > | Status : SUCCESS === > ok > # Validate that regular user in a domain is allowed to deploy VM in a shared > network created with scope="domain" and no subdomain access ... === TestName: > test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_domainuser | > Status : SUCCESS === > ok > # Validate that admin user in the parent domain is NOT allowed to deploy VM > in a shared network created with scope="domain" and no subdomain access ... > === TestName: > test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_parentdomainadminuser > | Status : SUCCESS === > ok > # Validate that user in the parent domain is NOT allowed to deploy VM in a > shared network created with scope="domain" and no subdomain access ... === > TestName: > test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_parentdomainuser > | Status : SUCCESS === > ok > # Validate that admin user in a subdomain is NOT allowed to deploy VM in a > shared network created with scope="domain" and no subdomain access ... === > TestName: > test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_subdomainadminuser > | Status : SUCCESS === > ok > # Validate that regular user in a subdomain is NOT allowed to deploy VM in a > shared network created with scope="domain" and no subdomain access ... === > TestName: > test_deployVM_in_sharedNetwork_scope_domain_nosubdomainaccess_subdomainuser | > Status : SUCCESS === > ok > # Validate that admin user in ROOT domain is NOT allowed to deploy VM in a > shared network created with scope="domain" and with subdomain access for any > domain ... === TestName: > test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_ROOTadmin | > Status : SUCCESS === > ok > # Validate that regular user in ROOT domain is NOT allowed to deploy VM in a > shared network created with scope="domain" and with subdomain access for any > domain ... === TestName: > test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_ROOTuser | > Status : SUCCESS === > ok > # Validate that admin user in a domain is allowed to deploy VM in a shared > network created with scope="domain" and with subdomain access for the domain > ... === TestName: > test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_domainadminuser > | Status : SUCCESS === > ok > # Validate that regular user in a domain is allowed to deploy VM in a shared > network created with scope="domain" and with subdomain access for the domain > ... === TestName: > test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_domainuser | > Status : SUCCESS === > ok > # Validate that admin user in a parent domain is NOT allowed to deploy VM in > a shared network created with scope="domain" and with subdomain access for > any domain ... === TestName: > test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_parentdomainadminuser > | Status : SUCCESS === > ok > # Validate that regular user in a parent domain is NOT allowed to deploy VM > in a shared network created with scope="domain" and with subdomain access > for the domain ... === TestName: > test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_parentdomainuser > | Status : SUCCESS === > ok > # Validate that an admin user in a subdomain is allowed to deploy VM in a > shared network created with scope="domain" and with subdomain access for the > parent domain ... === TestName: > test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_subdomainadminuser > | Status : SUCCESS === > ok > # Validate that regular user in a subdomain is allowed to deploy VM in a > shared network created with scope="domain" and with subdomain access for > the parent domain ... === TestName: > test_deployVM_in_sharedNetwork_scope_domain_withsubdomainaccess_subdomainuser > | Status : SUCCESS === > ok > > ---------------------------------------------------------------------- > Ran 28 tests in 129.477s > > OK > > > Thanks, > > sangeetha hariharan > >