You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Santhosh Kumar Edukulla (JIRA)" <ji...@apache.org> on 2014/01/29 12:46:09 UTC

[jira] [Updated] (CLOUDSTACK-5973) [Automation]: Exceptions for resource clean up under test_add_remove_network.py

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Santhosh Kumar Edukulla updated CLOUDSTACK-5973:
------------------------------------------------

    Description: 
2014-01-21 17:06:33,812 - CRITICAL - test_24_add_nw_different_domain (integration.component.test_add_remove_network.TestAddNetworkToVirtualMachine) - EXCEPTION: test_24_add_nw_different_domain: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 356, in run
    self.tearDown()
  File "/DataDisk/temp/cloudstack/test/integration/component/test_add_remove_network.py", line 259, in tearDown
    raise Exception("Warning: Exception during cleanup : %s" % e)
Exception: Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u"Can't delete the domain yet because it has 1 accounts to cleanup"}


2014-01-21 17:12:30,046 - CRITICAL - test_25_add_nw_above_account_limit (integration.component.test_add_remove_network.TestAddNetworkToVirtualMachine) - EXCEPTION: test_25_add_nw_above_account_limit: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 227, in run
    self.tearDown()
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 350, in tearDown
    self.teardownContext(ancestor)
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 366, in teardownContext
    try_run(context, names)
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/util.py", line 469, in try_run
    return func()
  File "/DataDisk/temp/cloudstack/test/integration/component/test_add_remove_network.py", line 273, in tearDownClass
    raise Exception("Warning: Exception during cleanup : %s" % e)
Exception: Warning: Exception during cleanup : Execute cmd: deletenetworkoffering failed, due to: errorCode: 431, errorText:Can't delete network offering 47 as its used by 2 networks. To make the network offering unavaiable, disable it

2014-01-21 17:16:59,203 - CRITICAL - test_17_add_nic_different_zone (integration.component.test_add_remove_network.TestFailureScenariosAddNetworkToVM) - EXCEPTION: test_17_add_nic_different_zone: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 356, in run
    self.tearDown()
  File "/DataDisk/temp/cloudstack/test/integration/component/test_add_remove_network.py", line 1135, in tearDown
    raise Exception("Warning: Exception during cleanup : %s" % e)
Exception: Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Failed to delete network'}

2014-01-21 17:17:50,915 - CRITICAL - test_26_add_nic_insufficient_permission (integration.component.test_add_remove_network.TestFailureScenariosAddNetworkToVM) - EXCEPTION: test_26_add_nic_insufficient_permission: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 227, in run
    self.tearDown()
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 350, in tearDown
    self.teardownContext(ancestor)
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 366, in teardownContext
    try_run(context, names)
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/util.py", line 469, in try_run
    return func()
  File "/DataDisk/temp/cloudstack/test/integration/component/test_add_remove_network.py", line 1147, in tearDownClass
    raise Exception("Warning: Exception during cleanup : %s" % e)
Exception: Warning: Exception during cleanup : Execute cmd: deletenetworkoffering failed, due to: errorCode: 431, errorText:Can't delete network offering 51 as its used by 1 networks. To make the network offering unavaiable, disable it


  was:
2014-01-21 17:06:25,778 - CRITICAL - test_24_add_nw_different_domain (integration.component.test_add_remove_network.TestAddNetworkToVirtualMachine) - FAILED: test_24_add_nw_different_domain: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 327, in run
    testMethod()
  File "/DataDisk/temp/cloudstack/test/integration/component/test_add_remove_network.py", line 615, in test_24_add_nw_different_domain
    virtual_machine.add_nic(self.apiclient, network.id)
  File "/usr/local/lib/python2.7/unittest/case.py", line 115, in __exit__
    "{0} not raised".format(exc_name))
AssertionError: Exception not raised

2014-01-21 17:06:33,812 - CRITICAL - test_24_add_nw_different_domain (integration.component.test_add_remove_network.TestAddNetworkToVirtualMachine) - EXCEPTION: test_24_add_nw_different_domain: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 356, in run
    self.tearDown()
  File "/DataDisk/temp/cloudstack/test/integration/component/test_add_remove_network.py", line 259, in tearDown
    raise Exception("Warning: Exception during cleanup : %s" % e)
Exception: Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u"Can't delete the domain yet because it has 1 accounts to cleanup"}

2014-01-21 17:10:23,617 - CRITICAL - test_25_add_nw_above_account_limit (integration.component.test_add_remove_network.TestAddNetworkToVirtualMachine) - FAILED: test_25_add_nw_above_account_limit: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 327, in run
    testMethod()
  File "/DataDisk/temp/cloudstack/test/integration/component/test_add_remove_network.py", line 690, in test_25_add_nw_above_account_limit
    virtual_machine.add_nic(self.apiclient, network_2.id)
  File "/usr/local/lib/python2.7/unittest/case.py", line 115, in __exit__
    "{0} not raised".format(exc_name))
AssertionError: Exception not raised

