gate through UnauthorizedError for functional test

Bug #1513287 reported by Md Nadeem
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python client library for Zaqar
Confirmed
Undecided
Md Nadeem

Bug Description

gate through zaqarclient.transport.errors.UnauthorizedError while executing functional tests.
I face the same issue while executing functional tests using nose framework.

Traceback (most recent call last):
  File "/opt/stack/python-zaqarclient/zaqarclient/tests/queues/queues.py", line 268, in test_queue_stats_functional
    queue.post(messages)
  File "/opt/stack/python-zaqarclient/zaqarclient/queues/v1/queues.py", line 129, in post
    self._name, messages)
  File "/opt/stack/python-zaqarclient/zaqarclient/queues/v1/core.py", line 217, in message_post
    resp = transport.send(request)
  File "/opt/stack/python-zaqarclient/zaqarclient/transport/http.py", line 106, in send
    raise self.http_to_zaqar[resp.status_code](msg)
zaqarclient.transport.errors.UnauthorizedError

-------------------- >> begin captured logging << --------------------
stevedore.extension: DEBUG: found extension EntryPoint.parse('queues.v1 = zaqarclient.queues.v1.api:V1')
stevedore.extension: DEBUG: found extension EntryPoint.parse('queues.v1.1 = zaqarclient.queues.v1.api:V1_1')
stevedore.extension: DEBUG: found extension EntryPoint.parse('queues.v1 = zaqarclient.queues.v1.api:V1')
stevedore.extension: DEBUG: found extension EntryPoint.parse('queues.v1.1 = zaqarclient.queues.v1.api:V1_1')
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.0.2.15
requests.packages.urllib3.connectionpool: DEBUG: "POST /v1.1/queues/nonono/messages HTTP/1.1" 401 23
stevedore.extension: DEBUG: found extension EntryPoint.parse('queues.v1 = zaqarclient.queues.v1.api:V1')
stevedore.extension: DEBUG: found extension EntryPoint.parse('queues.v1.1 = zaqarclient.queues.v1.api:V1_1')
requests.packages.urllib3.connectionpool: INFO: Resetting dropped connection: 10.0.2.15
requests.packages.urllib3.connectionpool: DEBUG: "DELETE /v1.1/queues/nonono HTTP/1.1" 401 23
--------------------- >> end captured logging << ---------------------

Changed in python-zaqarclient:
assignee: nobody → MD NADEEM (mail2nadeem92)
summary: - Executing functional test through ConnectionError Exception
+ gate-zaqarclient-dsvm-functional through UnauthorizedError
summary: - gate-zaqarclient-dsvm-functional through UnauthorizedError
+ gate through UnauthorizedError for functional test
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-zaqarclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/245638

Changed in python-zaqarclient:
status: New → In Progress
Changed in python-zaqarclient:
status: In Progress → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-zaqarclient (master)

Change abandoned by MD NADEEM (<email address hidden>) on branch: master
Review: https://review.openstack.org/245638
Reason: This patch solve the similar issue as https://review.openstack.org/#/c/245526/
So combined both patches together to one
https://review.openstack.org/#/c/245526/

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.