Merge "Add upgrade tests job"
authorDaniel Farrell <dfarrell@redhat.com>
Tue, 27 Nov 2018 02:40:23 +0000 (02:40 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 27 Nov 2018 02:40:23 +0000 (02:40 +0000)
167 files changed:
docs/cloud-images.rst
global-jjb
jenkins-config/clouds/openstack/odlvex/ubuntu1604-mininet-ovs-25-1c-4g.cfg
jjb/aaa/aaa-csit-tls.yaml
jjb/aaa/aaa-patch-test.yaml
jjb/aaa/aaa.yaml
jjb/alto/alto.yaml
jjb/archetypes/archetypes.yaml
jjb/autorelease/autorelease-macros.yaml
jjb/autorelease/autorelease-projects.yaml
jjb/autorelease/autorelease-templates.yaml
jjb/autorelease/compare-autorelease-projects.sh
jjb/autorelease/update-validate-autorelease-projects.sh
jjb/autorelease/view-autorelease-neon.yaml
jjb/bgpcep/bgpcep.yaml
jjb/bier/bier.yaml
jjb/capwap/capwap.yaml
jjb/cardinal/cardinal.yaml
jjb/centinel/centinel.yaml
jjb/coe/coe-csit.yaml
jjb/coe/coe.yaml
jjb/controller/controller-patch-test.yaml
jjb/controller/controller.yaml
jjb/coretutorials/coretutorials.yaml
jjb/daexim/daexim.yaml
jjb/defaults.yaml
jjb/didm/didm.yaml
jjb/dlux/dlux.yaml
jjb/dluxapps/dluxapps.yaml
jjb/docs/docs-rtd.yaml
jjb/eman/eman.yaml
jjb/faas/faas.yaml
jjb/federation/federation.yaml
jjb/generate-p2pom.sh [deleted file]
jjb/genius/genius-csit-genius.yaml
jjb/genius/genius-patch-test.yaml
jjb/genius/genius.yaml
jjb/groupbasedpolicy/groupbasedpolicy-csit-1node-openstack.yaml
jjb/groupbasedpolicy/groupbasedpolicy.yaml
jjb/honeycomb/vbd/vbd.yaml
jjb/infrautils/infrautils-patch-test.yaml
jjb/infrautils/infrautils.yaml
jjb/integration/common-functions.sh
jjb/integration/csit-jobs-fluorine.lst
jjb/integration/csit-jobs-neon.lst
jjb/integration/csit-jobs-oxygen.lst
jjb/integration/distribution/distribution-jobs.yaml
jjb/integration/distribution/distribution-templates.yaml
jjb/integration/integration-deploy-openstack-run-test.sh
jjb/integration/integration-install-robotframework.sh
jjb/integration/integration-templates.yaml
jjb/integration/integration-test-jobs.yaml
jjb/integration/multipatch-distribution.sh
jjb/iotdm/iotdm.yaml
jjb/jsonrpc/jsonrpc.yaml
jjb/l2switch/l2switch.yaml
jjb/lacp/lacp-csit-lacp.yaml
jjb/lacp/lacp.yaml
jjb/lf-infra/lf-infra-jobs.yaml
jjb/lfn/lfn.yaml
jjb/lispflowmapping/lispflowmapping.yaml
jjb/mdsal/mdsal-patch-test.yaml
jjb/mdsal/mdsal.yaml
jjb/natapp/natapp.yaml
jjb/nemo/nemo.yaml
jjb/netconf/netconf-cluster-stress.yaml [deleted file]
jjb/netconf/netconf-clustering-scale.yaml
jjb/netconf/netconf-clustering.yaml
jjb/netconf/netconf-patch-test.yaml
jjb/netconf/netconf.yaml
jjb/netide/netide.yaml
jjb/netvirt/netvirt-csit-hwvtep-openstack.yaml
jjb/netvirt/netvirt-csit-multi-apex.yaml
jjb/netvirt/netvirt-csit-multi-openstack-upgrade.yaml
jjb/netvirt/netvirt-csit-multi-openstack.yaml
jjb/netvirt/netvirt-dependencies.yaml [new file with mode: 0644]
jjb/netvirt/netvirt.yaml
jjb/netvirt/quagga-build.sh [new file with mode: 0644]
jjb/neutron/neutron-patch-test.yaml
jjb/neutron/neutron.yaml
jjb/next/next.yaml
jjb/nic/nic.yaml
jjb/ocpplugin/ocpplugin.yaml
jjb/odl-openstack-check-image-protection.sh [deleted file]
jjb/odl-openstack-cleanup-old-images.sh [deleted file]
jjb/odl-openstack-cleanup-orphaned-nodes.sh [deleted file]
jjb/odl-openstack-cleanup-stale-nodes.sh [deleted file]
jjb/odl-openstack-cleanup-stale-stacks.sh [deleted file]
jjb/odl-openstack-cleanup-stale-volumes.sh [deleted file]
jjb/odl-openstack-install.sh [deleted file]
jjb/odlparent/odlparent-patch-test.yaml
jjb/odlparent/odlparent.yaml
jjb/odltools/odltools-csit.yaml
jjb/odltools/odltools.yaml
jjb/of-config/of-config.yaml
jjb/openci/openci-odl-daily-jobs.yaml
jjb/openflowplugin/openflowplugin-csit-bundle-based-reconciliation.yaml
jjb/openflowplugin/openflowplugin-csit-cbench.yaml
jjb/openflowplugin/openflowplugin-csit-clustering-bulkomatic.yaml
jjb/openflowplugin/openflowplugin-csit-clustering-perf-bulkomatic.yaml
jjb/openflowplugin/openflowplugin-csit-clustering.yaml
jjb/openflowplugin/openflowplugin-csit-flow-services.yaml
jjb/openflowplugin/openflowplugin-csit-longevity.yaml
jjb/openflowplugin/openflowplugin-csit-perf-bulkomatic.yaml
jjb/openflowplugin/openflowplugin-csit-perf-stats-collection.yaml
jjb/openflowplugin/openflowplugin-csit-sanity.yaml
jjb/openflowplugin/openflowplugin-csit-scale-link.yaml
jjb/openflowplugin/openflowplugin-csit-scale-switch.yaml
jjb/openflowplugin/openflowplugin-csit-scale.yaml
jjb/openflowplugin/openflowplugin-patch-test.yaml
jjb/openflowplugin/openflowplugin.yaml
jjb/opflex/opflex-macros.yaml
jjb/opflex/opflex.yaml
jjb/opflex/scripts/deploy-opflex.sh
jjb/ovil/ovil.yaml
jjb/ovsdb/ovsdb-full-integration.yaml
jjb/ovsdb/ovsdb-patch-test.yaml
jjb/ovsdb/ovsdb-sonar.yaml
jjb/ovsdb/ovsdb.yaml
jjb/p4plugin/p4plugin.yaml
jjb/packaging/ansible.yaml
jjb/packaging/packaging.yaml
jjb/packaging/puppet.yaml
jjb/packaging/test-ansible-deb-custom-config.sh [new file with mode: 0644]
jjb/packaging/test-ansible-deb-default-config.sh [new file with mode: 0644]
jjb/packaging/test-ansible-deb.sh [deleted file]
jjb/packaging/test-ansible-rpm-custom-config.sh
jjb/packaging/test-ansible-rpm-default-config.sh
jjb/packetcable/packetcable.yaml
jjb/releng-jobs.yaml
jjb/releng-macros.yaml
jjb/releng-templates-java.yaml
jjb/releng-templates.yaml [deleted file]
jjb/releng-views.yaml
jjb/sdninterfaceapp/sdninterfaceapp.yaml
jjb/serviceutils/serviceutils-patch-test.yaml
jjb/serviceutils/serviceutils.yaml
jjb/sfc/sfc.yaml
jjb/snbi/snbi.yaml
jjb/snmp/snmp.yaml
jjb/snmp4sdn/snmp4sdn.yaml
jjb/stage-release.sh [deleted file]
jjb/sxp/sxp.yaml
jjb/systemmetrics/systemmetrics.yaml
jjb/telemetry/telemetry.yaml
jjb/transportpce/transportpce.yaml
jjb/tsdr/tsdr.yaml
jjb/ttp/ttp.yaml
jjb/unimgr/unimgr.yaml
jjb/update-p2composite-metadata.sh [deleted file]
jjb/usc/usc.yaml
jjb/usecplugin/usecplugin.yaml
jjb/yangtools/yangtools-patch-test.yaml
jjb/yangtools/yangtools.yaml
packer/common-packer
packer/templates/devstack-pre-pip-pike.json
packer/templates/devstack-pre-pip-queens.json
packer/templates/devstack.json
packer/templates/gbp.json
packer/templates/kubernetes.json
packer/templates/mininet-ovs-2.5.json
packer/templates/mininet-ovs-2.6.json
packer/templates/mininet-ovs-2.8.json
packer/templates/robot.json
packer/vars/cloud-env.json.example [deleted file]
scripts/check-unicode.sh [deleted file]
tox.ini

index cb87663208630687bd95207e16d2469ffe8245c6..a2ecf7bf832ccf4a9af8a38db7f69f8a6f99aa07 100644 (file)
@@ -1,33 +1,2 @@
 Following are the list of published images available to be used with Jenkins jobs.
 
-* ZZCI - CentOS 7 - autorelease - 20180125-2240
-* ZZCI - CentOS 7 - builder - 20180201-2139
-* ZZCI - CentOS 7 - builder - 20180611-1830
-* ZZCI - CentOS 7 - builder - 20180723-235310.638
-* ZZCI - CentOS 7 - builder - 20180802-220823.782
-* ZZCI - CentOS 7 - builder - x86_64 - 20180823-152917.621
-* ZZCI - CentOS 7 - devstack - 20171208-1648
-* ZZCI - CentOS 7 - devstack - 20180723-235345.727
-* ZZCI - CentOS 7 - devstack-ocata - 20171208-1649
-* ZZCI - CentOS 7 - devstack-pike - 20171208-1649
-* ZZCI - CentOS 7 - docker - 20171209-0317
-* ZZCI - CentOS 7 - docker - 20180109-0346
-* ZZCI - CentOS 7 - docker - 20180110-1659
-* ZZCI - CentOS 7 - docker - 20180417-0311
-* ZZCI - CentOS 7 - docker - 20180723-235456.035
-* ZZCI - CentOS 7 - java-builder - 20171206-1842
-* ZZCI - CentOS 7 - java-builder - 20171209-0032
-* ZZCI - CentOS 7 - robot - 20180601-2050
-* ZZCI - Ubuntu 14.04 - gbp - 20171208-2336
-* ZZCI - Ubuntu 14.04 - gbp - 20180723-235516.505
-* ZZCI - Ubuntu 16.04 - docker - 20180601-2047
-* ZZCI - Ubuntu 16.04 - gbp - 20171213-2018
-* ZZCI - Ubuntu 16.04 - gbp - 20180723-235534.431
-* ZZCI - Ubuntu 16.04 - kubernetes - 20180527-1344
-* ZZCI - Ubuntu 16.04 - kubernetes - 20180723-235526.580
-* ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
-* ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20180723-235543.682
-* ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847
-* ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20180723-235543.774
-* ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180301-1041
-* ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507
index 70c97bbbfbd071c6e75f7a3d47a453ee863c69ec..8b56734eada742094399d6e52cbc2ddef7b39b2c 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 70c97bbbfbd071c6e75f7a3d47a453ee863c69ec
+Subproject commit 8b56734eada742094399d6e52cbc2ddef7b39b2c
index 12c0534fbd463fe7f1152209cf54a5c4b71caae7..c3eab9e1eafbffdadf437f4eb7eda992b9ffa103 100644 (file)
@@ -1,2 +1,2 @@
-IMAGE_NAME=ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20180723-235543.682
+IMAGE_NAME=ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20181029-223449.514
 HARDWARE_ID=odl-standard-1
index 9afe09314192da169c3fb1968aec9476ec5d0768..fc0c7a97b0ddc833ba460e01d4021dc38368d09b 100644 (file)
@@ -30,4 +30,4 @@
     robot-options: ''
 
     # mininet image
-    tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20180723-235543.682
+    tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20181029-223449.514
index 435bbf8cf825f19a1defbbd6fff288c3d117f415..06f0b3224df15dd51f7c1d47612e15c92775a53e 100644 (file)
@@ -36,4 +36,4 @@
 
       - genius:
           csit-list: >
-              genius-csit-1node-gate-all-{stream}
+              genius-csit-1node-gate-only-{stream}
index 01390c0781c228430f59c6b0d86ee19350b17cbf..17bef2d6d2dfeab422b06bf33a90f227a63f7d6b 100644 (file)
@@ -74,8 +74,8 @@
     mvn-settings: 'aaa-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: aaa
-    description: 'List of aaa jobs'
-    regex: '^aaa-.*'
-    <<: *releng_view_common
+- project:
+    name: aaa-view
+    views:
+      - project-view
+    project-name: aaa
index 2c06d8482bd62e28db47c0d8ca0926129f0665a7..bde65374976126bafbe24f0718023f3025e4d5d9 100644 (file)
@@ -66,8 +66,8 @@
     mvn-settings: 'alto-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: alto
-    description: 'List of alto jobs'
-    regex: '^alto-.*'
-    <<: *releng_view_common
+- project:
+    name: alto-view
+    views:
+      - project-view
+    project-name: alto
index 2f7052779831a133e8d8f4165b2c71e820222f76..b9a9761215044ce3f932877d849dacc86e2ddf94 100644 (file)
@@ -57,8 +57,8 @@
     branch: 'master'
     mvn-settings: 'archetypes-settings'
 
-- view:
-    name: archetypes
-    regex: '^archetypes-.*'
-    description: 'List of archetypes jobs'
-    <<: *releng_view_common
+- project:
+    name: archetypes-view
+    views:
+      - project-view
+    project-name: archetypes
index 60e3cfd9da0e5137d6161e0c56528d5d6f61beed..e66dc54b666d246aed896307430c97457daf16f5 100644 (file)
           settings-type: cfp
           global-settings: '{global-settings}'
           global-settings-type: cfp
-
-- builder:
-    name: autorelease-maven-sources-post-process
-    builders:
       - shell: |
           awk '/The following files have NOT been resolved:/,/^$/' sources.log > missing-sources.log
 
index 7818f8045d759551a6b5cb73e8667c8a73c21e2a..f0a200402575c3fbb1e9f102e66f7745318671b9 100644 (file)
@@ -43,8 +43,8 @@
         **/target/feature/feature.xml
     # TODO: **/*.hprof is too large, compress with xz first
 
-- view:
-    name: autorelease
-    description: 'List of autorelease jobs'
-    regex: '^autorelease-.*'
-    <<: *releng_view_common
+- project:
+    name: autorelease-view
+    views:
+      - project-view
+    project-name: autorelease
index 3d5bd1d66ee4feb1d9153d7f1aa3747d81b93a1d..50a23191e5080fa7f000a29415e6238eb7447310 100644 (file)
@@ -38,6 +38,7 @@
           refspec: 'refs/heads/master'
           jenkins-ssh-credential: opendaylight-jenkins-ssh
           submodule-recursive: true
+          submodule-timeout: 10
           choosing-strategy: default
 
     wrappers:
@@ -78,7 +79,7 @@
 
     parameters:
       - maven-exec:
-          maven-version: 'mvn35'
+          maven-version: '{mvn-version}'
       - lf-infra-parameters:
           project: '{project}'
           stream: '{stream}'
       - lf-maven-install:
           mvn-version: '{mvn-version}'
       - wipe-local-maven-repo
-      - jacoco-nojava-workaround
+      - lf-jacoco-nojava-workaround
       - shell: "./scripts/list-project-dependencies.sh"
       - autorelease-determine-merge-order
       - autorelease-cfp:
       # to enable building in a single maven reactor afterwards.
       - autorelease-fix-relative-paths
       - maven-target:
-          maven-version: 'mvn35'
+          maven-version: '{mvn-version}'
           pom: 'pom.xml'
           goals: |
               clean deploy
       - autorelease-get-integration-test-variables
       - autorelease-maven-sources:
           opendaylight-infra-mvn-opts: '{opendaylight-infra-mvn-opts}'
-          maven-version: 'mvn35'
+          maven-version: '{mvn-version}'
           settings: 'autorelease-settings'
           global-settings: 'global-settings'
-      - autorelease-maven-sources-post-process
       - shell: |
           mkdir -p archives/
           cp *.log *.prop $_
           refspec: 'refs/heads/{branch}'
           jenkins-ssh-credential: opendaylight-jenkins-ssh
           submodule-recursive: true
+          submodule-timeout: 10
           choosing-strategy: default
 
     wrappers:
           refspec: 'refs/heads/master'
           jenkins-ssh-credential: opendaylight-jenkins-ssh
           submodule-recursive: true
+          submodule-timeout: 10
           choosing-strategy: default
 
     triggers:
           refspec: 'refs/heads/{branch}'
           jenkins-ssh-credential: opendaylight-jenkins-ssh
           submodule-recursive: true
+          submodule-timeout: 10
           choosing-strategy: default
 
     wrappers:
           refspec: '$GERRIT_REFSPEC'
           jenkins-ssh-credential: opendaylight-jenkins-ssh
           submodule-recursive: true
+          submodule-timeout: 10
           choosing-strategy: default
 
     wrappers:
       - lf-infra-pre-build
       - autorelease-checkout-gerrit-patch
       - autorelease-compare-projects
-      - jacoco-nojava-workaround
+      - lf-jacoco-nojava-workaround
       - shell: "./scripts/list-project-dependencies.sh"
       - autorelease-determine-merge-order
       - autorelease-generate-release-patches
index 49cf4f33715f042f4533a6e0e57f8426d1da82e6..6f63a660cbf7e36e6149cd768ed5792eca5e9cc7 100644 (file)
@@ -32,7 +32,6 @@ for project in "${PROJECTS_INT_DIST[@]}"; do
     fi
 done
 
-project_int_dist+=("mdsal")
 project_int_dist+=("integration/distribution")
 
 # Get a list of all the projects from releng/autorelease repo
index 5bc1901a4e8dc3872ae71cd6e033e08d77ad22f8..a6663752f38ef21ee239d4ca7ab7f146e7e84a14 100644 (file)
@@ -38,11 +38,6 @@ cat > "$YAML_FILE" << EOF
 EOF
 
 for module in "${modules[@]}"; do
-    # TODO: Remove this once mdsal fully becomes an MRI project.
-    if [ "$module" == "mdsal" ] && [ "$BRANCH" == "master" ]; then
-        continue
-    fi
-
     echo "Include $module"
     echo "      - ${module//\//-}:" >> "$YAML_FILE"
     echo "          project: $module" >> "$YAML_FILE"
index 20b90f0c93ef00ac8e6df35e03a6600242cf7432..98e800a2dbb32448f9deb3cedefff18d9351d743 100644 (file)
@@ -31,7 +31,6 @@
       - 'infrautils-maven-merge-neon'
       - 'integration/distribution-maven-merge-neon'
       - 'lispflowmapping-maven-merge-neon'
-      - 'mdsal-maven-merge-neon'
       - 'netconf-maven-merge-neon'
       - 'netvirt-maven-merge-neon'
       - 'neutron-maven-merge-neon'
index 2018d4e0752927dee689aad7419b2be443280ae4..aa10d9a1e481d0a4852c0375a276eec0bc4eb908 100644 (file)
@@ -99,8 +99,8 @@
     mvn-settings: 'bgpcep-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: bgpcep
-    description: 'List of bgpcep jobs'
-    regex: '^bgpcep-.*'
-    <<: *releng_view_common
+- project:
+    name: bgpcep-view
+    views:
+      - project-view
+    project-name: bgpcep
index 953bfee2def412af6c2c00779c20d090e075c5a5..bbebe4c86fc43af4aed1c8831cf10cbbf09eb048 100644 (file)
@@ -69,8 +69,8 @@
     mvn-settings: 'bier-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: bier
-    description: 'List of bier jobs'
-    regex: '^bier-.*'
-    <<: *releng_view_common
+- project:
+    name: bier-view
+    views:
+      - project-view
+    project-name: bier
index 3ecfeb5f1d20b904ce10d75ee8cf67494200764c..55af0a842e071011dcf3ebf8f056b88913ca5a62 100644 (file)
@@ -62,8 +62,9 @@
     mvn-settings: 'capwap-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: capwap
-    description: 'List of capwap jobs'
-    regex: '^capwap-.*'
-    <<: *releng_view_common
+
+- project:
+    name: capwap-view
+    views:
+      - project-view
+    project-name: capwap
index e13cf73b3ee6c38babbe7cf70a22a4e86d01bd0a..24fad7f9afe868017b985e3869cc864a4fdbb070 100644 (file)
@@ -62,8 +62,8 @@
     mvn-settings: 'cardinal-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: cardinal
-    description: 'List of cardinal jobs'
-    regex: '^cardinal-.*'
-    <<: *releng_view_common
+- project:
+    name: cardinal-view
+    views:
+      - project-view
+    project-name: cardinal
index ac2a045fb4051adf13953806a62cbd54e8361ae9..fc12a575bfa3aa4012dba3a14634398e5e73db52 100644 (file)
@@ -62,8 +62,8 @@
     mvn-settings: 'centinel-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: centinel
-    description: 'List of centinel jobs'
-    regex: '^centinel-.*'
-    <<: *releng_view_common
+- project:
+    name: centinel-view
+    views:
+      - project-view
+    project-name: centinel
index 1b0722bd9242240b81579960094357a0db295d7d..2acda6eb014512dd691e81b8d153e0ea9b7b0e37 100644 (file)
@@ -21,5 +21,5 @@
       - all:
           scope: 'all'
 
-    tools_system_count: 3
+    tools_system_count: 5
     tools_system_image: ZZCI - Ubuntu 16.04 - kubernetes - 20180723-235526.580
index e18132ae8b474fe008620c888a092e85f6433fc4..8b01c9e56ca5c8b2082bb95ccd5d44cf8eec1bfa 100644 (file)
@@ -82,8 +82,8 @@
     mvn-settings: 'coe-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: coe
-    description: 'List of coe jobs'
-    regex: '^coe-.*'
-    <<: *releng_view_common
+- project:
+    name: coe-view
+    views:
+      - project-view
+    project-name: coe
index 3eadc236e1ed442057513db60e20f03d69d1b46b..a0890e13056d2ec6fe9a62a63611ebca40fbcc39 100644 (file)
@@ -30,4 +30,4 @@
 
       - genius:
           csit-list: >
-              genius-csit-1node-gate-all-{stream}
+              genius-csit-1node-gate-only-{stream}
index 0fe1d192014eac704d6256aa237525f86aef9b4e..7cd63e38405e9c5edf7a5361f97369f92afe1228 100644 (file)
@@ -88,8 +88,8 @@
     mvn-goals: 'clean deploy -Pintegrationtests,docs'
     mvn-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
 
-- view:
-    name: controller
-    description: 'List of controller jobs'
-    regex: '^controller-.*'
-    <<: *releng_view_common
+- project:
+    name: controller-view
+    views:
+      - project-view
+    project-name: controller
index c62b1b4079c3a609859d44bf968f34d4a3be1e53..98897a155f893277985cbf567c45a8e55828de34 100644 (file)
@@ -65,8 +65,8 @@
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
     build-timeout: 120
 
-- view:
-    name: coretutorials
-    description: 'List of coretutorials jobs'
-    regex: '^coretutorials-.*'
-    <<: *releng_view_common
+- project:
+    name: coretutorials-view
+    views:
+      - project-view
+    project-name: coretutorials
index 9852536a235b52a198035ea3c0dc4ef527ad7b77..99057ec6fb5dc56681ef72d5f0b3f420b3c72890 100644 (file)
@@ -74,8 +74,8 @@
     mvn-settings: 'daexim-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: daexim
-    description: 'List of daexim jobs'
-    regex: '^daexim-.*'
-    <<: *releng_view_common
+- project:
+    name: daexim-view
+    views:
+      - project-view
+    project-name: daexim
index d3947cbe6a105c2ff80cf2269777ca113f3f7e15..8f91a7f7b4ff7e733724e2f3d5ff98041c85aa01 100644 (file)
@@ -3,14 +3,8 @@
 
 - defaults:
     name: global
-    functionality: global
-    stream: global
     prefix: ''  # A prefix for job names sandbox for example: user-
 
-    scriptplan: '{project}.txt'
-    configplan: '{project}.txt'
-    testplan: '{project}-{functionality}.txt'
-    streamtestplan: '{project}-{functionality}-{stream}.txt'
     karaf-version: karaf4
     build-days-to-keep: 30
     use-features-boot: 'True'
@@ -89,8 +83,8 @@
     sm-features: ''
 
     # CSIT images configuration
-    openstack_system_image_queens: ZZCI - CentOS 7 - devstack-queens - 20180911-204058.666
-    openstack_system_image_pike: ZZCI - CentOS 7 - devstack-pike - 20171208-1649
+    openstack_queens_system_image: ZZCI - CentOS 7 - devstack-queens - 20181101-190143.891
+    openstack_pike_system_image: ZZCI - CentOS 7 - devstack-pike - 20171208-1649
     stack-template: csit-2-instance-type.yaml
     docker_system_count: 1
     docker_system_flavor: odl-standard-1
     openstack_system2_image: ZZCI - CentOS 7 - devstack - 20180911-204116.460
     tools_system_count: 1
     tools_system_flavor: odl-highcpu-2
-    tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20180723-235543.682
+    tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20181029-223449.514
 
     # Default Robot framework options
     robot-options: ''
     opendaylight-infra-mvn-opts: |
         --show-version
         --batch-mode
-        -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
         -Djenkins
         -Dmaven.repo.local=/tmp/r
         -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
index 11a7b2cd01a0128694173fb016f5536af94d9ba2..baf62c47e26c3a165113693ace6c69b9c239f388 100644 (file)
@@ -61,8 +61,8 @@
     mvn-settings: 'didm-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: didm
-    description: 'List of didm jobs'
-    regex: '^didm-.*'
-    <<: *releng_view_common
+- project:
+    name: didm-view
+    views:
+      - project-view
+    project-name: didm
index 4308da7d41a7a9ecec40f2e39d6ef81c4fcb9a1b..d3aa75ecfa05e85b56152f9f50f3074b74e89201 100644 (file)
@@ -61,8 +61,8 @@
     mvn-settings: 'dlux-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: dlux
-    description: 'List of dlux jobs'
-    regex: '^dlux-.*'
-    <<: *releng_view_common
+- project:
+    name: dlux-view
+    views:
+      - project-view
+    project-name: dlux
index 85aefe9de3fafb1b6dd2f4859b6ae895c812c598..14e23e2dfd65002e687655620fc21a40f56802bd 100644 (file)
@@ -66,8 +66,8 @@
     mvn-settings: 'dluxapps-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: dluxapps
-    description: 'List of dluxapps jobs'
-    regex: '^dluxapps-.*'
-    <<: *releng_view_common
+- project:
+    name: dluxapps-view
+    views:
+      - project-view
+    project-name: dluxapps
index 7ce8b8cc3712bdcb1ada11df28be85e6afaaf248..53ed32f95cd24cd7fe9bb056a4e57c57951e1ad5 100644 (file)
@@ -21,8 +21,8 @@
     rtd-build-url: https://readthedocs.org/api/v2/webhook/opendaylight/32322/
     rtd-token: 86e54dd38c651e2164ea63c183ae601d19cd1f3c
 
-- view:
-    name: docs
-    description: 'List of docs jobs'
-    regex: '^docs-.*'
-    <<: *releng_view_common
+- project:
+    name: docs-view
+    views:
+      - project-view
+    project-name: docs
index 919c4719b1b4fcde7d78f5c6d302692cacea6f42..be113bbe2615604d97cbf5e22235764b6fcb5667 100644 (file)
@@ -67,8 +67,8 @@
     mvn-settings: 'eman-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: eman
-    description: 'List of eman jobs'
-    regex: '^eman-.*'
-    <<: *releng_view_common
+- project:
+    name: eman-view
+    views:
+      - project-view
+    project-name: eman
index bf762128ab8c9aab115a1c2a6226952b06f254df..1cc73c323edef59132bb845863b42ff1dc3a3198 100644 (file)
@@ -61,8 +61,8 @@
     mvn-settings: 'faas-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: faas
-    description: 'List of faas jobs'
-    regex: '^faas-.*'
-    <<: *releng_view_common
+- project:
+    name: faas-view
+    views:
+      - project-view
+    project-name: faas
index 114719cb31352821c6ac40a033cc577a77fd74c6..1769fe85d5882e4b8f53b640dd71e0a4fde49765 100644 (file)
@@ -65,8 +65,8 @@
     mvn-settings: 'federation-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: federation
-    description: 'List of federation jobs'
-    regex: '^federation-.*'
-    <<: *releng_view_common
+- project:
+    name: federation-view
+    views:
+      - project-view
+    project-name: federation
diff --git a/jjb/generate-p2pom.sh b/jjb/generate-p2pom.sh
deleted file mode 100644 (file)
index 05f54ef..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2016 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-
-if [[ "$P2ZIP_URL" == "" ]]; then
-    P2ZIP_URL=opendaylight.snapshot/$(find . -name "*.zip" -type f -exec ls "{}" + | head -1)
-    FILE_NAME=$(echo "$P2ZIP_URL" | awk -F'/' '{ print $NF }')
-    RELEASE_PATH="snapshot"
-else
-    FILE_NAME=$(echo "$P2ZIP_URL" | awk -F'/' '{ print $NF }')
-    VERSION=$(echo "$P2ZIP_URL" | awk -F'/' '{ print $(NF-1) }')
-    RELEASE_PATH="release/$VERSION"
-    wget --quiet "$P2ZIP_URL" -O "$FILE_NAME"
-fi
-
-# If we detect a snapshot build then release to a snapshot repo
-# YangIDE has indicated that the only want the latest snapshot released to
-# the snapshot directory.
-if echo "$P2ZIP_URL" | grep opendaylight.snapshot; then
-    RELEASE_PATH="snapshot"
-fi
-
-cat > "${WORKSPACE}/pom.xml" <<EOF
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.opendaylight.$PROJECT</groupId>
-  <artifactId>p2repo</artifactId>
-  <version>1.0.0-SNAPSHOT</version>
-  <packaging>pom</packaging>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <version>2.8.2</version>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.sonatype.plugins</groupId>
-        <artifactId>maven-upload-plugin</artifactId>
-        <version>0.0.1</version>
-        <executions>
-          <execution>
-            <id>publish-site</id>
-            <phase>deploy</phase>
-            <goals>
-              <goal>upload-file</goal>
-            </goals>
-            <configuration>
-              <serverId>opendaylight-p2</serverId>
-              <repositoryUrl>https://nexus.opendaylight.org/service/local/repositories/p2repos/content-compressed</repositoryUrl>
-              <file>$FILE_NAME</file>
-              <repositoryPath>org.opendaylight.$PROJECT/$RELEASE_PATH</repositoryPath>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
-EOF
index 416058edc6794fde7096a0d8ff69117e58ce4deb..46315bb4b09d9bdde34ed71345342177d91a1428 100644 (file)
@@ -2,8 +2,8 @@
 - project:
     name: genius-csit-genius-oxygen-fluorine
     jobs:
-      - inttest-csit-1node
-      - inttest-csit-3node
+      - inttest-csit-1node-custom
+      - inttest-csit-3node-custom
 
     project: 'genius'
 
@@ -13,6 +13,8 @@
       - 'tdd-wip':
           testplan: '{project}-tdd-wip.txt'
 
+    testplan: '{project}-{functionality}.txt'
+
     stream:
       - neon:
           branch: 'master'
@@ -22,8 +24,8 @@
           branch: 'stable/oxygen'
 
     install:
-      - all:
-          scope: 'all'
+      - only:
+          scope: 'only'
 
     tools_system_count: 3
 
@@ -49,8 +51,8 @@
     verify-karaf-version: 'karaf4'
 
     install:
-      - all:
-          scope: 'all'
+      - only:
+          scope: 'only'
 
     tools_system_count: 3
 
index 6b400ad862fa02627d640256ecbc44f3242eb293..77067e5cb78b551cdb949ffa7448bca760d84fa1 100644 (file)
 
       - genius:
           csit-list: >
-              genius-csit-1node-gate-all-{stream}
+              genius-csit-1node-gate-only-{stream}
 
       - cluster:
           csit-list: >
-              genius-csit-3node-gate-all-{stream}
+              genius-csit-3node-gate-only-{stream}
 
       - tdd-wip:
           csit-list: >
-              genius-csit-1node-tdd-wip-all-{stream}
+              genius-csit-1node-tdd-wip-only-{stream}
index 6461944d360e8373e671587ac4907dedf51941e8..4036ef22cef63f6121736caa746a13d2946decf2 100644 (file)
     mvn-settings: 'genius-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: genius
-    description: 'List of genius jobs'
-    regex: '^genius-.*'
-    <<: *releng_view_common
+- project:
+    name: genius-view
+    views:
+      - project-view
+    project-name: genius
index 6b33561b93d8f4454f90d24cf641402fe58cd379..732faf41eecfd4210190392bb47318bfba7dbefd 100644 (file)
@@ -2,7 +2,7 @@
 - project:
     name: groupbasedpolicy-csit-openstack-integration
     jobs:
-      - inttest-csit-openstack
+      - inttest-csit-openstack-custom
 
     # The project name
     project: 'groupbasedpolicy'
index 607b26b738692e0676e517b5a28c11fd54c85153..25cbca1dc9b00f088e6d585210da657e3825ebaf 100644 (file)
@@ -87,8 +87,8 @@
     mvn-goals: '-U clean deploy findbugs:findbugs'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: groupbasedpolicy
-    description: 'List of groupbasedpolicy jobs'
-    regex: '^groupbasedpolicy-.*'
-    <<: *releng_view_common
+- project:
+    name: groupbasedpolicy-view
+    views:
+      - project-view
+    project-name: groupbasedpolicy
index ff6d95171693d78e337f3e82a6351e84818bdde8..659a5765527f5d883be8afeced29d28d5c32fbee 100644 (file)
@@ -61,8 +61,8 @@
     mvn-settings: 'honeycomb-vbd-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: vbd
-    description: 'List of vbd jobs'
-    regex: '^vbd-.*'
-    <<: *releng_view_common
+- project:
+    name: vbd-view
+    views:
+      - project-view
+    project-name: vbd
index 0ad48be4ec91671d9478547688a3ead3cf300fe7..b584fff798d72c56743f40865683a0e6d113176b 100644 (file)
@@ -30,4 +30,8 @@
 
       - genius:
           csit-list: >
-              genius-csit-1node-gate-all-{stream}
+              genius-csit-1node-gate-only-{stream}
+
+      - genius-cluster:
+          csit-list: >
+              genius-csit-3node-gate-only-{stream}
index 6ccd941b0e96a5a5bfcfda659a26b1b0e2705381..563eb54f694c76975d65e6893f9b79035c5ae694 100644 (file)
@@ -84,8 +84,8 @@
     mvn-settings: 'infrautils-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: infrautils
-    description: 'List of infrautils jobs'
-    regex: '^infrautils-.*'
-    <<: *releng_view_common
+- project:
+    name: infrautils-view
+    views:
+      - project-view
+    project-name: infrautils
index 0e1af1bbb4dbc800489dbfd3fb5844d2afec6036..53ed46ada9c6fa5a09ffda094bfca2c8095fa7a3 100644 (file)
@@ -418,6 +418,7 @@ EOF
     mkdir -p ${WORKSPACE}/archives
 
     mv /tmp/changes.txt ${WORKSPACE}/archives
+    mv /tmp/validations.txt ${WORKSPACE}/archives
     mv ${WORKSPACE}/rabbit.txt ${WORKSPACE}/archives
     mv ${WORKSPACE}/haproxy.cfg ${WORKSPACE}/archives
     ssh ${OPENSTACK_HAPROXY_1_IP} "sudo journalctl -u haproxy > /tmp/haproxy.log"
index a714bfbba3a9eccc47b5f0a27d96a03abbe8dbdc..43a7c9faa9425ddeb2bbbab772b38c129dca7f9b 100644 (file)
@@ -19,8 +19,8 @@ daexim-csit-1node-basic-only-fluorine,
 daexim-csit-3node-clustering-basic-only-fluorine,
 distribution-csit-1node-userfeatures-all-fluorine,
 distribution-csit-managed-fluorine,
-genius-csit-1node-upstream-all-fluorine,
-genius-csit-3node-upstream-all-fluorine,
+genius-csit-1node-upstream-only-fluorine,
+genius-csit-3node-upstream-only-fluorine,
 lispflowmapping-csit-1node-msmr-all-fluorine,
 lispflowmapping-csit-1node-performance-only-fluorine,
 lispflowmapping-csit-3node-msmr-all-fluorine,
@@ -28,9 +28,8 @@ mdsal-csit-1node-bindingv1-only-fluorine,
 netconf-csit-1node-callhome-only-fluorine,
 netconf-csit-1node-scale-only-fluorine,
 netconf-csit-1node-userfeatures-all-fluorine,
-netconf-csit-3node-cluster-stress-all-fluorine,
-netconf-csit-3node-clustering-all-fluorine,
-netconf-csit-3node-clustering-scale-all-fluorine,
+netconf-csit-3node-clustering-only-fluorine,
+netconf-csit-3node-clustering-scale-only-fluorine,
 netvirt-csit-1node-0cmb-1ctl-2cmp-apex-queens-upstream-snat-conntrack-fluorine,
 netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-sfc-fluorine,
 netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upgrade-fluorine,
index 57be9966ae629e4bd4e9da811d0a362afb12ea4b..624bd5ea2f2d51b9e168307288ac2f9d45639c19 100644 (file)
@@ -19,8 +19,8 @@ daexim-csit-1node-basic-only-neon,
 daexim-csit-3node-clustering-basic-only-neon,
 distribution-csit-1node-userfeatures-all-neon,
 distribution-csit-managed-neon,
-genius-csit-1node-upstream-all-neon,
-genius-csit-3node-upstream-all-neon,
+genius-csit-1node-upstream-only-neon,
+genius-csit-3node-upstream-only-neon,
 lispflowmapping-csit-1node-msmr-all-neon,
 lispflowmapping-csit-1node-performance-only-neon,
 lispflowmapping-csit-3node-msmr-all-neon,
@@ -28,9 +28,8 @@ mdsal-csit-1node-bindingv1-only-neon,
 netconf-csit-1node-callhome-only-neon,
 netconf-csit-1node-scale-only-neon,
 netconf-csit-1node-userfeatures-all-neon,
-netconf-csit-3node-cluster-stress-all-neon,
-netconf-csit-3node-clustering-all-neon,
-netconf-csit-3node-clustering-scale-all-neon,
+netconf-csit-3node-clustering-only-neon,
+netconf-csit-3node-clustering-scale-only-neon,
 netvirt-csit-1node-0cmb-1ctl-2cmp-apex-queens-upstream-snat-conntrack-neon,
 netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-sfc-neon,
 netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upgrade-neon,
index c6985d86aeaa0784c31e700a10cbd136383df0e0..07703374698ad0dc851b5c781bb3dbdbb410b05c 100644 (file)
@@ -22,8 +22,8 @@ daexim-csit-3node-clustering-basic-only-oxygen,
 distribution-csit-1node-userfeatures-all-oxygen,
 distribution-csit-managed-oxygen,
 dluxapps-csit-1node-yangman-all-oxygen,
-genius-csit-1node-upstream-all-oxygen,
-genius-csit-3node-upstream-all-oxygen,
+genius-csit-1node-upstream-only-oxygen,
+genius-csit-3node-upstream-only-oxygen,
 groupbasedpolicy-csit-1node-3-node-all-oxygen,
 groupbasedpolicy-csit-1node-6node-all-oxygen,
 groupbasedpolicy-csit-1node-sxp-only-oxygen,
@@ -39,9 +39,8 @@ nemo-csit-1node-engine-all-oxygen,
 netconf-csit-1node-callhome-only-oxygen,
 netconf-csit-1node-scale-only-oxygen,
 netconf-csit-1node-userfeatures-all-oxygen,
-netconf-csit-3node-cluster-stress-all-oxygen,
-netconf-csit-3node-clustering-all-oxygen,
-netconf-csit-3node-clustering-scale-all-oxygen,
+netconf-csit-3node-clustering-only-oxygen,
+netconf-csit-3node-clustering-scale-only-oxygen,
 netvirt-csit-1node-0cmb-1ctl-1cmp-openstack-queens-sfc-oxygen,
 netvirt-csit-1node-0cmb-1ctl-2cmp-apex-queens-upstream-snat-conntrack-oxygen,
 netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-itm-direct-tunnels-oxygen,
index 30cfc318aa8ff8b17510854ad2c97e0081b9bcf5..c7d8c96ebaa4c7e0da3df0dd7f00658beaad41b5 100644 (file)
@@ -26,7 +26,7 @@
           sm-repos: >
               mvn:org.opendaylight.sxp/features-sxp//xml/features,
               mvn:org.opendaylight.tsdr/features-tsdr//xml/features,
-              mvn:org.opendaylight.unimgr/features4-unimgr//xml/features,
+              mvn:org.opendaylight.unimgr/features4-unimgr//xml/features
           sm-features: >
               odl-sxp-routing,
               odl-tsdr-core,
               odl-tsdr-cassandra,
               odl-tsdr-hbase,
               odl-tsdr-hsqldb,
-              odl-tsdr-elasticsearch,
-              odl-unimgr,
-              odl-unimgr-template-driver,
-              odl-unimgr-cisco-xr-driver,
-              odl-unimgr-ovs-driver,
+              odl-tsdr-elasticsearch
       - fluorine:
           branch: 'stable/fluorine'
           karaf-version: odl
@@ -52,7 +48,7 @@
               mvn:org.opendaylight.sxp/features-sxp//xml/features,
               mvn:org.opendaylight.transportpce/features-transportpce//xml/features,
               mvn:org.opendaylight.tsdr/features-tsdr//xml/features,
-              mvn:org.opendaylight.unimgr/features4-unimgr//xml/features,
+              mvn:org.opendaylight.unimgr/features4-unimgr//xml/features
           sm-features: >
               odl-snmp4sdn-snmp4sdn
               odl-sxp-routing,
@@ -73,7 +69,7 @@
               odl-unimgr,
               odl-unimgr-template-driver,
               odl-unimgr-cisco-xr-driver,
-              odl-unimgr-ovs-driver,
+              odl-unimgr-ovs-driver
       - oxygen:
           branch: 'stable/oxygen'
           karaf-version: karaf4
     mvn-goals: clean install dependency:tree -DoutputFile=dependency_tree.txt
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: distribution
-    description: 'List of distribution jobs'
-    regex: '^(integration-)?distribution-.*'
-    <<: *releng_view_common
+- project:
+    name: distribution-view
+    views:
+      - common-view
+    view-name: distribution
+    view-regex: '^(integration-)?distribution-.*'
index ece5c1073cc6aecac37b2c15d9ad47a7c4567580..dff504740b240d78381e39281870f373dd464a55 100644 (file)
@@ -1,7 +1,4 @@
 ---
-- project:
-    name: distribution-templates
-
 - job-template:
     name: '{project-name}-distribution-check-{stream}'
 
@@ -11,6 +8,13 @@
 
     java-version: openjdk8
     mvn-version: mvn35
+    csit-gate-list: ''
+    block_on_csit: false
+    # Unless block_on_csit is true, the failure-threshold will be ignored. For project jobs that
+    # want to fail distribution check on csit jobs, they will only need a list of jobs to run
+    # plus the change of block_on_csit to true, and this failure-threshold: 'UNSTABLE' will take
+    # effect
+    failure-threshold: 'UNSTABLE'
 
     #####################
     # Job Configuration #
           dist-pom: distribution/pom.xml
       - distribution-check-bootup
 
+      - trigger-builds:
+          - project: '{csit-gate-list}'
+            block: '{obj:block_on_csit}'
+            block-thresholds:
+              failure-threshold: '{failure-threshold}'
+            predefined-parameters: |
+              BUNDLE_URL=$BUNDLE_URL
+              KARAF_VERSION=$KARAF_VERSION
+
     publishers:
       - email-notification:
           email-recipients: '{email-recipients}'
 
     builders:
       - wipe-org-opendaylight-repo
-      - provide-maven-settings:
+      - lf-provide-maven-settings:
           global-settings-file: 'global-settings'
           settings-file: 'integration-settings'
       - maven-target:
 
     prebuilders:
       - wipe-org-opendaylight-repo
-      - jacoco-nojava-workaround
-      - provide-maven-settings:
+      - lf-jacoco-nojava-workaround
+      - lf-provide-maven-settings:
           global-settings-file: 'global-settings'
           settings-file: 'integration-settings'
       - integration-set-variables
           email-prefix: '[{project-name}]'
       - integration-csit-archive-build
       - lf-infra-publish
-
index ecdae70c7be412754122f6cfd86aed1a7e64f5c0..95c26c47c9100be49ed0805999d9afe5b469654c 100644 (file)
@@ -476,10 +476,9 @@ defaults
   retries  3
   timeout  http-request 10s
   timeout  queue 2m
-  timeout  connect 10s
-  timeout  client 2m
-  timeout  server 2m
-  timeout  check 10s
+  timeout  connect 5s
+  timeout  client 5s
+  timeout  server 5s
 
 listen opendaylight
   bind ${haproxy_ip}:8181 transparent
@@ -501,16 +500,14 @@ EOF
 listen opendaylight_ws
   bind ${haproxy_ip}:8185 transparent
   mode http
-  timeout connect 5s
-  timeout client 25s
-  timeout server 25s
   timeout tunnel 3600s
-  option httpchk GET /diagstatus
+  option httpchk GET /data-change-event-subscription/neutron:neutron/neutron:ports/datastore=OPERATIONAL/scope=SUBTREE HTTP/1.1\r\nHost:\ ws.opendaylight.org\r\nConnection:\ Upgrade\r\nUpgrade:\ websocket\r\nSec-WebSocket-Key:\ haproxy\r\nSec-WebSocket-Version:\ 13\r\nSec-WebSocket-Protocol:\ echo-protocol
+  http-check expect status 101
 EOF
 
     odlindex=1
     for odlip in ${odl_ips[*]}; do
-        echo "  server opendaylight-ws-${odlindex} ${odlip}:8185 check port 8181 fall 5 inter 2000 rise 2" >> ${WORKSPACE}/haproxy.cfg
+        echo "  server opendaylight-ws-${odlindex} ${odlip}:8185 check fall 3 inter 1000 rise 2" >> ${WORKSPACE}/haproxy.cfg
         odlindex=$((odlindex+1))
     done
 
@@ -1203,6 +1200,7 @@ for suite in ${SUITES}; do
     -v TOOLS_SYSTEM_IP:${TOOLS_SYSTEM_1_IP} \
     -v TOOLS_SYSTEM_1_IP:${TOOLS_SYSTEM_1_IP} \
     -v TOOLS_SYSTEM_2_IP:${TOOLS_SYSTEM_2_IP} \
+    -v TOOLS_SYSTEM_3_IP:${TOOLS_SYSTEM_3_IP} \
     -v USER_HOME:${HOME} \
     -v WORKSPACE:/tmp \
     ${TESTOPTIONS} ${suite} || true
index 2385f33a0f36c4707158c3ea84b0e3e1e50e92e1..5c5a74e315dc6b974d9f2a7a09008be3442a709d 100644 (file)
@@ -29,7 +29,7 @@ pip install --upgrade docker-py importlib requests scapy netifaces netaddr ipadd
 pip install --upgrade robotframework-httplibrary \
     requests==2.15.1 \
     robotframework-requests \
-    robotframework-sshlibrary \
+    robotframework-sshlibrary==3.1.1 \
     robotframework-selenium2library \
     robotframework-pycurllibrary
 
index eb5c585c54c6467e3b387b38e2a50d60723897dd..0605320d42a08e9130da4cc81162e1c2e598b33b 100644 (file)
@@ -63,9 +63,9 @@
       - integration-test-options:
           test-options: '{robot-options}'
       - integration-script-plan:
-          script-plan: '{scriptplan}'
+          script-plan: '{project}.txt'
       - integration-config-plan:
-          config-plan: '{configplan}'
+          config-plan: '{project}.txt'
       - integration-stream-test-plan:
           stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
       - integration-test-plan:
       - releng-openstack-stack-delete
       - lf-infra-publish
 
-- job-template:
-    name: '{prefix}{project}-csit-1node-{functionality}-{install}-{stream}'
-    id: inttest-csit-1node
+
+######################
+# inttest-csit-1node #
+######################
+
+- inttest_csit_1node: &inttest_csit_1node
+    name: inttest-csit-1node
+
+    #####################
+    # Default variables #
+    #####################
+
     disable-job: false
-    disabled: '{disable-job}'
+
+    #####################
+    # Job configuration #
+    #####################
 
     project-type: freestyle
     node: centos7-robot-2c-8g
+    concurrent: true
+    disabled: '{disable-job}'
 
     properties:
       - opendaylight-infra-properties:
       - integration-test-options:
           test-options: '{robot-options}'
       - integration-script-plan:
-          script-plan: '{scriptplan}'
+          script-plan: '{project}.txt'
       - integration-config-plan:
-          config-plan: '{configplan}'
+          config-plan: '{project}.txt'
       - integration-stream-test-plan:
-          stream-test-plan: '{streamtestplan}'
+          stream-test-plan: '{project}-{functionality}-{stream}.txt'
       - integration-test-plan:
-          test-plan: '{testplan}'
+          test-plan: '{project}-{functionality}.txt'
       - integration-test-suites:
           test-suites: '{test-suites}'
       - integration-patch-refspec:
       - releng-openstack-stack-delete
       - lf-infra-publish
 
+- job-template:
+    name: '{prefix}{project}-csit-1node-{functionality}-{install}-{stream}'
+    id: inttest-csit-1node
+    <<: *inttest_csit_1node
+
+- job-template:
+    name: '{prefix}{project}-csit-1node-{functionality}-{install}-{stream}'
+    id: inttest-csit-1node-custom
+    <<: *inttest_csit_1node
+
+    parameters:
+      - opendaylight-infra-parameters:
+          os-cloud: '{os-cloud}'
+          project: 'integration/test'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-distribution-stream:
+          stream: '{stream}'
+      - integration-bundle-url:
+          bundle-url: '{bundle-url}'
+      - integration-repo-url:
+          repo-url: '{repo-url}'
+      - integration-controller-scope:
+          controller-scope: '{scope}'
+      - integration-controller-features:
+          controller-features: '{install-features}'
+      - integration-controller-debug-map:
+          controller-debug-map: '{debug-map}'
+      - integration-test-options:
+          test-options: '{robot-options}'
+      - integration-script-plan:
+          script-plan: '{project}.txt'
+      - integration-config-plan:
+          config-plan: '{project}.txt'
+      - integration-stream-test-plan:
+          stream-test-plan: '{project}-{functionality}-{stream}.txt'
+      - integration-test-plan:
+          test-plan: '{testplan}'
+      - integration-test-suites:
+          test-suites: '{test-suites}'
+      - integration-patch-refspec:
+          branch: 'master'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
+      - distribution-karaf-version:
+          karaf-version: '{karaf-version}'
+      - integration-use-features-boot:
+          use-features-boot: 'True'
+
+
 - job-template:
     name: '{prefix}{project}-csit-verify-3node-{functionality}'
     id: inttest-csit-verify-3node
       - integration-test-options:
           test-options: '{robot-options}'
       - integration-script-plan:
-          script-plan: '{scriptplan}'
+          script-plan: '{project}.txt'
       - integration-config-plan:
-          config-plan: '{configplan}'
+          config-plan: '{project}.txt'
       - integration-stream-test-plan:
           stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
       - integration-test-plan:
       - releng-openstack-stack-delete
       - lf-infra-publish
 
-- job-template:
-    name: '{prefix}{project}-csit-3node-{functionality}-{install}-{stream}'
-    id: inttest-csit-3node
-    disabled: false
+
+######################
+# inttest-csit-3node #
+######################
+
+- inttest_csit_3node: &inttest_csit_3node
+    name: inttest-csit-3node
+
+    #####################
+    # Default variables #
+    #####################
+
+    disable-job: false
+
+    #####################
+    # Job configuration #
+    #####################
 
     project-type: freestyle
     node: centos7-robot-2c-8g
+    concurrent: true
+    disabled: '{disable-job}'
 
     properties:
       - opendaylight-infra-properties:
       - integration-test-options:
           test-options: '{robot-options}'
       - integration-script-plan:
-          script-plan: '{scriptplan}'
+          script-plan: '{project}.txt'
       - integration-config-plan:
-          config-plan: '{configplan}'
+          config-plan: '{project}.txt'
       - integration-stream-test-plan:
-          stream-test-plan: '{streamtestplan}'
+          stream-test-plan: '{project}-{functionality}-{stream}.txt'
       - integration-test-plan:
-          test-plan: '{testplan}'
+          test-plan: '{project}-{functionality}.txt'
       - integration-test-suites:
           test-suites: '{test-suites}'
       - integration-patch-refspec:
       - releng-openstack-stack-delete
       - lf-infra-publish
 
+- job-template:
+    name: '{prefix}{project}-csit-3node-{functionality}-{install}-{stream}'
+    id: inttest-csit-3node
+    <<: *inttest_csit_3node
+
+- job-template:
+    name: '{prefix}{project}-csit-3node-{functionality}-{install}-{stream}'
+    id: inttest-csit-3node-custom
+    <<: *inttest_csit_3node
+
+    parameters:
+      - opendaylight-infra-parameters:
+          os-cloud: '{os-cloud}'
+          project: 'integration/test'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-distribution-stream:
+          stream: '{stream}'
+      - integration-bundle-url:
+          bundle-url: '{bundle-url}'
+      - integration-repo-url:
+          repo-url: '{repo-url}'
+      - integration-controller-scope:
+          controller-scope: '{scope}'
+      - integration-controller-features:
+          controller-features: 'odl-jolokia,{install-features}'
+      - integration-controller-debug-map:
+          controller-debug-map: '{debug-map}'
+      - integration-test-options:
+          test-options: '{robot-options}'
+      - integration-script-plan:
+          script-plan: '{project}.txt'
+      - integration-config-plan:
+          config-plan: '{project}.txt'
+      - integration-stream-test-plan:
+          stream-test-plan: '{project}-{functionality}-{stream}.txt'
+      - integration-test-plan:
+          test-plan: '{testplan}'
+      - integration-test-suites:
+          test-suites: '{test-suites}'
+      - integration-patch-refspec:
+          branch: 'master'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
+      - distribution-karaf-version:
+          karaf-version: '{karaf-version}'
+      - integration-use-features-boot:
+          use-features-boot: 'True'
+
+
 - job-template:
     name: '{prefix}{project}-csit-3node-docker-{functionality}-{install}-{stream}'
     id: inttest-csit-3node-docker
       - integration-test-options:
           test-options: '{robot-options}'
       - integration-script-plan:
-          script-plan: '{scriptplan}'
+          script-plan: '{project}.txt'
       - integration-config-plan:
-          config-plan: '{configplan}'
+          config-plan: '{project}.txt'
       - integration-stream-test-plan:
           stream-test-plan: '{project}-{functionality}-{stream}.txt'
       - integration-test-plan:
       - releng-openstack-stack-delete
       - lf-infra-publish
 
-- job-template:
-    # yamllint disable-line rule:line-length
-    name: '{prefix}{project}-csit-hwvtep-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
-    id: inttest-csit-hwvtep-openstack
-    disabled: false
+
+#################################
+# inttest-csit-hwvtep-openstack #
+#################################
+
+- inttest_csit_hwvtep_openstack: &inttest_csit_hwvtep_openstack
+    name: inttest-csit-hwvtep-openstack
+
+    #####################
+    # Default variables #
+    #####################
+
+    disable-job: false
+
+    #####################
+    # Job configuration #
+    #####################
 
     project-type: freestyle
     node: centos7-robot-2c-8g
     concurrent: true
+    disabled: '{disable-job}'
 
     properties:
       - opendaylight-infra-properties:
       - integration-test-options:
           test-options: '{robot-options}'
       - integration-script-plan:
-          script-plan: '{scriptplan}'
+          script-plan: '{project}.txt'
       - integration-config-plan:
-          config-plan: '{configplan}'
+          config-plan: '{project}.txt'
       - integration-test-plan:
-          test-plan: '{testplan}'
+          test-plan: '{project}-{functionality}.txt'
       - integration-test-suites:
           test-suites: '{test-suites}'
       - integration-patch-refspec:
           default: '{ovs-install}'
           description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum
           repo url to pull from.'
+
     scm:
       - integration-gerrit-scm:
           basedir: 'test'
 
 - job-template:
     # yamllint disable-line rule:line-length
-    name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
-    id: inttest-csit-openstack
-    disabled: false
-
-    project-type: freestyle
-    node: centos7-robot-2c-8g
-    concurrent: true
+    name: '{prefix}{project}-csit-hwvtep-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
+    id: inttest-csit-hwvtep-openstack
+    <<: *inttest_csit_hwvtep_openstack
 
-    properties:
-      - opendaylight-infra-properties:
-          build-days-to-keep: '{build-days-to-keep}'
+- job-template:
+    # yamllint disable-line rule:line-length
+    name: '{prefix}{project}-csit-hwvtep-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
+    id: inttest-csit-hwvtep-openstack-custom
+    <<: *inttest_csit_hwvtep_openstack
 
     parameters:
       - opendaylight-infra-parameters:
       - integration-test-options:
           test-options: '{robot-options}'
       - integration-script-plan:
-          script-plan: '{scriptplan}'
+          script-plan: '{project}.txt'
       - integration-config-plan:
-          config-plan: '{configplan}'
+          config-plan: '{project}.txt'
       - integration-test-plan:
           test-plan: '{testplan}'
       - integration-test-suites:
           default: '{odl-ml2-port-binding}'
           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
           network-topology)'
