cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandan Purushothama (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-7023) [Automation] DeleteTagsCmd failed due to "Unable to find tags by parameters specified"
Date Mon, 30 Jun 2014 23:19:25 GMT
Chandan Purushothama created CLOUDSTACK-7023:
------------------------------------------------

             Summary: [Automation] DeleteTagsCmd failed due to "Unable to find tags by parameters
specified"
                 Key: CLOUDSTACK-7023
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7023
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation, Test
    Affects Versions: 4.4.0
            Reporter: Chandan Purushothama
             Fix For: 4.4.0



==============
Test Script Code:
==============

    def test_07_iso_tag(self):
        """ Test creation, listing and deletion tags on ISO
        """
        # Validate the following
        # 1. Create  a tag on ISO using createTags API
        # 2. Delete above created tag using deleteTags API

        iso = Iso.create(
                         self.apiclient,
                         self.services["iso"],
                         account=self.account.name,
                         domainid=self.account.domainid
                         )
        self.debug("ISO created with ID: %s" % iso.id)

        list_iso_response = Iso.list(self.apiclient,
                                     id=iso.id)
        self.assertEqual(
                         isinstance(list_iso_response, list),
                         True,
                         "Check list response returns a valid list"
                         )

        self.debug("Creating a tag for the ISO")
        tag = Tag.create(
                         self.apiclient,
                         resourceIds=iso.id,
                         resourceType='ISO',
                         tags={'OS': 'CentOS'}
                         )
        self.debug("Tag created: %s" % tag.__dict__)

        tags = Tag.list(
                        self.apiclient,
                        listall=True,
                        resourceType='ISO',
                        account=self.account.name,
                        domainid=self.account.domainid,
                        key='OS',
                        value='CentOS'
                        )
        self.assertEqual(
                         isinstance(tags, list),
                         True,
                         "List tags should not return empty response"
                         )
        self.assertEqual(
                         tags[0].value,
                         'CentOS',
                         'The tag should have original value'
                         )
        isos = Iso.list(
                        self.apiclient,
                        key='OS',
                        value='CentOS',
                        account=self.account.name,
                        domainid=self.account.domainid,
                        isofilter='all'
                    )

        self.assertEqual(
                         isinstance(isos, list),
                         True,
                         "List isos should not return an empty response"
                         )

        self.debug("Deleting the created tag..")
        try:
            tag.delete(
                       self.apiclient,
                       resourceIds=iso.id,
                       resourceType='ISO',
                       tags={'OS': 'CentOS'}
                       )
        except Exception as e:
            self.fail("Failed to delete the tag - %s" % e)

        self.debug("Verifying if tag is actually deleted!")
        tags = Tag.list(
                        self.apiclient,
                        listall=True,
                        resourceType='ISO',
                        account=self.account.name,
                        domainid=self.account.domainid,
                        key='OS',
                        value='CentOS'
                        )
        self.assertEqual(
                         tags,
                         None,
                         "List tags should return empty response"
                         )
        return



===================================
Unable to find tags by parameters specified:
===================================

