Gating for OSA master kept failing on:
"==============================", "Failed 1 tests - output below:", "==============================", "", "tempest.api.identity.admin.v3.test_roles.RolesV3TestJSON.test_list_all_implied_roles[id-3748c316-c18f-4b08-997b-c60567bc6235]", "-----------------------------------------------------------------------------------------------------------------------------", "", "Captured traceback:", "~~~~~~~~~~~~~~~~~~~", " Traceback (most recent call last):", " File \"/openstack/venvs/tempest-master/lib/python2.7/site-packages/tempest/api/identity/admin/v3/test_roles.py\", line 393, in test_list_all_implied_roles", " self.assertEqual(2, len(sorted_rules))"
...
While the tempest master code was updated two month ago with commit:
https://github.com/openstack/tempest/commit/7d2b636a30057ed8db8cfd4fe2248f509b3570f1
The current test template on OSA which makes tempest choosing its branch:
https://github.com/openstack/openstack-ansible/blob/master/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2#L216
Problem was confirmed happening on OSA(SHA:2da59eeabc4b064e53d73a732a9a2c2908d3068d) so far.
Tempest should not point to master. This was implemented as a temporary workaround for master branch, until we discussed further what needs to be done.
IMO, we should always have master pointing to tempest master, and stable branches using pypi.
That can be implemented by being selective, add "tempest*" entries in a file like: https:/ /github. com/openstack/ openstack- ansible/ blob/master/ playbooks/ defaults/ repo_packages/ openstack_ services. yml and removing them in stable/rocky and stable/queens branch.