-      - string:
-          name: ENABLE_GRE_TYPE_DRIVERS
-          default: '{enable-gre-type-driver}'
-          description: 'Enable gre tunnel'
       - string:
           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
           default: '{devstack-kubernetes-plugin-repo}'
       - string:
           name: ENABLE_OS_SERVICES
           default: '{enable-openstack-services}'
-          description: 'comma seperated list of services to enable'
+          description: 'comma separated list of services to enable on controller nodes'
       - string:
           name: ENABLE_OS_COMPUTE_SERVICES
           default: '{enable-openstack-compute-services}'
           default: '{ovs-install}'
           description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum
           repo url to pull from.'
-    scm:
-      - integration-gerrit-scm:
-          basedir: 'test'
-          refspec: '$PATCHREFSPEC'
-          branch: 'master'
 
-    wrappers:
-      - opendaylight-infra-wrappers:
-          build-timeout: '{build-timeout}'
 
-    triggers:
-      - timed: '{schedule}'
+##########################
+# inttest-csit-openstack #
+##########################
 
-    builders:
-      - lf-infra-pre-build
-      - integration-infra-stack-3-type:
-          stack-template: '{stack-template}'
-          vm_0_count: '{odl_system_count}'
-          vm_0_flavor: '{odl_system_flavor}'
-          vm_0_image: '{odl_system_image}'
-          vm_1_count: '{openstack_system_count}'
-          vm_1_flavor: '{openstack_system_flavor}'
-          vm_1_image: '{openstack_system_image}'
-          vm_2_count: '{openstack_system2_count}'
-          vm_2_flavor: '{openstack_system2_flavor}'
-          vm_2_image: '{openstack_system2_image}'
-      - integration-install-robotframework
-      - inject:
-          properties-file: 'env.properties'
-      - integration-get-slave-addresses
-      - inject:
-          properties-file: 'slave_addresses.txt'
-      - integration-detect-variables
-      - integration-install-common-functions
-      - integration-deploy-controller-run-test
-      - integration-deploy-openstack-run-test
-      - integration-cleanup-tmp
+- inttest_csit_openstack: &inttest_csit_openstack
+    name: inttest-csit-openstack
 
