Merge "Provision mininet-ovs-25 image with Ansible"
authorVenkatrangan Govindarajan <vgovindarajan@luminanetworks.com>
Mon, 15 Apr 2019 09:05:00 +0000 (09:05 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 15 Apr 2019 09:05:00 +0000 (09:05 +0000)
29 files changed:
jenkins-config/clouds/openstack/odlvex/centos7-apex-2c-2g.cfg
jenkins-config/clouds/openstack/odlvex/centos7-autorelease-4c-16g.cfg
jenkins-config/clouds/openstack/odlvex/centos7-autorelease-8c-32g.cfg
jenkins-config/clouds/openstack/odlvex/centos7-autorelease-8c-8g.cfg
jenkins-config/clouds/openstack/odlvex/centos7-builder-2c-1g.cfg
jenkins-config/clouds/openstack/odlvex/centos7-builder-2c-2g.cfg
jenkins-config/clouds/openstack/odlvex/centos7-builder-2c-8g.cfg
jenkins-config/clouds/openstack/odlvex/centos7-builder-4c-16g.cfg
jenkins-config/clouds/openstack/odlvex/centos7-builder-4c-4g.cfg
jenkins-config/clouds/openstack/odlvex/centos7-builder-8c-8g.cfg
jenkins-config/clouds/openstack/odlvex/cloud.cfg
jjb/autorelease/view-autorelease-fluorine.yaml
jjb/autorelease/view-autorelease-neon.yaml
jjb/autorelease/view-autorelease-sodium.yaml
jjb/integration/integration-templates.yaml
jjb/integration/integration-test-jobs.yaml
jjb/integration/multipatch-distribution.sh
jjb/lf-infra/lf-infra-jobs.yaml
jjb/mdsal/mdsal.yaml
jjb/packaging/build-rpm-snap.sh
jjb/packaging/packaging.yaml
jjb/packaging/test-rpm-docker.sh
jjb/releng-jobs.yaml
jjb/releng-macros.yaml
jjb/releng-views.yaml
jjb/snmp4sdn/snmp4sdn.yaml
packer/provision/mininet-ovs-2.6.sh [deleted file]
packer/provision/mininet-ovs-2.6.yaml [new file with mode: 0644]
packer/templates/mininet-ovs-2.6.json

index 3a1cdc1b880023a6bda94f30add5c7c76078e46b..a9ca0a4270604ea600a20e1bb191fe5d6a755438 100644 (file)
@@ -1,3 +1,3 @@
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587
 VOLUME_SIZE=100
 HARDWARE_ID=odl-highcpu-2
index d916173943abe3431d9a8b9e67b97712ae35b2e9..44b2b08bbf1948c9edb1a23a7d08cfe0db422c0b 100644 (file)
@@ -1,3 +1,3 @@
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587
 VOLUME_SIZE=150
 HARDWARE_ID=odl-standard-4
index 9f43575070f0c1d4df80cf100750d988e58275dd..b50c77f6f69469f35324304511e7f9e32e308c77 100644 (file)
@@ -1,3 +1,3 @@
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587
 VOLUME_SIZE=150
 HARDWARE_ID=odl-standard-8
index b1fdbea47424a66274143544958dd5fff6e97378..d4a6fb146291c586a0e6e3661cdb3fc4dc5004b3 100644 (file)
@@ -1,3 +1,3 @@
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587
 VOLUME_SIZE=150
 HARDWARE_ID=odl-highcpu-8
index bcad551f9467344f92413c67c2c61ba9814de1e9..a75f6d5f837c8d84bd3310e414b64aeae5d8769c 100644 (file)
@@ -1,2 +1,2 @@
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587
 HARDWARE_ID=v1-standard-1
index 2957d7bdb77ad67b70c1dda16cbf5e593e81fb71..d951b1de96f463d45fe07894e973f8fa54b5fecd 100644 (file)
@@ -1,2 +1,2 @@
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587
 HARDWARE_ID=odl-highcpu-2
index 4f6a55303ca1641f72687343cff413d215991cbc..efee1e29686786b4eac20aa3946b5ae3d9adc1a6 100644 (file)
@@ -1,2 +1,2 @@
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587
 HARDWARE_ID=odl-standard-2
index b2dbd987f842b6a61b0de534905bac07166092f9..66ff7c07e144c3ddd069701c2cb70b2ff4b65ae6 100644 (file)
@@ -1,2 +1,2 @@
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587
 HARDWARE_ID=odl-standard-4
index 9833ce6f666ae9b7b91e3887588ef7a9446941c6..52ff4f32dfad6b95617770f6a9b725bf9761a639 100644 (file)
@@ -1,2 +1,2 @@
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587
 HARDWARE_ID=odl-highcpu-4
index 03a1a5d931e708e791102af404b88d10771f02dc..32e55e5cec7d2d4524c25d87d82e498bdaf6bd54 100644 (file)
@@ -1,2 +1,2 @@
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587
 HARDWARE_ID=odl-highcpu-8
index 3b2dfb250b15239cba5d4c3f70b0323f21113fce..caf009d4a2e1c7a16197dc15ccad11b84b61a641 100644 (file)
@@ -5,7 +5,7 @@ CLOUD_IGNORE_SSL=false
 CLOUD_ZONE=ca-ymq-1
 
 # Default Template Configuration
-IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956
+IMAGE_NAME=ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587
 HARDWARE_ID=v1-standard-1
 NETWORK_ID=b5fcd86e-efac-4997-b8bc-dbe0d35bc229
 USER_DATA_ID=jenkins-init-script
index b552a01e0fcab591f949b97786d0b47234223e85..fa5d9081ad15e10a6e7a4ffdabd81040ff7da26e 100644 (file)
     name: Merge-Fluorine
     description: 'List of Fluorine Merge jobs for Autorelease'
     job-name:
-      - 'aaa-maven-merge-fluorine'
-      - 'bgpcep-maven-merge-fluorine'
-      - 'controller-maven-merge-fluorine'
-      - 'coe-maven-merge-fluorine'
-      - 'daexim-maven-merge-fluorine'
-      - 'genius-maven-merge-fluorine'
-      - 'infrautils-maven-merge-fluorine'
-      - 'integration/distribution-maven-merge-fluorine'
-      - 'lispflowmapping-maven-merge-fluorine'
-      - 'mdsal-maven-merge-fluorine'
-      - 'netconf-maven-merge-fluorine'
-      - 'netvirt-maven-merge-fluorine'
-      - 'neutron-maven-merge-fluorine'
-      - 'openflowplugin-maven-merge-fluorine'
-      - 'ovsdb-maven-merge-fluorine'
-      - 'serviceutils-maven-merge-fluorine'
-      - 'sfc-maven-merge-fluorine'
+      - 'aaa-merge-fluorine'
+      - 'bgpcep-merge-fluorine'
+      - 'controller-merge-fluorine'
+      - 'coe-merge-fluorine'
+      - 'daexim-merge-fluorine'
+      - 'genius-merge-fluorine'
+      - 'infrautils-merge-fluorine'
+      - 'integration/distribution-merge-fluorine'
+      - 'lispflowmapping-merge-fluorine'
+      - 'mdsal-merge-fluorine'
+      - 'netconf-merge-fluorine'
+      - 'netvirt-merge-fluorine'
+      - 'neutron-merge-fluorine'
+      - 'openflowplugin-merge-fluorine'
+      - 'ovsdb-merge-fluorine'
+      - 'serviceutils-merge-fluorine'
+      - 'sfc-merge-fluorine'
     <<: *releng_autorelease_view_common_fluorine
index 98e800a2dbb32448f9deb3cedefff18d9351d743..207aef14950d03b6ac81e48cfa5dbb9220feb396 100644 (file)
     name: Merge-Neon
     description: 'List of Neon Merge jobs for Autorelease'
     job-name:
-      - 'aaa-maven-merge-neon'
-      - 'bgpcep-maven-merge-neon'
-      - 'controller-maven-merge-neon'
-      - 'coe-maven-merge-neon'
-      - 'daexim-maven-merge-neon'
-      - 'genius-maven-merge-neon'
-      - 'infrautils-maven-merge-neon'
-      - 'integration/distribution-maven-merge-neon'
-      - 'lispflowmapping-maven-merge-neon'
-      - 'netconf-maven-merge-neon'
-      - 'netvirt-maven-merge-neon'
-      - 'neutron-maven-merge-neon'
-      - 'openflowplugin-maven-merge-neon'
-      - 'ovsdb-maven-merge-neon'
-      - 'serviceutils-maven-merge-neon'
-      - 'sfc-maven-merge-neon'
+      - 'aaa-merge-neon'
+      - 'bgpcep-merge-neon'
+      - 'controller-merge-neon'
+      - 'coe-merge-neon'
+      - 'daexim-merge-neon'
+      - 'genius-merge-neon'
+      - 'infrautils-merge-neon'
+      - 'integration/distribution-merge-neon'
+      - 'lispflowmapping-merge-neon'
+      - 'netconf-merge-neon'
+      - 'netvirt-merge-neon'
+      - 'neutron-merge-neon'
+      - 'openflowplugin-merge-neon'
+      - 'ovsdb-merge-neon'
+      - 'serviceutils-merge-neon'
+      - 'sfc-merge-neon'
     <<: *releng_autorelease_view_common_neon
index 1117630a25c06f75842a37b845d8f6ceb505699d..654d8e7c6b9c1ca5eaeca3952396d1925e96e1b6 100644 (file)
     name: Merge-Sodium
     description: 'List of Sodium Merge jobs for Autorelease'
     job-name:
-      - 'aaa-maven-merge-sodium'
-      - 'bgpcep-maven-merge-sodium'
-      - 'controller-maven-merge-sodium'
-      - 'coe-maven-merge-sodium'
-      - 'daexim-maven-merge-sodium'
-      - 'genius-maven-merge-sodium'
-      - 'infrautils-maven-merge-sodium'
-      - 'integration/distribution-maven-merge-sodium'
-      - 'lispflowmapping-maven-merge-sodium'
-      - 'netconf-maven-merge-sodium'
-      - 'netvirt-maven-merge-sodium'
-      - 'neutron-maven-merge-sodium'
-      - 'openflowplugin-maven-merge-sodium'
-      - 'ovsdb-maven-merge-sodium'
-      - 'serviceutils-maven-merge-sodium'
-      - 'sfc-maven-merge-sodium'
+      - 'aaa-merge-sodium'
+      - 'bgpcep-merge-sodium'
+      - 'controller-merge-sodium'
+      - 'coe-merge-sodium'
+      - 'daexim-merge-sodium'
+      - 'genius-merge-sodium'
+      - 'infrautils-merge-sodium'
+      - 'integration/distribution-merge-sodium'
+      - 'lispflowmapping-merge-sodium'
+      - 'netconf-merge-sodium'
+      - 'netvirt-merge-sodium'
+      - 'neutron-merge-sodium'
+      - 'openflowplugin-merge-sodium'
+      - 'ovsdb-merge-sodium'
+      - 'serviceutils-merge-sodium'
+      - 'sfc-merge-sodium'
     <<: *releng_autorelease_view_common_sodium
index ef6157e41f7d94ec9d40d774dd90e38407c537cc..1ec062844a68694e46bfa6f364b372f006fd97f0 100644 (file)
@@ -78,7 +78,7 @@
     openstack-heat-template-dir: openstack-hot
 
     odl_system_flavor: 'odl-highcpu-4'
-    odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956'
+    odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587'
     tools_system_count: 1
     tools_system_flavor: 'odl-highcpu-2'
     tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20190201-040143.366'
     openstack-heat-template-dir: openstack-hot
 
     odl_system_flavor: 'odl-highcpu-4'
-    odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956'
+    odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587'
     tools_system_count: 1
     tools_system_flavor: 'odl-highcpu-2'
     tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20190201-040143.366'
     openstack-heat-template-dir: openstack-hot
 
     odl_system_flavor: 'odl-highcpu-4'
-    odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956'
+    odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587'
     tools_system_count: 1
     tools_system_flavor: 'odl-highcpu-2'
     tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20190201-040143.366'
     openstack-heat-template-dir: openstack-hot
 
     odl_system_flavor: 'odl-highcpu-4'
-    odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956'
+    odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587'
     tools_system_count: 1
     tools_system_flavor: 'odl-highcpu-2'
     tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20190201-040143.366'
 
     odl_system_count: 1
     odl_system_flavor: 'odl-highcpu-4'
-    odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956'
+    odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587'
     docker_system_count: 1
     docker_system_flavor: 'odl-standard-1'
     docker_system_image: 'ZZCI - CentOS 7 - docker - 20180723-235456.035'
 
     odl_system_count: 1
     odl_system_flavor: 'odl-highcpu-4'
-    odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956'
+    odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587'
     openstack_system_count: 1
     openstack_system_flavor: 'odl-standard-4'
     openstack_system_image: 'ZZCI - CentOS 7 - devstack - 20180911-204116.460'
 
     odl_system_count: 1
     odl_system_flavor: 'odl-highcpu-4'
-    odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956'
+    odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20190403-205252.587'
     openstack_system_count: 1
     openstack_system_flavor: 'odl-standard-4'
     openstack_system_image: 'ZZCI - CentOS 7 - devstack - 20180911-204116.460'
index fb2caf47ee1fc44da8d6ad3680057d26f194ae31..2bb4292851d0042f95dc60ae4c0a668991298432 100644 (file)
@@ -23,7 +23,7 @@
           mvn-version: 'mvn35'
           csit-list: !include: csit-jobs-sodium.lst
           build-order: >
-              odlparent yangtools infrautils mdsal controller serviceutils aaa netconf
+              odlparent yangtools mdsal infrautils controller serviceutils aaa netconf
               daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
               bgpcep integration/distribution
 
@@ -32,7 +32,7 @@
           mvn-version: 'mvn35'
           csit-list: !include: csit-jobs-neon.lst
           build-order: >
-              odlparent yangtools infrautils mdsal controller serviceutils aaa netconf
+              odlparent yangtools mdsal infrautils controller serviceutils aaa netconf
               daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
               bgpcep integration/distribution
 
           build-days-to-keep: '{build-days-to-keep}'
 
     parameters:
-      - patches-to-build-parameter:
-          patches_to_build: '$PATCHES_TO_BUILD'
-      - build-order-parameter:
-          build-order: '{build-order}'
-      - build-fast-parameter:
-          build-fast: 'false'
-      - run-test-parameter:
-          run-test: 'false'
+      - string:
+          name: PATCHES_TO_BUILD
+          default: '$PATCHES_TO_BUILD'
+          description: |
+              Ordered list of patches to build in the format of project=changeset (checkout) or
+              project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
+      - string:
+          name: BUILD_ORDER
+          default: '{build-order}'
+          description: 'Build order for multipatch test when topic is used'
+      - string:
+          name: BUILD_FAST
+          default: 'true'
+          description: 'Set true to build fast -Pq'
+      - string:
+          name: BUILD_NORMAL
+          default: ''
+          description: 'List of projects to build normal (no -Pq) when BUILD_FAST=true'
+      - string:
+          name: RUN_TEST
+          default: 'false'
+          description: 'Set true to run test after build'
       - integration-distribution-branch:
           branch: '{branch}'
       - integration-distribution-stream:
       - ovsdb-csit-3node-upstream-clustering-only-fluorine
       - sfc-csit-3node-docker-full-deploy-all-fluorine
       - sfc-csit-3node-rest-basic-all-fluorine
-    <<: *releng_view_common
+    view-type: list
+    filter-executors: false
+    filter-queue: false
+    columns:
+      - status
+      - weather
+      - job
+      - last-success
+      - last-failure
+      - last-duration
+      - build-button
+      - jacoco
+      - find-bugs
+      - robot-list
+    recurse: false
 
 - view:
     name: csit-stable-ne
       - ovsdb-csit-3node-upstream-clustering-only-neon
       - sfc-csit-3node-docker-full-deploy-all-neon
       - sfc-csit-3node-rest-basic-all-neon
-    <<: *releng_view_common
+    view-type: list
+    filter-executors: false
+    filter-queue: false
+    columns:
+      - status
+      - weather
+      - job
+      - last-success
+      - last-failure
+      - last-duration
+      - build-button
+      - jacoco
+      - find-bugs
+      - robot-list
+    recurse: false
index 9021af0655d6d7016a171ce0a7e7323d8d8bbde2..87dd099f63e26d5ad5e03029656727dd09b5ffac 100755 (executable)
@@ -37,11 +37,6 @@ if [ -n "$GERRIT_EVENT_COMMENT_TEXT" ]; then
     fi
     PATCHES_TO_BUILD=${PATCHES_TO_BUILD#*:}
 fi
-if ${BUILD_FAST}; then
-    fast_option="-Pq"
-else
-    fast_option=""
-fi
 # check if topic exists:
 # if topic=binding-rpc, then checkout first patch in binding-rpc topic (if it exists)
 # if topic:binding-rpc, then cherry-pick first patch in binding-rpc topic (if it exists)
@@ -152,17 +147,20 @@ do
         if [ "${PROJECT}" == "odlparent" ] || [ "${PROJECT}" == "yangtools" ] || ([ "${PROJECT}" == "mdsal" ] && [ "${DISTROSTREAM}" != "fluorine" ]); then
             ODLPARENT_VERSION="$(xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -v //x:odlparent.version ../pom.xml)"
             echo "change odlparent version to ${ODLPARENT_VERSION}"
-            find . -name "*.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:groupId=\"org.opendaylight.odlparent\"\] -v "${ODLPARENT_VERSION}" 2> /dev/null
+            find . -name "pom.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:parent/x:groupId=\"org.opendaylight.odlparent\"\] -v "${ODLPARENT_VERSION}"
+            find . -name "pom.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:groupId=\"org.opendaylight.odlparent\"\] -v "${ODLPARENT_VERSION}"
         fi
         if [ "${PROJECT}" == "yangtools" ] || ([ "${PROJECT}" == "mdsal" ] && [ "${DISTROSTREAM}" != "fluorine" ]); then
             YANGTOOLS_VERSION="$(xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -v //x:yangtools.version ../pom.xml)"
             echo "change yangtools version to ${YANGTOOLS_VERSION}"
-            find -name "*.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:groupId=\"org.opendaylight.yangtools\"\] -v "${YANGTOOLS_VERSION}" 2> /dev/null
+            find . -name "pom.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:parent/x:groupId=\"org.opendaylight.yangtools\"\] -v "${YANGTOOLS_VERSION}"
+            find . -name "pom.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:groupId=\"org.opendaylight.yangtools\"\] -v "${YANGTOOLS_VERSION}"
         fi
         if [ "${PROJECT}" == "mdsal" ] && [ "${DISTROSTREAM}" != "fluorine" ]; then
             MDSAL_VERSION="$(xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -v //x:mdsal.version ../pom.xml)"
             echo "change mdsal version to ${MDSAL_VERSION}"
-            find -name "*.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:groupId=\"org.opendaylight.mdsal\"\] -v "${MDSAL_VERSION}" 2> /dev/null
+            find . -name "pom.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:parent/x:groupId=\"org.opendaylight.mdsal\"\] -v "${MDSAL_VERSION}"
+            find . -name "pom.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:groupId=\"org.opendaylight.mdsal\"\] -v "${MDSAL_VERSION}"
         fi
     else
         # If project with no patch is MRI, download release tag:
@@ -202,6 +200,12 @@ fi
 # Second phase: build everything
 
 for PROJECT_SHORTNAME in "${PROJECTS[@]}"; do
+    # Set Fast build if project is not in BUILD_NORMAL and BUILD_FAST is true
+    if [[ "${BUILD_NORMAL}" != *"${PROJECT_SHORTNAME}"* ]] && ${BUILD_FAST}; then
+        fast_option="-Pq"
+    else
+        fast_option=""
+    fi
     pushd "${PROJECT_SHORTNAME}"
     # Build project
     "$MVN" clean install \
index 07d01ba20d93bfeafa4cf635134c3435e671ae4a..fdea58fa3b49cb5fe58b0c206864e8eb401241e9 100644 (file)
     name: lf-infra-lftools
     jobs:
       - '{project-name}-rtd-jobs'
-      - gerrit-release-announce
+      - gerrit-release-announce:
+          build-node: centos7-builder-2c-1g
       - gerrit-tox-verify
 
     project-name: lf-infra-lftools
index 4c28ccca2032b3ee0faf93a9fc783dd23ab3caab..251842596bb09ce92d0eb403a3ded8130c083dda 100644 (file)
           mvn-params: >
             -Dodl.jacoco.aggregateFile=$WORKSPACE/target/jacoco.exec
             -Dsonar.jacoco.reportPath=$WORKSPACE/target/jacoco.exec
+            -Dskip.karaf.featureTest=true
 
     project: 'mdsal'
     project-name: 'mdsal'
index 57b8de52e7e026975c0e68ec738ace45bb0202c3..86f126ccae1789be30757d79d1bfff83deabecb6 100644 (file)
@@ -19,8 +19,17 @@ if [ "$STREAM" == "fluorine" ]; then
   VERSION_MAJOR=9
 elif [ "$STREAM" == "neon" ]; then
   VERSION_MAJOR=10
+elif [ "$STREAM" == "sodium" ]; then
+  VERSION_MAJOR=11
+elif [ "$STREAM" == "magnesium" ]; then
+  VERSION_MAJOR=12
+elif [ "$STREAM" == "aluminium" ]; then
+  VERSION_MAJOR=13
+elif [ "$STREAM" == "silicon" ]; then
+  VERSION_MAJOR=14
 else
   echo "Unable to convert stream to major version"
+  echo "MAINTAINER: Update if/else switch above with recent stream/ver pairs"
   exit 1
 fi
 
index 2eaad7a29955f07074a945a0972a8ff20f7041e4..eb19a651722db51e699463dc43caac88af4fa86f 100644 (file)
@@ -27,6 +27,7 @@
     stream:
       - neon
       - fluorine
+      - sodium
 
     distro:
       - opensuse-42
           build-timeout: '{build-timeout}'
 
     builders:
-      # Test Oxygen SR4 release tarball
+      # Test Fluorine SR2 release tarball
       - inject:
           # yamllint disable-line rule:line-length
-          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.8.4/karaf-0.8.4.tar.gz'
+          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.9.2/karaf-0.9.2.tar.gz'
       - shell: !include-raw-escape: build-rpm.sh
       - install-test-uninstall-rpm
 
       - shell: !include-raw-escape: build-rpm.sh
       - install-test-uninstall-rpm
 
-      # Test Fluorine ('Managed Release Common Distro') release tarball
-      - inject:
-          # yamllint disable-line rule:line-length
-          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/public/org/opendaylight/integration/opendaylight/0.9.0/opendaylight-0.9.0.tar.gz'
-      - shell: !include-raw-escape: build-rpm.sh
-      - install-test-uninstall-rpm
-
-      # Test Fluorine SR1 release tarball
+      # Test latest Neon snapshot
       - inject:
-          # yamllint disable-line rule:line-length
-          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.9.1/karaf-0.9.1.tar.gz'
-      - shell: !include-raw-escape: build-rpm.sh
+          properties-content: 'STREAM=neon'
+      - shell: !include-raw: build-rpm-snap.sh
       - install-test-uninstall-rpm
 
-      # Test Fluorine SR2 release tarball
+      # Test latest Sodium snapshot
       - inject:
-          # yamllint disable-line rule:line-length
-          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.9.2/karaf-0.9.2.tar.gz'
-      - shell: !include-raw-escape: build-rpm.sh
-      - install-test-uninstall-rpm
-
-      # Test Neon pre-release autorelease tarball
-      # NB: This will need to be updated as old builds expire
-      # - inject:
-      # yamllint disable-line rule:line-length
-      #     properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2620/org/opendaylight/integration/karaf/0.10.0/karaf-0.10.0.tar.gz'
-      # - shell: !include-raw-escape: build-rpm.sh
-      # - install-test-uninstall-rpm
-
-      # Test Neon multipatch zip (no parallel tarball available)
-      # NB: This will need to be updated as old builds expire
-      # - inject:
-      # yamllint disable-line rule:line-length
-      #     properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.10.0-SNAPSHOT/karaf-0.10.0-20190103.173010-50.zip'
-      # - shell: !include-raw-escape: build-rpm.sh
-      # - install-test-uninstall-rpm
-
-      # Test latest Neon snapshot
-      - inject:
-          properties-content: 'STREAM=neon'
+          properties-content: 'STREAM=sodium'
       - shell: !include-raw: build-rpm-snap.sh
       - install-test-uninstall-rpm
 
           build-timeout: '{build-timeout}'
 
     builders:
-      # Test Oxygen SR4 release tarball
-      - inject:
-          # yamllint disable-line rule:line-length
-          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.8.4/karaf-0.8.4.tar.gz'
-      - shell: !include-raw-escape: build-rpm.sh
-      - install-test-uninstall-rpm
-
-      # Test Oxygen pre-release autorelease tarball
-      # NB: This will need to be updated as old builds expire
-      # - inject:
-      # yamllint disable-line rule:line-length
-      #     properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2622/org/opendaylight/integration/karaf/0.8.5/karaf-0.8.5.tar.gz'
-      # - shell: !include-raw-escape: build-rpm.sh
-      # - install-test-uninstall-rpm
-
-      # Test latest Oxygen snapshot
-      - inject:
-          properties-content: 'STREAM=oxygen'
-      - shell: !include-raw: build-rpm-snap.sh
-      - install-test-uninstall-rpm
-
       # Test Fluorine ('Managed Release Common Distro') release tarball
       - inject:
           # yamllint disable-line rule:line-length
       - shell: !include-raw-escape: build-rpm.sh
       - install-test-uninstall-rpm
 
-      # Test Neon release tarball
-      - inject:
-          # yamllint disable-line rule:line-length
-          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.10.0/karaf-0.10.0.tar.gz'
-      - shell: !include-raw-escape: build-rpm.sh
-      - install-test-uninstall-rpm
-
       # Test Fluorine pre-release autorelease tarball
       # NB: This will need to be updated as old builds expire
+      # NB: Commented out to reduce maintenance
       # - inject:
       # yamllint disable-line rule:line-length
       #     properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2621/org/opendaylight/integration/karaf/0.9.2/karaf-0.9.2.tar.gz'
 
       # Test Fluorine multipatch zip (no parallel tarball available)
       # NB: This will need to be updated as old builds expire
+      # NB: Commented out to reduce maintenance
       # - inject:
       # yamllint disable-line rule:line-length
       #     properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.9.2-SNAPSHOT/karaf-0.9.2-20181222.162905-8.zip'
       - shell: !include-raw: build-rpm-snap.sh
       - install-test-uninstall-rpm
 
+      # Test Neon release tarball
+      - inject:
+          # yamllint disable-line rule:line-length
+          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.10.0/karaf-0.10.0.tar.gz'
+      - shell: !include-raw-escape: build-rpm.sh
+      - install-test-uninstall-rpm
+
       # Test Neon pre-release autorelease tarball
       # NB: This will need to be updated as old builds expire
+      # NB: Commented out to reduce maintenance
       # - inject:
       # yamllint disable-line rule:line-length
       #     properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2620/org/opendaylight/integration/karaf/0.10.0/karaf-0.10.0.tar.g'
 
       # Test Neon multipatch zip (no parallel tarball available)
       # NB: This will need to be updated as old builds expire
+      # NB: Commented out to reduce maintenance
       # - inject:
       # yamllint disable-line rule:line-length
       #     properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.10.0-SNAPSHOT/karaf-0.10.0-20190103.173010-50.zip'
       - shell: !include-raw: build-rpm-snap.sh
       - install-test-uninstall-rpm
 
+      # Test latest Sodium snapshot
+      - inject:
+          properties-content: 'STREAM=sodium'
+      - shell: !include-raw: build-rpm-snap.sh
+      - install-test-uninstall-rpm
+
     triggers:
       - timed: '@weekly'
       - gerrit:
index 980011d00bccbcc2f5d9675a5b06dc6f1f40029f..c68ea3964ad933272e0da3baaaaf5df7a867d857 100644 (file)
@@ -26,7 +26,7 @@ sudo docker exec $docker_id /bin/bash $scripts_path/start-odl.sh
 sudo docker exec $docker_id /bin/bash $scripts_path/test-ports-nofeature.sh
 
 # Don't install test feature and check REST for Oxygen, ODLPARENT-139 breaks it
-if [ "$STREAM" == "fluorine" ] || [ "$STREAM" == "neon" ]; then
+if [ "$STREAM" == "fluorine" ] || [ "$STREAM" == "neon" ] || [ "$STREAM" == "sodium" ]; then
   sudo docker exec $docker_id /usr/bin/expect $scripts_path/test-karaf-oxygensafe.expect
 else
   sudo docker exec $docker_id /usr/bin/expect $scripts_path/test-karaf.expect
index 8b35fbf77a2b46bd8202baf73851a9677052fb5c..071ca8bc4fea7a6c9c8006659b097525a329eb0e 100644 (file)
@@ -8,6 +8,8 @@
           rtd-token: e9fa62bd60a39c22de631791309ccacc37a9929e
       - gerrit-jenkins-cfg-merge:
           jenkins-silos: releng sandbox
+      - gerrit-jenkins-cfg-verify:
+          jenkins-silos: releng sandbox
       - gerrit-jenkins-sandbox-cleanup
       - gerrit-jjb-deploy-job
       - gerrit-jjb-merge:
index 7c0a9164318df0009cc234580f8e560e593c383e..e106e25599771e2f16ddef198f5ba0c298292aba 100644 (file)
               further details.
               https://docs.openstack.org/developer/python-openstackclient/
 
-- parameter:
-    name: patches-to-build-parameter
-    parameters:
-      - string:
-          name: PATCHES_TO_BUILD
-          default: ''
-          description: |
-              Ordered list of patches to build in the format of project=changeset (checkout) or
-              project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
-              A topic is also allowed, for example: topic=binding-tlc-rpc
-
-- parameter:
-    name: build-order-parameter
-    parameters:
-      - string:
-          name: BUILD_ORDER
-          default: '{build-order}'
-          description: 'Build order for multipatch test when topic is used'
-
-- parameter:
-    name: build-fast-parameter
-    parameters:
-      - string:
-          name: BUILD_FAST
-          default: '{build-fast}'
-          description: 'Set true to build fast -Pq'
-
-- parameter:
-    name: run-test-parameter
-    parameters:
-      - string:
-          name: RUN_TEST
-          default: '{run-test}'
-          description: 'Set true to run test after build'
-
 - parameter:
     name: distribution-branch-to-build-parameter
     parameters:
index 18e5efb10bb68955cdf71466f9395f1210455d15..d9b7c2f3846e81079e2fe2385c2bd4feb826f353 100644 (file)
@@ -1,38 +1,4 @@
 ---
-- integration_view_csit: &integration_view_csit
-    name: integration-view-csit
-    view-type: list
-    filter-executors: false
-    filter-queue: false
-    columns:
-      - status
-      - weather
-      - job
-      - last-success
-      - last-failure
-      - last-duration
-      - build-button
-      - robot-list
-    recurse: false
-
-- releng_view: &releng_view_common
-    name: releng-view-common
-    view-type: list
-    filter-executors: false
-    filter-queue: false
-    columns:
-      - status
-      - weather
-      - job
-      - last-success
-      - last-failure
-      - last-duration
-      - build-button
-      - jacoco
-      - find-bugs
-      - robot-list
-    recurse: false
-
 - project:
     name: '00-Empty View'
     views:
       most-recent:
         max-to-include: 25
         check-start-time: true
-    <<: *releng_view_common
+    view-type: list
+    filter-executors: false
+    filter-queue: false
+    columns:
+      - status
+      - weather
+      - job
+      - last-success
+      - last-failure
+      - last-duration
+      - build-button
+      - jacoco
+      - find-bugs
+      - robot-list
+    recurse: false
 
 - project:
     name: All-Sonar
index 9a45a18dd8ef0e9bf5421eb808f69aeb76201093..aa910ff41186a413f6189a2c68a817fc96d4672e 100644 (file)
@@ -2,6 +2,11 @@
 - project:
     name: snmp4sdn-sodium
     jobs:
+      - '{project-name}-rtd-jobs':
+          build-node: centos7-builder-2c-2g
+          project-pattern: snmp4sdn
+          rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-snmp4sdn/75649/
+          rtd-token: 55ee5e520f96e1fa691b277b2919e8d62cb0b71f
       - odl-maven-jobs
 
     stream: sodium
 - project:
     name: snmp4sdn-neon
     jobs:
+      - '{project-name}-rtd-jobs':
+          build-node: centos7-builder-2c-2g
+          project-pattern: snmp4sdn
+          rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-snmp4sdn/75649/
+          rtd-token: 55ee5e520f96e1fa691b277b2919e8d62cb0b71f
       - odl-maven-jobs
 
     stream: neon
 - project:
     name: snmp4sdn-fluorine
     jobs:
+      - '{project-name}-rtd-jobs':
+          build-node: centos7-builder-2c-2g
+          project-pattern: snmp4sdn
+          rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-snmp4sdn/75649/
+          rtd-token: 55ee5e520f96e1fa691b277b2919e8d62cb0b71f
       - odl-maven-jobs
 
     stream: fluorine
diff --git a/packer/provision/mininet-ovs-2.6.sh b/packer/provision/mininet-ovs-2.6.sh
deleted file mode 100644 (file)
index 6673762..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/bash -x
-
-# vim: sw=4 ts=4 sts=4 et tw=72 :
-
-# force any errors to cause the script and job to end in failure
-set -xeu -o pipefail
-
-# Ensure that necessary variables are set to enable noninteractive mode in
-# commands.
-export DEBIAN_FRONTEND=noninteractive
-
-# To handle the prompt style that is expected all over the environment
-# with how use use robotframework we need to make sure that it is
-# consistent for any of the users that are created during dynamic spin
-# ups
-echo 'PS1="[\u@\h \W]> "' >> /etc/skel/.bashrc
-
-echo '---> Install OpenVSwitch 2.6.1'
-apt-get update -m
-apt-get install dh-autoreconf debhelper autoconf automake libssl-dev pkg-config bzip2 openssl python-all procps python-qt4 python-zopeinterface python-twisted-conch
-mkdir /root/ovs
-cd /root
-pwd
-wget http://openvswitch.org/releases/openvswitch-2.6.1.tar.gz
-tar -xzvf openvswitch-2.6.1.tar.gz -C /root/ovs --strip-components=1
-cd /root/ovs
-DEB_BUILD_OPTIONS='parallel=8 nocheck' fakeroot debian/rules binary
-cd /root
-dpkg -i openvswitch-common_2.6.1-1_amd64.deb openvswitch-switch_2.6.1-1_amd64.deb python-openvswitch_2.6.1-1_all.deb openvswitch-vtep_2.6.1-1_amd64.deb
-systemctl unmask openvswitch-switch
-service openvswitch-switch start
-service openvswitch-vtep start
-echo '---> Waiting 15 secs for services to start'
-sleep 15
-ovs-vsctl --version
-ovs-vsctl show
-# We want to see the entire ps output not just the pid
-# shellcheck disable=SC2009
-ps -elf | grep ovs
-# shellcheck disable=SC2009
-ps -elf | grep vtep
-echo '---> Finished installing OpenVSwitch 2.6.1'
-
-echo '---> Installing mininet'
-apt-get install mininet
-
-echo '---> Installing build pre-requisites'
-apt-get install build-essential snmp libsnmp-dev snmpd libpcap-dev \
-autoconf make automake libtool libconfig-dev libssl-dev libffi-dev libssl-doc pkg-config
-
-git clone https://github.com/intracom-telecom-sdn/mtcbench.git
-mtcbench/deploy/docker/provision.sh
-# TODO: remove workaround for build issue with mtcbench
-# when mtcbench dependency build correctly
-# https://github.com/intracom-telecom-sdn/mtcbench/issues/10
-mtcbench/build_mtcbench.sh || true
-cd mtcbench/oflops/cbench
-make
-cp cbench /usr/local/bin/
-
-echo '---> Installing exabgp'
-apt-get install exabgp
-
-# Install vlan for vlan based tests in VTN suites
-apt-get install vlan
-
-# Install netaddr package which is needed by some custom mininet topologies
-apt-get install python-netaddr
diff --git a/packer/provision/mininet-ovs-2.6.yaml b/packer/provision/mininet-ovs-2.6.yaml
new file mode 100644 (file)
index 0000000..6715b38
--- /dev/null
@@ -0,0 +1,93 @@
+---
+- import_playbook: ../common-packer/provision/baseline.yaml
+
+- hosts: all
+  become_user: root
+  become_method: sudo
+  vars:
+    ovs_version: 2.6.1
+    ovs_checksum: sha256:307b20aba6a179bf13e5da9ac242933c31349073762473a9d4782619c8c1cf0c
+
+  pre_tasks:
+    - include_role: name=lfit.system-update
+
+  tasks:
+    - name: 'Install OpenVSwitch {{ovs_version}}'
+      block:
+        - name: 'Install dependencies required for OpenVSwitch {{ovs_version}}'
+          apt: 'name={{item}} state=present'
+          with_items:
+            - dh-autoreconf
+            - debhelper
+            - autoconf
+            - automake
+            - libssl-dev
+            - pkg-config
+            - bzip2
+            - openssl
+            - python-all
+            - procps
+            - python-qt4
+            - python-zopeinterface
+            - python-twisted-conch
+          become: true
+        - name: Create OVS root
+          file:
+            path: /tmp/ovs
+            state: directory
+            mode: 0755
+        - name: 'Fetch OpenVSwitch {{ovs_version}} to /tmp'
+          get_url:
+            url: 'http://openvswitch.org/releases/openvswitch-2.6.1.tar.gz'
+            dest: '/tmp/openvswitch-2.6.1.tar.gz'
+            checksum: '{{ovs_checksum}}'
+        - name: 'Unarchive OpenVSwitch {{ovs_version}}'
+          unarchive:
+            src: '/tmp/openvswitch-{{ovs_version}}.tar.gz'
+            dest: /tmp/ovs
+            remote_src: true
+        - name: 'Build OpenVSwitch {{ovs_version}}'
+          shell: DEB_BUILD_OPTIONS='parallel=8 nocheck' fakeroot debian/rules binary
+          args:
+            chdir: '/tmp/ovs/openvswitch-{{ovs_version}}'
+        - name: 'Install OpenVSwitch {{ovs_version}}'
+          apt: 'deb={{item}}'
+          with_items:
+            - /tmp/ovs/openvswitch-common_2.6.1-1_amd64.deb
+            - /tmp/ovs/openvswitch-switch_2.6.1-1_amd64.deb
+            - /tmp/ovs/python-openvswitch_2.6.1-1_all.deb
+            - /tmp/ovs/openvswitch-vtep_2.6.1-1_amd64.deb
+          become: true
+        - name: Enable openvswitch-switch service
+          systemd:
+            name: openvswitch-switch
+            enabled: true
+            masked: false
+          become: true
+        - name: Enable openvswitch-vtep service
+          systemd:
+            name: openvswitch-vtep
+            enabled: true
+            masked: false
+          become: true
+
+    - name: Install Mininet
+      apt: name=mininet state=present
+      become: true
+
+    - name: Install exabgp
+      apt: name=exabgp state=present
+      become: true
+
+    - name: Install vlan for vlan based tests in VTN suites
+      apt: name=vlan state=present
+      become: true
+
+    - name: Install python-netaddr for custom mininet topologies
+      apt: name=python-netaddr state=present
+      become: true
+
+  post_tasks:
+    - name: System Reseal
+      script: ../common-packer/provision/system-reseal.sh
+      become: true
index bf203f4533c3ca397b6232c4066d396997443ec5..85a70be34f726b0737c4665579670512df447c00 100644 (file)
@@ -1,5 +1,6 @@
 {
   "variables": {
+    "ansible_roles_path": ".galaxy",
     "base_image": null,
     "distro": null,
     "cloud_network": null,
   },
   "builders": [
     {
-      "type": "openstack",
-      "region": "ca-ymq-1",
-      "availability_zone": "ca-ymq-2",
-      "ssh_username": "{{user `ssh_user`}}",
-      "ssh_proxy_host": "{{user `ssh_proxy_host`}}",
+      "name": "vexxhost",
       "image_name": "ZZCI - {{user `distro`}} - mininet-ovs-26 - {{isotime \"20060102-150405.000\"}}",
       "instance_name": "{{user `distro`}}-mininet-ovs-26-{{uuid}}",
       "source_image_name": "{{user `base_image`}}",
-      "flavor": "v1-standard-1",
+      "type": "openstack",
+      "region": "ca-ymq-1",
+      "availability_zone": "ca-ymq-2",
       "networks": [
         "{{user `cloud_network`}}"
       ],
       "user_data_file": "{{user `cloud_user_data`}}",
+      "ssh_username": "{{user `ssh_user`}}",
+      "ssh_proxy_host": "{{user `ssh_proxy_host`}}",
+      "flavor": "v1-standard-1",
       "metadata": {
         "ci_managed": "yes"
       }
     {
       "type": "shell",
       "scripts": [
-        "provision/baseline.sh",
-        "provision/mininet-ovs-2.6.sh",
-        "provision/system_reseal_local_env.sh",
-        "provision/system_reseal.sh"
+        "common-packer/provision/install-python.sh"
       ],
       "execute_command": "chmod +x {{ .Path }}; if [ \"$UID\" == \"0\" ]; then {{ .Vars }} '{{ .Path }}'; else {{ .Vars }} sudo -E '{{ .Path }}'; fi"
+    },
+    {
+      "type": "shell-local",
+      "command": "./common-packer/ansible-galaxy.sh {{user `ansible_roles_path`}}"
+    },
+    {
+      "type": "ansible",
+      "playbook_file": "provision/mininet-ovs-2.6.yaml",
+      "ansible_env_vars": [
+        "ANSIBLE_NOCOWS=1",
+        "ANSIBLE_PIPELINING=True",
+        "ANSIBLE_ROLES_PATH={{user `ansible_roles_path`}}",
+        "ANSIBLE_CALLBACK_WHITELIST=profile_tasks",
+        "ANSIBLE_STDOUT_CALLBACK=yaml"
+      ]
     }
   ]
 }