[
https://issues.apache.org/jira/browse/CLOUDSTACK-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alena Prokharchyk resolved CLOUDSTACK-4256.
-------------------------------------------
Resolution: Cannot Reproduce
I can't reproduce the problem. The network with vlan 1200 was created
successfully when test ran on my local setup:
2013-08-12 13:47:08,948 - DEBUG - test_createSharedNetwork_All
(test_shared_networks.TestSharedNetworks) - Admin type account created:
admin-XABU1-XS7E3N
2013-08-12 13:47:09,019 - DEBUG - test_createSharedNetwork_All
(test_shared_networks.TestSharedNetworks) - User type account created:
admin-XABU1-ZZYQPN
2013-08-12 13:47:09,046 - DEBUG - test_createSharedNetwork_All
(test_shared_networks.TestSharedNetworks) - Physical network found:
5bb2f1b3-4d2c-4e53-815d-81bafa948e2e
2013-08-12 13:47:09,155 - DEBUG - test_createSharedNetwork_All
(test_shared_networks.TestSharedNetworks) - Shared Network offering created:
e51d0b5c-8d5d-4c20-a807-c9c313106e44
2013-08-12 13:47:09,401 - DEBUG - test_createSharedNetwork_All
(test_shared_networks.TestSharedNetworks) - Shared Network created for scope
domain: 904ad34b-dc88-4287-bb90-0b3a891284ae
mysql> select id, name, broadcast_uri From networks where id=204;
+-----+------------------------+---------------+
| id | name | broadcast_uri |
+-----+------------------------+---------------+
| 204 | MySharedNetwork - Test | vlan://1200 |
+-----+------------------------+---------------+
1 row in set (0.00 sec)
Rayees, please make sure that its not a result of the fact that some other test
created the network with vlan 1200, and the cleanup failed.
> [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: Alena Prokharchyk
> Priority: Critical
> Fix For: 4.2.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira