Take https://review.opendev.org/#/c/707953/ which has a depends-on a new ansible role in tripleo-ansible: https://review.opendev.org/#/c/724817/
It fails in openstack-tox-tht:
https://zuul.opendev.org/t/openstack/build/8ee8796e67814a97b580720a028ed924/log/job-output.txt
[0;31mfatal: [localhost]: FAILED! => {"reason": "the role 'tripleo_ha_wrapper' was not found in /home/zuul/src/opendev.org/openstack/tripleo-heat-templates/tripleo_heat_templates/tests
Reason for this seems to me that in tripleo_heat_templates/tests/test_tht_ansible_syntax.yml we blindly install tripleo-ansible from master.
https://github.com/openstack/tripleo-heat-templates/blob/master/tripleo_heat_templates/tests/tht-role-requirements.yml has:
- name: tripleo-ansible
scm: git
src: https://opendev.org/openstack/tripleo-ansible
version: master
trackbranch: master
And so it seems it is not finding the new role we are adding in the dep-on.