cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santhosh Kumar Edukulla (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CLOUDSTACK-5973) [Automation]: Exceptions for resource clean up under test_add_remove_network.py
Date Thu, 30 Jan 2014 13:14:12 GMT

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

Santhosh Kumar Edukulla edited comment on CLOUDSTACK-5973 at 1/30/14 1:13 PM:
------------------------------------------------------------------------------

Added the below changes to topic branch.

1. Disabled network offering before delete, we followed this in few cases and missed at a
case.

2. Removed few deletes for network.

3. The log messages at place seems to out of context for with, leads to exception,added that.

4. Fixed an and issue. Added few exception levels and  to sshClient.


was (Author: santhoshe):
Added the below changes to topic branch.

1. Did some clean up to disable network offering before delete, we followed this in few cases
and missed at a case.

2. Removed few deletes for network, which seem to be not required.

3. The log messages at place seems to out of context added that.

4. Added few exception messages to sshClient.

> [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
>             Fix For: 4.3.0
>
>
> 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)

Mime
View raw message