[ https://issues.apache.org/jira/browse/CLOUDSTACK-7108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064669#comment-14064669 ]
ASF subversion and git services commented on CLOUDSTACK-7108: ------------------------------------------------------------- Commit 6f9b3cc9d13bd1bc002ce0afad3ed416b590f882 in cloudstack's branch refs/heads/master from [~ashutoshk] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6f9b3cc ] CLOUDSTACK-7108: Reading provisioningtype for disk offering in base.py > [Automation] TestCreateDiskOffering test cases failing in simulator > ------------------------------------------------------------------- > > Key: CLOUDSTACK-7108 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7108 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation > Affects Versions: 4.5.0 > Environment: Simulator > Reporter: Rayees Namathponnan > Assignee: Ashutosk Kelkar > Fix For: 4.5.0 > > > Test case failing with below error > Error Message > Check provisionig type in createServiceOffering > -------------------- >> begin captured stdout << --------------------- > === TestName: test_02_create_sparse_type_disk_offering | Status : FAILED === > --------------------- >> end captured stdout << ---------------------- > -------------------- >> begin captured logging << -------------------- > test_02_create_sparse_type_disk_offering > (integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG: > ::::::::::::STARTED : TC: test_02_create_sparse_type_disk_offering ::::::::::: > test_02_create_sparse_type_disk_offering > (integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG: > Payload: {'apiKey': > u'fbL76eSHF_ZJS4d7DuoJ_yGeAXATDSZ5xI_UBm-lsQUVrGuxROVLVvUfMpd8eZ1FwC_L4BHCoc2HTxDaN5xjEw', > 'name': 'Sparse Type Disk offering', 'command': 'createDiskOffering', > 'disksize': 1, 'signature': 'sqd1CEBlKR4PojyjGiLgVNSauGE=', 'displaytext': > 'Sparse Type Disk offering', 'response': 'json'} > test_02_create_sparse_type_disk_offering > (integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG: > ========Sending GET Cmd : createDiskOffering======= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 172.16.88.23 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=fbL76eSHF_ZJS4d7DuoJ_yGeAXATDSZ5xI_UBm-lsQUVrGuxROVLVvUfMpd8eZ1FwC_L4BHCoc2HTxDaN5xjEw&name=Sparse+Type+Disk+offering&command=createDiskOffering&disksize=1&signature=sqd1CEBlKR4PojyjGiLgVNSauGE%3D&displaytext=Sparse+Type+Disk+offering&response=json > HTTP/1.1" 200 323 > test_02_create_sparse_type_disk_offering > (integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG: > Response : {iscustomized : False, name : u'Sparse Type Disk offering', > created : u'2014-07-15T02:16:43-0700', storagetype : u'shared', displaytext : > u'Sparse Type Disk offering', disksize : 1, provisioningtype : u'thin', id : > u'ce464afe-42f6-42b3-9d7c-630c39b5cc3b', displayoffering : True} > test_02_create_sparse_type_disk_offering > (integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG: > Created Disk offering with ID: ce464afe-42f6-42b3-9d7c-630c39b5cc3b > test_02_create_sparse_type_disk_offering > (integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG: > Payload: {'apiKey': > u'fbL76eSHF_ZJS4d7DuoJ_yGeAXATDSZ5xI_UBm-lsQUVrGuxROVLVvUfMpd8eZ1FwC_L4BHCoc2HTxDaN5xjEw', > 'id': u'ce464afe-42f6-42b3-9d7c-630c39b5cc3b', 'command': > 'listDiskOfferings', 'signature': 'dRb5TpsjzvEJGw5hJz1nmFpTm5s=', 'response': > 'json'} > test_02_create_sparse_type_disk_offering > (integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG: > ========Sending GET Cmd : listDiskOfferings======= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 172.16.88.23 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?response=json&apiKey=fbL76eSHF_ZJS4d7DuoJ_yGeAXATDSZ5xI_UBm-lsQUVrGuxROVLVvUfMpd8eZ1FwC_L4BHCoc2HTxDaN5xjEw&command=listDiskOfferings&id=ce464afe-42f6-42b3-9d7c-630c39b5cc3b&signature=dRb5TpsjzvEJGw5hJz1nmFpTm5s%3D > HTTP/1.1" 200 336 > test_02_create_sparse_type_disk_offering > (integration.smoke.test_disk_offerings.TestCreateDiskOffering): DEBUG: > Response : [{iscustomized : False, name : u'Sparse Type Disk offering', > created : u'2014-07-15T02:16:43-0700', storagetype : u'shared', displaytext : > u'Sparse Type Disk offering', disksize : 1, provisioningtype : u'thin', id : > u'ce464afe-42f6-42b3-9d7c-630c39b5cc3b', displayoffering : True}] > test_02_create_sparse_type_disk_offering > (integration.smoke.test_disk_offerings.TestCreateDiskOffering): CRITICAL: > FAILED: test_02_create_sparse_type_disk_offering: ['Traceback (most recent > call last):\n', ' File "/usr/local/lib/python2.7/unittest/case.py", line > 331, in run\n testMethod()\n', ' File > "/automation/virtenv/00-16-3e-0a-f4-2c/1338/test/integration/smoke/test_disk_offerings.py", > line 128, in test_02_create_sparse_type_disk_offering\n "Check > provisionig type in createServiceOffering"\n', ' File > "/usr/local/lib/python2.7/unittest/case.py", line 515, in assertEqual\n > assertion_func(first, second, msg=msg)\n', ' File > "/usr/local/lib/python2.7/unittest/case.py", line 508, 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 331, in run > testMethod() > File > "/automation/virtenv/00-16-3e-0a-f4-2c/1338/test/integration/smoke/test_disk_offerings.py", > line 128, in test_02_create_sparse_type_disk_offering > "Check provisionig type in createServiceOffering" > File "/usr/local/lib/python2.7/unittest/case.py", line 515, in assertEqual > assertion_func(first, second, msg=msg) > File "/usr/local/lib/python2.7/unittest/case.py", line 508, in > _baseAssertEqual > raise self.failureException(msg) > 'Check provisionig type in createServiceOffering\n-------------------- >> > begin captured stdout << ------- > Below two test cases failing, is there any check -in missing in master ? > test_disk_offerings.TestCreateDiskOffering.test_02_create_sparse_type_disk_offering > test_disk_offerings.TestCreateDiskOffering.test_04_create_fat_type_disk_offering -- This message was sent by Atlassian JIRA (v6.2#6252)