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/01 09:57:21 UTC

[jira] [Commented] (CLOUDSTACK-7439) [Automation] Fix the script "test_tags.py" - Unable to find resource by uuid since it is already destroyed

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

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

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

CLOUDSTACK-7439: Fix 'Unable to find VM' issue in test_tags.py


> [Automation] Fix the script "test_tags.py" - Unable to find resource by uuid since it is already destroyed 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7439
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7439
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation, Test
>    Affects Versions: 4.5.0
>            Reporter: Chandan Purushothama
>            Assignee: Gaurav Aradhye
>            Priority: Critical
>             Fix For: 4.5.0
>
>
> I am not sure whether we allow creation of tags on destroyed VMs. Currently that Use case fails.
> *Error Message*
> Job failed: {jobprocstatus : 0, created : u'2014-08-24T15:44:22+0000', cmd : u'org.apache.cloudstack.api.command.user.tag.CreateTagsCmd', userid : u'77df13d2-2b4d-11e4-89bd-1e5d0e053e75', jobstatus : 2, jobid : u'37f08e53-2f4a-40d5-a241-687948b2afb8', jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Unable to find resource by uuid 9ea1264a-3914-41b4-9807-28e442ce752d and type UserVm'}, accountid : u'77df055e-2b4d-11e4-89bd-1e5d0e053e75'}   Logs available at http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=tags
> Stacktrace
>   File "/usr/lib/python2.7/unittest/case.py", line 332, in run
>     testMethod()
>   File "/root/cloudstack/test/integration/component/test_tags.py", line 2249, in test_22_create_tag_destroyed_vm
>     tags={'region': 'India'}
>   File "/usr/local/lib/python2.7/dist-packages/marvin/lib/base.py", line 3783, in create
>     return Tag(apiclient.createTags(cmd).__dict__)
>   File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2294, in createTags
>     response = self.connection.marvinRequest(command, response_type=response, method=method)
>   File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line 379, in marvinRequest
>     raise e
> 'Job failed: {jobprocstatus : 0, created : u\'2014-08-24T15:44:22+0000\', cmd : u\'org.apache.cloudstack.api.command.user.tag.CreateTagsCmd\', userid : u\'77df13d2-2b4d-11e4-89bd-1e5d0e053e75\', jobstatus : 2, jobid : u\'37f08e53-2f4a-40d5-a241-687948b2afb8\', jobresultcode : 530, jobresulttype : u\'object\', jobresult : {errorcode : 530, errortext : u\'Unable to find resource by uuid 9ea1264a-3914-41b4-9807-28e442ce752d and type UserVm\'}, accountid : u\'77df055e-2b4d-11e4-89bd-1e5d0e053e75\'}\n
> Logs available at http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=tags		



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