-    publishers:
-      - integration-robot-tempest:
-          unstable-if: 0.0
-          pass-if: 100.0
-      - email-notification:
-          email-recipients: '{email-recipients}'
-          email-prefix: '[{project}]'
-      - integration-csit-collect-netvirt-logs
-      - integration-csit-archive-build
-      - integration-csit-run-postscript
-      - releng-openstack-stack-delete
-      - lf-infra-publish
+    #####################
+    # Default variables #
+    #####################
 
-# Template: {project}-patch-test-{stream}
-# Goal: Build a patch and run project specific system test on a distribution containing the change
-# Operation: This job template builds a patch, creates a distribution containing the patch, and
-# triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
+    disable-job: false
 
-- job-template:
-    name: '{prefix}{project}-patch-test-{feature}-{stream}'
-    id: inttest-patch-test
+    #####################
+    # Job configuration #
+    #####################
 
     project-type: freestyle
-    node: centos7-builder-2c-8g
+    node: centos7-robot-2c-8g
     concurrent: true
-    jdk: '{java-version}'
+    disabled: '{disable-job}'
 
     properties:
       - opendaylight-infra-properties:
     parameters:
       - opendaylight-infra-parameters:
           os-cloud: '{os-cloud}'
-          project: '{project}'
+          project: 'integration/test'
           branch: '{branch}'
           refspec: 'refs/heads/{branch}'
           artifacts: '{archive-artifacts}'
       - integration-distribution-branch:
           branch: '{branch}'
+      - integration-distribution-stream:
+          stream: '{stream}'
+      - integration-bundle-url:
+          bundle-url: '{bundle-url}'
+      - integration-repo-url:
+          repo-url: '{repo-url}'
+      - integration-controller-features:
+          controller-features: '{install-features}'
+      - integration-controller-debug-map:
+          controller-debug-map: '{debug-map}'
+      - integration-test-options:
+          test-options: '{robot-options}'
+      - integration-script-plan:
+          script-plan: '{project}.txt'
+      - integration-config-plan:
+          config-plan: '{project}.txt'
+      - integration-test-plan:
+          test-plan: '{project}-{functionality}.txt'
+      - integration-test-suites:
+          test-suites: '{test-suites}'
+      - integration-patch-refspec:
+          branch: 'master'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
       - distribution-karaf-version:
           karaf-version: '{karaf-version}'
-      - integration-distribution-git-url:
-          git-url: '{git-url}'
+      - integration-use-features-boot:
+          use-features-boot: '{use-features-boot}'
       - string:
-          name: feature
-          default: 'all'
-          description: 'Specific feature test for patch'
-      - maven-exec:
-          maven-version: mvn35
-
-    scm:
-      - integration-gerrit-scm:
-          basedir: '{project}'
-          refspec: '$GERRIT_REFSPEC'
+          name: OPENSTACK_BRANCH
+          default: '{openstack-branch}'
+          description: 'Openstack version to use with devstack'
+      - string:
+          name: DEVSTACK_HASH
+          default: '{devstack-hash}'
+          description: 'devstack hash to checkout'
+      - string:
+          name: ODL_ML2_DRIVER_REPO
+          default: '{odl-ml2-driver-repo}'
+          description: 'URL to fetch networking-odl driver'
+      - string:
+          name: ODL_ML2_BRANCH
+          default: '{odl-ml2-branch}'
+          description: 'Version of networking-odl to checkout from the repo'
+      - string:
+          name: ODL_ML2_DRIVER_VERSION
+          default: '{odl-ml2-driver-version}'
+          description: 'Mode of networking-odl (v1 or v2)'
+      - string:
+          name: ODL_ML2_PORT_BINDING
+          default: '{odl-ml2-port-binding}'
+          description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
+          network-topology)'
+      - string:
+          name: ENABLE_GRE_TYPE_DRIVERS
+          default: '{enable-gre-type-driver}'
+          description: 'Enable gre tunnel'
+      - string:
+          name: DEVSTACK_KUBERNETES_PLUGIN_REPO
+          default: '{devstack-kubernetes-plugin-repo}'
+          description: 'URL to fetch kubernetes devstack plugin'
+      - string:
+          name: DEVSTACK_LBAAS_PLUGIN_REPO
+          default: '{devstack-lbaas-plugin-repo}'
+          description: 'URL to fetch neutron-lbaas devstack plugin'
+      - string:
+          name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
+          default: '{devstack-networking-sfc-plugin-repo}'
+          description: 'URL to fetch neutron-lbaas devstack plugin'
+      - string:
+          name: IPSEC_VXLAN_TUNNELS_ENABLED
+          default: '{ipsec-vxlan-tunnels-enabled}'
+          description: 'Enable ipsec over vxlan support for all controllers and computes'
+      - string:
+          name: PUBLIC_BRIDGE
+          default: '{public-bridge}'
+          description: 'Specifies public bridge for provider and external networking'
+      - string:
+          name: ENABLE_HAPROXY_FOR_NEUTRON
+          default: '{enable-haproxy}'
+          description: 'Enable HAProxy for using neutron interface as HA'
+      - string:
+          name: ENABLE_OS_SERVICES
+          default: '{enable-openstack-services}'
+          description: 'comma seperated list of services to enable'
+      - string:
+          name: ENABLE_OS_COMPUTE_SERVICES
+          default: '{enable-openstack-compute-services}'
+          description: 'comma separated list of services to enable on compute nodes'
+      - string:
+          name: ENABLE_OS_NETWORK_SERVICES
+          default: '{enable-openstack-network-services}'
+          description: 'comma seperated list of network services to enable'
+      - string:
+          name: ENABLE_OS_PLUGINS
+          default: '{enable-openstack-plugins}'
+          description: 'comma seperated list of plugins to enable'
+      - string:
+          name: DISABLE_OS_SERVICES
+          default: '{disable-openstack-services}'
+          description: 'comma seperated list of services to enable'
+      - string:
+          name: TENANT_NETWORK_TYPE
+          default: '{tenant-network-type}'
+          description: 'Tenant Network Type supported by the implementation'
+      - string:
+          name: SECURITY_GROUP_MODE
+          default: '{security-group-mode}'
+          description: 'Security Group Mode to be used in netvirt aclservice config'
+      - string:
+          name: ENABLE_ITM_DIRECT_TUNNELS
+          default: '{enable-itm-direct-tunnels}'
+          description: 'Tunnel Configuration mode to be used in genius ifm config'
+      - string:
+          name: PUBLIC_PHYSICAL_NETWORK
+          default: '{public-physical-network}'
+          description: 'provider physical network used for flat/vlan networks'
+      - string:
+          name: ENABLE_NETWORKING_L2GW
+          default: '{enable-networking-l2gw}'
+          description: 'Enable networking L2gw'
+      - string:
+          name: NETWORKING_L2GW_DRIVER
+          default: '{networking-l2gw-repo}'
+          description: 'URL to fetch networking-l2gw driver'
+      - string:
+          name: CREATE_INITIAL_NETWORKS
+          default: '{create-initial-networks}'
+          description: 'Toggles the option of letting devstack create initial networks (True/False)'
+      - string:
+          name: LBAAS_SERVICE_PROVIDER
+          default: '{lbaas-service-provider}'
+          description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
+          neutron-lbaas'
+      - string:
+          name: ODL_SFC_DRIVER
+          default: '{odl-sfc-driver}'
+          description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
+      - string:
+          name: ODL_SNAT_MODE
+          default: '{odl-snat-mode}'
+          description: 'The SNAT mode to be configured - options are conntrack/controller.'
+      - string:
+          name: OVS_INSTALL
+          default: '{ovs-install}'
+          description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum
+          repo url to pull from.'
+
+    scm:
+      - integration-gerrit-scm:
+          basedir: 'test'
+          refspec: '$PATCHREFSPEC'
+          branch: 'master'
+
+    wrappers:
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
+
+    triggers:
+      - timed: '{schedule}'
+
+    builders:
+      - lf-infra-pre-build
+      - integration-infra-stack-4-type:
+          stack-template: '{stack-template}'
+          vm_0_count: '{odl_system_count}'
+          vm_0_flavor: '{odl_system_flavor}'
+          vm_0_image: '{odl_system_image}'
+          vm_1_count: '{openstack_system_count}'
+          vm_1_flavor: '{openstack_system_flavor}'
+          vm_1_image: '{openstack_system_image}'
+          vm_2_count: '{openstack_system2_count}'
+          vm_2_flavor: '{openstack_system2_flavor}'
+          vm_2_image: '{openstack_system2_image}'
+          vm_3_count: '{tools_system_count}'
+          vm_3_flavor: '{tools_system_flavor}'
+          vm_3_image: '{tools_system_image}'
+      - integration-install-robotframework
+      - inject:
+          properties-file: 'env.properties'
+      - integration-get-slave-addresses
+      - inject:
+          properties-file: 'slave_addresses.txt'
+      - integration-detect-variables
+      - integration-install-common-functions
+      - integration-deploy-controller-run-test
+      - integration-deploy-openstack-run-test
+      - integration-cleanup-tmp
+
+    publishers:
+      - integration-robot-tempest:
+          unstable-if: 0.0
+          pass-if: 100.0
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[{project}]'
+      - integration-csit-collect-netvirt-logs
+      - integration-csit-archive-build
+      - integration-csit-run-postscript
+      - releng-openstack-stack-delete
+      - lf-infra-publish
+
+- job-template:
+    # yamllint disable-line rule:line-length
+    name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
+    id: inttest-csit-openstack
+    <<: *inttest_csit_openstack
+
+- job-template:
+    # yamllint disable-line rule:line-length
+    name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
+    id: inttest-csit-openstack-custom
+    <<: *inttest_csit_openstack
+
+    parameters:
+      - opendaylight-infra-parameters:
+          os-cloud: '{os-cloud}'
+          project: 'integration/test'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-distribution-stream:
+          stream: '{stream}'
+      - integration-bundle-url:
+          bundle-url: '{bundle-url}'
+      - integration-repo-url:
+          repo-url: '{repo-url}'
+      - integration-controller-features:
+          controller-features: '{install-features}'
+      - integration-controller-debug-map:
+          controller-debug-map: '{debug-map}'
+      - integration-test-options:
+          test-options: '{robot-options}'
+      - integration-script-plan:
+          script-plan: '{project}.txt'
+      - integration-config-plan:
+          config-plan: '{project}.txt'
+      - integration-test-plan:
+          test-plan: '{testplan}'
+      - integration-test-suites:
+          test-suites: '{test-suites}'
+      - integration-patch-refspec:
+          branch: 'master'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
+      - distribution-karaf-version:
+          karaf-version: '{karaf-version}'
+      - integration-use-features-boot:
+          use-features-boot: '{use-features-boot}'
+      - string:
+          name: OPENSTACK_BRANCH
+          default: '{openstack-branch}'
+          description: 'Openstack version to use with devstack'
+      - string:
+          name: DEVSTACK_HASH
+          default: '{devstack-hash}'
+          description: 'devstack hash to checkout'
+      - string:
+          name: ODL_ML2_DRIVER_REPO
+          default: '{odl-ml2-driver-repo}'
+          description: 'URL to fetch networking-odl driver'
+      - string:
+          name: ODL_ML2_BRANCH
+          default: '{odl-ml2-branch}'
+          description: 'Version of networking-odl to checkout from the repo'
+      - string:
+          name: ODL_ML2_DRIVER_VERSION
+          default: '{odl-ml2-driver-version}'
+          description: 'Mode of networking-odl (v1 or v2)'
+      - string:
+          name: ODL_ML2_PORT_BINDING
+          default: '{odl-ml2-port-binding}'
+          description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
+          network-topology)'
+      - string:
+          name: ENABLE_GRE_TYPE_DRIVERS
+          default: '{enable-gre-type-driver}'
+          description: 'Enable gre tunnel'
+      - string:
+          name: DEVSTACK_KUBERNETES_PLUGIN_REPO
+          default: '{devstack-kubernetes-plugin-repo}'
+          description: 'URL to fetch kubernetes devstack plugin'
+      - string:
+          name: DEVSTACK_LBAAS_PLUGIN_REPO
+          default: '{devstack-lbaas-plugin-repo}'
+          description: 'URL to fetch neutron-lbaas devstack plugin'
+      - string:
+          name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
+          default: '{devstack-networking-sfc-plugin-repo}'
+          description: 'URL to fetch neutron-lbaas devstack plugin'
+      - string:
+          name: IPSEC_VXLAN_TUNNELS_ENABLED
+          default: '{ipsec-vxlan-tunnels-enabled}'
+          description: 'Enable ipsec over vxlan support for all controllers and computes'
+      - string:
+          name: PUBLIC_BRIDGE
+          default: '{public-bridge}'
+          description: 'Specifies public bridge for provider and external networking'
+      - string:
+          name: ENABLE_HAPROXY_FOR_NEUTRON
+          default: '{enable-haproxy}'
+          description: 'Enable HAProxy for using neutron interface as HA'
+      - string:
+          name: ENABLE_OS_SERVICES
+          default: '{enable-openstack-services}'
+          description: 'comma seperated list of services to enable'
+      - string:
+          name: ENABLE_OS_COMPUTE_SERVICES
+          default: '{enable-openstack-compute-services}'
+          description: 'comma separated list of services to enable on compute nodes'
+      - string:
+          name: ENABLE_OS_NETWORK_SERVICES
+          default: '{enable-openstack-network-services}'
+          description: 'comma seperated list of network services to enable'
+      - string:
+          name: ENABLE_OS_PLUGINS
+          default: '{enable-openstack-plugins}'
+          description: 'comma seperated list of plugins to enable'
+      - string:
+          name: DISABLE_OS_SERVICES
+          default: '{disable-openstack-services}'
+          description: 'comma seperated list of services to enable'
+      - string:
+          name: TENANT_NETWORK_TYPE
+          default: '{tenant-network-type}'
+          description: 'Tenant Network Type supported by the implementation'
+      - string:
+          name: SECURITY_GROUP_MODE
+          default: '{security-group-mode}'
+          description: 'Security Group Mode to be used in netvirt aclservice config'
+      - string:
+          name: ENABLE_ITM_DIRECT_TUNNELS
+          default: '{enable-itm-direct-tunnels}'
+          description: 'Tunnel Configuration mode to be used in genius ifm config'
+      - string:
+          name: PUBLIC_PHYSICAL_NETWORK
+          default: '{public-physical-network}'
+          description: 'provider physical network used for flat/vlan networks'
+      - string:
+          name: ENABLE_NETWORKING_L2GW
+          default: '{enable-networking-l2gw}'
+          description: 'Enable networking L2gw'
+      - string:
+          name: NETWORKING_L2GW_DRIVER
+          default: '{networking-l2gw-repo}'
+          description: 'URL to fetch networking-l2gw driver'
+      - string:
+          name: CREATE_INITIAL_NETWORKS
+          default: '{create-initial-networks}'
+          description: 'Toggles the option of letting devstack create initial networks (True/False)'
+      - string:
+          name: LBAAS_SERVICE_PROVIDER
+          default: '{lbaas-service-provider}'
+          description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
+          neutron-lbaas'
+      - string:
+          name: ODL_SFC_DRIVER
+          default: '{odl-sfc-driver}'
+          description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
+      - string:
+          name: ODL_SNAT_MODE
+          default: '{odl-snat-mode}'
+          description: 'The SNAT mode to be configured - options are conntrack/controller.'
+      - string:
+          name: OVS_INSTALL
+          default: '{ovs-install}'
+          description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum
+          repo url to pull from.'
+
+# Template: {project}-patch-test-{stream}
+# Goal: Build a patch and run project specific system test on a distribution containing the change
+# Operation: This job template builds a patch, creates a distribution containing the patch, and
+# triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
+
+- job-template:
+    name: '{prefix}{project}-patch-test-{feature}-{stream}'
+    id: inttest-patch-test
+
+    project-type: freestyle
+    node: centos7-builder-2c-8g
+    concurrent: true
+    jdk: '{java-version}'
+
+    properties:
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
+
+    parameters:
+      - opendaylight-infra-parameters:
+          os-cloud: '{os-cloud}'
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - distribution-karaf-version:
+          karaf-version: '{karaf-version}'
+      - integration-distribution-git-url:
+          git-url: '{git-url}'
+      - string:
+          name: feature
+          default: 'all'
+          description: 'Specific feature test for patch'
+      - maven-exec:
+          maven-version: mvn35
+
+    scm:
+      - integration-gerrit-scm:
+          basedir: '{project}'
+          refspec: '$GERRIT_REFSPEC'
           branch: '{branch}'
       - integration-distribution-scm:
           branch: '{branch}'
           email-recipients: '{email-recipients}'
           email-prefix: '[{project}]'
 
