You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rayees Namathponnan (JIRA)" <ji...@apache.org> on 2013/09/16 20:36:51 UTC

[jira] [Commented] (CLOUDSTACK-4256) [Automation] TestSharedNetworks test cases failed while creating network

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768589#comment-13768589 ] 

Rayees Namathponnan commented on CLOUDSTACK-4256:
-------------------------------------------------

after this change test case integration.component.test_shared_networks.TestSharedNetworks.test_deployVM_multipleSharedNetwork failed attribute error 

Error Message

Router should be in stopped state
-------------------- >> begin captured logging << --------------------
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Creating network with network offering: 3e0ca23a-9cea-45c1-94a2-92444e52bd23
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Created network with ID: 37dab1b7-7e08-45a6-9087-07942a0f25f5
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Network state: Allocated
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Listing routers for network: Test Network
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Deploying VM in account: test-TestRedundantRouterNetworkCleanups-test_network_gc-KVDYZJ
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Deployed VM in network: 37dab1b7-7e08-45a6-9087-07942a0f25f5
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Listing routers for network: Test Network
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Stopping the user VM: 56804e87-aec8-4530-9f1d-2a7b691e8f04
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Sleeping for network gc wait + interval time
--------------------- >> 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_redundant_router_cleanups.py", line 630, in test_network_gc
    "Router should be in stopped state"
  File "/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/local/lib/python2.7/unittest/case.py", line 487, in _baseAssertEqual
    raise self.failureException(msg)
Router should be in stopped state
-------------------- >> begin captured logging << --------------------
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Creating network with network offering: 3e0ca23a-9cea-45c1-94a2-92444e52bd23
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Created network with ID: 37dab1b7-7e08-45a6-9087-07942a0f25f5
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Network state: Allocated
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Listing routers for network: Test Network
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Deploying VM in account: test-TestRedundantRouterNetworkCleanups-test_network_gc-KVDYZJ
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Deployed VM in network: 37dab1b7-7e08-45a6-9087-07942a0f25f5
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Listing routers for network: Test Network
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Stopping the user VM: 56804e87-aec8-4530-9f1d-2a7b691e8f04
test_network_gc (integration.component.test_redundant_router_cleanups.TestRedundantRouterNetworkCleanups): DEBUG: Sleeping for network gc wait + interval time
                
> [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
>            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