test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Payload: {'account':
u'test-TestResourceTags-BQG75M', 'domainid': u'36c9d3ba-fc58-11e3-919f-4eba41a459a4', 'name':
'Dummy ISO', 'ispublic': False, 'isextractable': True, 'zoneid': u'89d23f5c-c768-4fb0-80aa-f970a6f2d70b',
'isfeatured': True, 'apiKey': u'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q',
'displaytext': 'Dummy ISO', 'ostypeid': u'36d0cf58-fc58-11e3-919f-4eba41a459a4', 'signature':
'X08iXXgAavZWTcv2LW4HEK+piz8=', 'url': 'http://people.apache.org/~tsp/dummy.iso', 'command':
'registerIso', 'response': 'json'}
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: ========Sending
GET Cmd : registerIso=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.153.217
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?account=test-TestResourceTags-BQG75M&domainid=36c9d3ba-fc58-11e3-919f-4eba41a459a4&name=Dummy+ISO&ispublic=False&isextractable=True&zoneid=89d23f5c-c768-4fb0-80aa-f970a6f2d70b&isfeatured=True&apiKey=Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q&displaytext=Dummy+ISO&ostypeid=36d0cf58-fc58-11e3-919f-4eba41a459a4&signature=X08iXXgAavZWTcv2LW4HEK%2Bpiz8%3D&url=http%3A%2F%2Fpeople.apache.org%2F~tsp%2Fdummy.iso&command=registerIso&response=json
HTTP/1.1" 200 578
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Response : [{status
: u'', ostypename : u'CentOS 5.3 (64-bit)', isready : False, domainid : u'36c9d3ba-fc58-11e3-919f-4eba41a459a4',
name : u'Dummy ISO', created : u'2014-06-26T14:42:15+0000', bootable : True, ispublic : False,
account : u'test-TestResourceTags-BQG75M', isextractable : True, zoneid : u'89d23f5c-c768-4fb0-80aa-f970a6f2d70b',
isfeatured : True, displaytext : u'Dummy ISO', ostypeid : u'36d0cf58-fc58-11e3-919f-4eba41a459a4',
domain : u'ROOT', crossZones : False, id : u'9dba8b7b-6e87-4166-88cb-387e93dda30b', tags :
[], zonename : u'XenRT-Zone-0'}]
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: ISO created with
ID: 9dba8b7b-6e87-4166-88cb-387e93dda30b
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Payload: {'apiKey':
u'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q',
'response': 'json', 'command': 'listIsos', 'signature': 'oPjbXEYtxJaMg6drxHf6wuff2vM=', 'id':
u'9dba8b7b-6e87-4166-88cb-387e93dda30b'}
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: ========Sending
GET Cmd : listIsos=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.153.217
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q&response=json&command=listIsos&signature=oPjbXEYtxJaMg6drxHf6wuff2vM%3D&id=9dba8b7b-6e87-4166-88cb-387e93dda30b
HTTP/1.1" 200 575
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Response : [{status
: u'', ostypename : u'CentOS 5.3 (64-bit)', isready : False, domainid : u'36c9d3ba-fc58-11e3-919f-4eba41a459a4',
name : u'Dummy ISO', created : u'2014-06-26T14:42:15+0000', bootable : True, ispublic : False,
account : u'test-TestResourceTags-BQG75M', isextractable : True, zoneid : u'89d23f5c-c768-4fb0-80aa-f970a6f2d70b',
isfeatured : True, displaytext : u'Dummy ISO', ostypeid : u'36d0cf58-fc58-11e3-919f-4eba41a459a4',
domain : u'ROOT', crossZones : False, id : u'9dba8b7b-6e87-4166-88cb-387e93dda30b', tags :
[], zonename : u'XenRT-Zone-0'}]
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Creating a tag
for the ISO
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Payload: {'apiKey':
u'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q',
'resourcetype': 'ISO', 'resourceIds': u'9dba8b7b-6e87-4166-88cb-387e93dda30b', 'command':
'createTags', 'signature': '/x/wQIxbpL8JAgaVBPcW52rnX5Q=', 'tags[0].key': 'OS', 'response':
'json', 'tags[0].value': 'CentOS'}
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: ========Sending
GET Cmd : createTags=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.153.217
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q&resourcetype=ISO&resourceIds=9dba8b7b-6e87-4166-88cb-387e93dda30b&command=createTags&signature=%2Fx%2FwQIxbpL8JAgaVBPcW52rnX5Q%3D&tags%5B0%5D.key=OS&response=json&tags%5B0%5D.value=CentOS
HTTP/1.1" 200 75
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: === Jobid: 7778be8d-bc63-4407-a0e3-47819faf823f
Started ===
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Payload: {'signature':
'9I+Crfh781AuEdTfoWN3o3wdg3c=', 'apiKey': u'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'7778be8d-bc63-4407-a0e3-47819faf823f'}
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: ========Sending
GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.153.217
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signature=9I%2BCrfh781AuEdTfoWN3o3wdg3c%3D&apiKey=Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q&command=queryAsyncJobResult&response=json&jobid=7778be8d-bc63-4407-a0e3-47819faf823f
HTTP/1.1" 200 389
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Response : {jobprocstatus
: 0, created : u'2014-06-26T14:42:16+0000', cmd : u'org.apache.cloudstack.api.command.user.tag.CreateTagsCmd',
userid : u'57dd7fb6-fc58-11e3-919f-4eba41a459a4', jobstatus : 1, jobid : u'7778be8d-bc63-4407-a0e3-47819faf823f',
jobresultcode : 0, jobresulttype : u'object', jobresult : {success : True}, accountid : u'57dd7098-fc58-11e3-919f-4eba41a459a4'}
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: ===Jobid:7778be8d-bc63-4407-a0e3-47819faf823f
; StartTime:Thu Jun 26 14:41:59 2014 ; EndTime:Thu Jun 26 14:42:00 2014 ; TotalTime:0===
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Response : {jobprocstatus
: 0, created : u'2014-06-26T14:42:16+0000', cmd : u'org.apache.cloudstack.api.command.user.tag.CreateTagsCmd',
userid : u'57dd7fb6-fc58-11e3-919f-4eba41a459a4', jobstatus : 1, jobid : u'7778be8d-bc63-4407-a0e3-47819faf823f',
jobresultcode : 0, jobresulttype : u'object', jobresult : {success : True}, accountid : u'57dd7098-fc58-11e3-919f-4eba41a459a4'}
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Tag created: {'success':
True}
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Payload: {'account':
u'test-TestResourceTags-BQG75M', 'domainid': u'36c9d3ba-fc58-11e3-919f-4eba41a459a4', 'resourceType':
'ISO', 'value': 'CentOS', 'apiKey': u'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q',
'command': 'listTags', 'key': 'OS', 'signature': '0o19GItZCKYVWa7gBXpuXw42kBQ=', 'response':
'json', 'listall': True}
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: ========Sending
GET Cmd : listTags=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.153.217
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?account=test-TestResourceTags-BQG75M&domainid=36c9d3ba-fc58-11e3-919f-4eba41a459a4&resourceType=ISO&value=CentOS&apiKey=Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q&command=listTags&key=OS&signature=0o19GItZCKYVWa7gBXpuXw42kBQ%3D&response=json&listall=True
HTTP/1.1" 200 262
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Response : [{account
: u'test-TestResourceTags-BQG75M', domainid : u'36c9d3ba-fc58-11e3-919f-4eba41a459a4', resourcetype
: u'ISO', resourceid : u'36ce8ba8-fc58-11e3-919f-4eba41a459a4', domain : u'ROOT', value :
u'CentOS', key : u'OS'}]
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Payload: {'domainid':
u'36c9d3ba-fc58-11e3-919f-4eba41a459a4', 'isofilter': 'all', 'apiKey': u'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q',
'key': 'OS', 'response': 'json', 'listall': True, 'account': u'test-TestResourceTags-BQG75M',
'value': 'CentOS', 'command': 'listIsos', 'signature': 'BuAwJ4YQmMAOF2HNrK3r92ZKceA='}
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: ========Sending
GET Cmd : listIsos=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.153.217
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?domainid=36c9d3ba-fc58-11e3-919f-4eba41a459a4&isofilter=all&apiKey=Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q&key=OS&response=json&listall=True&account=test-TestResourceTags-BQG75M&value=CentOS&command=listIsos&signature=BuAwJ4YQmMAOF2HNrK3r92ZKceA%3D
HTTP/1.1" 200 1574
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Response : [{ostypename
: u'CentOS 4.5 (32-bit)', isready : True, domainid : u'36c9d3ba-fc58-11e3-919f-4eba41a459a4',
name : u'xs-tools.iso', tags : [], bootable : False, ispublic : True, account : u'system',
isextractable : False, isfeatured : True, displaytext : u'xen-pv-drv-iso', ostypeid : u'36cfc202-fc58-11e3-919f-4eba41a459a4',
domain : u'ROOT', crossZones : False, id : u'cf17956c-73b8-43f5-8387-d8f250da787c'}, {ostypename
: u'CentOS 4.5 (32-bit)', isready : True, domainid : u'36c9d3ba-fc58-11e3-919f-4eba41a459a4',
name : u'vmware-tools.iso', tags : [], bootable : False, ispublic : True, account : u'system',
isextractable : False, isfeatured : True, displaytext : u'VMware Tools Installer ISO', ostypeid
: u'36cfc202-fc58-11e3-919f-4eba41a459a4', domain : u'ROOT', crossZones : False, id : u'bcba8482-c34e-465d-ab6e-aa105abe6ae8'},
{status : u'', ostypename : u'CentOS 5.3 (64-bit)', isready : False, domainid : u'36c9d3ba-fc58-11e3-919f-4eba41a459a4',
name : u'Dummy ISO', created : u'2014-06-26T14:42:15+0000', bootable : True, ispublic : False,
account : u'test-TestResourceTags-BQG75M', isextractable : True, zoneid : u'89d23f5c-c768-4fb0-80aa-f970a6f2d70b',
isfeatured : True, displaytext : u'Dummy ISO', ostypeid : u'36d0cf58-fc58-11e3-919f-4eba41a459a4',
domain : u'ROOT', crossZones : False, id : u'9dba8b7b-6e87-4166-88cb-387e93dda30b', tags :
[{account : u'test-TestResourceTags-BQG75M', domainid : u'36c9d3ba-fc58-11e3-919f-4eba41a459a4',
resourcetype : u'ISO', resourceid : u'36ce8ba8-fc58-11e3-919f-4eba41a459a4', domain : u'ROOT',
value : u'CentOS', key : u'OS'}], zonename : u'XenRT-Zone-0'}]
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Deleting the created
tag..
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Payload: {'apiKey':
u'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q',
'resourcetype': 'ISO', 'resourceIds': u'9dba8b7b-6e87-4166-88cb-387e93dda30b', 'command':
'deleteTags', 'signature': 'soKKlVEAF+0YWGFeHLZoi1FZmfY=', 'tags[0].key': 'OS', 'response':
'json', 'tags[0].value': 'CentOS'}
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: ========Sending
GET Cmd : deleteTags=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.153.217
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q&resourcetype=ISO&resourceIds=9dba8b7b-6e87-4166-88cb-387e93dda30b&command=deleteTags&signature=soKKlVEAF%2B0YWGFeHLZoi1FZmfY%3D&tags%5B0%5D.key=OS&response=json&tags%5B0%5D.value=CentOS
HTTP/1.1" 200 75
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: === Jobid: c30735e0-6962-4c29-b448-af082357691a
Started ===
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Payload: {'signature':
'DVy79O+R1HQ+KRJd7D7nbQCoYGY=', 'apiKey': u'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'c30735e0-6962-4c29-b448-af082357691a'}
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: ========Sending
GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.153.217
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signature=DVy79O%2BR1HQ%2BKRJd7D7nbQCoYGY%3D&apiKey=Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q&command=queryAsyncJobResult&response=json&jobid=c30735e0-6962-4c29-b448-af082357691a
HTTP/1.1" 200 450
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Response : {jobprocstatus
: 0, created : u'2014-06-26T14:42:16+0000', cmd : u'org.apache.cloudstack.api.command.user.tag.DeleteTagsCmd',
userid : u'57dd7fb6-fc58-11e3-919f-4eba41a459a4', jobstatus : 2, jobid : u'c30735e0-6962-4c29-b448-af082357691a',
jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext :
u'Unable to find tags by parameters specified'}, accountid : u'57dd7098-fc58-11e3-919f-4eba41a459a4'}
test_07_iso_tag (integration.component.test_tags.TestResourceTags): ERROR: ==== __poll: Exception
Occurred :Job failed: {jobprocstatus : 0, created : u'2014-06-26T14:42:16+0000', cmd : u'org.apache.cloudstack.api.command.user.tag.DeleteTagsCmd',
userid : u'57dd7fb6-fc58-11e3-919f-4eba41a459a4', jobstatus : 2, jobid : u'c30735e0-6962-4c29-b448-af082357691a',
jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext :
u'Unable to find tags by parameters specified'}, accountid : u'57dd7098-fc58-11e3-919f-4eba41a459a4'}
====
Traceback (most recent call last):
  File "/local/jenkins/workspace/xenrt-reg-adv-xs/work.59/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 105, in __poll
    % async_response)