-- job-template:
-    # yamllint disable-line rule:line-length
-    name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-apex-{openstack}-{functionality}-{stream}'
-    id: inttest-csit-apex
-    disabled: false
+
+#####################
+# inttest-csit-apex #
+#####################
+
+- inttest_csit_apex: &inttest_csit_apex
+    name: inttest-csit-apex
+
+    #####################
+    # Default variables #
+    #####################
+
+    disable-job: false
+
+    #####################
+    # Job configuration #
+    #####################
 
     project-type: freestyle
     node: centos7-robot-2c-8g
     concurrent: true
+    disabled: '{disable-job}'
 
     properties:
       - opendaylight-infra-properties:
       - integration-test-options:
           test-options: '{robot-options}'
       - integration-test-plan:
-          test-plan: '{testplan}'
+          test-plan: '{project}-{functionality}.txt'
       - integration-test-suites:
           test-suites: '{test-suites}'
       - integration-patch-refspec:
       - integration-csit-run-postscript
       - releng-openstack-stack-delete
       - lf-infra-publish
+
+- job-template:
+    # yamllint disable-line rule:line-length
+    name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-apex-{openstack}-{functionality}-{stream}'
+    id: inttest-csit-apex
+    <<: *inttest_csit_apex
+
+- job-template:
+    # yamllint disable-line rule:line-length
+    name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-apex-{openstack}-{functionality}-{stream}'
+    id: inttest-csit-apex-custom
+    <<: *inttest_csit_apex
+
+    parameters:
+      - opendaylight-infra-parameters:
+          os-cloud: '{os-cloud}'
+          project: 'integration/test'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - integration-distribution-branch:
+          branch: '{branch}'
+      - integration-distribution-stream:
+          stream: '{stream}'
+      - integration-bundle-url:
+          bundle-url: '{bundle-url}'
+      - integration-repo-url:
+          repo-url: '{repo-url}'
+      - integration-controller-features:
+          controller-features: '{install-features}'
+      - integration-controller-debug-map:
+          controller-debug-map: '{debug-map}'
+      - integration-test-options:
+          test-options: '{robot-options}'
+      - integration-test-plan:
+          test-plan: '{testplan}'
+      - integration-test-suites:
+          test-suites: '{test-suites}'
+      - integration-patch-refspec:
+          branch: 'master'
+      - integration-jdk-version:
+          jdkversion: '{jre}'
+      - distribution-karaf-version:
+          karaf-version: '{karaf-version}'
+      - integration-use-features-boot:
+          use-features-boot: '{use-features-boot}'
+      - string:
+          name: OPENSTACK_BRANCH
+          default: '{openstack-branch}'
+          description: 'Openstack version to use with devstack'
+      - string:
+          name: IPSEC_VXLAN_TUNNELS_ENABLED
+          default: '{ipsec-vxlan-tunnels-enabled}'
+          description: 'Enable ipsec over vxlan support for all controllers and computes'
+      - string:
+          name: PUBLIC_BRIDGE
+          default: '{public-bridge}'
+          description: 'Specifies public bridge for provider and external networking'
+      - string:
+          name: SECURITY_GROUP_MODE
+          default: '{security-group-mode}'
+          description: 'Security Group Mode to be used in netvirt aclservice config'
+      - string:
+          name: ENABLE_ITM_DIRECT_TUNNELS
+          default: '{enable-itm-direct-tunnels}'
+          description: 'Tunnel Configuration mode to be used in genius ifm config'
+      - string:
+          name: PUBLIC_PHYSICAL_NETWORK
+          default: '{public-physical-network}'
+          description: 'provider physical network used for flat/vlan networks'
+      - string:
+          name: ODL_SNAT_MODE
+          default: '{odl-snat-mode}'
+          description: 'The SNAT mode to be configured - options are conntrack/controller.'
index cdd320587dd9e623c5cb663199d42dd239493d5f..3ae1fb43d05185191b6902f47906aba30bdd75a6 100644 (file)
@@ -25,7 +25,7 @@
           build-order: >
               odlparent yangtools infrautils mdsal controller serviceutils aaa netconf
               daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
-              bgpcep
+              bgpcep integration/distribution
 
       - fluorine:
           branch: 'stable/fluorine'
@@ -34,7 +34,7 @@
           build-order: >
               odlparent yangtools infrautils mdsal controller serviceutils aaa netconf
               daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
-              bgpcep
+              bgpcep integration/distribution
 
       - oxygen:
           branch: 'stable/oxygen'
@@ -43,7 +43,7 @@
           build-order: >
               odlparent yangtools infrautils mdsal controller serviceutils aaa netconf
               daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
-              bgpcep
+              bgpcep integration/distribution
 
 - project:
     name: integration-distribution
     builders:
       - integration-rebase-gerrit-patch
       - wipe-org-opendaylight-repo
-      - provide-maven-settings:
+      - lf-provide-maven-settings:
           global-settings-file: 'global-settings'
           settings-file: 'integration-settings'
       - maven-target:
       - wipe-org-opendaylight-repo
       - lf-maven-install:
           mvn-version: '{mvn-version}'
-      - provide-maven-settings:
+      - lf-provide-maven-settings:
           global-settings-file: 'global-settings'
           settings-file: 'integration-distribution-settings'
       - integration-multipatch-builder
 
     git-url: '$GIT_URL/$PROJECT'
     submodule-recursive: true
+    submodule-timeout: 10
 
     #####################
     # Job Configuration #
           refspec: '$GERRIT_REFSPEC'
           branch: '$GERRIT_BRANCH'
           submodule-recursive: '{submodule-recursive}'
+          submodule-timeout: '{submodule-timeout}'
           choosing-strategy: default
 
     wrappers:
     publishers:
       - lf-infra-publish
 
-- view:
-    name: integration
-    description: 'List of integration jobs'
-    regex: '^integration-.*'
-    <<: *releng_view_common
+- project:
+    name: integration-view
+    views:
+      - project-view
+    project-name: integration
 
 - view:
     name: csit-stable-f
       - daexim-csit-1node-basic-only-fluorine
       - daexim-csit-3node-clustering-basic-only-fluorine
       - distribution-csit-1node-userfeatures-all-fluorine
-      - genius-csit-1node-upstream-all-fluorine
-      - genius-csit-3node-upstream-all-fluorine
+      - genius-csit-1node-upstream-only-fluorine
+      - genius-csit-3node-upstream-only-fluorine
       - lispflowmapping-csit-1node-msmr-all-fluorine
       - netconf-csit-1node-callhome-only-fluorine
       - netconf-csit-1node-userfeatures-all-fluorine
       - netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-sfc-fluorine
       - netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-fluorine
-      - openflowplugin-csit-1node-bundle-based-reconciliation-all-fluorine
-      - openflowplugin-csit-1node-cbench-only-fluorine
       - openflowplugin-csit-1node-flow-services-all-fluorine
-      - openflowplugin-csit-1node-gate-flow-services-all-fluorine
-      - openflowplugin-csit-1node-gate-perf-bulkomatic-only-fluorine
-      - openflowplugin-csit-1node-gate-perf-stats-collection-only-fluorine
-      - openflowplugin-csit-1node-gate-scale-only-fluorine
       - openflowplugin-csit-1node-longevity-only-fluorine
       - openflowplugin-csit-1node-perf-bulkomatic-only-fluorine
       - openflowplugin-csit-1node-perf-stats-collection-only-fluorine
       - sfc-csit-3node-docker-full-deploy-all-fluorine
       - sfc-csit-3node-rest-basic-all-fluorine
     <<: *releng_view_common
+
+- view:
+    name: csit-stable-ne
+    description: 'List of stable integration jobs for managed projects'
+    job-name:
+      - aaa-csit-1node-authn-all-neon
+      - bgpcep-csit-1node-throughpcep-all-neon
+      - coe-csit-1node-container-networking-all-neon
+      - controller-csit-1node-akka1-all-neon
+      - controller-csit-1node-benchmark-all-neon
+      - controller-csit-1node-notifications-longevity-only-neon
+      - controller-csit-1node-rest-cars-perf-all-neon
+      - controller-csit-3node-benchmark-all-neon
+      - controller-csit-3node-drb-precedence-longevity-only-neon
+      - controller-csit-3node-rest-clust-cars-perf-ask-only-neon
+      - controller-csit-3node-rest-clust-cars-perf-tell-only-neon
+      - daexim-csit-1node-basic-only-neon
+      - daexim-csit-3node-clustering-basic-only-neon
+      - distribution-csit-1node-userfeatures-all-neon
+      - genius-csit-1node-upstream-only-neon
+      - genius-csit-3node-upstream-only-neon
+      - lispflowmapping-csit-1node-msmr-all-neon
+      - netconf-csit-1node-callhome-only-neon
+      - netconf-csit-1node-userfeatures-all-neon
+      - netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-sfc-neon
+      - netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-neon
+      - openflowplugin-csit-1node-flow-services-all-neon
+      - openflowplugin-csit-1node-longevity-only-neon
+      - openflowplugin-csit-1node-perf-bulkomatic-only-neon
+      - openflowplugin-csit-1node-perf-stats-collection-only-neon
+      - openflowplugin-csit-1node-sanity-only-neon
+      - openflowplugin-csit-1node-scale-link-only-neon
+      - openflowplugin-csit-1node-scale-only-neon
+      - openflowplugin-csit-1node-scale-switch-only-neon
+      - openflowplugin-csit-3node-clustering-bulkomatic-only-neon
+      - openflowplugin-csit-3node-clustering-only-neon
+      - 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
index 85add5e5365d7473a7fcaa0389a31aa20e0c3d0d..82220dff32a0f00ae3a6737828296febf4a7a15a 100755 (executable)
@@ -42,7 +42,8 @@ if [[ "${PATCHES_TO_BUILD}" == *topic* ]]; then
     TOPIC="${PATCHES_TO_BUILD#*=}"
     echo "Create topic ${TOPIC} patch list"
     PATCHES_TO_BUILD=""
-    read -ra PROJECT_LIST <<< "${BUILD_ORDER} integration/distribution"
+    read -ra PROJECT_LIST <<< "${BUILD_ORDER}"
+    echo "List of projects to check patch in topic: ${PROJECT_LIST[*]}"
     for PROJECT in "${PROJECT_LIST[@]}"; do
         # get all patches number for a topic for a given project
         IFS=$'\n' read -rd '' -a GERRIT_PATCH_LIST <<< "$(ssh -p 29418 jenkins-$SILO@git.opendaylight.org gerrit query status:open topic:${TOPIC} project:${PROJECT} \
@@ -81,7 +82,6 @@ if [[ "${PATCHES_TO_BUILD}" == *topic* ]]; then
         fi
     done
 fi
-
 echo "Patches to build: ${PATCHES_TO_BUILD}"
 IFS=',' read -ra PATCHES <<< "${PATCHES_TO_BUILD}"
 
index 6a2589070424896f3d512e0855056781ade7f12b..784e75ccdf80c98491c313e240b44d3edb694ef0 100644 (file)
@@ -65,8 +65,8 @@
     mvn-settings: 'iotdm-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: iotdm
-    description: 'List of iotdm jobs'
-    regex: '^iotdm-.*'
-    <<: *releng_view_common
+- project:
+    name: iotdm-view
+    views:
+      - project-view
+    project-name: iotdm
index 400b6d7f341fd05a8f6f74940697d5da92059f9a..5059f3172e785d9f8fb0f37b675e0fcb9672b436 100644 (file)
@@ -62,8 +62,8 @@
     mvn-settings: 'jsonrpc-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: jsonrpc
-    description: 'List of jsonrpc jobs'
-    regex: '^jsonrpc-.*'
-    <<: *releng_view_common
+- project:
+    name: jsonrpc-view
+    views:
+      - project-view
+    project-name: jsonrpc
index 4f14ebcbdb303423dd44d38dcf31fbde46ceae24..176de3580dfcb6f6e5ea164abb657c99bf8f19e0 100644 (file)
@@ -76,8 +76,8 @@
     mvn-settings: 'l2switch-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
 
-- view:
-    name: l2switch
-    description: 'List of l2switch jobs'
-    regex: '^l2switch-.*'
-    <<: *releng_view_common
+- project:
+    name: l2switch-view
+    views:
+      - project-view
+    project-name: l2switch
index b83a89480b8548bedb265875ab22bd0d4d8c23ce..1cc1b232f97b2d4af776b5204c16339de3b74256 100644 (file)
@@ -24,7 +24,7 @@
       - all:
           scope: 'all'
 
-    tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20180723-235543.682
+    tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20181029-223449.514
 
     # Features to install
     install-features: 'odl-lacp-ui'
index 4a81fba6db65e924fae1d907f1bdde5e41716ea1..67ac76291d9bfa7b6248aa95e2eb55a5186a1aa4 100644 (file)
@@ -61,8 +61,8 @@
     mvn-settings: 'lacp-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: lacp
-    description: 'List of lacp jobs'
-    regex: '^lacp-.*'
-    <<: *releng_view_common
+- project:
+    name: lacp-view
+    views:
+      - project-view
+    project-name: lacp
index a01c97fc75e216601ff6b266f8ca84aa90eccde0..f232f2ec0ef18d0a3495fee8e1bd9ba7acd0e91e 100644 (file)
     project-name: lf-infra-lftools
     project: releng/lftools
     project-pattern: releng/lftools
-    build-node: centos7-builder-2c-8g
+    build-node: ubuntu1604-docker-2c-2g
     rtd-build-url: https://readthedocs.org/api/v2/webhook/lf-releng-tools/32933/
     rtd-token: 47a135ceba9053c6f88394a7171ebf5602a9fc95
     stream: any
     git-url: https://gerrit.linuxfoundation.org/infra/$GERRIT_PROJECT
     gerrit-server-name: lf-releng
 
-- view:
-    name: lf-infra
-    description: 'List of lf-infra jobs'
-    regex: '^lf-infra-.*'
-    <<: *releng_view_common
+- project:
+    name: lf-infra-view
+    views:
+      - project-view
+    project-name: lf-infra
index 505a86a53a0cf70bb60ec0fba134bbf892e25721..68d53961661a562b2456f9ad660cf2fea53d5bc3 100644 (file)
@@ -17,8 +17,8 @@
     git-url: https://gerrit.linuxfoundation.org/infra/$GERRIT_PROJECT
     gerrit-server-name: lf-releng
 
-- view:
-    name: lfn
-    description: 'List of LF Networking jobs'
-    regex: '^lfn-.*'
-    <<: *releng_view_common
+- project:
+    name: lfn-view
+    views:
+      - project-view
+    project-name: lfn-process
index 5420877901a9813b0d9198f16717ebbdc14062de..1ff72034e717507d25fa35c936403f8c5a75fab1 100644 (file)
@@ -95,8 +95,8 @@
     mvn-goals: 'clean deploy findbugs:findbugs javadoc:aggregate -DrepoBuild'
     mvn-opts: '-Xmx2048m -XX:MaxPermSize=512m -Dmaven.compile.fork=true'
 
-- view:
-    name: lispflowmapping
-    description: 'List of lispflowmapping jobs'
-    regex: '^lispflowmapping-.*'
-    <<: *releng_view_common
+- project:
+    name: lispflowmapping-view
+    views:
+      - project-view
+    project-name: lispflowmapping
index 978010b2d5c7661d9ef212d598c1ddb94804c0a6..ffafa87c310ffd9849f5f0b0b1957fe15104a832 100644 (file)
@@ -30,4 +30,4 @@
 
       - genius:
           csit-list: >
-              genius-csit-1node-gate-all-{stream}
+              genius-csit-1node-gate-only-{stream}
index 8e4973e3edeb95511957650e16698427cb255df5..5daecab3c7850bcb342a44451a1244a32f7b9b64 100644 (file)
@@ -18,7 +18,6 @@
 
     mvn-settings: 'mdsal-settings'
     mvn-opts: '-Xmx2048m'
-    sign-artifacts: true
 
     dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream}'
     email-upstream: '[mdsal] [odlparent] [yangtools]'
@@ -55,7 +54,6 @@
     mvn-settings: 'mdsal-settings'
     mvn-goals: '-Dmaven.compile.fork=true clean deploy -Dintegrationtests'
     mvn-opts: '-Xmx2048m'
-    sign-artifacts: true
     build-node: centos7-builder-8c-8g
     build-timeout: 90
     dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream}'
     mvn-goals: '-Dmaven.compile.fork=true clean deploy -Dintegrationtests'
     mvn-opts: '-Xmx2048m'
 
-- view:
-    name: mdsal
-    description: 'List of mdsal jobs'
-    regex: '^mdsal-.*'
-    <<: *releng_view_common
+- project:
+    name: mdsal-view
+    views:
+      - project-view
+    project-name: mdsal
index 84ceac995803467618d3021d95302b558734f20e..26098a6fa192febcd89e504112696e2b99fba5a8 100644 (file)
@@ -64,8 +64,8 @@
     mvn-settings: 'natapp-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: natapp
-    description: 'List of natapp jobs'
-    regex: '^natapp-.*'
-    <<: *releng_view_common
+- project:
+    name: natapp-view
+    views:
+      - project-view
+    project-name: natapp
index 531c603dca933b61a1a37c06a3e067dc37550565..dc24a888f044c146c914ec86b0d7a2224bea8e76 100644 (file)
@@ -61,8 +61,8 @@
     mvn-settings: 'nemo-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: nemo
-    description: 'List of nemo jobs'
-    regex: '^nemo-.*'
-    <<: *releng_view_common
+- project:
+    name: nemo-view
+    views:
+      - project-view
+    project-name: nemo
diff --git a/jjb/netconf/netconf-cluster-stress.yaml b/jjb/netconf/netconf-cluster-stress.yaml
deleted file mode 100644 (file)
index c2dbc53..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
----
-- project:
-    name: netconf-csit-cluster-stress
-    jobs:
-      - inttest-csit-3node
-
-    # The project name
-    project: 'netconf'
-
-    # The functionality under test
-    functionality: 'cluster-stress'
-
-    # Project branches
-    stream:
-      - neon:
-          branch: 'master'
-      - fluorine:
-          branch: 'stable/fluorine'
-      - oxygen:
-          branch: 'stable/oxygen'
-
-    install:
-      - all:
-          scope: 'all'
-
-    # Features to install
-    install-features: >
-        odl-restconf,
-        odl-jolokia,
-        odl-netconf-clustered-topology
-
-    # Robot custom options
-    # TODO: Make sure every suite has this as default, then remove this value from here.
-    robot-options: '-v USE_NETCONF_CONNECTOR:False'
index 18da27dc561db0f1efee8be8d9c8f9b1d98cce90..7652b068fb23f96001147d23bbee74f793fae30d 100644 (file)
@@ -20,8 +20,8 @@
           branch: 'stable/oxygen'
 
     install:
-      - all:
-          scope: 'all'
+      - only:
+          scope: 'only'
 
     # Features to install
     install-features: >
index 1aa626f0a79d32079fedc4e71af20ba27cd57bd3..85766f77d4235bb6ceee02633e9bb1de3e63e6a7 100644 (file)
@@ -20,8 +20,8 @@
           branch: 'stable/oxygen'
 
     install:
-      - all:
-          scope: 'all'
+      - only:
+          scope: 'only'
 
     # Features to install
     install-features: >
index 97cd96f917f94eaf9c8acd1de5bf05a15e45aeb5..8c2119f2cfbe74838d03dabb3bfb9f8a87b1e505 100644 (file)
@@ -33,4 +33,4 @@
 
       - genius:
           csit-list: >
-              genius-csit-1node-gate-all-{stream}
+              genius-csit-1node-gate-only-{stream}
index 33024be2af76dad57165b3df94ec384d2dacb283..a5083e1d87a60b491e3be25daec678e3817fa5c5 100644 (file)
@@ -84,8 +84,8 @@
     mvn-goals: 'clean deploy -Pintegrationtests'
     mvn-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
 
-- view:
-    name: netconf
-    description: 'List of netconf jobs'
-    regex: '^netconf-.*'
-    <<: *releng_view_common
+- project:
+    name: netconf-view
+    views:
+      - project-view
+    project-name: netconf
index 44281fe5f01ec75d1444e96400b5845dff09133c..4a6e1609b68e7cdee5a87f3ef7c7ce43b0ea8196 100644 (file)
@@ -61,8 +61,8 @@
     mvn-settings: 'netide-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: netide
-    description: 'List of netide jobs'
-    regex: '^netide-.*'
-    <<: *releng_view_common
+- project:
+    name: netide-view
+    views:
+      - project-view
+    project-name: netide
index fbd15ec3fe61642a5d739c895086e011faa82cdf..7e34fe6b3414fc3453551bbf7ca4cd229c2f6f46 100644 (file)
@@ -2,7 +2,7 @@
 - project:
     name: netvirt-csit-hwvtep-openstack-integration-neon
     jobs:
-      - inttest-csit-hwvtep-openstack
+      - inttest-csit-hwvtep-openstack-custom
 
     project: 'netvirt'
     stream: 'neon'
@@ -16,7 +16,7 @@
     openstack_system_flavor: odl-highcpu-8
     openstack_system2_flavor: odl-highcpu-4
     tools_system_count: 2
-    tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20180723-235543.774
+    tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20181029-223513.438
     os-cmb-cnt: 0
     os-ctl-cnt: 1
     os-cmp-cnt: 2
@@ -31,7 +31,7 @@
           enable-haproxy: 'no'
           install-features: 'odl-netvirt-openstack,decanter-collector-jmx,decanter-appender-elasticsearch'
       - 3node:
-          openstack_system2_count: 2
+          openstack_system2_count: 3
           odl_system_count: 3
           enable-haproxy: 'yes'
           install-features: 'odl-jolokia,odl-netvirt-openstack,decanter-collector-jmx,decanter-appender-elasticsearch'
           openstack-branch: 'stable/queens'
           odl-ml2-branch: 'stable/queens'
           odl-ml2-port-binding: 'pseudo-agentdb-binding'
-          openstack_system_image: '{openstack_system_image_queens}'
-          openstack_system2_image: '{openstack_system_image_queens}'
+          openstack_system_image: '{openstack_queens_system_image}'
+          openstack_system2_image: '{openstack_queens_system_image}'
 
 - project:
     name: netvirt-csit-hwvtep-openstack-integration-fluorine
     jobs:
-      - inttest-csit-hwvtep-openstack
+      - inttest-csit-hwvtep-openstack-custom
 
     project: 'netvirt'
     stream: 'fluorine'
@@ -65,7 +65,7 @@
     openstack_system_flavor: odl-highcpu-8
     openstack_system2_flavor: odl-highcpu-4
     tools_system_count: 2
-    tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20180723-235543.774
+    tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20181029-223513.438
     os-cmb-cnt: 0
     os-ctl-cnt: 1
     os-cmp-cnt: 2
@@ -80,7 +80,7 @@
           enable-haproxy: 'no'
           install-features: 'odl-netvirt-openstack,decanter-collector-jmx,decanter-appender-elasticsearch'
       - 3node:
-          openstack_system2_count: 2
+          openstack_system2_count: 3
           odl_system_count: 3
           enable-haproxy: 'yes'
           install-features: 'odl-jolokia,odl-netvirt-openstack,decanter-collector-jmx,decanter-appender-elasticsearch'
           openstack-branch: 'stable/queens'
           odl-ml2-branch: 'stable/queens'
           odl-ml2-port-binding: 'pseudo-agentdb-binding'
-          openstack_system_image: '{openstack_system_image_queens}'
-          openstack_system2_image: '{openstack_system_image_queens}'
+          openstack_system_image: '{openstack_queens_system_image}'
+          openstack_system2_image: '{openstack_queens_system_image}'
 
 - project:
     name: netvirt-csit-hwvtep-openstack-integration-oxygen
     jobs:
-      - inttest-csit-hwvtep-openstack
+      - inttest-csit-hwvtep-openstack-custom
 
     project: 'netvirt'
     stream: 'oxygen'
     openstack_system_flavor: odl-highcpu-8
     openstack_system2_flavor: odl-highcpu-4
     tools_system_count: 2
-    tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20180723-235543.774
+    tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20181029-223513.438
     os-cmb-cnt: 0
     os-ctl-cnt: 1
     os-cmp-cnt: 2
           enable-haproxy: 'no'
           install-features: 'odl-netvirt-openstack,decanter-collector-jmx,decanter-appender-elasticsearch'
       - 3node:
-          openstack_system2_count: 2
+          openstack_system2_count: 3
           odl_system_count: 3
           enable-haproxy: 'yes'
           install-features: 'odl-jolokia,odl-netvirt-openstack,decanter-collector-jmx,decanter-appender-elasticsearch'
           openstack-branch: 'stable/queens'
           odl-ml2-branch: 'stable/queens'
           odl-ml2-port-binding: 'pseudo-agentdb-binding'
-          openstack_system_image: '{openstack_system_image_queens}'
-          openstack_system2_image: '{openstack_system_image_queens}'
+          openstack_system_image: '{openstack_queens_system_image}'
+          openstack_system2_image: '{openstack_queens_system_image}'
index e43dae519e3d4e2be20c5689e04e07d262086451..9647cc22f8b64797498eb80d70600d4d60690d9d 100644 (file)
@@ -2,7 +2,7 @@
 - project:
     name: netvirt-csit-apex-integration-oxygen
     jobs:
-      - inttest-csit-apex
+      - inttest-csit-apex-custom
 
     project: 'netvirt'
     stream:
index 9d6eee6b1c393289781e59cb3b27a6ec0c386ddd..d4a244d316f531c1d484f453a04aa2bb4ce8ddaa 100644 (file)
@@ -2,7 +2,7 @@
 - project:
     name: netvirt-csit-upgrade-openstack-integration
     jobs:
-      - inttest-csit-openstack
+      - inttest-csit-openstack-custom
 
     project: 'netvirt'
 
@@ -41,5 +41,5 @@
           openstack-branch: 'stable/queens'
           odl-ml2-branch: 'stable/queens'
           odl-ml2-port-binding: 'pseudo-agentdb-binding'
-          openstack_system_image: '{openstack_system_image_queens}'
-          openstack_system2_image: '{openstack_system_image_queens}'
+          openstack_system_image: '{openstack_queens_system_image}'
+          openstack_system2_image: '{openstack_queens_system_image}'
index 40b7802053aecbae1cae75eee2c125f2fe1849d1..4548ca50c7494ec24774d652cf44f12cedeb219f 100644 (file)
@@ -2,7 +2,7 @@
 - project:
     name: netvirt-csit-openstack-integration-neon
     jobs:
-      - inttest-csit-openstack
+      - inttest-csit-openstack-custom
 
     project: 'netvirt'
     stream: 'neon'
@@ -15,6 +15,7 @@
     odl_system_flavor: odl-highcpu-8
     openstack_system_flavor: odl-highcpu-8
     openstack_system2_flavor: odl-highcpu-4
+    tools_system_count: 0
     os-cmb-cnt: 0
     os-ctl-cnt: 1
     os-cmp-cnt: 2
@@ -49,6 +50,7 @@
       - gate-tdd-wip:
           testplan: '{project}-{topology}-tdd-wip-openstack.txt'
           schedule: ''
+          tools_system_count: 3
       - tempest-stateful:
           test-suites: 'openstack/tempest/tempest.robot'
           testplan: '{project}-{topology}-openstack-tempest.txt'
           openstack-branch: 'stable/queens'
           odl-ml2-branch: 'stable/queens'
           odl-ml2-port-binding: 'pseudo-agentdb-binding'
-          openstack_system_image: '{openstack_system_image_queens}'
-          openstack_system2_image: '{openstack_system_image_queens}'
+          openstack_system_image: '{openstack_queens_system_image}'
+          openstack_system2_image: '{openstack_queens_system_image}'
 
 - project:
     name: netvirt-csit-openstack-integration-fluorine
     jobs:
-      - inttest-csit-openstack
+      - inttest-csit-openstack-custom
 
     project: 'netvirt'
     stream: 'fluorine'
@@ -90,6 +92,7 @@
     odl_system_flavor: odl-highcpu-8
     openstack_system_flavor: odl-highcpu-8
     openstack_system2_flavor: odl-highcpu-4
+    tools_system_count: 0
     os-cmb-cnt: 0
     os-ctl-cnt: 1
     os-cmp-cnt: 2
       - gate-tdd-wip:
           testplan: '{project}-{topology}-tdd-wip-openstack.txt'
           schedule: ''
+          tools_system_count: 3
       - tempest-stateful:
           test-suites: 'openstack/tempest/tempest.robot'
           testplan: '{project}-{topology}-openstack-tempest.txt'
           openstack-branch: 'stable/queens'
           odl-ml2-branch: 'stable/queens'
           odl-ml2-port-binding: 'pseudo-agentdb-binding'
-          openstack_system_image: '{openstack_system_image_queens}'
-          openstack_system2_image: '{openstack_system_image_queens}'
+          openstack_system_image: '{openstack_queens_system_image}'
+          openstack_system2_image: '{openstack_queens_system_image}'
 
 - project:
     name: netvirt-csit-openstack-integration-oxygen
     jobs:
-      - inttest-csit-openstack
+      - inttest-csit-openstack-custom
 
     project: 'netvirt'
     stream: 'oxygen'
     odl_system_flavor: odl-highcpu-8
     openstack_system_flavor: odl-highcpu-8
     openstack_system2_flavor: odl-highcpu-4
+    tools_system_count: 0
     os-cmb-cnt: 0
     os-ctl-cnt: 1
     os-cmp-cnt: 2
       - gate-tdd-wip:
           testplan: '{project}-{topology}-tdd-wip-openstack.txt'
           schedule: ''
+          tools_system_count: 3
       - tempest-stateful:
           test-suites: 'openstack/tempest/tempest.robot'
           testplan: '{project}-{topology}-openstack-tempest.txt'
           openstack-branch: 'stable/queens'
           odl-ml2-branch: 'stable/queens'
           odl-ml2-port-binding: 'pseudo-agentdb-binding'
-          openstack_system_image: '{openstack_system_image_queens}'
-          openstack_system2_image: '{openstack_system_image_queens}'
+          openstack_system_image: '{openstack_queens_system_image}'
+          openstack_system2_image: '{openstack_queens_system_image}'
 
 - project:
     name: netvirt-csit-sfc-openstack-integration
     jobs:
-      - inttest-csit-openstack
+      - inttest-csit-openstack-custom
 
     project: 'netvirt'
     security-group-mode: 'stateful'
           openstack-branch: 'stable/queens'
           odl-ml2-branch: 'stable/queens'
           odl-ml2-port-binding: 'pseudo-agentdb-binding'
-          openstack_system_image: '{openstack_system_image_queens}'
-          openstack_system2_image: '{openstack_system_image_queens}'
+          openstack_system_image: '{openstack_queens_system_image}'
+          openstack_system2_image: '{openstack_queens_system_image}'
 
     stream:
       - neon:
           ovs-install: 'v2.6.1-nsh'
           os-cmp-cnt: 1
           openstack_system2_count: 1
-          openstack_system_image: '{openstack_system_image_pike}'
-          openstack_system2_image: '{openstack_system_image_pike}'
+          openstack_system_image: '{openstack_pike_system_image}'
+          openstack_system2_image: '{openstack_pike_system_image}'
 
 - project:
     name: netvirt-csit-1cmb-0ctl-0cmp-openstack-integration
     jobs:
-      - inttest-csit-openstack
+      - inttest-csit-openstack-custom
 
     project: 'netvirt'
     testplan: '{project}-{topology}-openstack.txt'
           openstack-branch: 'stable/queens'
           odl-ml2-branch: 'stable/queens'
           odl-ml2-port-binding: 'pseudo-agentdb-binding'
-          openstack_system_image: '{openstack_system_image_queens}'
-          openstack_system2_image: '{openstack_system_image_queens}'
+          openstack_system_image: '{openstack_queens_system_image}'
+          openstack_system2_image: '{openstack_queens_system_image}'
diff --git a/jjb/netvirt/netvirt-dependencies.yaml b/jjb/netvirt/netvirt-dependencies.yaml
new file mode 100644 (file)
index 0000000..db1b70c
--- /dev/null
@@ -0,0 +1,93 @@
+---
+- project:
+    name: netvirt-thirdparty-quagga-dependencies
+    project: 'netvirt'
+    project-name: 'netvirt'
+    jobs:
+      - 'netvirt-thirdparty-quagga-{platform}'
+
+    quagga-version: '5'
+    mvn-opts: ''
+    mvn-params: ''
+    mvn-version: mvn35
+
+    # common parameters required for 'lf-infra-deploy-maven-file' builder
+    repo-id: 'thirdparty'
+    upload-files-dir: '$WORKSPACE/upload_files'
+    group-id: 'quagga$QUAGGA_VERSION'
+
+    # Used by the release job
+    staging-profile-id: a67da0ffbb1ba
+
+    platform:
+      - centos7:
+          build-node: centos7-builder-2c-8g
+      - ubuntu1604:
+          build-node: ubuntu1604-mininet-ovs-25-1c-4g
+
+- job-template:
+    name: 'netvirt-thirdparty-quagga-{platform}'
+    project-type: freestyle
+    node: '{build-node}'
+    concurrent: true
+
+    properties:
+      - opendaylight-infra-properties:
+          build-days-to-keep: '{build-days-to-keep}'
+
+    parameters:
+      - opendaylight-infra-parameters:
+          os-cloud: '{os-cloud}'
+          project: '{project}'
+          branch: '{branch}'
+          refspec: 'refs/heads/{branch}'
+          artifacts: '{archive-artifacts}'
+      - lf-infra-maven-parameters:
+          mvn-opts: '{mvn-opts}'
+          mvn-params: '{mvn-params}'
+          mvn-version: '{mvn-version}'
+          staging-profile-id: '{staging-profile-id}'
+      - string:
+          name: QUAGGA_VERSION
+          default: '{quagga-version}'
+          description: 'quagga version'
+
+    scm:
+      - git-netvirt-quagga
+
+    wrappers:
+      - opendaylight-infra-wrappers:
+          build-timeout: '{build-timeout}'
+
+    builders:
+      - lf-infra-pre-build
+      - netvirt-build-quagga
+      - lf-infra-deploy-maven-file:
+          global-settings-file: 'global-settings'
+          settings-file: 'netvirt-settings'
+          mvn-version: '{mvn-version}'
+          repo-id: '{repo-id}'
+          group-id: '{group-id}'
+          upload-files-dir: '{upload-files-dir}'
+          maven-repo-url: '$NEXUS_URL/content/repositories/thirdparty'
+
+    publishers:
+      - email-notification:
+          email-recipients: '{email-recipients}'
+          email-prefix: '[netvirt]'
+      - lf-infra-publish
+
+- builder:
+    name: 'netvirt-build-quagga'
+    builders:
+      - shell: !include-raw-escape: quagga-build.sh
+
+- scm:
+    name: 'git-netvirt-quagga'
+    scm:
+      - git:
+          url: https://github.com/6WIND/zrpcd.git
+          basedir: 'zrpcd'
+          branches:
+            - 'issue_32_bis'
+          wipe-workspace: true
index c75f3620751ece9dc5a7406c2b18ed2f84e38ab6..02039887a075ee64bde7ed607e474077a6383b7c 100644 (file)
@@ -13,6 +13,9 @@
       - gerrit-tox-verify
       - odl-maven-jobs
 
+    csit-gate-list: 'netvirt-csit-1node-0cmb-1ctl-2cmp-apex-queens-gate-snat-conntrack-{stream}'
+    block_on_csit: false
+
     stream:
       - neon:
           branch: 'master'
     name: netvirt-sonar
     jobs:
       - gerrit-maven-sonar
+
     project: 'netvirt'
     project-name: 'netvirt'
     branch: 'master'
     mvn-settings: 'netvirt-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: netvirt
-    description: 'List of netvirt jobs'
-    regex: '^netvirt-.*'
-    <<: *releng_view_common
-
-- view:
-    name: netvirt-csit
-    description: 'List of netvirt-csit jobs'
-    regex: 'netvirt-csit(?!(.*gate)|(.*hwvtep)).*'
-    <<: *integration_view_csit
+- project:
+    name: netvirt-csit-view
+    views:
+      - csit-view
+    view-name: netvirt-csit
+    view-description: 'List of netvirt-csit jobs'
+    view-regex: 'netvirt-csit(?!(.*gate)|(.*hwvtep)).*'
+
+- project:
+    name: netvirt-view
+    views:
+      - project-view
+    project-name: netvirt
diff --git a/jjb/netvirt/quagga-build.sh b/jjb/netvirt/quagga-build.sh
new file mode 100644 (file)
index 0000000..ca46597
--- /dev/null
@@ -0,0 +1,46 @@
+#!/bin/bash
+# SPDX-License-Identifier: EPL-1.0
+##############################################################################
+# Copyright (c) 2018 The Linux Foundation and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the term s of the Eclipse Public License
+# v1.0 accompanies testing this distribution with Netvirt jobs, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+##############################################################################
+echo "---> quagga-build.sh"
+
+set -e -x
+
+# The script builds 6wind/quagga source and binary packages from zrpcd
+# repository for testing router functionalities with Netvirt jobs, .
+
+pushd "$(pwd)/zrpcd"
+
+chmod a+x "$(pwd)/pkgsrc/dev_compile_script.sh"
+cd "$(pwd)/pkgsrc" && sudo "./dev_compile_script.sh" -p -d -b -v "$QUAGGA_VERSION"
+
+# Move packages into a that will be uploaded to Nexus
+UPLOAD_FILES_PATH="$WORKSPACE/upload_files"
+mkdir -p "$UPLOAD_FILES_PATH"
+
+OS=$(facter operatingsystem)
+
+case "$OS" in
+    Ubuntu)
+        mv "$WORKSPACE/zrpcd/pkgsrc/"*.deb "$UPLOAD_FILES_PATH" || true
+    ;;
+    CentOS|RedHat)
+        mv "$WORKSPACE/zrpcd/pkgsrc/"*.rpm "$UPLOAD_FILES_PATH" || true
+    ;;
+    *)
+        # nothing to do
+    ;;
+esac
+
+popd
+
+# todo: remove below lines once the scripts in zrpcd repos build the
+# source packages.
+# Ref: https://lists.opendaylight.org/pipermail/integration-dev/2018-July/012330.html
+tar cvzf "$WORKSPACE/upload_files/zrpcd.$(date +%F).tar.gz" "$(pwd)/zrpcd"
index 1e33070960e46d1572dbdb3133d73241b456fb99..2453f98128c214316d655b39720352f4f711c735 100644 (file)
@@ -30,4 +30,4 @@
 
       - genius:
           csit-list: >
-              genius-csit-1node-gate-all-{stream}
+              genius-csit-1node-gate-only-{stream}
index f4f348edc26745d876e2a0421dfe222a5d44c86b..20e835ed5e4028bb0178bbec050beca6dd4f1030 100644 (file)
@@ -69,8 +69,8 @@
     mvn-settings: 'neutron-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: neutron
-    description: 'List of neutron jobs'
-    regex: '^neutron-.*'
-    <<: *releng_view_common
+- project:
+    name: neutron-view
+    views:
+      - project-view
+    project-name: neutron
index 2a29e6dcdaf2bda1358ac17dbc4a0d994873ae8a..ed3e16aed51e31693c130171103a8418895597a8 100644 (file)
@@ -61,8 +61,8 @@
     mvn-settings: 'next-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: next
-    description: 'List of next jobs'
-    regex: '^next-.*'
-    <<: *releng_view_common
+- project:
+    name: next-view
+    views:
+      - project-view
+    project-name: next
index 77176cfab30c76024c7a938ba9457a4c5c0c31e0..c8421b900d5d1f0497d3ae1208951dd13584c6b1 100644 (file)
@@ -65,8 +65,8 @@
     mvn-settings: 'nic-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: nic
-    description: 'List of nic jobs'
-    regex: '^nic-.*'
-    <<: *releng_view_common
+- project:
+    name: nic-view
+    views:
+      - project-view
+    project-name: nic
index 36dc2f892a8ee32ac99096d564678dc155805528..c07b59a6581e8490d059045a9f98556c07c1c98c 100644 (file)
     name: ocpplugin-sonar
     jobs:
       - gerrit-maven-sonar
+
     project: 'ocpplugin'
     project-name: 'ocpplugin'
     branch: 'master'
     mvn-settings: 'ocpplugin-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: ocpplugin
