[ https://issues.apache.org/jira/browse/CLOUDSTACK-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13818253#comment-13818253 ]
Rayees Namathponnan commented on CLOUDSTACK-4256: ------------------------------------------------- Test case still fails integration.component.test_shared_networks.TestSharedNetworks.test_createSharedNetwork_projectSpecific Execute cmd: deployvirtualmachine failed, due to: errorCode: 431, errorText:only shared network or isolated network with the same account_id can be added to vm -------------------- >> begin captured logging << -------------------- test_createSharedNetwork_projectSpecific (integration.component.test_shared_networks.TestSharedNetworks): DEBUG: Admin account created: 5454f476-e966-4d00-b2e7-c28d2872ec47 test_createSharedNetwork_projectSpecific (integration.component.test_shared_networks.TestSharedNetworks): DEBUG: Project created: ee2afe5a-b6ed-43eb-922a-3d5352ba0977 test_createSharedNetwork_projectSpecific (integration.component.test_shared_networks.TestSharedNetworks): DEBUG: Project2 created: cd77b0ca-d24a-45a7-9971-023399134aa4 test_createSharedNetwork_projectSpecific (integration.component.test_shared_networks.TestSharedNetworks): DEBUG: Attempting free VLAN 2368 for shared network creation test_createSharedNetwork_projectSpecific (integration.component.test_shared_networks.TestSharedNetworks): DEBUG: Physical Network found: 92e59fbf-1517-4a53-8bac-b8ac91e089d4 test_createSharedNetwork_projectSpecific (integration.component.test_shared_networks.TestSharedNetworks): DEBUG: Shared Network found: 48eba82a-f0ad-40dc-9857-e907cf3b2d0d test_createSharedNetwork_projectSpecific (integration.component.test_shared_networks.TestSharedNetworks): DEBUG: Shared Network created: 6936b043-0f8a-4fa9-98a6-e55aced0c01c test_createSharedNetwork_projectSpecific (integration.component.test_shared_networks.TestSharedNetworks): DEBUG: Virtual Machine creation failed as network used have scoped only for project project1. Exception: Execute cmd: deployvirtualmachine failed, due to: errorCode: 431, errorText:only shared network or isolated network with the same account_id can be added to vm --------------------- >> end captured logging << --------------------- Stacktrace File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run testMethod() File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_shared_networks.py", line 1720, in test_createSharedNetwork_projectSpecific serviceofferingid=self.service_offering.id File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 408, in create virtual_machine = apiclient.deployVirtualMachine(cmd, method=method) File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 623, in deployVirtualMachine response = self.connection.marvin_request(command, response_type=response, method=method) File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 222, in marvin_request response = jsonHelper.getResultObj(response.json(), response_type) File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148, in getResultObj raise cloudstackException.cloudstackAPIException(respname, errMsg) Execute cmd: deployvirtualmachine failed, due to: errorCode: 431, errorText:only shared network or isolated network with the same account_id can be added to vm > [Automation] TestSharedNetworks test cases failed while creating network > ------------------------------------------------------------------------- > > Key: CLOUDSTACK-4256 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4256 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation, Test > Affects Versions: 4.2.0 > Reporter: Rayees Namathponnan > Assignee: Girish Shilamkar > Priority: Critical > Fix For: 4.3.0 > > > Below test cases failed > integration.component.test_shared_networks.TestSharedNetworks.test_createSharedNetwork_accountSpecific > integration.component.test_shared_networks.TestSharedNetworks.test_createSharedNetwork_domainSpecific > integration.component.test_shared_networks.TestSharedNetworks.test_createSharedNetwork_projectSpecific > integration.component.test_shared_networks.TestSharedNetworks.test_createSharedNetwork_usedVlan2 > integration.component.test_shared_networks.TestSharedNetworks.test_deployVM_isolatedAndShared > integration.component.test_shared_networks.TestSharedNetworks.test_deployVM_multipleSharedNetwork > Test cases failed while creating network\, observed below error > Error Message > Execute cmd: createnetwork failed, due to: errorCode: 431, errorText:There is > a isolated/shared network with vlan id: 1200 already exists in zone 1 > -------------------- >> begin captured logging << -------------------- > testclient.testcase.TestSharedNetworks: DEBUG: Admin type account created: > admin-XABU1-Q7G53T > testclient.testcase.TestSharedNetworks: DEBUG: User type account created: > admin-XABU1-1Q3UHH > testclient.testcase.TestSharedNetworks: DEBUG: Physical Network found: > 4b414b4e-8e90-4ef4-9e33-eb56970cd30f > testclient.testcase.TestSharedNetworks: DEBUG: Shared Network Offering > created: 699901f7-083a-41f7-96f0-6ee88d05ae78 > --------------------- >> end captured logging << --------------------- > Stacktrace > File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run > testMethod() > File > "/Repo_30X/ipcl/cloudstack/test/integration/component/test_shared_networks.py", > line 1030, in test_createSharedNetwork_accountSpecific > zoneid=self.zone.id > File > "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line > 1940, in create > return Network(apiclient.createNetwork(cmd).__dict__) > File > "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", > line 1709, in createNetwork > response = self.connection.marvin_request(command, > response_type=response, method=method) > File > "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line > 222, in marvin_request > response = jsonHelper.getResultObj(response.json(), response_type) > File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line > 148, in getResultObj > raise cloudstackException.cloudstackAPIException(respname, errMsg) > Execute cmd: createnetwork failed, due to: errorCode: 431, errorText:There is > a isolated/shared network with vlan id: 1200 already exists in zone 1 > -------------------- >> begin captured logging << -------------------- > testclient.testcase.TestSharedNetworks: DEBUG: Admin type account created: > admin-XABU1-Q7G53T > testclient.testcase.TestSharedNetworks: DEBUG: User type account created: > admin-XABU1-1Q3UHH > testclient.testcase.TestSharedNetworks: DEBUG: Physical Network found: > 4b414b4e-8e90-4ef4-9e33-eb56970cd30f > testclient.testcase.TestSharedNetworks: DEBUG: Shared Network Offering > created: 699901f7-083a-41f7-96f0-6ee88d05ae78 > --------------------- >> end captured logging << --------------------- -- This message was sent by Atlassian JIRA (v6.1#6144)