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

[jira] [Closed] (CLOUDSTACK-7022) [Automation] AttributeError: type object 'TestVpnUsage' has no attribute 'sevice_offering'

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

Chandan Purushothama closed CLOUDSTACK-7022.
--------------------------------------------

Closing the bug as it is no longer seen in automation run.

> [Automation] AttributeError: type object 'TestVpnUsage' has no attribute 'sevice_offering'
> ------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7022
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7022
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation, Test
>    Affects Versions: 4.4.0
>            Reporter: Chandan Purushothama
>            Assignee: Ashutosk Kelkar
>            Priority: Critical
>             Fix For: 4.4.0
>
>
> ===========
> Bug in Script:
> ===========
>         cls.service_offering = ServiceOffering.create(
>                                             cls.api_client,
>                                             cls.services["service_offering"]
>                                             )
>         cls._cleanup.append(cls.sevice_offering) ---> BUG: Typo in the "service_offering" variable name
>         cls.virtual_machine = VirtualMachine.create(
>                                 cls.api_client,
>                                 cls.services["server"],
>                                 templateid=template.id,
>                                 accountid=cls.account.name,
>                                 domainid=cls.account.domainid,
>                                 serviceofferingid=cls.service_offering.id
>                                 )
>         cls.public_ip = PublicIPAddress.create(
>                                            cls.api_client,
>                                            accountid=cls.virtual_machine.account,
>                                            zoneid=cls.virtual_machine.zoneid,
>                                            domainid=cls.virtual_machine.domainid,
>                                            services=cls.services["server"]
>                                            )
>         return
> =========
> Exception:
> =========
> test_01_volume_usage (integration.component.test_usage.TestVolumeUsage): CRITICAL: EXCEPTION: test_01_volume_usage: ['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_usage.py", line 1482, in setUpClass\n    cls._cleanup.append(cls.sevice_offering)\n', "AttributeError: type object 'TestVpnUsage' has no attribute 'sevice_offering'\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_usage.py", line 1482, in setUpClass
>     cls._cleanup.append(cls.sevice_offering)
> 'type object \'TestVpnUsage\' has no attribute \'sevice_offering\'\n-------------------- >> begin captured logging << --------------------\ntest_01_volume_usage (integration.component.test_usage.TestVolumeUsage): DEBUG: Payload: {\'signature\': \'aZ6mt3aURCG51ejqTw7v2/RuQFQ=\', \'apiKey\': u\'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q\', \'command\': \'deleteServiceOffering\', \'id\': u\'3a72e88f-7886-42d3-be1a-99fd15908112\', \'response\': \'json\'}\ntest_01_volume_usage (integration.component.test_usage.TestVolumeUsage): DEBUG: ========Sending GET Cmd : 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)