Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-5973

[Automation]: Exceptions for resource clean up under test_add_remove_network.py

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.3.0
    • Automation, marvin
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    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

      Attachments

        Activity

          People

            santhoshe Santhosh Kumar Edukulla
            santhoshe Santhosh Kumar Edukulla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: