From time to time, the test fails in the gate

Bug #1508734 reported by Amrith Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
New
Undecided
Unassigned

Bug Description

I have no idea why but this has been happening periodically

2015-10-21 23:04:25.161 | 2015-10-21 23:04:25.160 | ======================================================================
2015-10-21 23:04:25.163 | 2015-10-21 23:04:25.161 | ERROR: proboscis.case.MethodTest (test_change_password_twice)
2015-10-21 23:04:25.164 | 2015-10-21 23:04:25.163 | ----------------------------------------------------------------------
2015-10-21 23:04:25.166 | 2015-10-21 23:04:25.164 | Traceback (most recent call last):
2015-10-21 23:04:25.167 | 2015-10-21 23:04:25.165 | File "/usr/local/lib/python2.7/dist-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
2015-10-21 23:04:25.168 | 2015-10-21 23:04:25.167 | compatability.capture_type_error(s_func)
2015-10-21 23:04:25.170 | 2015-10-21 23:04:25.168 | File "/usr/local/lib/python2.7/dist-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
2015-10-21 23:04:25.171 | 2015-10-21 23:04:25.170 | func()
2015-10-21 23:04:25.173 | 2015-10-21 23:04:25.171 | File "/usr/local/lib/python2.7/dist-packages/proboscis/case.py", line 350, in func
2015-10-21 23:04:25.174 | 2015-10-21 23:04:25.173 | func(test_case.state.get_state())
2015-10-21 23:04:25.176 | 2015-10-21 23:04:25.174 | File "/opt/stack/new/trove/trove/tests/api/user_access.py", line 221, in test_change_password_twice
2015-10-21 23:04:25.177 | 2015-10-21 23:04:25.176 | self.dbaas.users.change_passwords(instance_info.id, [user])
2015-10-21 23:04:25.180 | 2015-10-21 23:04:25.178 | File "/opt/stack/new/python-troveclient/troveclient/v1/users.py", line 119, in change_passwords
2015-10-21 23:04:25.181 | 2015-10-21 23:04:25.179 | resp, body = self.api.client.put(url, body=user_dict)
2015-10-21 23:04:25.182 | 2015-10-21 23:04:25.181 | File "/opt/stack/new/python-troveclient/troveclient/compat/client.py", line 246, in put
2015-10-21 23:04:25.184 | 2015-10-21 23:04:25.182 | return self._cs_request(url, 'PUT', **kwargs)
2015-10-21 23:04:25.185 | 2015-10-21 23:04:25.184 | File "/opt/stack/new/python-troveclient/troveclient/compat/client.py", line 231, in _cs_request
2015-10-21 23:04:25.187 | 2015-10-21 23:04:25.185 | return request()
2015-10-21 23:04:25.188 | 2015-10-21 23:04:25.186 | File "/opt/stack/new/python-troveclient/troveclient/compat/client.py", line 221, in request
2015-10-21 23:04:25.189 | 2015-10-21 23:04:25.188 | **kwargs)
2015-10-21 23:04:25.191 | 2015-10-21 23:04:25.189 | File "/opt/stack/new/python-troveclient/troveclient/compat/client.py", line 209, in _time_request
2015-10-21 23:04:25.192 | 2015-10-21 23:04:25.191 | resp, body = self.request(url, method, **kwargs)
2015-10-21 23:04:25.194 | 2015-10-21 23:04:25.192 | File "/opt/stack/new/python-troveclient/troveclient/compat/client.py", line 187, in request
2015-10-21 23:04:25.196 | 2015-10-21 23:04:25.194 | raise exceptions.from_response(resp, body)
2015-10-21 23:04:25.197 | 2015-10-21 23:04:25.195 | BadRequest: An error occurred communicating with the guest: _oslo_messaging_localcontext_52110c3d3d444e5283e7475644d17d11
2015-10-21 23:04:25.199 | 2015-10-21 23:04:25.197 | Traceback (most recent call last):
2015-10-21 23:04:25.200 | 2015-10-21 23:04:25.198 |
2015-10-21 23:04:25.202 | 2015-10-21 23:04:25.200 | File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
2015-10-21 23:04:25.205 | 2015-10-21 23:04:25.202 | executor_callback))
2015-10-21 23:04:25.206 | 2015-10-21 23:04:25.205 |
2015-10-21 23:04:25.208 | 2015-10-21 23:04:25.206 | File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 188, in _dispatch
2015-10-21 23:04:25.209 | 2015-10-21 23:04:25.208 | localcontext._clear_local_context()
2015-10-21 23:04:25.211 | 2015-10-21 23:04:25.209 |
2015-10-21 23:04:25.212 | 2015-10-21 23:04:25.211 | File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/localcontext.py", line 85, in _clear_local_context
2015-10-21 23:04:25.214 | 2015-10-21 23:04:25.212 | delattr(_STORE, _KEY)
2015-10-21 23:04:25.216 | 2015-10-21 23:04:25.214 |
2015-10-21 23:04:25.217 | 2015-10-21 23:04:25.215 | AttributeError: _oslo_messaging_localcontext_52110c3d3d444e5283e7475644d17d11
2015-10-21 23:04:25.218 | 2015-10-21 23:04:25.217 | . (HTTP 400)

Revision history for this message
Syed Ahsan Shamim Zaidi (ahsanmohsin04) wrote :

Did you looked into these files ?

/opt/stack/new/python-troveclient/troveclient/compat/client.py

/opt/stack/new/python-troveclient/troveclient/v1/users.py

Changed in trove:
status: New → Incomplete
Amrith Kumar (amrith)
Changed in trove:
status: Incomplete → New
assignee: nobody → Amrith (amrith)
Revision history for this message
Syed Ahsan Shamim Zaidi (ahsanmohsin04) wrote :

Hi,

Is anyone working on this.

Thanks

Revision history for this message
Amrith Kumar (amrith) wrote :

yes, I have been.

Revision history for this message
Amrith Kumar (amrith) wrote :

But, if you have a fix, please do submit it ...

Amrith Kumar (amrith)
Changed in trove:
assignee: Amrith Kumar (amrith) → nobody
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.