Rayees Namathponnan created CLOUDSTACK-6629:
-----------------------------------------------
Summary: [Automation] Service offering test cases failing with
error "Check provisionig type in createServiceOffering"
Key: CLOUDSTACK-6629
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6629
Project: CloudStack
Issue Type: Test
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation
Affects Versions: 4.4.0
Reporter: Rayees Namathponnan
Priority: Critical
Fix For: 4.4.0
Run BVT test integration.smoke.test_disk_offerings suite
Test cases failing with below error
Error Message
Check provisionig type in createServiceOffering
-------------------- >> begin captured stdout << ---------------------
=== TestName: test_04_create_fat_type_disk_offering | Status : FAILED ===
--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
test_04_create_fat_type_disk_offering
(integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG:
::::::::::::STARTED : TC: test_04_create_fat_type_disk_offering :::::::::::
test_04_create_fat_type_disk_offering
(integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG: Payload:
{'apiKey':
u'leb8qPblUzbfXRSpfWRZzvgKTo1pAd3Z9S7gkvok9BGpFEm1DsuPCjMeETvbMkjOEeoNX8wgMtK7K0S7ywd5cA',
'name': 'Fat Type Disk offering', 'command': 'createDiskOffering', 'disksize':
1, 'signature': 'xUsXj0HkgkDrfwTTv1sRU+Pxdz0=', 'displaytext': 'Fat Type Disk
offering', 'response': 'json'}
test_04_create_fat_type_disk_offering
(integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG:
========Sending GET Cmd : createDiskOffering=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?apiKey=leb8qPblUzbfXRSpfWRZzvgKTo1pAd3Z9S7gkvok9BGpFEm1DsuPCjMeETvbMkjOEeoNX8wgMtK7K0S7ywd5cA&name=Fat+Type+Disk+offering&command=createDiskOffering&disksize=1&signature=xUsXj0HkgkDrfwTTv1sRU%2BPxdz0%3D&displaytext=Fat+Type+Disk+offering&response=json
HTTP/1.1" 200 291
test_04_create_fat_type_disk_offering
(integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG: Response
: {iscustomized : False, name : u'Fat Type Disk offering', created :
u'2014-05-11T00:03:40-0700', storagetype : u'shared', displaytext : u'Fat Type
Disk offering', disksize : 1, id : u'eb697298-f969-41dd-a7c2-8426cdcb17be',
displayoffering : True}
test_04_create_fat_type_disk_offering
(integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG: Created
Disk offering with ID: eb697298-f969-41dd-a7c2-8426cdcb17be
test_04_create_fat_type_disk_offering
(integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG: Payload:
{'apiKey':
u'leb8qPblUzbfXRSpfWRZzvgKTo1pAd3Z9S7gkvok9BGpFEm1DsuPCjMeETvbMkjOEeoNX8wgMtK7K0S7ywd5cA',
'id': u'eb697298-f969-41dd-a7c2-8426cdcb17be', 'command': 'listDiskOfferings',
'signature': '6YyaurkycNHqoKtas5aoAY7J3k0=', 'response': 'json'}
test_04_create_fat_type_disk_offering
(integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG:
========Sending GET Cmd : listDiskOfferings=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?apiKey=leb8qPblUzbfXRSpfWRZzvgKTo1pAd3Z9S7gkvok9BGpFEm1DsuPCjMeETvbMkjOEeoNX8wgMtK7K0S7ywd5cA&id=eb697298-f969-41dd-a7c2-8426cdcb17be&command=listDiskOfferings&signature=6YyaurkycNHqoKtas5aoAY7J3k0%3D&response=json
HTTP/1.1" 200 304
test_04_create_fat_type_disk_offering
(integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG: Response
: [{iscustomized : False, name : u'Fat Type Disk offering', created :
u'2014-05-11T00:03:40-0700', storagetype : u'shared', displaytext : u'Fat Type
Disk offering', disksize : 1, id : u'eb697298-f969-41dd-a7c2-8426cdcb17be',
displayoffering : True}]
test_04_create_fat_type_disk_offering
(integration.smoke.test_disk_offerings.TestCreateDiskOffering): CRITICAL:
FAILED: test_04_create_fat_type_disk_offering: ['Traceback (most recent call
last):\n', ' File "/usr/local/lib/python2.7/unittest/case.py", line 318, in
run\n testMethod()\n', ' File
"/Repo_30X/ipcl/cloudstack/test/integration/smoke/test_disk_offerings.py", line
169, in test_04_create_fat_type_disk_offering\n "Check provisionig type in
createServiceOffering"\n', ' File "/usr/local/lib/python2.7/unittest/case.py",
line 494, in assertEqual\n assertion_func(first, second, msg=msg)\n', '
File "/usr/local/lib/python2.7/unittest/case.py", line 487, in
_baseAssertEqual\n raise self.failureException(msg)\n', 'AssertionError:
Check provisionig type in createServiceOffering\n']
--------------------- >> end captured logging << ---------------------
Stacktrace
File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
testMethod()
File
"/Repo_30X/ipcl/cloudstack/test/integration/smoke/test_disk_offerings.py", line
169, in test_04_create_fat_type_disk_offering
"Check provisionig type in createServiceOffering"
File "/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/local/lib/python2.7/unittest/case.py", line 487, in
_baseAssertEqual
raise self.failureException(msg)
'Check provisionig type in createServiceOffering\n-------------------- >> begin
captured stdout << ---------------------\n=== TestName:
test_04_create_fat_type_disk_offering | Status : FAILED
===\n\n\n--------------------- >> end captured stdout <<
----------------------\n-------------------- >> begin captured logging <<
--------------------\ntest_04_create_fat_type_disk_offering
--
This message was sent by Atlassian JIRA
(v6.2#6252)