From d79c6927da26ce379273e3301dc3bb62fbedfc96 Mon Sep 17 00:00:00 2001
From: Shachar Snapiri <shachar.snapiri@huawei.com>
Date: Tue, 17 Oct 2017 20:59:23 +0300
Subject: [PATCH] Remove legacy dragonflow jobs

Remove legacy dragonflow job definitions used by project-config
The jobs were removed by patch 512761

Depends-On: Iec20cb05bf01778fb9458dc11705f8beaa1edfb6
Change-Id: I8f2ba44c96fdfb9b2a5c96effc556a0165be9141
---
 .../dragonflow-dsvm-fullstack-zmq/post.yaml   |  80 -------------
 .../dragonflow-dsvm-fullstack-zmq/run.yaml    |  76 -------------
 .../dragonflow-dsvm-fullstack/post.yaml       |  80 -------------
 .../legacy/dragonflow-dsvm-fullstack/run.yaml |  80 -------------
 .../legacy/dragonflow-dsvm-rally/post.yaml    | 106 ------------------
 .../legacy/dragonflow-dsvm-rally/run.yaml     |  66 -----------
 .../legacy/tempest-dsvm-dragonflow/post.yaml  |  80 -------------
 .../legacy/tempest-dsvm-dragonflow/run.yaml   |  77 -------------
 zuul.d/zuul-legacy-jobs.yaml                  |  51 ---------
 9 files changed, 696 deletions(-)
 delete mode 100644 playbooks/legacy/dragonflow-dsvm-fullstack-zmq/post.yaml
 delete mode 100644 playbooks/legacy/dragonflow-dsvm-fullstack-zmq/run.yaml
 delete mode 100644 playbooks/legacy/dragonflow-dsvm-fullstack/post.yaml
 delete mode 100644 playbooks/legacy/dragonflow-dsvm-fullstack/run.yaml
 delete mode 100644 playbooks/legacy/dragonflow-dsvm-rally/post.yaml
 delete mode 100644 playbooks/legacy/dragonflow-dsvm-rally/run.yaml
 delete mode 100644 playbooks/legacy/tempest-dsvm-dragonflow/post.yaml
 delete mode 100644 playbooks/legacy/tempest-dsvm-dragonflow/run.yaml

