Use tempest-multinode-full job from Tempest

This job is defined in Tempest to replace
neutron-tempest-multinode-full which was job defined
in Neutron's repo.

This job is set as non-voting in Neutron because old
neutron-tempest-multinode-full job was non-voting also.
If stability of this new job will be fine for us, we
can switch it to voting later.

Depends-On: https://review.openstack.org/#/c/598610/
Change-Id: I2dcbf4ade83760797b4e5072f0e05dac877842c9
This commit is contained in:
Slawek Kaplonski 2018-07-30 18:02:54 +02:00
parent db7e19d2ba
commit 157e3218da
3 changed files with 10 additions and 101 deletions

View File

@ -19,15 +19,9 @@
- neutron-tempest-linuxbridge
- neutron-grenade-multinode
- neutron-grenade-dvr-multinode
- neutron-tempest-multinode-full
- neutron-tempest-dvr-ha-multinode-full
- neutron-tempest-iptables_hybrid
- neutron-grenade
- openstack-tox-lower-constraints
- neutron-fullstack-python35
# We don't run the job on things like neutron docs-only changes
- ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa:
- tempest-multinode-full:
voting: false
# We don't run the job on things like neutron docs-only changes
irrelevant-files: &tempest-irrelevant-files
- ^(test-|)requirements.txt$
- ^.*\.rst$
@ -38,6 +32,14 @@
- ^setup.cfg$
- ^tools/.*$
- ^tox.ini$
- neutron-tempest-dvr-ha-multinode-full
- neutron-tempest-iptables_hybrid
- neutron-grenade
- openstack-tox-lower-constraints
- neutron-fullstack-python35
- ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa:
voting: false
irrelevant-files: *tempest-irrelevant-files
- openstack-tox-cover
- tempest-full:
irrelevant-files: *tempest-irrelevant-files
@ -234,20 +236,6 @@
# NOTE(haleyb) revert this as soon as we fix bug 1791989
voting: false
- job:
name: neutron-tempest-multinode-full
parent: legacy-dsvm-base-multinode
run: playbooks/legacy/neutron-tempest-multinode-full/run.yaml
post-run: playbooks/legacy/neutron-tempest-multinode-full/post.yaml
timeout: 10800
required-projects:
- openstack-infra/devstack-gate
- openstack/neutron
- openstack/tempest
nodeset: ubuntu-xenial-2-node
irrelevant-files: *tempest-irrelevant-files
voting: false
- job:
name: neutron-tempest-dvr-ha-multinode-full
parent: legacy-dsvm-base-multinode

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,64 +0,0 @@
- hosts: primary
name: Autoconverted job legacy-tempest-dsvm-neutron-multinode-full from old job
gate-tempest-dsvm-neutron-multinode-full-ubuntu-xenial-nv
tasks:
- name: Ensure legacy 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]]
NOVA_VNC_ENABLED=true
VNCSERVER_LISTEN=0.0.0.0
VNCSERVER_PROXYCLIENT_ADDRESS=$HOST_IP
EOF
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -e
set -x
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_CONFIGDRIVE=0
export DEVSTACK_GATE_TEMPEST_FULL=1
export DEVSTACK_GATE_TLSPROXY=1
# Default to non DVR
export DEVSTACK_GATE_NEUTRON_DVR=0
export BRANCH_OVERRIDE=default
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_TOPOLOGY="multinode"
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 }}'