← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1609398] Re: test_implied_roles fails intermittently

 

** Changed in: python-keystoneclient
   Importance: Undecided => Critical

** Changed in: python-keystoneclient
   Importance: Critical => Medium

** Changed in: python-keystoneclient
     Assignee: (unassigned) => Samuel de Medeiros Queiroz (samueldmq)

** Changed in: keystone
     Assignee: Samuel de Medeiros Queiroz (samueldmq) => (unassigned)

** No longer affects: keystone

** Changed in: python-keystoneclient
       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/1609398

Title:
  test_implied_roles fails intermittently

Status in python-keystoneclient:
  In Progress

Bug description:
  test_implied_roles [1] is failing intermitently. See [2] as an
  example.

  That test is asserting that the initial role count added to the number
  of roles created in the test matches what is currently returned by the
  server.

  However, as there are many (at least 25) API calls happening in the
  meantime, it is not hard to have another test (running in parallel)
  touching roles, thus making the test fail with not matching counts.

  It should be okay to simply remove such check from that test, as the
  test (implied roles test) is not supposed to assert the number of
  roles.

  [1] https://github.com/openstack/python-
  keystoneclient/blob/41129c850394e97947ec374dad8e852b5e1b33b5/keystoneclient/tests/functional/v3/test_implied_roles.py#L50-L62

  [2] https://review.openstack.org/#/c/334546/11

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-keystoneclient/+bug/1609398/+subscriptions


References