-    description: 'List of ocpplugin jobs'
-    regex: '^ocpplugin-.*'
-    <<: *releng_view_common
+- project:
+    name: ocpplugin-view
+    views:
+      - project-view
+    project-name: ocpplugin
diff --git a/jjb/odl-openstack-check-image-protection.sh b/jjb/odl-openstack-check-image-protection.sh
deleted file mode 100644 (file)
index 76a68e5..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash -l
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2017 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-# Checks the image "protected" value and set "True" marker
-#
-# The script is involked by 'builder-verify-image-protection', searches
-# the jjb source code for the images presently used and verifies protection
-# setting. If the image protect setting is not "True", sets the
-# image protect setting to "True" to prevent the image from getting purged
-# by the cleanup old images job.
-echo "---> Check image protection"
-
-declare -a yaml_images
-readarray -t yaml_images <<< "$(grep -r _system_image: --include \*.yaml \
-    | awk -F": " -e '{print $3}' | sed "s:'::;s:'$::;/^$/d" | sort -u)"
-declare -a cfg_images
-readarray -t cfg_images <<< "$(grep -r IMAGE_NAME --include \*.cfg \
-    | awk -F'=' -e '{print $2}' | sort -u)"
-combined=("${yaml_images[@]}" "${cfg_images[@]}")
-declare -a images
-readarray -t images <<< "$(printf '%s\n' "${combined[@]}" | sort -u)"
-
-for image in "${images[@]}"; do
-    os_image_protected=$(openstack --os-cloud "$OS_CLOUD" image show "$image" -f value -c protected)
-    echo "Protected setting for $image: $os_image_protected"
-    if [[ $os_image_protected != True ]]; then
-        echo "Image: $image NOT set as protected, changing the protected value."
-        openstack --os-cloud "$OS_CLOUD" image set --protected "$image"
-    fi
-done
diff --git a/jjb/odl-openstack-cleanup-old-images.sh b/jjb/odl-openstack-cleanup-old-images.sh
deleted file mode 100644 (file)
index 9cc82cd..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash -l
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2017 - 2018 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-# Removes openstack images older than 30 days in the cloud
-echo "---> Cleanup old images"
-
-lftools openstack --os-cloud vex image cleanup --days=30
diff --git a/jjb/odl-openstack-cleanup-orphaned-nodes.sh b/jjb/odl-openstack-cleanup-orphaned-nodes.sh
deleted file mode 100644 (file)
index df598b4..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/bash -l
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2017 - 2018 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-echo "---> Cleanup orphaned servers"
-
-minion_in_jenkins() {
-    # Usage: check_stack_in_jenkins STACK_NAME JENKINS_URL [JENKINS_URL...]
-    # Returns: 0 If stack is in Jenkins and 1 if stack is not in Jenkins.
-
-    MINION="${1}"
-
-    minions=()
-    for jenkins in "${@:2}"; do
-        JENKINS_URL="$jenkins/computer/api/json?tree=computer[displayName]"
-        resp=$(curl -s -w "\\n\\n%{http_code}" --globoff -H "Content-Type:application/json" "$JENKINS_URL")
-        json_data=$(echo "$resp" | head -n1)
-        #status=$(echo "$resp" | awk 'END {print $NF}')
-
-        # We purposely want to wordsplit here to combine the arrays
-        # shellcheck disable=SC2206,SC2207
-        minions=(${minions[@]} $(echo "$json_data" | \
-            jq -r '.computer[].displayName' | grep -v master)
-        )
-    done
-
-    if [[ "${minions[*]}" =~ $MINION ]]; then
-        return 0
-    fi
-
-    return 1
-}
-
-##########################
-## FETCH ACTIVE MINIONS ##
-##########################
-# Fetch server list before fetching active minions to minimize race condition
-# where we might be trying to delete servers while jobs are trying to start
-
-# We purposely need word splitting here to create the OS_SERVERS array.
-# shellcheck disable=SC2207
-mapfile -t OS_SERVERS < <(openstack server list -f value -c "Name" | grep -E 'prd|snd')
-
-#############################
-## DELETE ORPHANED SERVERS ##
-#############################
-
-# Search for servers that are not in use by either releng or sandbox silos and
-# delete them.
-for server in "${OS_SERVERS[@]}"; do
-    # JENKINS_URLS is provided by the Jenkins Job declaration and intentially
-    # needs to be globbed.
-    # shellcheck disable=SC2153,SC2086
-    if minion_in_jenkins "$server" $JENKINS_URLS; then
-        # No need to delete server if it is still attached to Jenkins
-        continue
-    else
-        echo "Deleting $server"
-        lftools openstack --os-cloud vex \
-            server remove --minutes 15 "$server"
-    fi
-done
diff --git a/jjb/odl-openstack-cleanup-stale-nodes.sh b/jjb/odl-openstack-cleanup-stale-nodes.sh
deleted file mode 100644 (file)
index 25cf88c..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash -l
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2017 - 2018 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-echo "---> Cleanup stale nodes"
-
-# Todo: As a safe check we could obtain the list of active jobs from Jenkins and
-# compute the checksum from $JOB_NAME to check if any active nodes exist and
-# skip deleting those nodes. This step may not be required since there is already
-# 24H timeout in place for all jobs therefore all jobs are expected to complete
-# within the timeout.
-
-lftools openstack --os-cloud vex server list --days=1
-lftools openstack --os-cloud vex server cleanup --days=1
diff --git a/jjb/odl-openstack-cleanup-stale-stacks.sh b/jjb/odl-openstack-cleanup-stale-stacks.sh
deleted file mode 100644 (file)
index 6d5e553..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-#!/bin/bash -l
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2017 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-# Cleanup stale stacks in the cloud
-# Requires the variable JENKINS_URLS declared in the job as a space separated
-# list of Jenkins instances to check for active builds.
-echo "---> Cleanup stale stacks"
-
-stack_in_jenkins() {
-    # Usage: check_stack_in_jenkins STACK_NAME JENKINS_URL [JENKINS_URL...]
-    # Returns: 0 If stack is in Jenkins and 1 if stack is not in Jenkins.
-
-    STACK_NAME="${1}"
-
-    builds=()
-    for jenkins in "${@:2}"; do
-        JENKINS_URL="$jenkins/computer/api/json?tree=computer[executors[currentExecutable[url]],oneOffExecutors[currentExecutable[url]]]&xpath=//url&wrapper=builds"
-        resp=$(curl -s -w "\\n\\n%{http_code}" --globoff -H "Content-Type:application/json" "$JENKINS_URL")
-        json_data=$(echo "$resp" | head -n1)
-        #status=$(echo "$resp" | awk 'END {print $NF}')
-
-        if [[ "${jenkins}" == *"jenkins."*".org" ]]; then
-            silo="production"
-        else
-            silo=$(echo "$jenkins" | sed 's/\/*$//' | awk -F'/' '{print $NF}')
-        fi
-        export silo
-        # We purposely want to wordsplit here to combine the arrays
-        # shellcheck disable=SC2206,SC2207
-        builds=(${builds[@]} $(echo "$json_data" | \
-            jq -r '.computer[].executors[].currentExecutable.url' \
-            | grep -v null | awk -F'/' '{print ENVIRON["silo"] "-" $6 "-" $7}')
-        )
-    done
-
-    if [[ "${builds[*]}" =~ $STACK_NAME ]]; then
-        return 0
-    fi
-
-    return 1
-}
-
-#########################
-## FETCH ACTIVE BUILDS ##
-#########################
-# Fetch stack list before fetching active builds to minimize race condition
-# where we might be try to delete stacks while jobs are trying to start
-
-# We purposely need word splitting here to create the OS_STACKS array.
-# shellcheck disable=SC2207
-OS_STACKS=($(openstack stack list \
-            -f value -c "Stack Name" -c "Stack Status" \
-            --property "stack_status=CREATE_COMPLETE" \
-            --property "stack_status=DELETE_FAILED" \
-            --property "stack_status=CREATE_FAILED" \
-            | awk '{print $1}'))
-
-echo "---> Active stacks"
-for stack in "${OS_STACKS[@]}"; do
-    echo "$stack"
-done
-
-##########################
-## DELETE UNUSED STACKS ##
-##########################
-echo "---> Delete orphaned stacks"
-
-# Search for stacks that are not in use by either releng or sandbox silos and
-# delete them.
-for STACK_NAME in "${OS_STACKS[@]}"; do
-    echo "Checking if orphaned $STACK_NAME"
-
-    # JENKINS_URLS is provided by the Jenkins Job declaration and intentially
-    # needs to be globbed.
-    # shellcheck disable=SC2153,SC2086
-    if stack_in_jenkins "$STACK_NAME" $JENKINS_URLS; then
-        # No need to delete stacks if there exists an active build for them
-        continue
-    else
-        status=$(openstack stack show -f value -c "stack_status" "$STACK_NAME")
-        case "$status" in
-            DELETE_IN_PROGRESS)
-                echo "skipping delete, $STACK_NAME is already DELETE in progress."
-                continue
-            ;;
-            DELETE_FAILED)
-                # Abandon is not supported in Vexxhost so let's keep trying to
-                # delete for now...
-                # echo "Stack delete failed, trying to stack abandon now."
-                # openstack stack abandon "$STACK_NAME"
-                echo "Deleting orphaned stack: $STACK_NAME"
-                openstack stack delete --yes "$STACK_NAME"
-
-                echo "------------------------------------"
-                echo "Stack details"
-                echo "------------------------------------"
-                openstack stack show "$STACK_NAME" -f yaml
-                echo "------------------------------------"
-                continue
-            ;;
-            CREATE_COMPLETE|CREATE_FAILED)
-                echo "Deleting orphaned stack: $STACK_NAME"
-                openstack stack delete --yes "$STACK_NAME"
-                continue
-            ;;
-            *)
-                continue
-            ;;
-        esac
-    fi
-done
diff --git a/jjb/odl-openstack-cleanup-stale-volumes.sh b/jjb/odl-openstack-cleanup-stale-volumes.sh
deleted file mode 100644 (file)
index 3745eb2..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash -l
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2018 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-# Scans OpenStack for orphaned volumes
-
-mapfile -t os_volumes < <(openstack volume list -f value -c ID --status Available)
-
-echo "---> Orphaned volumes"
-if [ ${#os_volumes[@]} -eq 0 ]; then
-    echo "No orphaned volumes found."
-else
-    for volume in "${os_volumes[@]}"; do
-        echo "Removing volume $volume"
-        lftools openstack --os-cloud vex volume remove --minutes 15 "$volume"
-    done
-fi
diff --git a/jjb/odl-openstack-install.sh b/jjb/odl-openstack-install.sh
deleted file mode 100644 (file)
index 6524ed5..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2017, 2018 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-# Installs the openstack cli to /tmp/v/openstack
-echo "---> Install openstack cli into /tmp/v/openstack"
-
-virtualenv "/tmp/v/openstack"
-# shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091
-source "/tmp/v/openstack/bin/activate"
-pip install --upgrade "pip<10.0.0" setuptools
-pip install --upgrade lftools[openstack] python-openstackclient python-heatclient
-pip freeze
index 91a38b492ea8181fa0e4de4a9f9625c102b247ae..1ba9d383be03469e4b91533625200f4552f59f2e 100644 (file)
@@ -30,4 +30,4 @@
 
       - genius:
           csit-list: >
-              genius-csit-1node-gate-all-{stream}
+              genius-csit-1node-gate-only-{stream}
index a1abf4669de961921764172b9c3c49cd0fea6658..da2e6d827bad5bf3754f73f9f2f94458bb721dc6 100644 (file)
@@ -15,7 +15,6 @@
     mvn-settings: odlparent-settings
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
     mvn-version: mvn35
-    sign-artifacts: true
 
     dependencies: ''
     email-upstream: '[odlparent]'
@@ -45,7 +44,6 @@
 
     mvn-settings: odlparent-settings
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-    sign-artifacts: true
 
     dependencies: ''
     email-upstream: '[odlparent]'
@@ -76,7 +74,6 @@
 
     mvn-settings: odlparent-settings
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-    sign-artifacts: true
 
     dependencies: ''
     email-upstream: '[odlparent]'
     mvn-settings: 'odlparent-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: odlparent
-    description: 'List of odlparent jobs'
-    regex: '^odlparent-.*'
-    <<: *releng_view_common
+- project:
+    name: odlparent-view
+    views:
+      - project-view
+    project-name: odlparent
index ec2c33f4ee48acaf79ec8cafa9e4b054eb1cfc78..4c848fa5893e87ce7237b52382513cddd213105f 100644 (file)
@@ -2,7 +2,7 @@
 - project:
     name: odltools-csit
     jobs:
-      - inttest-csit-1node
+      - inttest-csit-1node-custom
       - inttest-csit-verify-1node
 
     project: odltools
index 110fa84a6de94ee6fb7c219f5c7ceef7cfb7ab00..60055fe106140b4be9ddaffe317e962be017c8f2 100644 (file)
@@ -21,8 +21,8 @@
     build-node: centos7-builder-2c-2g
     build-timeout: 60
 
-- view:
-    name: odltools
-    description: 'List of odltools jobs'
-    regex: '^odltools-.*'
-    <<: *releng_view_common
+- project:
+    name: odltools-view
+    views:
+      - project-view
+    project-name: odltools
index 37f2475a8f1217ebb6a548d0a115de2f24213ab0..c4baf3664d86abcfee2a55b2dd5b265c11e18b9e 100644 (file)
@@ -61,8 +61,8 @@
     mvn-settings: 'of-config-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: of-config
-    description: 'List of of-config jobs'
-    regex: '^of-config-.*'
-    <<: *releng_view_common
+- project:
+    name: of-config-view
+    views:
+      - project-view
+    project-name: of-config
index 350306a6f5a91ff385487d8c74d69add4b44a50c..8cb06fe70766355885b06fb56c03fb99295a4a08 100644 (file)
@@ -92,8 +92,8 @@
           echo "----------------------------------"
           echo " Promoted ODL Autorelease artifact as release candidate!"
 
-- view:
-    name: openci
-    description: 'List of openci jobs'
-    regex: '^openci-.*'
-    <<: *releng_view_common
+- project:
+    name: openci-odl-view
+    views:
+      - project-view
+    project-name: openci-odl
index 1c7036ce461347191aa2c77c3de72b2e0dcee28f..4cda23afcd78b588732113a154b87782828f10b5 100644 (file)
@@ -23,7 +23,7 @@
 
     # Job images
     tools_system_count: 2
-    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
 
     # Features to install
     install-features: 'odl-openflowplugin-flow-services-rest'
index 9b400522616648edc1594423c51e607d4c912dad..b404b273f4e1b8f1fef7da48146815486f5105c6 100644 (file)
           scope: 'only'
 
     # Job images
-    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
 
     # Features to install
     install-features: 'odl-openflowplugin-flow-services-rest,odl-openflowplugin-drop-test'
 
     # Robot custom options
-    robot-options: '-v duration_in_secs:60 -v throughput_threshold:20000 -v latency_threshold:5000'
+    robot-options: '-v duration_in_secs:60 -v throughput_threshold:20000 -v latency_threshold:2000'
 
     # Plot Info
     01-plot-title: 'Throughput Mode'
index 70e26fbe739532e1dcc62945adaa5a579502ef72..04b07adb1f677b61f1fb9f872ff15c45ad8ae55b 100644 (file)
@@ -26,7 +26,7 @@
           scope: 'only'
 
     # Job images
-    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
 
     # Features to install
     install-features: 'odl-openflowplugin-flow-services-rest,odl-openflowplugin-app-bulk-o-matic'
index 5d294a6d956ad752bfcf759d43fce56d78a61e48..6cf7e904ee4a74eee84dc36d75112b6ac83eaa83 100644 (file)
@@ -26,7 +26,7 @@
           scope: 'only'
 
     # Job images
-    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
 
     # Features to install
     install-features: >
@@ -37,7 +37,7 @@
         decanter-appender-elasticsearch
 
     # Robot custom options
-    robot-options: '-v ODL_OF_PLUGIN:lithium -v switch_count:32 -v flow_count_per_switch:2500'
+    robot-options: '-v ODL_OF_PLUGIN:lithium -v switch_count:32 -v flow_count_per_switch:2250'
 
     # Plot Info
     01-plot-title: 'Flow Add rate'
index 0f3bba85ee06287d33d049bc14e147f6333345cd..9bbc4cf698cde000b6576fff60d2b5b33b52ba10 100644 (file)
@@ -26,7 +26,7 @@
           scope: 'only'
 
     # Job images
-    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
 
     # Features to install
     install-features: >
index fe51f8766638caf4c4632a0be4fa7f618dc055e2..36c42a25308ce6be16775c7450add4a55d9a1f1d 100644 (file)
@@ -26,7 +26,7 @@
           scope: 'all'
 
     # Job images
-    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
 
     # Features to install
     install-features: >
index 0f0ac4c1f8869b9d535d063adc51a72c14399f30..ca0d53dbe07e80754405eec5f0e5715112493002 100644 (file)
@@ -25,7 +25,7 @@
           scope: 'only'
 
     # Job images
-    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
 
     # Features to install
     install-features: >
index 98f5e083ef81e8224903a6a617531a6b26ee56d1..540f34830855505b7f2c7b53fa7566651026a7a7 100644 (file)
@@ -26,7 +26,7 @@
           scope: 'only'
 
     # Job images
-    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
 
     # Features to install
     install-features: >
index 6c60ea5c1e14b6a178cf81095e725797e16fdcdf..1232f7ff9dbb45834d8fc0122dcd2baecb76dff0 100644 (file)
@@ -26,7 +26,7 @@
           scope: 'only'
 
     # Job images
-    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
 
     # Features to install
     install-features: 'odl-openflowplugin-flow-services-rest'
index 85045f4d501d18c00a23273a72ab548c6d917efc..aa2a4db56aa826284460afec764323678b4b6920 100644 (file)
@@ -25,7 +25,7 @@
           scope: 'only'
 
     # Job images
-    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
 
     # Features to install
     install-features: >
index 104c06f663b57b5b1939567801225ad6f7d933d1..f5287d8b9cd3ce36d370f7c4e5aa6c61177f8554 100644 (file)
@@ -24,7 +24,7 @@
           scope: 'only'
 
     # Job images
-    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
 
     # Features to install
     install-features: >
index 1b3b189a5d6dba96f309a2072b9b242c1cf1082c..7bd8ad239e5e831f3f376f9f3236e951f6b7d22b 100644 (file)
@@ -24,7 +24,7 @@
           scope: 'only'
 
     # Job images
-    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
 
     # Features to install
     install-features: >
index f00e38cec6c0d2fca8956972e08cb74591895ece..7d0a84343612501424320651bb236e3204ec3414 100644 (file)
@@ -26,7 +26,7 @@
           scope: 'only'
 
     # Job images
-    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+    tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
 
     # Features to install
     install-features: >
index 1a3be635fc08adda93830054be440e1edccf9274..bcfd5647e3a9c417485658667ad1553c84e215a3 100644 (file)
@@ -42,4 +42,4 @@
 
       - genius:
           csit-list: >
-              genius-csit-1node-gate-all-{stream}
+              genius-csit-1node-gate-only-{stream}
index 4e63550a9c1da0e1adf4db6fd9ce91dc55734939..3b30d6118b5dde044892b1da963b149d9cb72ce6 100644 (file)
@@ -99,6 +99,7 @@
     name: openflowplugin-sonar
     jobs:
       - gerrit-maven-sonar
+
     project: 'openflowplugin'
     project-name: 'openflowplugin'
     branch: 'master'
     mvn-goals: 'clean deploy javadoc:aggregate'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: openflowplugin
-    description: 'List of openflowplugin jobs'
-    regex: '^openflowplugin-.*'
-    <<: *releng_view_common
+- project:
+    name: openflowplugin-view
+    views:
+      - project-view
+    project-name: 'openflowplugin'
 
-- view:
-    name: openflowplugin-oxygen
-    description: 'List of openflowplugin oxygen jobs'
-    regex: 'openflowplugin-.*-oxygen'
-    <<: *releng_view_common
+- project:
+    name: openflowplugin-oxygen-view
+    views:
+      - common-view
+    view-name: 'openflowplugin-oxygen'
+    view-regex: '^openflowplugin-.*-oxygen'
index c1dfa113d40fb31a5b4f1b7e2443cdbf0113ca5c..1a8f6c06e18221813d1fe76d68181e0e309f7f97 100644 (file)
@@ -48,7 +48,6 @@
               GROUP_ID={group-id}
               UPLOAD_FILES_PATH={upload-files-dir}
       - shell: !include-raw-escape:
-          - ../global-jjb/shell/lftools-install.sh
           - ../global-jjb/shell/common-variables.sh
           - scripts/deploy-opflex.sh
 
@@ -73,7 +72,6 @@
           properties-content: |
               STAGING_PROFILE_ID={staging-profile-id}
       - shell: !include-raw-escape:
-          - ../global-jjb/shell/lftools-install.sh
           - ../global-jjb/shell/maven-stage.sh
 
 - scm:
index 537325c8c29bc64f21fd4cf3f6347171673390c8..ff6acfc8af15a8ca4e3fc53d05b6f16305370f64 100644 (file)
@@ -2,6 +2,11 @@
 - project:
     name: opflex-release
     jobs:
+      - '{project-name}-rtd-jobs':
+          build-node: centos7-builder-2c-2g
+          project-pattern: opflex
+          rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-opflex/52373/
+          rtd-token: bf99281866a176904cf12861789deaf04d4b0c45
       - 'opflex-release-{stream}'
 
     stream:
           build-timeout: '{build-timeout}'
 
     builders:
+      - lf-infra-pre-build
       - opflex-build:
           mvn33: '{mvn-version}'
           stream: '{stream}'
           email-prefix: '[opflex]'
       - lf-infra-publish
 
-- view:
-    name: opflex
-    description: 'List of opflex jobs'
-    regex: '^opflex-.*'
-    <<: *releng_view_common
+- project:
+    name: opflex-view
+    views:
+      - project-view
+    project-name: opflex
index 2fa61bd60e63dd22c5c6f550b8ea8548e89dc23b..3ee1e2f41cf6467e43a17c118dc2956eadcecc10 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -l
 # SPDX-License-Identifier: EPL-1.0
 ##############################################################################
 # Copyright (c) 2017 The Linux Foundation and others.
index ea6cbc85b086b4097df528c99f2bdfb7cfae97a8..6e7ef19a7661b3e7ac7877eb469c8b613d196da4 100644 (file)
@@ -66,8 +66,8 @@
     mvn-settings: 'ovil-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: ovil
-    description: 'List of ovil jobs'
-    regex: '^ovil-.*'
-    <<: *releng_view_common
+- project:
+    name: ovil-view
+    views:
+      - project-view
+    project-name: ovil
index e110e35a979ee06687a1e8181c998c660d895676..8f02b5d3eb0b469694cb00e75eac9bec3bbad8cd 100644 (file)
           maven-version: 'mvn33'
           stream: '{stream}'
           OVS_VERSION: '2.5.0'
-      - jacoco-nojava-workaround
+      - lf-jacoco-nojava-workaround
 
     publishers:
       - email-notification:
index 247e9e9e65859239edabd35490f4055ab774d1c6..560e8b127b4ff5ddec1282d609fe4e72efa64094 100644 (file)
@@ -23,7 +23,7 @@
     feature:
       - genius:
           csit-list: >
-              genius-csit-1node-gate-all-{stream}
+              genius-csit-1node-gate-only-{stream}
       - netvirt:
           csit-list: >
               netvirt-csit-1node-{os-std-topo}-openstack-{os-branch}-gate-stateful-{stream}
index 257c99ab03b71a69afd984303e69675992437342..428a5e14b6dfcbb102e5b326d4f6a4789fe762be 100644 (file)
           global-settings: 'global-settings'
           global-settings-type: cfp
       - shell: !include-raw-escape: cleanup-docker.sh
-      - jacoco-nojava-workaround
+      - lf-jacoco-nojava-workaround
 
     publishers:
       - email-notification:
index 3553845105175b2d7a4e80c2bf386fdf2708407f..a62d9800a3a81a313e9e7f58f9553ab12b795477 100644 (file)
@@ -69,8 +69,8 @@
     # Used by the release job
     staging-profile-id: a68b188166958
 
-- view:
-    name: ovsdb
-    description: 'List of ovsdb jobs'
-    regex: '^ovsdb-.*'
-    <<: *releng_view_common
+- project:
+    name: ovsdb-view
+    views:
+      - project-view
+    project-name: ovsdb
index d96dd73e99716168106aa407c6e76f6034685f48..6025be9a1e0b149f0ed1fd5eea00f6a431ce709e 100644 (file)
@@ -65,8 +65,8 @@
     mvn-settings: 'p4plugin-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: p4plugin
-    description: 'List of p4plugin jobs'
-    regex: '^p4plugin-.*'
-    <<: *releng_view_common
+- project:
+    name: p4plugin-view
+    views:
+      - project-view
+    project-name: p4plugin
index 42ad10afa791e38cd535dd8b5ab87d35e1a446f4..7176d06a3d2386cd0c3e1ab1054efe093068ca0f 100644 (file)
@@ -50,7 +50,7 @@
       - shell: !include-raw: test-ansible-rpm-upgrade.sh
 
     triggers:
-      - timed: '@daily'
+      - timed: '@weekly'
       - gerrit-trigger-patch-submitted:
           gerrit-server-name: '{gerrit-server-name}'
           project: '{project}'
 
     builders:
       - shell: !include-raw: setup-ansible-deb.sh
-      - shell: !include-raw: test-ansible-deb.sh
-      - shell: !include-raw: test-ansible-odl-user.sh
-      - shell: !include-raw: test-odl-logs.sh
+      - shell: !include-raw: test-ansible-deb-default-config.sh
+      - shell: !include-raw: test-ansible-deb-custom-config.sh
 
     triggers:
-      - timed: '@daily'
+      - timed: '@weekly'
       - gerrit-trigger-patch-submitted:
           gerrit-server-name: '{gerrit-server-name}'
           project: '{project}'
 
     publishers:
       - lf-infra-publish
+
+- project:
+    name: ansible-view
+    views:
+      - project-view
+    project-name: ansible
index 1f3459ea51271ff28f6cbc3ab8e0ab42743cac8f..2f120cdcbf78c25c6ae89cc14af37016f9cd3813 100644 (file)
@@ -98,6 +98,7 @@
           build-timeout: '{build-timeout}'
 
     builders:
+      - lf-infra-pre-build
       - shell: !include-raw-escape: build-rpm.sh
       - install-test-uninstall-rpm
       - lf-infra-deploy-maven-file:
       - shell: !include-raw-escape: build-rpm.sh
       - install-test-uninstall-rpm
 
+      # Test Fluorine SR1 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.9.1/karaf-0.9.1.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-2393/org/opendaylight/integration/karaf/0.10.0/karaf-0.10.0.tar.gz'
+          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2473/org/opendaylight/integration/karaf/0.10.0/karaf-0.10.0.tar.gz'
       - shell: !include-raw-escape: build-rpm.sh
       - install-test-uninstall-rpm
 
       # 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-20181011.124523-10.zip'
+          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-20181119.131156-18.zip'
       - shell: !include-raw-escape: build-rpm.sh
       - install-test-uninstall-rpm
 
       - install-test-uninstall-rpm
 
     triggers:
+      - timed: '@weekly'
       - gerrit-trigger-patch-submitted:
           gerrit-server-name: '{gerrit-server-name}'
           project: '{project}'
       # 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-2395/org/opendaylight/integration/karaf/0.8.4/karaf-0.8.4.tar.gz'
+          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2472/org/opendaylight/integration/karaf/0.8.4/karaf-0.8.4.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 SR1 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.9.1/karaf-0.9.1.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
       - inject:
           # yamllint disable-line rule:line-length
-          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2394/org/opendaylight/integration/karaf/0.9.1/karaf-0.9.1.tar.gz'
+          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2474/org/opendaylight/integration/karaf/0.9.1/karaf-0.9.1.tar.gz'
       - shell: !include-raw-escape: build-rpm.sh
       - install-test-uninstall-rpm
 
       # 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.9.1-SNAPSHOT/karaf-0.9.1-20181015.150828-5.zip'
+          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.9.1-SNAPSHOT/karaf-0.9.1-20181112.140627-11.zip'
       - shell: !include-raw-escape: build-rpm.sh
       - install-test-uninstall-rpm
 
       # 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-2393/org/opendaylight/integration/karaf/0.10.0/karaf-0.10.0.tar.gz'
+          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2473/org/opendaylight/integration/karaf/0.10.0/karaf-0.10.0.tar.gz'
       - shell: !include-raw-escape: build-rpm.sh
       - install-test-uninstall-rpm
 
       # 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-20181011.124523-10.zip'
+          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-20181119.131156-18.zip'
       - shell: !include-raw-escape: build-rpm.sh
       - install-test-uninstall-rpm
 
       - install-test-uninstall-rpm
 
     triggers:
-      - timed: '@daily'
+      - timed: '@weekly'
       - gerrit:
           server-name: '{gerrit-server-name}'
           trigger-on:
       - shell: !include-raw: stop-odl.sh
       - shell: !include-raw: uninstall-rpm.sh
 
+    triggers:
+      - timed: '@monthly'
+
     publishers:
       # TODO: Remove the archive publisher
       #       small data should be stored on logs.opendaylight.org
       - installrepcfg-upgrade-start-test-stop-rpm
 
     triggers:
+      - timed: '@weekly'
       - gerrit-trigger-patch-submitted:
           gerrit-server-name: '{gerrit-server-name}'
           project: '{project}'
       - shell: !include-raw: stop-odl.sh
       - shell: !include-raw-escape: uninstall-deb.sh
 
+    triggers:
+      - timed: '@monthly'
+
     publishers:
       - lf-infra-publish
 
           upload-files-dir: '{upload-files-dir}'
           maven-repo-url: '{maven-repo-url}'
 
+    triggers:
+      - timed: '@monthly'
+
     publishers:
       - lf-infra-publish
 
-- view:
-    name: packaging
-    description: 'List of packaging, ansible and puppet jobs'
-    regex: '^packaging.*|ansible.*|puppet.*'
-    <<: *releng_view_common
+- project:
+    name: packaging-view
+    views:
+      - project-view
+    project-name: packaging
index 8dfc9de3ba3ce7ef212428d5a83418df38bf5220..63abac12134ba4ccccf78e3f04e1b6cf90fe99b1 100644 (file)
@@ -55,7 +55,7 @@
       - shell: !include-raw: test-puppet.sh
 
     triggers:
-      - timed: '@weekly'
+      - timed: '@monthly'
       - gerrit-trigger-patch-submitted:
           gerrit-server-name: '{gerrit-server-name}'
           project: '{project}'
       - shell: !include-raw: test-puppet.sh
 
     triggers:
-      - timed: '@daily'
+      - timed: '@weekly'
       - gerrit:
           server-name: '{gerrit-server-name}'
           trigger-on:
 
     publishers:
       - lf-infra-publish
+
+- project:
+    name: puppet-view
+    views:
+      - project-view
+    project-name: puppet
diff --git a/jjb/packaging/test-ansible-deb-custom-config.sh b/jjb/packaging/test-ansible-deb-custom-config.sh
new file mode 100644 (file)
index 0000000..0418c41
--- /dev/null
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+# Uninstall any previous installation
+sudo apt-get remove opendaylight && sudo apt-get purge opendaylight
+
+# Delete the ODL directory to ensure a clean working enviroment
+sudo rm -rf /opt/opendaylight
+
+# Install OpenDaylight via repo using example Ansible playbook
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/examples/deb_repo_api.yml --extra-vars "@$WORKSPACE/ansible/examples/log_vars.json"
+
+# Create Ansible custom module directories
+sudo mkdir -p /usr/share/ansible/plugins/modules
+
+# Copy the custom module to the directory above
+sudo cp $WORKSPACE/ansible/library/odl_usermod.py /usr/share/ansible/plugins/modules/
+
+# Execute the odl-user-test playbook
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/tests/test-odl-users.yaml -v
+
+# Test the custom log configurations
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/tests/test-odl-logs.yaml -e test_log_level=DEBUG -e test_log_mechanism=console -v
diff --git a/jjb/packaging/test-ansible-deb-default-config.sh b/jjb/packaging/test-ansible-deb-default-config.sh
new file mode 100644 (file)
index 0000000..031a306
--- /dev/null
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+# Uninstall any previous installation
+sudo apt-get remove opendaylight && sudo apt-get purge opendaylight
+
+# Delete the ODL directory to ensure a clean working enviroment
+sudo rm -rf /opt/opendaylight
+
+# Install OpenDaylight via repo using example Ansible playbook
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/examples/deb_repo_api.yml
+
+# Create Ansible custom module directories
+sudo mkdir -p /usr/share/ansible/plugins/modules
+
+# Copy the custom module to the directory above
+sudo cp $WORKSPACE/ansible/library/odl_usermod.py /usr/share/ansible/plugins/modules/
+
+# Execute the odl-user-test playbook
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/tests/test-odl-users.yaml -v
+
+# Test the custom log configurations
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/tests/test-odl-logs.yaml -e test_log_level=INFO -e test_log_mechanism=file -v
diff --git a/jjb/packaging/test-ansible-deb.sh b/jjb/packaging/test-ansible-deb.sh
deleted file mode 100644 (file)
index 99d0f80..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-
-# Install OpenDaylight via repo using example Ansible playbook
-sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/examples/deb_repo_api.yml --extra-vars "@$WORKSPACE/ansible/examples/log_vars.json"
index 07a8c17d00f8326d95e6b52ce26f925cfc40aaf6..b95c8ccec95194faa572a6e0e383691ceec4bdda 100644 (file)
@@ -7,7 +7,7 @@ sudo yum remove opendaylight -y
 sudo rm -rf /opt/opendaylight
 
 # Install OpenDaylight with custom config via repo using example Ansible playbook
-sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/examples/rpm_8_devel_odl_api.yml --extra-vars "@$WORKSPACE/ansible/examples/log_vars.json"
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/examples/rpm_10_devel_odl_api.yml --extra-vars "@$WORKSPACE/ansible/examples/log_vars.json"
 
 # Create Ansible custom module directories
 sudo mkdir -p /usr/share/ansible/plugins/modules
index fe88d0e13270158539c4c8b93124a29977b12669..65f5b4be7a31b2094cf4921f4b343f4cf805bcc9 100644 (file)
@@ -7,7 +7,7 @@ sudo yum remove opendaylight -y
 sudo rm -rf /opt/opendaylight
 
 # Install OpenDaylight with custom config via repo using example Ansible playbook
-sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/examples/rpm_8_devel_odl_api.yml
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/examples/rpm_10_devel_odl_api.yml
 
 # Create Ansible custom module directories
 sudo mkdir -p /usr/share/ansible/plugins/modules
index af6a871cf4944ff99330c833bc48edf52d827fda..7d500b4e9a2908c59a495f5e35ebb2bce4b79785 100644 (file)
@@ -61,8 +61,8 @@
     mvn-settings: 'packetcable-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: packetcable
-    description: 'List of packetcable jobs'
-    regex: '^packetcable-.*'
-    <<: *releng_view_common
+- project:
+    name: packetcable-view
+    views:
+      - project-view
+    project-name: packetcable
index 327ee7ac7366454be4e8430412aae5b682aa1fec..ba5479ee141cd44e51899a3dbef5041c59c69998 100644 (file)
@@ -16,7 +16,6 @@
       - gerrit-jjb-verify
       - builder-check-poms
       - builder-copy-sandbox-logs
-      - builder-openstack-cron
       - gerrit-tox-verify
       # Automation for docs and jobs
       - 'builder-update-image-list'
     build-node: centos7-builder-2c-2g
     archive-artifacts: '**/*.log'
     build-timeout: 30
-    jjb-version: 2.2.1
+    jjb-version: 2.8.0
+
+- project:
+    name: builder-openstack
+    jobs:
+      - gerrit-openstack-cron
+
+    project: 'releng/builder'
+    project-name: builder
+    build-node: centos7-builder-2c-2g
+
     jenkins-urls: >
-      https://jenkins.opendaylight.org/releng
-      https://jenkins.opendaylight.org/sandbox
+        https://jenkins.opendaylight.org/releng
+        https://jenkins.opendaylight.org/sandbox
+    openstack-cloud: vex
 
 - job-template:
     name: builder-check-poms
       - lf-infra-publish
 
 
-- job-template:
-    name: builder-openstack-cron
-    project-type: freestyle
-    node: '{build-node}'
-    concurrent: true
-
-    properties:
-      - lf-infra-properties:
-          build-days-to-keep: 7
-
-    parameters:
-      - lf-infra-parameters:
-          project: '{project}'
-          stream: '{stream}'
-          branch: '{branch}'
-          lftools-version: '{lftools-version}'
-      - string:
-          name: OS_CLOUD
-          default: '{os-cloud}'
-          description: |
-              The name of a cloud configuration in clouds.yaml. OS_CLOUD is a
-              variable name that is significant to openstack client as a
-              environment variable. Please refer to the documentation for
-              further details.
-              https://docs.openstack.org/developer/python-openstackclient/
-      - string:
-          name: ARCHIVE_ARTIFACTS
-          default: '{archive-artifacts}'
-          description: Artifacts to archive to the logs server.
-      - string:
-          name: JENKINS_URLS
-          default: '{jenkins-urls}'
-          description: 'Space separated list of Jenkins URLs to check for active builds'
-
-    scm:
-      - git-scm:
-          branch: '{branch}'
-
-    wrappers:
-      - lf-infra-wrappers:
-          build-timeout: '{build-timeout}'
-          jenkins-ssh-credential: '{jenkins-ssh-credential}'
-      # Listed after to override openstack-infra-wrappers clouds.yaml definition
-      - config-file-provider:
-          files:
-            - file-id: clouds-yaml
-              target: '$HOME/.config/openstack/clouds.yaml'
-            - file-id: npmrc
-              target: '$HOME/.npmrc'
-            - file-id: pipconf
-              target: '$HOME/.config/pip/pip.conf'
-
-    triggers:
-      - timed: '0,30 * * * *'
-
-    builders:
-      - lf-infra-pre-build
-      - shell: |
-          #!/bin/bash -l
-          pip install --user --upgrade lftools[openstack]~=0.17.1
-      # Servers
-      - odl-openstack-cleanup-stale-stacks
-      - odl-openstack-cleanup-stale-nodes
-      - odl-openstack-cleanup-orphaned-nodes
-      # Volumes
-      - odl-openstack-cleanup-stale-volumes
-      # Images
-      - odl-openstack-check-image-protection
-      - odl-openstack-cleanup-old-images
-
-    publishers:
-      - lf-infra-publish
-
 - job-template:
     name: 'builder-update-image-list'
     project-type: freestyle
index 893d6b7236229b8d0f3097df2f45e7fdaf8d6951..7c0a9164318df0009cc234580f8e560e593c383e 100644 (file)
               further details.
               https://docs.openstack.org/developer/python-openstackclient/
 
-- parameter:
-    name: build-tag
-    parameters:
-      - string:
-          name: BUILD_TAG
-          default: ''
-          description: 'Tag in Git to checkout'
-
-- parameter:
-    name: controller-version-parameter
-    parameters:
-      - string:
-          name: ODL_VERSION
-          default: '{odl_version}'
-          description: 'Controller version (for use with openstacks networking_odl project)'
-
 - parameter:
     name: patches-to-build-parameter
     parameters:
           default: 'master'
           description: 'distribution repo branch to build with'
 
-- parameter:
-    name: p2zip-parameter
-    parameters:
-      - string:
-          name: P2ZIP_URL
-          default: ''
-          description: 'Nexus staging profile id'
-
-- parameter:
-    name: stage-id-parameter
-    parameters:
-      - string:
-          name: STAGING_PROFILE_ID
-          default: '{stage-id}'
-          description: 'Nexus staging profile id'
-
 - parameter:
     name: maven-exec
     parameters:
           skip-tag: true
           choosing-strategy: '{choosing-strategy}'
 
-- wrapper:
-    name: build-timeout
-    wrappers:
-      - timeout:
-          type: absolute
-          timeout: 360
-          fail: true
-
 # This is a single macro to use for all jobs who vote on every (relevant) patch set.
 # Only 'recheck' trigger word is supported, it always triggers the full set of relevant jobs,
 # in order to prevent Jenkins from starting only a subset and still voting Verified+1.
           send-to:
             - recipients
 
-
-- builder:
-    # Installs the openstack cli into a virtualenv at /tmp/v/openstack
-    name: odl-openstack-install
-    builders:
-      - shell: !include-raw: odl-openstack-install.sh
-
-- builder:
-    name: odl-openstack-check-image-protection
-    builders:
-      - shell: !include-raw: odl-openstack-check-image-protection.sh
-
-- builder:
-    name: odl-openstack-cleanup-old-images
-    builders:
-      - shell: !include-raw: odl-openstack-cleanup-old-images.sh
-
-- builder:
-    name: odl-openstack-cleanup-orphaned-nodes
-    builders:
-      - shell: !include-raw: odl-openstack-cleanup-orphaned-nodes.sh
-
-- builder:
-    name: odl-openstack-cleanup-stale-nodes
-    builders:
-      - shell: !include-raw: odl-openstack-cleanup-stale-nodes.sh
-
-- builder:
-    name: odl-openstack-cleanup-stale-stacks
-    builders:
-      - shell: !include-raw: odl-openstack-cleanup-stale-stacks.sh
-
-- builder:
-    name: odl-openstack-cleanup-stale-volumes
-    builders:
-      - shell: !include-raw: odl-openstack-cleanup-stale-volumes.sh
-
-- builder:
-    # Deploys a maven site to Nexus using lftools nexus-zip command
-    name: opendaylight-infra-deploy-maven-site
-    builders:
-      - lf-provide-maven-settings:
-          global-settings-file: global-settings
-          settings-file: '{settings-file}'
-      - lf-infra-create-netrc:
-          server-id: opendaylight-site
-      - shell: !include-raw-escape:
-          - global-jjb/shell/lftools-install.sh
-          - opendaylight-infra-deploy-maven-site.sh
-      - lf-provide-maven-settings-cleanup
-
 - builder:
     name: opendaylight-infra-stack
     # opendaylight-infra-stack.sh has a required variable {stack-template} that
     builders:
       - shell: 'if [ -d /tmp/r ]; then rm -rf /tmp/r; fi'
 
-- builder:
-    name: jacoco-nojava-workaround
-    builders:
-      - shell: 'mkdir -p $WORKSPACE/target/classes $WORKSPACE/jacoco/classes'
-
-- builder:
-    name: check-clm
-    builders:
-      - sonatype-clm:
-          application-name: '{application-name}'
-
-- builder:
-    name: releng-check-unicode
-    builders:
-      - shell: |
-          $WORKSPACE/scripts/check-unicode.sh jjb/
-
-- builder:
-    name: provide-maven-settings
-    builders:
-      - config-file-provider:
-          files:
-            - file-id: '{global-settings-file}'
-              variable: 'GLOBAL_SETTINGS_FILE'
-            - file-id: '{settings-file}'
-              variable: 'SETTINGS_FILE'
-
-- builder:
-    name: releng-fetch-p2zip-if-necessary
-    builders:
-      - shell: |
-          # Cleanup any existing zips and metadata before we download the new update site
-          rm -f *.zip *.xml
-      - conditional-step:
-          condition-kind: strings-match
-          condition-string1: '$P2ZIP_URL'
-          condition-string2: ''
-          condition-basedir: workspace
-          steps:
-            # TODO: Figure out latest snapshot version number to pull rather than hardcoding 1.1.1-SNAPSHOT
-            - maven-target:
-                maven-version: '{maven-version}'
-                goals: >
-                    org.apache.maven.plugins:maven-dependency-plugin:get
-                    org.apache.maven.plugins:maven-dependency-plugin:copy
-                    -V -B
-                    -Dartifact=org.opendaylight.yangide:org.opendaylight.yangide.update-site:1.1.1-SNAPSHOT:zip
-                    -DoutputDirectory=$WORKSPACE
-                settings: '{settings}'
-                global-settings: '{global-settings}'
-
-- builder:
-    name: releng-generate-p2pom
-    builders:
-      - shell: !include-raw: generate-p2pom.sh
-
-- builder:
-    name: releng-update-p2composite-metadata
-    builders:
-      - shell: !include-raw: update-p2composite-metadata.sh
-      - conditional-step:
-          condition-kind: file-exists
-          condition-filename: deploy-composite-repo.xml
-          condition-basedir: workspace
-          steps:
-            - maven-target:
-                maven-version: '{maven-version}'
-                pom: 'deploy-composite-repo.xml'
-                goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r'
-                settings: '{settings}'
-                global-settings: '{global-settings}'
-
 - publisher:
     name: releng-openstack-stack-delete
     publishers:
                     openstack stack delete --yes "$STACK_NAME"
           mark-unstable-if-failed: false
 
-- builder:
-    name: releng-stage-release
-    builders:
-      - shell: !include-raw: stage-release.sh
-
 - wrapper:
     # This wrapper is required for all jobs as it configures the wrappers
     # needed by OpenDaylight infra.
index 21812c7638d969c9aaf0aff7fd5a04511d4171d5..d735b4876e3e56d0635154300fb9dc7e32c0a8b1 100644 (file)
@@ -3,7 +3,9 @@
     name: odl-maven-jobs
 
     jobs:
-      - gerrit-maven-clm
+      - gerrit-maven-clm:
+          nexus-iq-namespace: odl-
+          nexus-iq-stage: release
 
       # TODO: Figure out what's wrong with the gerrit-maven-merge job.
       # - gerrit-maven-merge:
           build-timeout: 180
           mvn-goals: clean install -V -Dmaven.compile.fork=true -Dintegrationtests -Dvtn.build.jobs=2
 
-      - gerrit-maven-stage
+      - gerrit-maven-stage:
+          sign-artifacts: true
+          mvn-central: true
+          ossrh-profile-id: 7edbe315063867
       - gerrit-maven-verify
       - gerrit-maven-verify-dependencies:
           build-timeout: 180
@@ -73,8 +78,8 @@
           result: 'success'
 
     builders:
-      - jacoco-nojava-workaround
-      - provide-maven-settings:
+      - lf-jacoco-nojava-workaround
+      - lf-provide-maven-settings:
           global-settings-file: 'global-settings'
           settings-file: '{mvn-settings}'
       - maven-target:
           forbidden-files: ''
 
     prebuilders:
-      - jacoco-nojava-workaround
-      - provide-maven-settings:
+      - lf-jacoco-nojava-workaround
+      - lf-provide-maven-settings:
           global-settings-file: 'global-settings'
           settings-file: '{mvn-settings}'
       - lf-maven-install:
diff --git a/jjb/releng-templates.yaml b/jjb/releng-templates.yaml
deleted file mode 100644 (file)
index d830b59..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
----
-- job-template:
-    name: '{project-name}-release-java'
-
-    # Job template for producing a release candidate by creating a staging repo
-    # in Nexus.
-
-    project-type: freestyle
-    node: '{build-node}'
-    jdk: '{java-version}'
-
-    properties:
-      - opendaylight-infra-properties:
-          build-days-to-keep: 30
-
-    parameters:
-      - opendaylight-infra-parameters:
-          os-cloud: '{os-cloud}'
-          project: '{project}'
-          branch: '{branch}'
-          refspec: 'refs/heads/{branch}'
-          artifacts: '{archive-artifacts}'
-      - build-tag
-      - stage-id-parameter:
-          stage-id: '{stage-id}'
-
-    scm:
-      - git:
-          credentials-id: 'opendaylight-jenkins-ssh'
-          url: '$GIT_BASE'
-          branches:
-            - '$BUILD_TAG'
-          skip-tag: true
-          shallow-clone: true
-          wipe-workspace: true
-
-    wrappers:
-      - opendaylight-infra-wrappers:
-          build-timeout: '{build-timeout}'
-
-    builders:
-      - wipe-org-opendaylight-repo
-      - jacoco-nojava-workaround
-      - provide-maven-settings:
-          global-settings-file: 'global-settings'
-          settings-file: 'autorelease-settings'
-      - maven-target:
-          maven-version: 'mvn35'
-          pom: 'pom.xml'
-          goals: >
-              clean deploy -V -B
-              -Dmaven.repo.local=/tmp/r
-              -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
-              -Djenkins
-              -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage
-          java-opts:
-            - '-Xmx1024m -XX:MaxPermSize=256m'
-          settings: 'autorelease-settings'
-          settings-type: cfp
-          global-settings: 'global-settings'
-          global-settings-type: cfp
-      - releng-stage-release
-
-    publishers:
-      - email-notification:
-          email-recipients: '{email-recipients}'
-          email-prefix: '[releng]'
-      - lf-infra-publish
-
-
-- job-template:
-    name: '{project-name}-publish-p2repo'
-
-    # Job template for publishing a p2 repo given a URL to a zipped p2repo.
-
-    project-type: freestyle
-    node: '{build-node}'
-    jdk: '{java-version}'
-
-    parameters:
-      - opendaylight-infra-parameters:
-          os-cloud: '{os-cloud}'
-          project: '{project}'
-          branch: '{branch}'
-          refspec: 'refs/heads/{branch}'
-          artifacts: '{archive-artifacts}'
-      - p2zip-parameter
-
-    wrappers:
-      - opendaylight-infra-wrappers:
-          build-timeout: '{build-timeout}'
-
-    builders:
-      - wipe-org-opendaylight-repo
-      - jacoco-nojava-workaround
-      - releng-fetch-p2zip-if-necessary:
-          maven-version: 'mvn35'
-          settings: '{mvn-settings}'
-          global-settings: 'global-settings'
-      - releng-generate-p2pom
-      - maven-target:
-          maven-version: 'mvn35'
-          pom: 'pom.xml'
-          goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r'
-          settings: '{mvn-settings}'
-          settings-type: cfp
-          global-settings: 'global-settings'
-          global-settings-type: cfp
-      - releng-update-p2composite-metadata:
-          maven-version: 'mvn35'
-          settings: '{mvn-settings}'
-          global-settings: 'global-settings'
-
-    publishers:
-      - email-notification:
-          email-recipients: '{email-recipients}'
-          email-prefix: '[releng]'
-      - lf-infra-publish
index 6d879573e6eda69b08c930f36e85de5c04793a89..cd938b85bd9856d577bb3709dbd319c8ebc7f15e 100644 (file)
       - robot-list
     recurse: false
 
-- view:
+- project:
     name: '00-Empty View'
-    description: >
+    views:
+      - common-view
+    view-name: '00-Empty View'
+    view-description: >
       Empty job view. This is used as the default landing view to keep the
       Jenkins UI responding better while a) under high load and b) when there
