← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1591022] [NEW] Transient test failure in test_v3_auth.TestAuthTOTP

 

Public bug reported:

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)

** Affects: keystone
     Importance: Critical
     Assignee: werner mendizabal (nonameentername)
         Status: In Progress

** Changed in: keystone
     Assignee: (unassigned) => werner mendizabal (nonameentername)

** Changed in: keystone
   Importance: Undecided => Critical

** Changed in: keystone
       Status: New => In Progress

-- 
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):
  In Progress

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


Follow ups