python-zaqarclient gate broken due to failing functional tests

Bug #1839614 reported by Dirk Mueller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python client library for Zaqar
New
Undecided
Unassigned

Bug Description

This and 19 other tests are failing on any change in master right now:

ERROR: tests.functional.queues.v1.test_pool.QueuesV1_1PoolHttpFunctionalTest.test_pool_get
2019-07-05 21:42:38.989 | ----------------------------------------------------------------------
2019-07-05 21:42:38.991 | _StringException: Empty attachments:
2019-07-05 21:42:38.993 | pythonlogging:'zaqar'
2019-07-05 21:42:38.996 | stderr
2019-07-05 21:42:38.998 |
2019-07-05 21:42:39.000 | Traceback (most recent call last):
2019-07-05 21:42:39.002 | File "/opt/stack/new/python-zaqarclient/zaqarclient/tests/queues/pool.py", line 135, in test_pool_get
2019-07-05 21:42:39.005 | pool = self.client.pool('FuncTestPool', **pool_data)
2019-07-05 21:42:39.008 | File "/opt/stack/new/python-zaqarclient/zaqarclient/queues/v1/client.py", line 140, in pool
2019-07-05 21:42:39.010 | return pool.Pool(self, ref, **kwargs)
2019-07-05 21:42:39.012 | File "/opt/stack/new/python-zaqarclient/zaqarclient/queues/v1/pool.py", line 33, in __init__
2019-07-05 21:42:39.014 | self.ensure_exists()
2019-07-05 21:42:39.016 | File "/opt/stack/new/python-zaqarclient/zaqarclient/queues/v1/pool.py", line 57, in ensure_exists
2019-07-05 21:42:39.018 | core.pool_create(trans, req, self.name, data)
2019-07-05 21:42:39.021 | File "/opt/stack/new/python-zaqarclient/zaqarclient/queues/v1/core.py", line 480, in pool_create
2019-07-05 21:42:39.023 | transport.send(request)
2019-07-05 21:42:39.025 | File "/opt/stack/new/python-zaqarclient/zaqarclient/transport/http.py", line 120, in send
2019-07-05 21:42:39.028 | raise self.http_to_zaqar[resp.status_code](**kwargs)
2019-07-05 21:42:39.030 | zaqarclient.transport.errors.MalformedRequest: Error response from Zaqar. Code: 400. Title: Invalid request body. Description: ("Additional properties are not allowed (u'group' was unexpected)", <unset>, (), None, (), <unset>, <unset>, <unset>, (), None): Additional properties are not allowed (u'group' was unexpected)
2019-07-05 21:42:39.032 |
2019-07-05 21:42:39.034 | Failed validating 'additionalProperties' in schema:
2019-07-05 21:42:39.036 | {'additionalProperties': False,
2019-07-05 21:42:39.038 | 'properties': {'flavor': {'maxLength': 255,
2019-07-05 21:42:39.040 | 'minLength': 0,
2019-07-05 21:42:39.042 | 'type': 'string'},
2019-07-05 21:42:39.044 | 'options': {'type': 'object'},
2019-07-05 21:42:39.047 | 'uri': {'format': 'uri',
2019-07-05 21:42:39.049 | 'maxLength': 255,
2019-07-05 21:42:39.051 | 'minLength': 0,
2019-07-05 21:42:39.053 | 'type': 'string'},
2019-07-05 21:42:39.060 | 'weight': {'maximum': 4294967295,
2019-07-05 21:42:39.062 | 'minimum': 0,
2019-07-05 21:42:39.065 | 'type': 'integer'}},
2019-07-05 21:42:39.067 | 'required': ['uri', 'weight'],
2019-07-05 21:42:39.069 | 'type': 'object'}
2019-07-05 21:42:39.071 |
2019-07-05 21:42:39.074 | On instance:
2019-07-05 21:42:39.075 | {u'group': u'us',
2019-07-05 21:42:39.078 | u'options': {},
2019-07-05 21:42:39.080 | u'uri': u'mongodb://127.0.0.1:27017',
2019-07-05 21:42:39.082 | u'weight': 10}.
2019-07-05 21:42:39.084 |

Revision history for this message
Dirk Mueller (dmllr) wrote :

Looks like this got introduced by https://review.opendev.org/#/c/628723/ which basically wants to remove groups and pool_groups completely

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to python-zaqarclient (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/675663

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-zaqarclient (master)

Change abandoned by Dirk Mueller (<email address hidden>) on branch: master
Review: https://review.opendev.org/675663
Reason: looks like https://review.opendev.org/#/c/629339/ is a patch

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by wanghao (<email address hidden>) on branch: master
Review: https://review.opendev.org/675613
Reason: Since we had merged this :https://review.opendev.org/629339. So abondon this one

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.