-      are a lot of jobs defined in the system'
-    view-type: list
-    filter-executors: false
-    filter-queue: false
-    recurse: false
-    regex: ''
+      are a lot of jobs defined in the system
+    view-regex: ''
 
 - view:
     name: 01-Recent
         check-start-time: true
     <<: *releng_view_common
 
-- view:
+- project:
     name: All-Sonar
-    regex: '.*-sonar$'
-    description: 'List of Sonar jobs'
-    <<: *releng_view_common
+    views:
+      - common-view
+    view-name: All-Sonar
+    view-regex: '.*-sonar$'
+    view-description: 'List of Sonar jobs'
 
 - view:
     name: CLM
       - policy-violations
     recurse: false
 
-- view:
+- project:
     name: CSIT-1node
-    description: 'List of CSIT 1node jobs'
-    regex: '^.*-csit-1node.*'
-    <<: *integration_view_csit
+    views:
+      - csit-view
+    view-name: CSIT-1node
+    view-description: 'List of CSIT 1node jobs'
+    view-regex: '^.*-csit-1node.*'
 
-- view:
+- project:
     name: CSIT-3node
-    description: 'List of CSIT 3node jobs'
-    regex: '^.*-csit-3node.*'
-    <<: *integration_view_csit
+    views:
+      - csit-view
+    view-name: CSIT-3node
+    view-description: 'List of CSIT 3node jobs'
+    view-regex: '^.*-csit-3node.*'
 
-- view:
+- project:
     name: CSIT
-    description: 'List of CSIT jobs'
-    regex: '^.*-csit-.*'
-    <<: *integration_view_csit
+    views:
+      - csit-view
+    view-name: CSIT
+    view-description: 'List of CSIT jobs'
+    view-regex: '^.*-csit-.*'
 
-- view:
+- project:
     name: CSIT-Verify
-    description: 'List of CSIT Verify jobs'
-    regex: '^.*-csit-verify.*'
-    <<: *integration_view_csit
+    views:
+      - csit-view
+    view-name: CSIT-Verify
+    view-description: 'List of CSIT Verify jobs'
+    view-regex: '^.*-csit-verify.*'
 
-- view:
+- project:
     name: Distribution-Check
-    description: 'List of Distribution Check jobs'
-    regex: '.*-distribution.*-check-.*'
-    <<: *releng_view_common
+    views:
+      - common-view
+    view-name: Distribution-Check
+    view-description: 'List of Distribution Check jobs'
+    view-regex: '.*-distribution.*-check-.*'
 
-- view:
+- project:
     name: Distribution-Jobs
-    description: >
+    views:
+      - common-view
+    view-name: Distribution-Jobs
+    view-description: >
         List of Distribution jobs (test, check, merge, deploy, offline, verify)
-    regex: '^.*-distribution-(?!(test|check|merge|deploy|offline|verify)).*'
-    <<: *releng_view_common
+    view-regex: '^.*-distribution-(?!(test|check|merge|deploy|offline|verify)).*'
 
-- view:
+- project:
     name: Gate
-    description: 'List of Gate jobs'
-    regex: '.*-gate-.*'
-    <<: *releng_view_common
+    views:
+      - common-view
+    view-name: Gate
+    view-description: 'List of Gate jobs'
+    view-regex: '.*-gate-.*'
 
-- view:
+- project:
     name: Integration
-    description: 'List of Integration jobs'
-    regex: '.*-integration-.*'
-    <<: *releng_view_common
+    views:
+      - common-view
+    view-name: Integration
+    view-description: 'List of Integration jobs'
+    view-regex: '.*-integration-.*'
 
-- view:
+- project:
     name: Merge-Jobs
-    description: 'List of Merge jobs'
-    regex: '.*-merge-.*'
-    <<: *releng_view_common
+    views:
+      - common-view
+    view-name: Merge-Jobs
+    view-description: 'List of Merge jobs'
+    view-regex: '.*-merge-.*'
 
-- view:
+- project:
     name: Patch-Test
-    description: 'List of Patch-Test jobs, for prioritizing jobs via the Job Priorities plugin'
-    regex: '.*-patch-test-.*'
-    <<: *releng_view_common
+    views:
+      - common-view
+    view-name: Patch-Test
+    view-description: 'List of Patch-Test jobs, for prioritizing jobs via the Job Priorities plugin'
+    view-regex: '.*-patch-test-.*'
 
-- view:
+- project:
     name: Periodic
-    description: 'List of Periodic jobs'
-    regex: '[a-zA-Z0-9]+-periodic-[a-zA-Z0-9]+'
-    <<: *releng_view_common
-
-- view:
+    project: Periodic
+    project-name: Periodic
+    view-name: Periodic
+    views:
+      - common-view
+    view-description: 'List of Periodic jobs'
+    view-regex: '[a-zA-Z0-9]+-periodic-[a-zA-Z0-9]+'
+
+- project:
     name: Release
-    description: 'List of Release jobs'
-    regex: '.*-release-.*'
-    <<: *releng_view_common
+    views:
+      - common-view
+    view-name: Release
+    view-description: 'List of Release jobs'
+    view-regex: '.*-release-.*'
 
-- view:
+- project:
     name: Sanity
-    description: 'List of Sanity jobs'
-    regex: '.*-sanity-.*'
-    <<: *releng_view_common
+    views:
+      - common-view
+    view-name: Sanity
+    view-description: 'List of Sanity jobs'
+    view-regex: '.*-sanity-.*'
 
-- view:
+- project:
     name: Thirdparty
-    description: 'List of ODL Nexus Thirdparty dependencies jobs'
-    regex: '.*-thirdparty-.*'
-    <<: *releng_view_common
-
-- view:
-    name: Validate
-    description: 'List of Validate jobs'
-    regex: '.*-validate-autorelease-.*'
-    <<: *releng_view_common
-
-- view:
+    views:
+      - common-view
+    view-name: Thirdparty
+    view-description: 'List of ODL Nexus Thirdparty dependencies jobs'
+    view-regex: '.*-thirdparty-.*'
+
+- project:
+    name: Validate-AR
+    views:
+      - common-view
+    view-name: Validate
+    view-description: 'List of Validate jobs'
+    view-regex: '.*-validate-autorelease-.*'
+
+- project:
     name: Verify
-    description: 'List of Verify jobs, exluding CSIT jobs'
-    regex: '^(?!.*-csit).*-verify-.*'
-    <<: *releng_view_common
+    views:
+      - common-view
+    view-name: Verify
+    view-description: 'List of Verify jobs, exluding CSIT jobs'
+    view-regex: '^(?!.*-csit).*-verify-.*'
 
-- view:
+- project:
     name: builder
-    description: 'List of builder jobs'
-    regex: '^builder-.*'
-    <<: *releng_view_common
+    views:
+      - project-view
+    project-name: builder
index 8f16f15412caf7d1a829bec2d0047c7aa29831a0..146c188931ba94c18d602739f13abe1681e5d2f3 100644 (file)
@@ -58,6 +58,7 @@
     name: sdninterfaceapp-sonar
     jobs:
       - gerrit-maven-sonar
+
     project: 'sdninterfaceapp'
     project-name: 'sdninterfaceapp'
     branch: 'master'
@@ -65,8 +66,8 @@
     mvn-settings: 'sdninterfaceapp-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: sdninterfaceapp
-    description: 'List of sdninterfaceapp jobs'
-    regex: '^sdninterfaceapp-.*'
-    <<: *releng_view_common
+- project:
+    name: sdninterfaceapp-view
+    views:
+      - project-view
+    project-name: sdninterfaceapp
index 8de079d4f415bc8fae8dc11b0f61511be56a3451..da018f3a1bd522538555cb6abe29ec1328c8af1c 100644 (file)
@@ -30,4 +30,4 @@
 
       - genius:
           csit-list: >
-              genius-csit-1node-gate-all-{stream}
+              genius-csit-1node-gate-only-{stream}
index dcd019835bd268a650fa757e2fbbe5f76a63a35e..98801745618fb27223023542db4d9c97dfb6e44e 100644 (file)
@@ -39,6 +39,7 @@
     name: serviceutils-sonar
     jobs:
       - gerrit-maven-sonar
