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/08/27 00:45:57 UTC
[jira] [Created] (CLOUDSTACK-7438) [Automation] List tags should
not return empty response
Chandan Purushothama created CLOUDSTACK-7438:
------------------------------------------------
Summary: [Automation] List tags should not return empty response
Key: CLOUDSTACK-7438
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7438
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation, Test
Affects Versions: 4.5.0
Reporter: Chandan Purushothama
Priority: Critical
Fix For: 4.5.0
=================================================
Info from the Client results log shows creation and listing of tags:
=================================================
test_06_template_tag (integration.component.test_tags.TestResourceTags): DEBUG: ========Sending GET Cmd : createTags=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.135.69
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=YuaraAK9l9g2KJCAw3APnrD2aNpVmhAesCvWFxlDvGCb0NcARH_sKQxfRM6WF-SCAxikI8awlxCrmw010lUFzg&resourcetype=Template&resourceIds=7f62bc5b-8e16-47fb-ab3d-12aa94532b3a&command=createTags&signature=w0XlJIylJpRdt9MTZbLL2x1z9nU%3D&tags%5B0%5D.key=OS&response=json&tags%5B0%5D.value=CentOS HTTP/1.1" 200 75
test_06_template_tag (integration.component.test_tags.TestResourceTags): DEBUG: === Jobid: 1146e783-54e9-4bfa-8d08-981cc25c0c33 Started ===
test_06_template_tag (integration.component.test_tags.TestResourceTags): DEBUG: Payload: {'signature': 'utF4HLORlspxi354V8Pf8Baxsts=', 'apiKey': u'YuaraAK9l9g2KJCAw3APnrD2aNpVmhAesCvWFxlDvGCb0NcARH_sKQxfRM6WF-SCAxikI8awlxCrmw010lUFzg', 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'1146e783-54e9-4bfa-8d08-981cc25c0c33'}
test_06_template_tag (integration.component.test_tags.TestResourceTags): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.135.69
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=1146e783-54e9-4bfa-8d08-981cc25c0c33&apiKey=YuaraAK9l9g2KJCAw3APnrD2aNpVmhAesCvWFxlDvGCb0NcARH_sKQxfRM6WF-SCAxikI8awlxCrmw010lUFzg&command=queryAsyncJobResult&response=json&signature=utF4HLORlspxi354V8Pf8Baxsts%3D HTTP/1.1" 200 389
test_06_template_tag (integration.component.test_tags.TestResourceTags): DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-24T15:38:01+0000', cmd : u'org.apache.cloudstack.api.command.user.tag.CreateTagsCmd', userid : u'77df13d2-2b4d-11e4-89bd-1e5d0e053e75', jobstatus : 1, jobid : u'1146e783-54e9-4bfa-8d08-981cc25c0c33', jobresultcode : 0, jobresulttype : u'object', jobresult : {success : True}, accountid : u'77df055e-2b4d-11e4-89bd-1e5d0e053e75'}
test_06_template_tag (integration.component.test_tags.TestResourceTags): DEBUG: ===Jobid:1146e783-54e9-4bfa-8d08-981cc25c0c33 ; StartTime:Sun Aug 24 15:38:01 2014 ; EndTime:Sun Aug 24 15:38:01 2014 ; TotalTime:0===
test_06_template_tag (integration.component.test_tags.TestResourceTags): DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-24T15:38:01+0000', cmd : u'org.apache.cloudstack.api.command.user.tag.CreateTagsCmd', userid : u'77df13d2-2b4d-11e4-89bd-1e5d0e053e75', jobstatus : 1, jobid : u'1146e783-54e9-4bfa-8d08-981cc25c0c33', jobresultcode : 0, jobresulttype : u'object', jobresult : {success : True}, accountid : u'77df055e-2b4d-11e4-89bd-1e5d0e053e75'}
test_06_template_tag (integration.component.test_tags.TestResourceTags): DEBUG: Tag created: {'success': True}
test_06_template_tag (integration.component.test_tags.TestResourceTags): DEBUG: Payload: {'account': u'test-TestResourceTags-SKLJM8', 'domainid': u'56ab18f0-2b4d-11e4-89bd-1e5d0e053e75', 'resourceType': 'Template', 'value': 'CentOS', 'apiKey': u'YuaraAK9l9g2KJCAw3APnrD2aNpVmhAesCvWFxlDvGCb0NcARH_sKQxfRM6WF-SCAxikI8awlxCrmw010lUFzg', 'command': 'listTags', 'key': 'OS', 'signature': 'mcKSukLYBWmPOlsgS4NKx1OXXZ8=', 'response': 'json', 'listall': True}
test_06_template_tag (integration.component.test_tags.TestResourceTags): DEBUG: ========Sending GET Cmd : listTags=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.135.69
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?account=test-TestResourceTags-SKLJM8&domainid=56ab18f0-2b4d-11e4-89bd-1e5d0e053e75&resourceType=Template&value=CentOS&apiKey=YuaraAK9l9g2KJCAw3APnrD2aNpVmhAesCvWFxlDvGCb0NcARH_sKQxfRM6WF-SCAxikI8awlxCrmw010lUFzg&command=listTags&key=OS&signature=mcKSukLYBWmPOlsgS4NKx1OXXZ8%3D&response=json&listall=True HTTP/1.1" 200 28
test_06_template_tag (integration.component.test_tags.TestResourceTags): DEBUG: Response : None
test_06_template_tag (integration.component.test_tags.TestResourceTags): CRITICAL: FAILED: test_06_template_tag: ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/unittest/case.py", line 332, in run\n testMethod()\n', ' File "/root/cloudstack/test/integration/component/test_tags.py", line 1002, in test_06_template_tag\n "List tags should not return empty response"\n', ' File "/usr/lib/python2.7/unittest/case.py", line 516, in assertEqual\n assertion_func(first, second, msg=msg)\n', ' File "/usr/lib/python2.7/unittest/case.py", line 509, in _baseAssertEqual\n raise self.failureException(msg)\n', 'AssertionError: List tags should not return empty response\n']
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: Test creation, listing and deletion tags on projects
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/cloudstack/test/integration/component/test_tags.py", line 1722, in test_15_project_tag
"List tags should not return empty response"
AssertionError: List tags should not return empty response
-------------------- >> begin captured stdout << ---------------------
=== TestName: test_15_project_tag | Status : FAILED ===
More Information about the test report can be found at : http://ccp-tests.xenrt.xs.citrite.net/jenkins/view/Goleta-Regression/job/xenrt-regression-adv-xs/10/testReport/integration.component.test_tags/TestResourceTags/test_06_template_tag/
--
This message was sent by Atlassian JIRA
(v6.2#6252)