Tempest test test_get_version_details failed

Bug #1571613 reported by Sofiia Andriichenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Status tracked in 10.0.x
10.0.x
Fix Released
High
Sergii Turivnyi

Bug Description

Detailed bug description:
ISO: http://paste.openstack.org/show/494391/
Configuration: [9.0][MOSQA] Tempest 9.0 (VLAN_IRONIC_CEPH_GLANCE_CEPH-Tempest,Ceph,Ironic,SSL(api))

Steps to reproduce:
Deploy ISO in configuration see (Detailed bug description)

Expected results:
Test is passed

Actual result:
Test is Failed

Reproducibility:
See attachment

Workaround:
---

Impact:
---

Description of the environment:
See (Detailed bug description)

Additional information:
Error Message

test failed

Stacktrace

Traceback (most recent call last):
  File "tempest/api/compute/test_versions.py", line 68, in test_get_version_details
    result = self.versions_client.get_version_by_url(link['href'])
  File "tempest/lib/services/compute/versions_client.py", line 58, in get_version_by_url
    {'X-Auth-Token': self.token})
  File "tempest/lib/common/rest_client.py", line 559, in raw_request
    headers=headers, body=body)
  File "tempest/lib/common/http.py", line 25, in request
    return super(ClosingHttp, self).request(*args, **new_kwargs)
  File "/home/rally/.rally/tempest/for-deployment-57c82f56-f9bb-45fe-a12f-f24bd30cfe22/.venv/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1609, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/home/rally/.rally/tempest/for-deployment-57c82f56-f9bb-45fe-a12f-f24bd30cfe22/.venv/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1351, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/home/rally/.rally/tempest/for-deployment-57c82f56-f9bb-45fe-a12f-f24bd30cfe22/.venv/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1307, in _conn_request
    response = conn.getresponse()
  File "/usr/lib/python2.7/httplib.py", line 1051, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 415, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 379, in _read_status
    raise BadStatusLine(line)
httplib.BadStatusLine: ''

Revision history for this message
Sofiia Andriichenko (sandriichenko) wrote :
Changed in mos:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → MOS Nova (mos-nova)
milestone: none → 9.0
tags: added: area-nova tempest
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

Sergii, please provide a diagnostic snapshot. Also, please leave a comment before changing the assignee.

Changed in mos:
assignee: MOS Nova (mos-nova) → Sergii Turivnyi (sturivnyi)
status: Confirmed → Incomplete
Revision history for this message
Sergey Nikitin (snikitin) wrote :

I saw such exception in this test. It related to tempest bug https://bugs.launchpad.net/tempest/+bug/1471833

The bug fix was merged in Tempest 10.0 and as I understand you use Tempest 9.0.
If it possible you can apply the bugfix and run this test again.
https://review.openstack.org/#/c/284621/2

P.S. In my case Nova was run under Apache. So maybe this fix wouldn't help.

Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Hi Sergey, we are using Tempest from master upstream

summary: - Tempest test
- tempest.api.compute.test_versions.TestVersions.test_get_version_details
- is failed
+ Tempest test test_get_version_details failed
Revision history for this message
Sergii Turivnyi (sturivnyi) wrote :

Was tested on ISO: http://paste.openstack.org/show/494203/ it works

Changed in mos:
status: Incomplete → Fix Released
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.