+
     project: 'serviceutils'
     project-name: 'serviceutils'
     branch: 'master'
@@ -46,8 +47,8 @@
     mvn-settings: 'serviceutils-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: serviceutils
-    description: 'List of serviceutils jobs'
-    regex: '^serviceutils-.*'
-    <<: *releng_view_common
+- project:
+    name: serviceutils-view
+    views:
+      - project-view
+    project-name: serviceutils
index 2633981ab8972fc9b2d5c0118cfe7dc08f724b63..4e659c575643eee72f1865f4361d4cf6ad31154b 100644 (file)
@@ -84,8 +84,8 @@
     mvn-settings: 'sfc-settings'
     mvn-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
 
-- view:
-    name: sfc
-    description: 'List of sfc jobs'
-    regex: '^sfc-.*'
-    <<: *releng_view_common
+- project:
+    name: sfc-view
+    views:
+      - project-view
+    project-name: sfc
index f220373229c8cb5c342507018ad5301e87e4ba22..9d6ef95f5bb6b46bc2d48b6ac31a449f2f28cec0 100644 (file)
@@ -61,8 +61,8 @@
     mvn-settings: 'snbi-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: snbi
-    description: 'List of snbi jobs'
-    regex: '^snbi-.*'
-    <<: *releng_view_common
+- project:
+    name: snbi-view
+    views:
+      - project-view
+    project-name: snbi
index 881caab1819e757ddb61ca45e22eb4a0b361c423..10a13ea7912921135a4d4a30094e877f8ba6556b 100644 (file)
@@ -61,8 +61,8 @@
     mvn-settings: 'snmp-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: snmp
-    description: 'List of snmp jobs'
-    regex: '^snmp-.*'
-    <<: *releng_view_common
+- project:
+    name: snmp-view
+    views:
+      - project-view
+    project-name: snmp
index 570a42948dad82ba69df9b8ecc6d6c1781e001c8..228b19f42d54ffd7e0b201bec28bbcee7d328b45 100644 (file)
     name: snmp4sdn-sonar
     jobs:
       - gerrit-maven-sonar
+
     project: 'snmp4sdn'
     project-name: 'snmp4sdn'
     branch: 'master'
     mvn-settings: 'snmp4sdn-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: snmp4sdn
-    description: 'List of snmp4sdn jobs'
-    regex: '^snmp4sdn-.*'
-    <<: *releng_view_common
+- project:
+    name: snmp4sdn-view
+    views:
+      - project-view
+    project-name: snmp4sdn
diff --git a/jjb/stage-release.sh b/jjb/stage-release.sh
deleted file mode 100644 (file)
index 81fa33a..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2016 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-
-# Assuming that mvn deploy created the hide/from/pom/files/stage directory.
-cd hide/from/pom/files || exit 1
-mkdir -p m2repo/org/opendaylight/
-
-rsync -avz --exclude 'maven-metadata*' \
-           --exclude '_remote.repositories' \
-           --exclude 'resolver-status.properties' \
-           "stage/org/opendaylight/$PROJECT" m2repo/org/opendaylight/
-
-mvn org.sonatype.plugins:nexus-staging-maven-plugin:1.6.2:deploy-staged-repository \
-    -DrepositoryDirectory="$(pwd)/m2repo" \
-    -DnexusUrl=https://nexus.opendaylight.org/ \
-    -DstagingProfileId="$STAGING_PROFILE_ID" \
-    -DserverId="opendaylight-staging" \
-    -s "$SETTINGS_FILE" \
-    -gs "$GLOBAL_SETTINGS_FILE" | tee "$WORKSPACE/deploy-staged-repository.log"
index 6910317ec056ca71bc9443744abd94b335c79ae8..deb7b97d6073f207ea449aa95c870e70a397d3a6 100644 (file)
     project: 'sxp'
     project-name: 'sxp'
     branch: 'master'
+
     mvn-settings: 'sxp-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+
     dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
     email-upstream: '[sxp] [odlparent] [controller] [yangtools]'
 
     project: 'sxp'
     project-name: 'sxp'
     branch: 'stable/oxygen'
+
     mvn-settings: 'sxp-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+
     dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
     email-upstream: '[sxp] [odlparent] [controller] [yangtools]'
 
@@ -71,8 +75,8 @@
     mvn-settings: 'sxp-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: sxp
-    description: 'List of sxp jobs'
-    regex: '^sxp-.*'
-    <<: *releng_view_common
+- project:
+    name: sxp-view
+    views:
+      - project-view
+    project-name: sxp
index 09d519ea140218d3db1dfad2dca005e5432d6dbf..87c311e3e65d407d0a85616246f90f5534846986 100644 (file)
@@ -44,8 +44,8 @@
     mvn-settings: 'systemmetrics-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: systemmetrics
-    description: 'List of systemmetrics jobs'
-    regex: '^systemmetrics-.*'
-    <<: *releng_view_common
+- project:
+    name: systemmetrics-view
+    views:
+      - project-view
+    project-name: systemmetrics
index b7f34dcc5db9f4d367f93e6c5539e999e5243331..f3342b2723d1344bef525e3df09d759184ba772e 100644 (file)
@@ -61,8 +61,8 @@
     mvn-goals: 'clean install'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: telemetry
-    description: 'List of telemetry jobs'
-    regex: '^telemetry-.*'
-    <<: *releng_view_common
+- project:
+    name: telemetry-view
+    views:
+      - project-view
+    project-name: telemetry
index b347ad8c9fcfa71f248935520dd967889202c7c1..e5062234f045e46701ac5109615634203b5bb904 100644 (file)
@@ -13,6 +13,8 @@
     project-name: 'transportpce'
     stream: neon
     branch: 'master'
+    build-node: centos7-builder-8c-8g
+    build-timeout: 90
     mvn-settings: 'transportpce-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
     dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
@@ -35,6 +37,8 @@
     project-name: 'transportpce'
     stream: fluorine
     branch: 'stable/fluorine'
+    build-node: centos7-builder-8c-8g
+    build-timeout: 90
     mvn-settings: 'transportpce-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
     dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
@@ -52,6 +56,8 @@
     project-name: 'transportpce'
     stream: oxygen
     branch: 'stable/oxygen'
+    build-node: centos7-builder-8c-8g
+    build-timeout: 90
     mvn-settings: 'transportpce-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
     dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
@@ -71,8 +77,8 @@
     mvn-settings: 'transportpce-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: transportpce
-    description: 'List of transportpce jobs'
-    regex: '^transportpce-.*'
-    <<: *releng_view_common
+- project:
+    name: transportpce-view
+    views:
+      - project-view
+    project-name: transportpce
index 9221d23bebe84e310aa25f56a2672ef9fbefb6ca..f16049f8291378991e9ccfe3d00a13d8f758fe25 100644 (file)
@@ -71,8 +71,8 @@
     mvn-settings: 'tsdr-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: tsdr
-    description: 'List of tsdr jobs'
-    regex: '^tsdr-.*'
-    <<: *releng_view_common
+- project:
+    name: tsdr-view
+    views:
+      - project-view
+    project-name: tsdr
index b271cb3197defcbbfa1c2a61bfe7e8a2df897d1b..59becd5b06097e5cd21c9aea7033a55fa6ca8263 100644 (file)
     name: ttp-sonar
     jobs:
       - gerrit-maven-sonar
+
     project: 'ttp'
     project-name: 'ttp'
     branch: 'master'
     mvn-settings: 'ttp-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: ttp
-    description: 'List of ttp jobs'
-    regex: '^ttp-.*'
-    <<: *releng_view_common
+- project:
+    name: ttp-view
+    views:
+      - project-view
+    project-name: ttp
index 5e5af5b21e15aa52b1f2af59fb1b9b2bfb8c734e..cc769ff41d09d15a04ec4f07f61233b1c9195c09 100644 (file)
     name: unimgr-sonar
     jobs:
       - gerrit-maven-sonar
+
     project: 'unimgr'
     project-name: 'unimgr'
     branch: 'master'
     mvn-settings: 'unimgr-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: unimgr
-    description: 'List of unimgr jobs'
-    regex: '^unimgr-.*'
-    <<: *releng_view_common
+- project:
+    name: unimgr-view
+    views:
+      - project-view
+    project-name: unimgr
diff --git a/jjb/update-p2composite-metadata.sh b/jjb/update-p2composite-metadata.sh
deleted file mode 100644 (file)
index 666729c..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2016 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-
-# If we detect a snapshot build then there is no need to run this script.
-# YangIDE has indicated that the only want the latest snapshot released to
-# the snapshot directory.
-if echo "$P2ZIP_URL" | grep opendaylight.snapshot; then
-    exit 0
-fi
-if [[ "$P2ZIP_URL" == "" ]]; then
-    exit 0
-fi
-
-EPOCH_DATE=$(date +%s%3N)
-MVN_METADATA=$(echo "$P2ZIP_URL" | sed 's,/*[^/]\+/*$,,' | sed 's,/*[^/]\+/*$,,')/maven-metadata.xml
-P2_COMPOSITE_ARTIFACTS=compositeArtifacts.xml
-P2_COMPOSITE_CONTENT=compositeContent.xml
-
-wget "$MVN_METADATA" -O maven-metadata.xml
-
-VERSIONS=$(xmlstarlet sel -t -m "/metadata/versioning/versions" -v "version" maven-metadata.xml)
-NUM_VERSIONS=$(echo "$VERSIONS" | wc -w)
-
-
-##
-## Create compositeArtifacts.xml and compositeContent.xml files
-##
-
-cat > $P2_COMPOSITE_ARTIFACTS <<EOF
-<?xml version='1.0' encoding='UTF-8'?>
-<?compositeArtifactRepository version='1.0.0'?>
-<repository name='OpenDaylight $PROJECT'
-    type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
-  <properties size='1'>
-    <property name='p2.timestamp' value='$EPOCH_DATE'/>
-  </properties>
-  <children size='$NUM_VERSIONS'>
-EOF
-
-cat > $P2_COMPOSITE_CONTENT <<EOF
-<?xml version='1.0' encoding='UTF-8'?>
-<?compositeMetadataRepository version='1.0.0'?>
-<repository name='OpenDaylight $PROJECT'
-    type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
-  <properties size='1'>
-    <property name='p2.timestamp' value='$EPOCH_DATE'/>
-  </properties>
-  <children size='$NUM_VERSIONS'>
-EOF
-
-##
-## Loop versions
-##
-
-for ver in $VERSIONS
-do
-    echo "    <child location='$ver'/>" >> $P2_COMPOSITE_ARTIFACTS
-    echo "    <child location='$ver'/>" >> $P2_COMPOSITE_CONTENT
-done
-
-##
-## Close files
-##
-
-cat >> $P2_COMPOSITE_ARTIFACTS <<EOF
-  </children>
-</repository>
-EOF
-
-cat >> $P2_COMPOSITE_CONTENT <<EOF
-  </children>
-</repository>
-EOF
-
-##
-## Create poms for uploading
-##
-
-zip composite-repo.zip $P2_COMPOSITE_ARTIFACTS $P2_COMPOSITE_CONTENT
-
-cat > deploy-composite-repo.xml <<EOF
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.opendaylight.$PROJECT</groupId>
-  <artifactId>p2repo</artifactId>
-  <version>1.0.0-SNAPSHOT</version>
-  <packaging>pom</packaging>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <version>2.8.2</version>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.sonatype.plugins</groupId>
-        <artifactId>maven-upload-plugin</artifactId>
-        <version>0.0.1</version>
-        <executions>
-          <execution>
-            <id>publish-site</id>
-            <phase>deploy</phase>
-            <goals>
-              <goal>upload-file</goal>
-            </goals>
-            <configuration>
-              <serverId>opendaylight-p2</serverId>
-              <repositoryUrl>https://nexus.opendaylight.org/service/local/repositories/p2repos/content-compressed</repositoryUrl>
-              <file>composite-repo.zip</file>
-              <repositoryPath>org.opendaylight.$PROJECT/release</repositoryPath>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
-EOF
index 1e31b30a432ce77caed8340d8fe35ca5cb0d1c76..a8fb8b199092a06ec470eae310c2ddbb9d33ec9c 100644 (file)
     name: usc-sonar
     jobs:
       - gerrit-maven-sonar
+
     project: 'usc'
     project-name: 'usc'
     branch: 'master'
     mvn-settings: 'usc-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: usc
-    description: 'List of usc jobs'
-    regex: '^usc-.*'
-    <<: *releng_view_common
+- project:
+    name: usc-view
+    views:
+      - project-view
+    project-name: usc
index edaee783db60d18a4073ddb72a6f2f2185a75be3..8f51afc8a7fde6550f0d30e1108470ee81ad52f5 100644 (file)
@@ -61,8 +61,8 @@
     mvn-settings: 'usecplugin-settings'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
 
-- view:
-    name: usecplugin
-    description: 'List of usecplugin jobs'
-    regex: '^usecplugin-.*'
-    <<: *releng_view_common
+- project:
+    name: usecplugin-view
+    views:
+      - project-view
+    project-name: usecplugin
index 9e1167c0d18d211dd35a9ae912fde394413bf951..e414787cd7c75c085865695cfe83be585b640e31 100644 (file)
@@ -30,4 +30,4 @@
 
       - genius:
           csit-list: >
-              genius-csit-1node-gate-all-{stream}
+              genius-csit-1node-gate-only-{stream}
index cb00554c8289f94db49be1e3cd5e0a25589d6e99..73e9396604c46e79caadda98180174fe4cfdf6f0 100644 (file)
@@ -12,7 +12,6 @@
 
     mvn-settings: 'yangtools-settings'
     mvn-opts: '-Xmx1024m'
-    sign-artifacts: true
 
     dependencies: ''
     email-upstream: '[yangtools]'
@@ -40,7 +39,6 @@
 
     mvn-settings: 'yangtools-settings'
     mvn-opts: '-Xmx1024m'
-    sign-artifacts: true
 
     dependencies: ''
     email-upstream: '[yangtools]'
@@ -68,7 +66,6 @@
 
     mvn-settings: 'yangtools-settings'
     mvn-opts: '-Xmx1024m'
-    sign-artifacts: true
 
     dependencies: ''
     email-upstream: '[yangtools]'
@@ -97,8 +94,8 @@
     mvn-settings: 'yangtools-settings'
     mvn-opts: '-Xmx1024m'
 
-- view:
-    name: yangtools
-    description: 'List of yangtools jobs'
-    regex: '^yangtools-.*'
-    <<: *releng_view_common
+- project:
+    name: yangtools-view
+    views:
+      - project-view
+    project-name: yangtools
index 27c20e0fdac63bf692054a2dc8b623505ffb6f76..6d52ef66fa727d6b8c528a99591e997ebfe80c2b 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 27c20e0fdac63bf692054a2dc8b623505ffb6f76
+Subproject commit 6d52ef66fa727d6b8c528a99591e997ebfe80c2b
index 97ae02430ea594982d49fae4cec3c7651514e263..eed09e63ada79a7e6610888f5fc9e22d89535d83 100644 (file)
@@ -2,11 +2,7 @@
   "variables": {
     "base_image": null,
     "distro": null,
-    "cloud_auth_url": null,
-    "cloud_user": null,
-    "cloud_pass": null,
     "cloud_network": null,
-    "cloud_tenant": null,
     "cloud_user_data": null,
     "ssh_user": null,
     "ssh_proxy_host": ""
   "builders": [
     {
       "type": "openstack",
-      "identity_endpoint": "{{user `cloud_auth_url`}}",
-      "domain_name": "Default",
-      "tenant_name": "{{user `cloud_tenant`}}",
-      "username": "{{user `cloud_user`}}",
-      "password": "{{user `cloud_pass`}}",
       "region": "ca-ymq-1",
       "availability_zone": "ca-ymq-2",
       "ssh_username": "{{user `ssh_user`}}",
index 864d7b6c7c850b70ac74acf867ba944ba3d33a62..576f7f13790f3fcc2aef480da4a44d42239294e6 100644 (file)
@@ -2,11 +2,7 @@
   "variables": {
     "base_image": null,
     "distro": null,
-    "cloud_auth_url": null,
-    "cloud_user": null,
-    "cloud_pass": null,
     "cloud_network": null,
-    "cloud_tenant": null,
     "cloud_user_data": null,
     "ssh_user": null,
     "ssh_proxy_host": ""
   "builders": [
     {
       "type": "openstack",
-      "identity_endpoint": "{{user `cloud_auth_url`}}",
-      "domain_name": "Default",
-      "tenant_name": "{{user `cloud_tenant`}}",
-      "username": "{{user `cloud_user`}}",
-      "password": "{{user `cloud_pass`}}",
       "region": "ca-ymq-1",
       "availability_zone": "ca-ymq-2",
       "ssh_username": "{{user `ssh_user`}}",
index 625ad3784112f3d13dfb8503cd96c856e6ba7fda..4361140ec622c3b04adead5b62b81a6c5dce4e59 100644 (file)
@@ -2,11 +2,7 @@
   "variables": {
     "base_image": null,
     "distro": null,
-    "cloud_auth_url": null,
-    "cloud_user": null,
-    "cloud_pass": null,
     "cloud_network": null,
-    "cloud_tenant": null,
     "cloud_user_data": null,
     "ssh_user": null,
     "ssh_proxy_host": ""
   "builders": [
     {
       "type": "openstack",
-      "identity_endpoint": "{{user `cloud_auth_url`}}",
-      "domain_name": "Default",
-      "tenant_name": "{{user `cloud_tenant`}}",
-      "username": "{{user `cloud_user`}}",
-      "password": "{{user `cloud_pass`}}",
       "region": "ca-ymq-1",
       "availability_zone": "ca-ymq-2",
       "ssh_username": "{{user `ssh_user`}}",
index 3fc43e09bc0fbf91d79818b4517613bfb8e5e5ee..a99caf9b92b5d2ee1a208521db8a0722a9f43355 100644 (file)
@@ -2,11 +2,7 @@
   "variables": {
     "base_image": null,
     "distro": null,
-    "cloud_auth_url": null,
-    "cloud_user": null,
-    "cloud_pass": null,
     "cloud_network": null,
-    "cloud_tenant": null,
     "cloud_user_data": null,
     "ssh_user": null,
     "ssh_proxy_host": ""
   "builders": [
     {
       "type": "openstack",
-      "identity_endpoint": "{{user `cloud_auth_url`}}",
-      "domain_name": "Default",
-      "tenant_name": "{{user `cloud_tenant`}}",
-      "username": "{{user `cloud_user`}}",
-      "password": "{{user `cloud_pass`}}",
       "region": "ca-ymq-1",
       "availability_zone": "ca-ymq-2",
       "ssh_username": "{{user `ssh_user`}}",
index 25823cd58879a4af74feffb16c564ea12cd879b2..d9c88a39cdfe288e04d7483350c3a18a7a9160d3 100644 (file)
@@ -3,11 +3,7 @@
     "ansible_roles_path": "roles/coe",
     "base_image": null,
     "distro": null,
-    "cloud_auth_url": null,
-    "cloud_user": null,
-    "cloud_pass": null,
     "cloud_network": null,
-    "cloud_tenant": null,
     "cloud_user_data": null,
     "ssh_user": null,
     "ssh_proxy_host": ""
       "instance_name": "{{user `distro`}}-kubernetes-{{uuid}}",
       "source_image_name": "{{user `base_image`}}",
       "type": "openstack",
-      "identity_endpoint": "{{user `cloud_auth_url`}}",
-      "username": "{{user `cloud_user`}}",
-      "password": "{{user `cloud_pass`}}",
-      "tenant_name": "{{user `cloud_tenant`}}",
-      "domain_name": "Default",
       "region": "ca-ymq-1",
       "availability_zone": "ca-ymq-2",
       "networks": [
index e96ade7d71b5846041e4c82667a3b5b7708474f5..70a81d530552afc0b17d3cabf76c295435923f23 100644 (file)
@@ -2,11 +2,7 @@
   "variables": {
     "base_image": null,
     "distro": null,
-    "cloud_auth_url": null,
-    "cloud_user": null,
-    "cloud_pass": null,
     "cloud_network": null,
-    "cloud_tenant": null,
     "cloud_user_data": null,
     "ssh_user": null,
     "ssh_proxy_host": ""
   "builders": [
     {
       "type": "openstack",
-      "identity_endpoint": "{{user `cloud_auth_url`}}",
-      "domain_name": "Default",
-      "tenant_name": "{{user `cloud_tenant`}}",
-      "username": "{{user `cloud_user`}}",
-      "password": "{{user `cloud_pass`}}",
       "region": "ca-ymq-1",
       "availability_zone": "ca-ymq-2",
       "ssh_username": "{{user `ssh_user`}}",
index 86ddf455a6f3af0e279ca2d299839334ae11f32a..bf203f4533c3ca397b6232c4066d396997443ec5 100644 (file)
@@ -2,11 +2,7 @@
   "variables": {
     "base_image": null,
     "distro": null,
-    "cloud_auth_url": null,
-    "cloud_user": null,
-    "cloud_pass": null,
     "cloud_network": null,
-    "cloud_tenant": null,
     "cloud_user_data": null,
     "ssh_user": null,
     "ssh_proxy_host": ""
   "builders": [
     {
       "type": "openstack",
-      "identity_endpoint": "{{user `cloud_auth_url`}}",
-      "domain_name": "Default",
-      "tenant_name": "{{user `cloud_tenant`}}",
-      "username": "{{user `cloud_user`}}",
-      "password": "{{user `cloud_pass`}}",
       "region": "ca-ymq-1",
       "availability_zone": "ca-ymq-2",
       "ssh_username": "{{user `ssh_user`}}",
index 3807026b19c91edef54a4fea3315432d750796c9..68f0e5212b088030f0114a1c7554774d41cf2337 100644 (file)
@@ -3,11 +3,7 @@
     "ansible_roles_path": ".galaxy",
     "base_image": null,
     "distro": null,
-    "cloud_auth_url": null,
-    "cloud_user": null,
-    "cloud_pass": null,
     "cloud_network": null,
-    "cloud_tenant": null,
     "cloud_user_data": null,
     "ssh_user": null,
     "ssh_proxy_host": ""
       "instance_name": "{{user `distro`}}-mininet-ovs-28-{{uuid}}",
       "source_image_name": "{{user `base_image`}}",
       "type": "openstack",
-      "identity_endpoint": "{{user `cloud_auth_url`}}",
-      "username": "{{user `cloud_user`}}",
-      "password": "{{user `cloud_pass`}}",
-      "tenant_name": "{{user `cloud_tenant`}}",
-      "domain_name": "Default",
       "region": "ca-ymq-1",
       "availability_zone": "ca-ymq-2",
       "networks": [
index d0f61e78de72d1c24daa5fbfa6d91eeaf4ef02b2..a6b56635fee54e89915e0a800e11d3d77e404185 100644 (file)
@@ -3,11 +3,7 @@
     "ansible_roles_path": ".galaxy",
     "base_image": null,
     "distro": null,
-    "cloud_auth_url": null,
-    "cloud_user": null,
-    "cloud_pass": null,
     "cloud_network": null,
-    "cloud_tenant": null,
     "cloud_user_data": null,
     "ssh_user": null,
     "ssh_proxy_host": ""
       "instance_name": "{{user `distro`}}-robot-{{uuid}}",
       "source_image_name": "{{user `base_image`}}",
       "type": "openstack",
-      "identity_endpoint": "{{user `cloud_auth_url`}}",
-      "username": "{{user `cloud_user`}}",
-      "password": "{{user `cloud_pass`}}",
-      "tenant_name": "{{user `cloud_tenant`}}",
-      "domain_name": "Default",
       "region": "ca-ymq-1",
       "availability_zone": "ca-ymq-2",
       "networks": [
diff --git a/packer/vars/cloud-env.json.example b/packer/vars/cloud-env.json.example
deleted file mode 100644 (file)
index 7eccab2..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-  "public_auth_url": "https://auth.vexxhost.net/v3/",
-  "public_tenant": "TENNANTID",
-  "public_user": "USERID",
-  "public_pass": "USERPASS",
-  "public_network": "b5fcd86e-efac-4997-b8bc-dbe0d35bc229",
-  "ssh_proxy_host": ""
-}
diff --git a/scripts/check-unicode.sh b/scripts/check-unicode.sh
deleted file mode 100755 (executable)
index 10b2a31..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2015 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-#   Thanh Ha (The Linux Foundation) - Initial implementation
-##############################################################################
-
-directory=${1:-"."}
-
-echo "Scanning $directory"
-if LC_ALL=C grep -r '[^[:print:][:space:]]' "$directory"; then
-    echo "Found files containing non-ascii characters."
-    exit 1
-fi
-
-echo "All files are ASCII only"
diff --git a/tox.ini b/tox.ini
index 3fd449bfab4441f66dd4441b7fc5b4e846081422..cf80a1dd7687d3bf2b2916476deaa8a637d585eb 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -23,7 +23,7 @@ commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs
 
 [testenv:jenkins-jobs]
 deps =
-    jenkins-job-builder=={env:JJB_VERSION:2.2.1}
+    jenkins-job-builder=={env:JJB_VERSION:2.7.0}
 commands =
     jenkins-jobs {posargs:--help}