Exception: Job failed: {jobprocstatus : 0, created : u'2014-06-26T14:42:16+0000', cmd : u'org.apache.cloudstack.api.command.user.tag.DeleteTagsCmd',
userid : u'57dd7fb6-fc58-11e3-919f-4eba41a459a4', jobstatus : 2, jobid : u'c30735e0-6962-4c29-b448-af082357691a',
jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext :
u'Unable to find tags by parameters specified'}, accountid : u'57dd7098-fc58-11e3-919f-4eba41a459a4'}
test_07_iso_tag (integration.component.test_tags.TestResourceTags): DEBUG: Response : FAILED
test_07_iso_tag (integration.component.test_tags.TestResourceTags): ERROR: marvinRequest :
CmdName: <marvin.cloudstackAPI.deleteTags.deleteTagsCmd object at 0x1d06390> Exception:
['Traceback (most recent call last):\n', '  File "/local/jenkins/workspace/xenrt-reg-adv-xs/work.59/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 373, in marvinRequest\n    raise self.__lastError\n', "Exception: Job failed: {jobprocstatus
: 0, created : u'2014-06-26T14:42:16+0000', cmd : u'org.apache.cloudstack.api.command.user.tag.DeleteTagsCmd',
userid : u'57dd7fb6-fc58-11e3-919f-4eba41a459a4', jobstatus : 2, jobid : u'c30735e0-6962-4c29-b448-af082357691a',
jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext :
u'Unable to find tags by parameters specified'}, accountid : u'57dd7098-fc58-11e3-919f-4eba41a459a4'}\n"]
Traceback (most recent call last):
  File "/local/jenkins/workspace/xenrt-reg-adv-xs/work.59/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 373, in marvinRequest
    raise self.__lastError