diff --git a/playbooks/legacy/dragonflow-dsvm-fullstack-zmq/post.yaml b/playbooks/legacy/dragonflow-dsvm-fullstack-zmq/post.yaml
deleted file mode 100644
index dac87534..00000000
--- a/playbooks/legacy/dragonflow-dsvm-fullstack-zmq/post.yaml
+++ /dev/null
@@ -1,80 +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=**/*nose_results.html
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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=**/*testr_results.html.gz
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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=/.testrepository/tmp*
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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=**/*testrepository.subunit.gz
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - name: Copy files from {{ ansible_user_dir }}/workspace/ on node
-      synchronize:
-        src: '{{ ansible_user_dir }}/workspace/'
-        dest: '{{ zuul.executor.log_root }}/tox'
-        mode: pull
-        copy_links: true
-        verify_host: true
-        rsync_opts:
-          - --include=/.tox/*/log/*
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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
diff --git a/playbooks/legacy/dragonflow-dsvm-fullstack-zmq/run.yaml b/playbooks/legacy/dragonflow-dsvm-fullstack-zmq/run.yaml
deleted file mode 100644
index 21f2b48b..00000000
--- a/playbooks/legacy/dragonflow-dsvm-fullstack-zmq/run.yaml
+++ /dev/null
@@ -1,76 +0,0 @@
-- hosts: all
-  name: Autoconverted job legacy-dragonflow-dsvm-fullstack-zmq from old job gate-dragonflow-dsvm-fullstack-zmq-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]]
-          enable_plugin dragonflow git://git.openstack.org/openstack/dragonflow
-          enable_plugin neutron-dynamic-routing git://git.openstack.org/openstack/neutron-dynamic-routing
-          enable_plugin networking-sfc git://git.openstack.org/openstack/networking-sfc
-          DR_MODE=df-bgp
-          Q_ENABLE_DRAGONFLOW_LOCAL_CONTROLLER=True
-
-          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=0
-          export DEVSTACK_GATE_NEUTRON=1
-          export DEVSTACK_GATE_INSTALL_TESTONLY=1
-
-          export BRANCH_OVERRIDE=default
-          if [ "$BRANCH_OVERRIDE" != "default" ] ; then
-              export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
-          fi
-
-          export PROJECTS="openstack/dragonflow $PROJECTS"
-          export PROJECTS="openstack/neutron-dynamic-routing $PROJECTS"
-          export PROJECTS="openstack/networking-sfc $PROJECTS"
-          export DEVSTACK_GATE_SETTINGS=/opt/stack/new/dragonflow/devstack/devstackgaterc-zmq
-
-          function gate_hook {
-              bash -xe $BASE/new/dragonflow/dragonflow/tests/contrib/gate_hook.sh fullstack
-          }
-          export -f gate_hook
-
-          function post_test_hook {
-              bash -xe $BASE/new/dragonflow/dragonflow/tests/contrib/post_test_hook.sh fullstack
-          }
-          export -f post_test_hook
-
-          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 }}'
diff --git a/playbooks/legacy/dragonflow-dsvm-fullstack/post.yaml b/playbooks/legacy/dragonflow-dsvm-fullstack/post.yaml
deleted file mode 100644
index dac87534..00000000
--- a/playbooks/legacy/dragonflow-dsvm-fullstack/post.yaml
+++ /dev/null
@@ -1,80 +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=**/*nose_results.html
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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=**/*testr_results.html.gz
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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=/.testrepository/tmp*
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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=**/*testrepository.subunit.gz
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - name: Copy files from {{ ansible_user_dir }}/workspace/ on node
-      synchronize:
-        src: '{{ ansible_user_dir }}/workspace/'
-        dest: '{{ zuul.executor.log_root }}/tox'
-        mode: pull
-        copy_links: true
-        verify_host: true
-        rsync_opts:
-          - --include=/.tox/*/log/*
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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
diff --git a/playbooks/legacy/dragonflow-dsvm-fullstack/run.yaml b/playbooks/legacy/dragonflow-dsvm-fullstack/run.yaml
deleted file mode 100644
index c81304a8..00000000
--- a/playbooks/legacy/dragonflow-dsvm-fullstack/run.yaml
+++ /dev/null
@@ -1,80 +0,0 @@
-- hosts: all
-  name: Autoconverted job legacy-dragonflow-dsvm-fullstack from old job gate-dragonflow-dsvm-fullstack-ubuntu-xenial
-  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]]
-          enable_plugin dragonflow git://git.openstack.org/openstack/dragonflow
-          Q_ENABLE_DRAGONFLOW_LOCAL_CONTROLLER=True
-          # Add bgp project to fullstack gate job.
-          enable_plugin neutron-dynamic-routing git://git.openstack.org/openstack/neutron-dynamic-routing
-          DR_MODE=df-bgp
-          # Add networking-sfc
-          enable_plugin networking-sfc git://git.openstack.org/openstack/networking-sfc
-
-          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=0
-          export DEVSTACK_GATE_NEUTRON=1
-          export DEVSTACK_GATE_INSTALL_TESTONLY=1
-
-
-          export BRANCH_OVERRIDE=default
-          if [ "$BRANCH_OVERRIDE" != "default" ] ; then
-              export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
-          fi
-
-          export PROJECTS="openstack/dragonflow $PROJECTS"
-          export PROJECTS="openstack/neutron-dynamic-routing $PROJECTS"
-          export PROJECTS="openstack/networking-sfc $PROJECTS"
-
-          export DEVSTACK_GATE_SETTINGS=/opt/stack/new/dragonflow/devstack/devstackgaterc
-
-          function gate_hook {
-              bash -xe $BASE/new/dragonflow/dragonflow/tests/contrib/gate_hook.sh fullstack
-          }
-          export -f gate_hook
-
-          function post_test_hook {
-              bash -xe $BASE/new/dragonflow/dragonflow/tests/contrib/post_test_hook.sh fullstack
-          }
-          export -f post_test_hook
-
-          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 }}'
diff --git a/playbooks/legacy/dragonflow-dsvm-rally/post.yaml b/playbooks/legacy/dragonflow-dsvm-rally/post.yaml
deleted file mode 100644
index 46ded306..00000000
--- a/playbooks/legacy/dragonflow-dsvm-rally/post.yaml
+++ /dev/null
@@ -1,106 +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=**/*nose_results.html
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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=**/*testr_results.html.gz
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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=/.testrepository/tmp*
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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=**/*testrepository.subunit.gz
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - name: Copy files from {{ ansible_user_dir }}/workspace/ on node
-      synchronize:
-        src: '{{ ansible_user_dir }}/workspace/'
-        dest: '{{ zuul.executor.log_root }}/tox'
-        mode: pull
-        copy_links: true
-        verify_host: true
-        rsync_opts:
-          - --include=/.tox/*/log/*
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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
-
-    - 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=/rally-plot/**
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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=/rally-plot/extra/index.html
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
diff --git a/playbooks/legacy/dragonflow-dsvm-rally/run.yaml b/playbooks/legacy/dragonflow-dsvm-rally/run.yaml
deleted file mode 100644
index 96d80b28..00000000
--- a/playbooks/legacy/dragonflow-dsvm-rally/run.yaml
+++ /dev/null
@@ -1,66 +0,0 @@
-- hosts: all
-  name: Autoconverted job legacy-dragonflow-dsvm-rally from old job gate-dragonflow-dsvm-rally-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]]
-          enable_plugin dragonflow git://git.openstack.org/openstack/dragonflow
-          Q_ENABLE_DRAGONFLOW_LOCAL_CONTROLLER=True
-          enable_plugin rally git://git.openstack.org/openstack/rally
-
-          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_NEUTRON=1
-          export RALLY_SCENARIO=dragonflow
-          export BRANCH_OVERRIDE=default
-          if [ "$BRANCH_OVERRIDE" != "default" ] ; then
-              export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
-          fi
-          export PROJECTS="openstack/dragonflow $PROJECTS"
-          export PROJECTS="openstack/rally $PROJECTS"
-
-          export DEVSTACK_GATE_SETTINGS=/opt/stack/new/dragonflow/devstack/devstackgaterc
-
-          function post_test_hook {
-              $BASE/new/rally/tests/ci/rally-gate.sh
-          }
-          export -f post_test_hook
-
-          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 }}'
diff --git a/playbooks/legacy/tempest-dsvm-dragonflow/post.yaml b/playbooks/legacy/tempest-dsvm-dragonflow/post.yaml
deleted file mode 100644
index dac87534..00000000
--- a/playbooks/legacy/tempest-dsvm-dragonflow/post.yaml
+++ /dev/null
@@ -1,80 +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=**/*nose_results.html
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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=**/*testr_results.html.gz
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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=/.testrepository/tmp*
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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=**/*testrepository.subunit.gz
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - name: Copy files from {{ ansible_user_dir }}/workspace/ on node
-      synchronize:
-        src: '{{ ansible_user_dir }}/workspace/'
-        dest: '{{ zuul.executor.log_root }}/tox'
-        mode: pull
-        copy_links: true
-        verify_host: true
-        rsync_opts:
-          - --include=/.tox/*/log/*
-          - --include=*/
-          - --exclude=*
-          - --prune-empty-dirs
-
-    - 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
diff --git a/playbooks/legacy/tempest-dsvm-dragonflow/run.yaml b/playbooks/legacy/tempest-dsvm-dragonflow/run.yaml
deleted file mode 100644
index c30c4c26..00000000
--- a/playbooks/legacy/tempest-dsvm-dragonflow/run.yaml
+++ /dev/null
@@ -1,77 +0,0 @@
-- hosts: all
-  name: Autoconverted job legacy-tempest-dsvm-dragonflow from old job gate-tempest-dsvm-dragonflow-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]]
-          enable_plugin dragonflow git://git.openstack.org/openstack/dragonflow
-          Q_ENABLE_DRAGONFLOW_LOCAL_CONTROLLER=True
-          # Add bgp project to tempest gate job.
-          enable_plugin neutron-dynamic-routing git://git.openstack.org/openstack/neutron-dynamic-routing
-          DR_MODE=df-bgp
-          # Add networking-sfc
-          enable_plugin networking-sfc git://git.openstack.org/openstack/networking-sfc
-
-          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_NEUTRON=1
-          export DEVSTACK_GATE_TEMPEST=1
-          export BRANCH_OVERRIDE=default
-          if [ "$BRANCH_OVERRIDE" != "default" ] ; then
-              export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
-          fi
-          # Because we are testing a non standard project, add
-          # our project repository. This makes zuul do the right
-          # reference magic for testing changes.
-          export PROJECTS="openstack/dragonflow $PROJECTS"
-          export PROJECTS="openstack/neutron-dynamic-routing $PROJECTS"
-          export PROJECTS="openstack/networking-sfc $PROJECTS"
-
-          # Keep localrc to be able to set some vars in pre_test_hook
-          export KEEP_LOCALRC=1
-
-          export DEVSTACK_GATE_SETTINGS=/opt/stack/new/dragonflow/devstack/devstackgaterc
-
-          function gate_hook {
-              bash -xe $BASE/new/dragonflow/dragonflow/tests/contrib/gate_hook.sh tempest
-          }
-          export -f gate_hook
-
-          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 }}'
diff --git a/zuul.d/zuul-legacy-jobs.yaml b/zuul.d/zuul-legacy-jobs.yaml
index 8ae22afa..a201ae3f 100644
--- a/zuul.d/zuul-legacy-jobs.yaml
+++ b/zuul.d/zuul-legacy-jobs.yaml
@@ -1684,43 +1684,6 @@
     post-run: playbooks/legacy/dox-buildimages/post
     timeout: 5400
 
