You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/09/09 08:19:30 UTC

[jira] [Commented] (CLOUDSTACK-7509) test_ss_limits.TestSecondaryStorageLimits.test_04_copy_template_1_root_domain_admin failed due to missing bound method

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

ASF subversion and git services commented on CLOUDSTACK-7509:
-------------------------------------------------------------

Commit bbb3ea5983928df66704ab78cef0a1c3e292cbe9 in cloudstack's branch refs/heads/master from [~gauravaradhye]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=bbb3ea5 ]

CLOUDSTACK-7509: Added missing bound method in base library for copyTemplate operation

Signed-off-by: SrikanteswaraRao Talluri <ta...@apache.org>


> test_ss_limits.TestSecondaryStorageLimits.test_04_copy_template_1_root_domain_admin failed due to missing bound method
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7509
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7509
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>    Affects Versions: 4.5.0
>            Reporter: Gaurav Aradhye
>            Assignee: Gaurav Aradhye
>              Labels: automation
>             Fix For: 4.5.0
>
>
> Bound method for copyTemplate is missing in library, hence test cases failed during copy operation.
> test_04_copy_template_1_root_domain_admin (integration.component.test_ss_limits.TestSecondaryStorageLimits): CRITICAL: EXCEPTION: test_04_copy_template_1_root_domain_admin: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run\n    testMethod()\n', '  File "/usr/local/lib/python2.7/site-packages/ddt.py", line 114, in wrapper\n    return func(self, *args, **kwargs)\n', '  File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_ss_limits.py", line 369, in test_04_copy_template\n    sourcezoneid = template.zoneid)\n', 'TypeError: copy() takes exactly 5 arguments (4 given)\n']
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/usr/local/lib/python2.7/site-packages/ddt.py", line 114, in wrapper
>     return func(self, *args, **kwargs)
>   File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_ss_limits.py", line 369, in test_04_copy_template
>     sourcezoneid = template.zoneid)
> 'copy() takes exactly 5 arguments (4 given)\n-------------------- >> begin captured stdout << ---------------------\n=== TestName: test_04_copy_template_1_root_domain_admin | Status : EXCEPTION ===\n\n\n--------------------- >> end captured stdout << ----------------------\n-------------------- >> begin captured logging << --------------------\ntest_04_copy_template_1_root_domain_admin (integration.component.test_ss_limits.TestSecondaryStorageLimits): DEBUG: ::::::::::::STARTED : TC: test_04_copy_template_1_root_domain_admin :::::::::::\ntest_04_copy_template_1_root_domain_admin (integration.component.test_ss_limits.TestSecondaryStorageLimits): DEBUG: Payload: {\'apiKey\': u\'OK1UH4l8UUYHDWdnVSWETzepdzs07VAwZBCYZwS4W2zHupX3PAISs1Ug7oMKUBO17rHHkOr3ZAKFVf2fsKYIvQ\', \'command\': \'listZones\', \'signature\': \'H8DhzBD18g1bf1QQ1r7w5RU+eRU=\', \'response\': \'json\'}\ntest_04_copy_template_1_root_domain_admin 



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