
The job was failing because of a bug described in the launchpad [1].
As this bug is resolved and the job is no longer failing we can
start using this job again.
Before enabling the devstack-admin-plugins job we need to fix two
things:
- Put test_manually_trigger_update_secondary_zone_negative designate
plugin test to exclude_regex as it is currently broken.
- Allow git to read plugins directories. This is necessary because
of a patch that was recently added to git [2].
[1] https://bugs.launchpad.net/neutron/+bug/1959125
[2] 8959555cee
Change-Id: I5bf3826f0011a9392a38ceceb51c113d38231ad6
37 lines
1021 B
YAML
37 lines
1021 B
YAML
- name: Ensure tox is installed
|
|
include_role:
|
|
name: ensure-tox
|
|
|
|
- name: Allow git to read tempest directory
|
|
become: yes
|
|
command: git config --system --add safe.directory {{devstack_base_dir}}/tempest
|
|
|
|
- name: Prepare tempest venv
|
|
become: yes
|
|
command: tox -r --notest -efull
|
|
args:
|
|
chdir: "{{devstack_base_dir}}/tempest"
|
|
|
|
- name: Allow git to read plugin directories
|
|
become: yes
|
|
command: git config --system --add safe.directory {{item}}
|
|
with_items: "{{plugins_paths}}"
|
|
|
|
- name: Install plugins
|
|
become: yes
|
|
command:
|
|
cmd: >
|
|
tox -evenv-tempest --
|
|
pip install {{ item }}
|
|
--constraint {{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt
|
|
with_items: "{{ plugins_paths }}"
|
|
args:
|
|
chdir: "{{devstack_base_dir}}/tempest"
|
|
when: plugins_paths is defined
|
|
|
|
- name: List installed tempest plugins
|
|
become: yes
|
|
command: tox -evenv-tempest -- tempest list-plugins
|
|
args:
|
|
chdir: "{{devstack_base_dir}}/tempest"
|