Unskip devstack-admin-plugins job

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
This commit is contained in:
lpiwowar 2022-03-29 11:32:45 +02:00
parent 9586241409
commit 736304d4b6
2 changed files with 13 additions and 4 deletions

View File

@ -13,8 +13,7 @@
- python-tempestconf-tempest-devstack-admin-wallaby - python-tempestconf-tempest-devstack-admin-wallaby
- python-tempestconf-tempest-devstack-admin-xena - python-tempestconf-tempest-devstack-admin-xena
- python-tempestconf-tempest-devstack-demo - python-tempestconf-tempest-devstack-demo
# TODO(mkopec) temporarily disabled to unblock gates - python-tempestconf-tempest-devstack-admin-plugins
#- python-tempestconf-tempest-devstack-admin-plugins
- python-tempestconf-tempest-packstack-admin: - python-tempestconf-tempest-packstack-admin:
voting: false voting: false
- python-tempestconf-tempest-packstack-demo: - python-tempestconf-tempest-packstack-demo:
@ -62,8 +61,7 @@
- python-tempestconf-tempest-devstack-admin-wallaby - python-tempestconf-tempest-devstack-admin-wallaby
- python-tempestconf-tempest-devstack-admin-xena - python-tempestconf-tempest-devstack-admin-xena
- python-tempestconf-tempest-devstack-demo - python-tempestconf-tempest-devstack-demo
# TODO(mkopec) temporarily disabled to unblock gates - python-tempestconf-tempest-devstack-admin-plugins
#- python-tempestconf-tempest-devstack-admin-plugins
- refstack-client-devstack-master: - refstack-client-devstack-master:
irrelevant-files: *irrelevant-files irrelevant-files: *irrelevant-files
- tripleo-ci-centos-9-content-provider: - tripleo-ci-centos-9-content-provider:
@ -188,6 +186,8 @@
- 'designate_tempest_plugin' - 'designate_tempest_plugin'
- 'barbican_tempest_plugin' - 'barbican_tempest_plugin'
exclude_regex: exclude_regex:
# TODO(lpiwowar) Remove once the test is fixed. (Bug: https://bugs.launchpad.net/designate/+bug/1968717)
- 'designate_tempest_plugin.tests.api.v2.test_zone_tasks.ZoneTasksNegative.test_manually_trigger_update_secondary_zone_negative'
- 'heat_tempest_plugin.tests.functional.test_nova_server_networks.CreateServerTest.test_create_update_server_with_subnet' - 'heat_tempest_plugin.tests.functional.test_nova_server_networks.CreateServerTest.test_create_update_server_with_subnet'
- 'heat_tempest_plugin.tests.scenario.test_volumes.VolumeBackupRestoreIntegrationTest.test_cinder_volume_create_backup_restore' - 'heat_tempest_plugin.tests.scenario.test_volumes.VolumeBackupRestoreIntegrationTest.test_cinder_volume_create_backup_restore'
- 'heat_tempest_plugin.tests.scenario.test_server_software_config.SoftwareConfigIntegrationTest.test_server_software_config' - 'heat_tempest_plugin.tests.scenario.test_server_software_config.SoftwareConfigIntegrationTest.test_server_software_config'

View File

@ -2,12 +2,21 @@
include_role: include_role:
name: ensure-tox 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 - name: Prepare tempest venv
become: yes become: yes
command: tox -r --notest -efull command: tox -r --notest -efull
args: args:
chdir: "{{devstack_base_dir}}/tempest" 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 - name: Install plugins
become: yes become: yes
command: command: