Traceback in tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details[id-0248a46c-e226-4933-be10-ad6fca8227e7] test

Bug #1795344 reported by Vikas Mulaje
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tempest
New
Undecided
Unassigned

Bug Description

openstack-tempest-17.2.0-2.el7ost.noarch
python-sahara-tests-tempest-0.5.0-2.el7ost.noarch
python-tempest-17.2.0-2.el7ost.noarch
python-tempestconf-1.1.3-1.el7ost.noarch
puppet-tempest-11.5.0-1.el7ost.noarch

#cinder
openstack-cinder-11.1.0-14.el7ost.noarch
puppet-cinder-11.5.0-4.el7ost.noarch
python-cinder-11.1.0-14.el7ost.noarch
python-cinder-tests-11.1.0-14.el7ost.noarch

Red Hat OpenStack Platform release 12.0 (Pike)

Test Report
===================================
('\n', 'VolumePoolsAdminTestsJSON')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: List of Failed tests:
tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_without_details[id-0248a46c-e226-4933-be10-ad6fca8227e7]
Reason: _StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2018-09-28 20:00:47,743 344229 INFO [tempest.lib.common.rest_client] Request (VolumePoolsAdminTestsJSON:test_get_pools_without_details): 200 GET http://10.0.0.102:8776/v2/4fed79b6041f4e0c952b026ee8489337/scheduler-stats/get_pools 25.503s
2018-09-28 20:00:47,744 344229 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '200', u'content-length': '13', 'content-location': 'http://10.0.0.102:8776/v2/4fed79b6041f4e0c952b026ee8489337/scheduler-stats/get_pools', u'x-compute-request-id': 'req-710c687f-22a8-49bb-bc87-42ac8e7d7c39', u'server': 'Apache', u'connection': 'close', u'date': 'Fri, 28 Sep 2018 20:00:22 GMT', u'content-type': 'application/json', u'x-openstack-request-id': 'req-710c687f-22a8-49bb-bc87-42ac8e7d7c39'}
        Body: {"pools": []}
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tempest/api/volume/admin/test_volume_pools.py", line 35, in test_get_pools_without_details
    self._assert_pools()
  File "/usr/lib/python2.7/site-packages/tempest/api/volume/admin/test_volume_pools.py", line 27, in _assert_pools
    self.assertIn('name', cinder_pools[0])
IndexError: list index out of range

tempest.api.volume.admin.test_volume_pools.VolumePoolsAdminTestsJSON.test_get_pools_with_details[id-d4bb61f7-762d-4437-b8a4-5785759a0ced]
Reason: _StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2018-09-28 20:00:22,235 344229 INFO [tempest.lib.common.rest_client] Request (VolumePoolsAdminTestsJSON:test_get_pools_with_details): 200 GET http://10.0.0.102:8776/v2/4fed79b6041f4e0c952b026ee8489337/scheduler-stats/get_pools?detail=True 0.490s
2018-09-28 20:00:22,236 344229 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '200', u'content-length': '13', 'content-location': 'http://10.0.0.102:8776/v2/4fed79b6041f4e0c952b026ee8489337/scheduler-stats/get_pools?detail=True', u'x-compute-request-id': 'req-9f1b3f8c-1c98-423c-9487-acce4fd4e903', u'server': 'Apache', u'connection': 'close', u'date': 'Fri, 28 Sep 2018 20:00:21 GMT', u'content-type': 'application/json', u'x-openstack-request-id': 'req-9f1b3f8c-1c98-423c-9487-acce4fd4e903'}
        Body: {"pools": []}
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tempest/api/volume/admin/test_volume_pools.py", line 39, in test_get_pools_with_details
    self._assert_pools(with_detail=True)
  File "/usr/lib/python2.7/site-packages/tempest/api/volume/admin/test_volume_pools.py", line 27, in _assert_pools
    self.assertIn('name', cinder_pools[0])
IndexError: list index out of range

Tags: tempest
Revision history for this message
Vikas Mulaje (vikasmulaje) wrote :
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.