cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitin Mehta (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-7438) [Automation] List tags should not return empty response
Date Sat, 30 Aug 2014 00:09:54 GMT

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

Nitin Mehta resolved CLOUDSTACK-7438.
-------------------------------------

    Resolution: Incomplete

> [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
>            Assignee: Nitin Mehta
>            Priority: Critical
>             Fix For: 4.5.0
>
>
> Two tests failed : *test_06_template_tag* & *test_15_project_tag*
> =================================================
> Info from the Client results log shows creation and listing of tags:
> =================================================
> FAIL: Test creation, listing and deletion tag on templates
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/root/cloudstack/test/integration/component/test_tags.py", line 1002, in test_06_template_tag
>     "List tags should not return empty response"
> AssertionError: List tags should not return empty response
> -------------------- >> begin captured stdout << ---------------------
> === TestName: test_06_template_tag | Status : FAILED ===
> .
> .
> .
> .
> 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 ===
> .
> .
> .
> .
> test_15_project_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=project&resourceIds=8cbbff27-5048-421a-b318-babecc492484&command=createTags&signature=c6aaEYdWLmu5OycKPO1QBDb%2FdfM%3D&tags%5B0%5D.key=region&response=json&tags%5B0%5D.value=India
HTTP/1.1" 200 75
> test_15_project_tag (integration.component.test_tags.TestResourceTags): DEBUG: === Jobid:
ede3bb9f-181e-49ba-9a47-d0c95be74bd2 Started ===
> test_15_project_tag (integration.component.test_tags.TestResourceTags): DEBUG: Payload:
{'signature': 'r9y8WMeYmbi6KryPcw0Eqi7hiy8=', 'apiKey': u'YuaraAK9l9g2KJCAw3APnrD2aNpVmhAesCvWFxlDvGCb0NcARH_sKQxfRM6WF-SCAxikI8awlxCrmw010lUFzg',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'ede3bb9f-181e-49ba-9a47-d0c95be74bd2'}
> test_15_project_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=ede3bb9f-181e-49ba-9a47-d0c95be74bd2&apiKey=YuaraAK9l9g2KJCAw3APnrD2aNpVmhAesCvWFxlDvGCb0NcARH_sKQxfRM6WF-SCAxikI8awlxCrmw010lUFzg&command=queryAsyncJobResult&response=json&signature=r9y8WMeYmbi6KryPcw0Eqi7hiy8%3D
HTTP/1.1" 200 389
> test_15_project_tag (integration.component.test_tags.TestResourceTags): DEBUG: Response
: {jobprocstatus : 0, created : u'2014-08-24T15:41:58+0000', cmd : u'org.apache.cloudstack.api.command.user.tag.CreateTagsCmd',
userid : u'77df13d2-2b4d-11e4-89bd-1e5d0e053e75', jobstatus : 1, jobid : u'ede3bb9f-181e-49ba-9a47-d0c95be74bd2',
jobresultcode : 0, jobresulttype : u'object', jobresult : {success : True}, accountid : u'77df055e-2b4d-11e4-89bd-1e5d0e053e75'}
> test_15_project_tag (integration.component.test_tags.TestResourceTags): DEBUG: ===Jobid:ede3bb9f-181e-49ba-9a47-d0c95be74bd2
; StartTime:Sun Aug 24 15:41:58 2014 ; EndTime:Sun Aug 24 15:41:58 2014 ; TotalTime:0===
> test_15_project_tag (integration.component.test_tags.TestResourceTags): DEBUG: Response
: {jobprocstatus : 0, created : u'2014-08-24T15:41:58+0000', cmd : u'org.apache.cloudstack.api.command.user.tag.CreateTagsCmd',
userid : u'77df13d2-2b4d-11e4-89bd-1e5d0e053e75', jobstatus : 1, jobid : u'ede3bb9f-181e-49ba-9a47-d0c95be74bd2',
jobresultcode : 0, jobresulttype : u'object', jobresult : {success : True}, accountid : u'77df055e-2b4d-11e4-89bd-1e5d0e053e75'}
> test_15_project_tag (integration.component.test_tags.TestResourceTags): DEBUG: Tag created:
{'success': True}
> test_15_project_tag (integration.component.test_tags.TestResourceTags): DEBUG: Payload:
{'apiKey': u'YuaraAK9l9g2KJCAw3APnrD2aNpVmhAesCvWFxlDvGCb0NcARH_sKQxfRM6WF-SCAxikI8awlxCrmw010lUFzg',
'resourceType': 'project', 'projectid': u'8cbbff27-5048-421a-b318-babecc492484', 'command':
'listTags', 'key': 'region', 'signature': 'NJpjPXOPvmFfYgynQEc/Oacif0g=', 'response': 'json',
'listall': True}
> test_15_project_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?apiKey=YuaraAK9l9g2KJCAw3APnrD2aNpVmhAesCvWFxlDvGCb0NcARH_sKQxfRM6WF-SCAxikI8awlxCrmw010lUFzg&resourceType=project&projectid=8cbbff27-5048-421a-b318-babecc492484&command=listTags&key=region&signature=NJpjPXOPvmFfYgynQEc%2FOacif0g%3D&response=json&listall=True
HTTP/1.1" 200 28
> test_15_project_tag (integration.component.test_tags.TestResourceTags): DEBUG: Response
: None
> test_15_project_tag (integration.component.test_tags.TestResourceTags): DEBUG: tags =
None
> test_15_project_tag (integration.component.test_tags.TestResourceTags): CRITICAL: FAILED:
test_15_project_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 1722, in test_15_project_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 << ---------------------
> *More Information about the test reports 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/
> http://ccp-tests.xenrt.xs.citrite.net/jenkins/view/Goleta-Regression/job/xenrt-regression-adv-xs/10/testReport/integration.component.test_tags/TestResourceTags/test_15_project_tag/



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

Mime
View raw message