-- job:
-    name: legacy-dragonflow-dsvm-fullstack
-    parent: legacy-dsvm-base
-    run: playbooks/legacy/dragonflow-dsvm-fullstack/run
-    post-run: playbooks/legacy/dragonflow-dsvm-fullstack/post
-    timeout: 9900
-    required-projects:
-      - openstack-infra/devstack-gate
-      - openstack/dragonflow
-      - openstack/neutron
-      - openstack/networking-sfc
-      - openstack/neutron-dynamic-routing
-
-- job:
-    name: legacy-dragonflow-dsvm-fullstack-zmq
-    parent: legacy-dsvm-base
-    run: playbooks/legacy/dragonflow-dsvm-fullstack-zmq/run
-    post-run: playbooks/legacy/dragonflow-dsvm-fullstack-zmq/post
-    timeout: 9900
-    required-projects:
-      - openstack-infra/devstack-gate
-      - openstack/dragonflow
-      - openstack/neutron
-      - openstack/networking-sfc
-      - openstack/neutron-dynamic-routing
-
-- job:
-    name: legacy-dragonflow-dsvm-rally
-    parent: legacy-dsvm-base
-    run: playbooks/legacy/dragonflow-dsvm-rally/run
-    post-run: playbooks/legacy/dragonflow-dsvm-rally/post
-    timeout: 7800
-    required-projects:
-      - openstack-infra/devstack-gate
-      - openstack/dragonflow
-      - openstack/rally
-
 - job:
     name: legacy-dsvm-ansible-func-centos-7
     parent: legacy-dsvm-base
@@ -10909,20 +10872,6 @@
       - openstack/python-designateclient
       - openstack/tempest
 
-- job:
-    name: legacy-tempest-dsvm-dragonflow
-    parent: legacy-dsvm-base
-    run: playbooks/legacy/tempest-dsvm-dragonflow/run
-    post-run: playbooks/legacy/tempest-dsvm-dragonflow/post
-    timeout: 7800
-    required-projects:
-      - openstack-infra/devstack-gate
-      - openstack/dragonflow
-      - openstack/neutron
-      - openstack/networking-sfc
-      - openstack/neutron-dynamic-routing
-      - openstack/tempest
-
 - job:
     name: legacy-tempest-dsvm-full-amqp1
     parent: legacy-dsvm-base