Reviewed:  https://review.openstack.org/327922
Committed: 
https://git.openstack.org/cgit/openstack/keystone/commit/?id=380514bc66984057b7ee9d817e1b4cac5fb75f11
Submitter: Jenkins
Branch:    master

commit 380514bc66984057b7ee9d817e1b4cac5fb75f11
Author: nonameentername <[email protected]>
Date:   Thu Jun 9 15:24:41 2016 -0500

    Fix TOTP transient test failure
    
    Closes-Bug: 1591022
    
    Change-Id: Ie8a986941fc5d6064f6e84fc01c045ff63c3fe75


** Changed in: keystone
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1591022

Title:
  Transient test failure in test_v3_auth.TestAuthTOTP

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  In 0.06% of my test runs, test_v3_auth.TestAuthTOTP fails with either:

  Traceback (most recent call last):
    File "/root/keystone/keystone/tests/unit/test_v3_auth.py", line 4904, in 
test_with_multiple_credential$
      self.v3_create_token(auth_data, expected_status=http_client.CREATED)
    File "/root/keystone/keystone/tests/unit/test_v3.py", line 504, in 
v3_create_token
      expected_status=expected_status)
    File "/root/keystone/keystone/tests/unit/rest.py", line 212, in 
admin_request
      return self._request(app=self.admin_app, **kwargs)
    File "/root/keystone/keystone/tests/unit/rest.py", line 201, in _request
      response = self.restful_request(**kwargs)
    File "/root/keystone/keystone/tests/unit/rest.py", line 186, in 
restful_request
      **kwargs)
    File "/root/keystone/keystone/tests/unit/rest.py", line 90, in request
      **kwargs)
    File 
"/root/keystone/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py", 
line 571, in request
      expect_errors=expect_errors,
    File 
"/root/keystone/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py", 
line 636, in do_requ$
  st
      self._check_status(status, res)
    File 
"/root/keystone/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py", 
line 671, in _check_$
  tatus
      "Bad response: %s (not %s)", res_status, status)
  webtest.app.AppError: Bad response: 401 Unauthorized (not 201)

  OR

  Traceback (most recent call last):
    File "/root/keystone/keystone/tests/unit/test_v3_auth.py", line 4961, in 
test_with_username_and_domain_
  id
      self.v3_create_token(auth_data, expected_status=http_client.CREATED)
    File "/root/keystone/keystone/tests/unit/test_v3.py", line 504, in 
v3_create_token
      expected_status=expected_status)
    File "/root/keystone/keystone/tests/unit/rest.py", line 212, in 
admin_request
      return self._request(app=self.admin_app, **kwargs)
    File "/root/keystone/keystone/tests/unit/rest.py", line 201, in _request
      response = self.restful_request(**kwargs)
    File "/root/keystone/keystone/tests/unit/rest.py", line 186, in 
restful_request
      **kwargs)
    File "/root/keystone/keystone/tests/unit/rest.py", line 90, in request
      **kwargs)
    File 
"/root/keystone/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py", 
line 571, in request
      expect_errors=expect_errors,
    File 
"/root/keystone/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py", 
line 636, in do_reque
  st
      self._check_status(status, res)
    File 
"/root/keystone/.tox/py27/local/lib/python2.7/site-packages/webtest/app.py", 
line 671, in _check_s
  tatus
      "Bad response: %s (not %s)", res_status, status)
  webtest.app.AppError: Bad response: 401 Unauthorized (not 201)

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1591022/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to