[
https://issues.apache.org/jira/browse/CLOUDSTACK-7013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chandan Purushothama closed CLOUDSTACK-7013.
--------------------------------------------
Closing the bug as it is no longer seen in the automation run.
> [Automation] "AttributeError: type object
> 'TestFailureScenariosRemoveNicFromVM' has no attribute 'append'
> ---------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-7013
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7013
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: 4.4.0
> Reporter: Chandan Purushothama
> Assignee: Ashutosk Kelkar
> Priority: Critical
> Fix For: 4.4.0
>
>
> ==============
> Bug in test script:
> ==============
> cls.account =
> Account.create(cls.api_client,cls.services["account"],domainid =
> cls.domain.id)
> cls.append(cls.account) --------> BUG: should be cls.__cleanup.append
> cls.service_offering =
> ServiceOffering.create(cls.api_client,cls.services["service_offering"])
> cls._cleanup.append(cls.service_offering)
> ================
> Test Script Failure:
> ================
> test_26_add_nic_insufficient_permission
> (integration.component.test_add_remove_network.TestFailureScenariosAddNetworkToVM):
> CRITICAL: EXCEPTION: test_26_add_nic_insufficient_permission: ['Traceback
> (most recent call last):\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 208, in run\n
> self.setUp()\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 291, in setUp\n
> self.setupContext(ancestor)\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 314, in
> setupContext\n try_run(context, names)\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 470, in try_run\n
> return func()\n', ' File
> "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integration/component/test_add_remove_network.py",
> line 1392, in setUpClass\n cls.append(cls.account)\n', "AttributeError:
> type object 'TestFailureScenariosRemoveNicFromVM' has no attribute
> 'append'\n"]
> --------------------- >> end captured logging << ---------------------
> Stacktrace
> File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 208, in
> run
> self.setUp()
> File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 291, in
> setUp
> self.setupContext(ancestor)
> File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 314, in
> setupContext
> try_run(context, names)
> File "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 470, in
> try_run
> return func()
> File
> "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integration/component/test_add_remove_network.py",
> line 1392, in setUpClass
> cls.append(cls.account)
> 'type object \'TestFailureScenariosRemoveNicFromVM\' has no attribute
> \'append\'\n-------------------- >> begin captured logging <<
> --------------------\ntest_26_add_nic_insufficient_permission
> (integration.component.test_add_remove_network.TestFailureScenariosAddNetworkToVM):
> DEBUG: Payload: {\'apiKey\':
> u\'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q\',
> \'id\': u\'853b13be-4f75-4ca9-9f7c-3cf303d3cc2d\', \'state\': \'Disabled\',
> \'command\': \'updateNetworkOffering\', \'signature\':
> \'pP6GEHIbIDVHMxeYxAyQahpCxbI=\', \'response\':
> \'json\'}\ntest_26_add_nic_insufficient_permission
> (integration.component.test_add_remove_network.TestFailureScenariosAddNetworkToVM):
> DEBUG: ========Sending GET Cmd :
> updateNetworkOffering=======\nrequests.packages.urllib3.connectionpool: INFO:
> Starting new HTTP connection (1):
> 10.220.153.217\nrequests.packages.urllib3.connectionpool: DEBUG: "GET
> /client/api?apiKey=Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q&id=853b13be-4f75-4ca9-9f7c-3cf303d3cc2d&state=Disabled&command=updateNetworkOffering&signature=pP6GEHIbIDVHMxeYxAyQahpCxbI%3D&response=json
> HTTP/1.1" 200
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)