Merge "Drop nova-multiattach job"

This commit is contained in:
Zuul 2019-02-09 22:46:34 +00:00 committed by Gerrit Code Review
commit 782d742e60
4 changed files with 2 additions and 89 deletions

View File

@ -151,17 +151,6 @@
# and we've had enough runs to feel comfortable with this setup.
voting: false
- job:
name: nova-multiattach
parent: nova-dsvm-base
description: |
Run tempest integration tests with volume multiattach support enabled.
This job will only work starting with Queens.
It uses the default Cinder volume type in devstack (lvm) and the
default compute driver in devstack (libvirt).
run: playbooks/legacy/nova-multiattach/run.yaml
post-run: playbooks/legacy/nova-multiattach/post.yaml
- job:
name: nova-next
parent: nova-dsvm-base
@ -241,7 +230,6 @@
- ^(?!nova/network/.*)(?!nova/virt/libvirt/vif.py).*$
- nova-live-migration
- nova-lvm
- nova-multiattach
- nova-next
- nova-tox-functional
- nova-tox-functional-py35
@ -261,7 +249,6 @@
- neutron-grenade:
irrelevant-files: *dsvm-irrelevant-files
- nova-live-migration
- nova-multiattach
- nova-tox-functional
- nova-tox-functional-py35
- nova-next

View File

@ -65,15 +65,9 @@ Testing
~~~~~~~
Continuous integration testing of the volume multiattach feature is done
via the ``nova-multiattach`` job, defined in the `nova repository`_.
The tests are defined in the `tempest repository`_.
The CI job is setup to run with the **libvirt** compute driver and the **lvm**
volume back end. It purposefully does not use the Pike Ubuntu Cloud Archive
package mirror so that it gets qemu<2.10.
via the ``tempest-full`` and ``tempest-slow`` jobs, which, along with the
tests themselves, are defined in the `tempest repository`_.
.. _added support for multiattach volumes: https://specs.openstack.org/openstack/nova-specs/specs/queens/implemented/multi-attach-volume.html
.. _recorded overview and demo: https://www.youtube.com/watch?v=hZg6wqxdEHk
.. _nova repository: http://git.openstack.org/cgit/openstack/nova/tree/playbooks/legacy/nova-multiattach/run.yaml
.. _tempest repository: http://codesearch.openstack.org/?q=CONF.compute_feature_enabled.volume_multiattach&i=nope&files=&repos=tempest

View File

@ -1,15 +0,0 @@
- hosts: primary
tasks:
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
synchronize:
src: '{{ ansible_user_dir }}/workspace/'
dest: '{{ zuul.executor.log_root }}'
mode: pull
copy_links: true
verify_host: true
rsync_opts:
- --include=/logs/**
- --include=*/
- --exclude=*
- --prune-empty-dirs

View File

@ -1,53 +0,0 @@
- hosts: all
name: nova-multiattach
tasks:
- name: Ensure workspace directory
file:
path: '{{ ansible_user_dir }}/workspace'
state: directory
- shell:
cmd: |
set -e
set -x
cat > clonemap.yaml << EOF
clonemap:
- name: openstack-infra/devstack-gate
dest: devstack-gate
EOF
/usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \
git://git.openstack.org \
openstack-infra/devstack-gate
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -e
set -x
cat << 'EOF' >>"/tmp/dg-local.conf"
[[local|localrc]]
ENABLE_VOLUME_MULTIATTACH=True
EOF
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -e
set -x
export PYTHONUNBUFFERED=true
# Yes we want to run Tempest.
export DEVSTACK_GATE_TEMPEST=1
# Only run compute API tests; note that this will need to
# be updated if multiattach scenario tests are ever added.
export DEVSTACK_GATE_TEMPEST_REGEX="api.compute"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'