TOTP previous windows passcode test fails intermittently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Gage Hugo |
Bug Description
The keystone.
Traceback (most recent call last):
File "/home/
self.
File "/home/
expected_
File "/home/
return self._request(
File "/home/
response = self.restful_
File "/home/
**kwargs)
File "/home/
**kwargs)
File "/home/
expect_
File "/home/
self.
File "/home/
"Bad response: %s (not %s)\n%s", res_status, status, res)
webtest.
b'{"error"
Example failure: https:/
Seems like perhaps the freezegun functionality isn't working as expected.
Changed in keystone: | |
status: | New → Triaged |
tags: | added: test-improvement |
Changed in keystone: | |
importance: | Undecided → Medium |
Changed in keystone: | |
assignee: | nobody → Gage Hugo (gagehugo) |
status: | Triaged → In Progress |
Traceback (most recent call last): zuul/src/ opendev. org/openstack/ keystone/ keystone/ tests/unit/ test_v3_ auth.py" , line 5443, in test_with_ passcode_ in_previous_ windows_ extended v3_create_ token(auth_ data, expected_ status= http_client. CREATED) zuul/src/ opendev. org/openstack/ keystone/ keystone/ tests/unit/ test_v3. py", line 448, in v3_create_token status= expected_ status) zuul/src/ opendev. org/openstack/ keystone/ keystone/ tests/unit/ rest.py" , line 211, in admin_request app=self. public_ app, **kwargs) zuul/src/ opendev. org/openstack/ keystone/ keystone/ tests/unit/ rest.py" , line 200, in _request request( **kwargs) zuul/src/ opendev. org/openstack/ keystone/ keystone/ tests/unit/ rest.py" , line 185, in restful_request zuul/src/ opendev. org/openstack/ keystone/ keystone/ tests/unit/ rest.py" , line 89, in request zuul/src/ opendev. org/openstack/ keystone/ .tox/py36/ lib/python3. 6/site- packages/ webtest/ app.py" , line 589, in request errors= expect_ errors, zuul/src/ opendev. org/openstack/ keystone/ .tox/py36/ lib/python3. 6/site- packages/ webtest/ app.py" , line 654, in do_request _check_ status( status, res) zuul/src/ opendev. org/openstack/ keystone/ .tox/py36/ lib/python3. 6/site- packages/ webtest/ app.py" , line 689, in _check_status app.AppError: Bad response: 401 UNAUTHORIZED (not HTTPStatus.CREATED) :{"code" :401,"message" :"The request you have made requires authentication. ","title" :"Unauthorized" }}\n'
File "/home/
self.
File "/home/
expected_
File "/home/
return self._request(
File "/home/
response = self.restful_
File "/home/
**kwargs)
File "/home/
**kwargs)
File "/home/
expect_
File "/home/
self.
File "/home/
"Bad response: %s (not %s)\n%s", res_status, status, res)
webtest.
b'{"error"