Exception: Job failed: {jobprocstatus : 0, created : u'2014-06-26T14:42:16+0000', cmd : u'org.apache.cloudstack.api.command.user.tag.DeleteTagsCmd',
userid : u'57dd7fb6-fc58-11e3-919f-4eba41a459a4', jobstatus : 2, jobid : u'c30735e0-6962-4c29-b448-af082357691a',
jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext :
u'Unable to find tags by parameters specified'}, accountid : u'57dd7098-fc58-11e3-919f-4eba41a459a4'}
test_07_iso_tag (integration.component.test_tags.TestResourceTags): CRITICAL: FAILED: test_07_iso_tag:
['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/unittest/case.py", line
332, in run\n    testMethod()\n', '  File "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integration/component/test_tags.py",
line 1123, in test_07_iso_tag\n    self.fail("Failed to delete the tag - %s" % e)\n', '  File
"/usr/lib/python2.7/unittest/case.py", line 413, in fail\n    raise self.failureException(msg)\n',
"AssertionError: Failed to delete the tag - Job failed: {jobprocstatus : 0, created : u'2014-06-26T14:42:16+0000',
cmd : u'org.apache.cloudstack.api.command.user.tag.DeleteTagsCmd', userid : u'57dd7fb6-fc58-11e3-919f-4eba41a459a4',
jobstatus : 2, jobid : u'c30735e0-6962-4c29-b448-af082357691a', jobresultcode : 530, jobresulttype
: u'object', jobresult : {errorcode : 530, errortext : u'Unable to find tags by parameters
specified'}, accountid : u'57dd7098-fc58-11e3-919f-4eba41a459a4'}\n"]
--------------------- >> end captured logging << ---------------------



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message