2014-01-21 17:12:30,046 - CRITICAL - test_25_add_nw_above_account_limit (integration.component.test_add_remove_network.TestAddNetworkToVirtualMachine) - EXCEPTION: test_25_add_nw_above_account_limit: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 227, in run
    self.tearDown()
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 350, in tearDown
    self.teardownContext(ancestor)
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 366, in teardownContext
    try_run(context, names)
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/util.py", line 469, in try_run
    return func()
  File "/DataDisk/temp/cloudstack/test/integration/component/test_add_remove_network.py", line 273, in tearDownClass
    raise Exception("Warning: Exception during cleanup : %s" % e)
Exception: Warning: Exception during cleanup : Execute cmd: deletenetworkoffering failed, due to: errorCode: 431, errorText:Can't delete network offering 47 as its used by 2 networks. To make the network offering unavaiable, disable it

2014-01-21 17:16:59,203 - CRITICAL - test_17_add_nic_different_zone (integration.component.test_add_remove_network.TestFailureScenariosAddNetworkToVM) - EXCEPTION: test_17_add_nic_different_zone: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 356, in run
    self.tearDown()
  File "/DataDisk/temp/cloudstack/test/integration/component/test_add_remove_network.py", line 1135, in tearDown
    raise Exception("Warning: Exception during cleanup : %s" % e)
Exception: Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Failed to delete network'}

2014-01-21 17:17:50,915 - CRITICAL - test_26_add_nic_insufficient_permission (integration.component.test_add_remove_network.TestFailureScenariosAddNetworkToVM) - EXCEPTION: test_26_add_nic_insufficient_permission: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 227, in run
    self.tearDown()
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 350, in tearDown
    self.teardownContext(ancestor)
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 366, in teardownContext
    try_run(context, names)
  File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/util.py", line 469, in try_run
    return func()
  File "/DataDisk/temp/cloudstack/test/integration/component/test_add_remove_network.py", line 1147, in tearDownClass
    raise Exception("Warning: Exception during cleanup : %s" % e)
Exception: Warning: Exception during cleanup : Execute cmd: deletenetworkoffering failed, due to: errorCode: 431, errorText:Can't delete network offering 51 as its used by 1 networks. To make the network offering unavaiable, disable it



> [Automation]: Exceptions for resource clean up under test_add_remove_network.py
> -------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5973
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5973
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation, marvin
>            Reporter: Santhosh Kumar Edukulla
>            Assignee: Santhosh Kumar Edukulla
>
> 2014-01-21 17:06:33,812 - CRITICAL - test_24_add_nw_different_domain (integration.component.test_add_remove_network.TestAddNetworkToVirtualMachine) - EXCEPTION: test_24_add_nw_different_domain: Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/unittest/case.py", line 356, in run
>     self.tearDown()
>   File "/DataDisk/temp/cloudstack/test/integration/component/test_add_remove_network.py", line 259, in tearDown
>     raise Exception("Warning: Exception during cleanup : %s" % e)
> Exception: Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u"Can't delete the domain yet because it has 1 accounts to cleanup"}
> 2014-01-21 17:12:30,046 - CRITICAL - test_25_add_nw_above_account_limit (integration.component.test_add_remove_network.TestAddNetworkToVirtualMachine) - EXCEPTION: test_25_add_nw_above_account_limit: Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 227, in run
>     self.tearDown()
>   File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 350, in tearDown
>     self.teardownContext(ancestor)
>   File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 366, in teardownContext
>     try_run(context, names)
>   File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/util.py", line 469, in try_run
>     return func()
>   File "/DataDisk/temp/cloudstack/test/integration/component/test_add_remove_network.py", line 273, in tearDownClass
>     raise Exception("Warning: Exception during cleanup : %s" % e)
> Exception: Warning: Exception during cleanup : Execute cmd: deletenetworkoffering failed, due to: errorCode: 431, errorText:Can't delete network offering 47 as its used by 2 networks. To make the network offering unavaiable, disable it
> 2014-01-21 17:16:59,203 - CRITICAL - test_17_add_nic_different_zone (integration.component.test_add_remove_network.TestFailureScenariosAddNetworkToVM) - EXCEPTION: test_17_add_nic_different_zone: Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/unittest/case.py", line 356, in run
>     self.tearDown()
>   File "/DataDisk/temp/cloudstack/test/integration/component/test_add_remove_network.py", line 1135, in tearDown
>     raise Exception("Warning: Exception during cleanup : %s" % e)
> Exception: Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Failed to delete network'}
> 2014-01-21 17:17:50,915 - CRITICAL - test_26_add_nic_insufficient_permission (integration.component.test_add_remove_network.TestFailureScenariosAddNetworkToVM) - EXCEPTION: test_26_add_nic_insufficient_permission: Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 227, in run
>     self.tearDown()
>   File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 350, in tearDown
>     self.teardownContext(ancestor)
>   File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py", line 366, in teardownContext
>     try_run(context, names)
>   File "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/util.py", line 469, in try_run
>     return func()
>   File "/DataDisk/temp/cloudstack/test/integration/component/test_add_remove_network.py", line 1147, in tearDownClass
>     raise Exception("Warning: Exception during cleanup : %s" % e)
> Exception: Warning: Exception during cleanup : Execute cmd: deletenetworkoffering failed, due to: errorCode: 431, errorText:Can't delete network offering 51 as its used by 1 networks. To make the network offering unavaiable, disable it



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)