* 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 - java-builder - 20171206-1842
* ZZCI - CentOS 7 - java-builder - 20171209-0032
* ZZCI - CentOS 7 - robot - 20171207-1911
- CPUs
- Memory
- * - v2-standard-1
+ * - odl-standard-1
- 1
- 4
- * - v2-standard-2
+ * - odl-standard-2
- 2
- 8
- * - v2-standard-4
+ * - odl-standard-4
- 4
- 16
- * - v2-standard-8
+ * - odl-standard-8
- 8
- 32
- * - v2-standard-16
+ * - odl-standard-16
- 16
- 64
- * - v2-highcpu-1
- - 1
- - 1
-
- * - v2-highcpu-2
+ * - odl-highcpu-2
- 2
- 2
- * - v2-highcpu-4
+ * - odl-highcpu-4
- 4
- 4
- * - v2-highcpu-8
+ * - odl-highcpu-8
- 8
- 8
- * - v2-highcpu-16
- - 16
- - 16
-
- * - v2-highcpu-32
- - 32
- - 32
-
Pool: ODLVEX
^^^^^^^^^^^^
IMAGE_NAME=ZZCI - CentOS 7 - autorelease - 20180125-2240
VOLUME_SIZE=150
-HARDWARE_ID=v2-standard-4
+HARDWARE_ID=odl-standard-4
IMAGE_NAME=ZZCI - CentOS 7 - builder - 20180110-1659
-HARDWARE_ID=v2-highcpu-2
+HARDWARE_ID=odl-highcpu-2
IMAGE_NAME=ZZCI - CentOS 7 - builder - 20180110-1659
-HARDWARE_ID=v2-standard-2
+HARDWARE_ID=odl-standard-2
IMAGE_NAME=ZZCI - CentOS 7 - builder - 20180110-1659
-HARDWARE_ID=v2-standard-4
+HARDWARE_ID=odl-standard-4
IMAGE_NAME=ZZCI - CentOS 7 - builder - 20180110-1659
-HARDWARE_ID=v2-highcpu-4
+HARDWARE_ID=odl-highcpu-4
IMAGE_NAME=ZZCI - CentOS 7 - builder - 20180201-2139
-HARDWARE_ID=v2-highcpu-8
+HARDWARE_ID=odl-highcpu-8
-IMAGE_NAME=ZZCI - CentOS 7 - docker - 20180314-2121
-HARDWARE_ID=v2-standard-1
+IMAGE_NAME=ZZCI - CentOS 7 - docker - 20180417-0311
+HARDWARE_ID=odl-standard-1
-IMAGE_NAME=ZZCI - CentOS 7 - docker - 20180314-2121
-HARDWARE_ID=v2-highcpu-2
+IMAGE_NAME=ZZCI - CentOS 7 - docker - 20180417-0311
+HARDWARE_ID=odl-highcpu-2
-IMAGE_NAME=ZZCI - CentOS 7 - docker - 20180314-2121
-HARDWARE_ID=v2-standard-2
+IMAGE_NAME=ZZCI - CentOS 7 - docker - 20180417-0311
+HARDWARE_ID=odl-standard-2
IMAGE_NAME=ZZCI - CentOS 7 - robot - 20180109-1917
-HARDWARE_ID=v2-standard-2
+HARDWARE_ID=odl-standard-2
INSTANCE_CAP=25
--- /dev/null
+IMAGE_NAME=ZZCI - CentOS 7 - robot - 20180109-1917
+HARDWARE_ID=v1-standard-1
+INSTANCE_CAP=1
--- /dev/null
+IMAGE_NAME=ZZCI - CentOS 7 - robot - 20180109-1917
+HARDWARE_ID=v1-standard-1
+INSTANCE_CAP=1
+NUM_EXECUTORS=4
IMAGE_NAME=ZZCI - Ubuntu 16.04 - docker - 20180220-2018
-HARDWARE_ID=v2-highcpu-2
+HARDWARE_ID=odl-highcpu-2
IMAGE_NAME=ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
-HARDWARE_ID=v2-standard-1
+HARDWARE_ID=odl-standard-1
install-features: 'odl-restconf-all'
tools_system_count: '1'
- tools_system_flavor: 'v2-highcpu-2'
- tools_system_image: 'ZZCI - CentOS 7 - docker - 20171209-0317'
+ tools_system_flavor: 'odl-highcpu-2'
+ tools_system_image: 'ZZCI - CentOS 7 - docker - 20180417-0311'
# Robot custom options
robot-options: ''
- project:
name: alto-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: archetypes-fluorine
jobs:
- - odl-maven-jobs
+ - gerrit-maven-clm
+ - '{project-name}-merge-{stream}':
+ build-timeout: 180
+ cron: '@daily'
+ mvn-goals: clean install -V -Dmaven.compile.fork=true
+ - gerrit-maven-release
+ - gerrit-maven-verify
+ - gerrit-maven-verify-dependencies:
+ build-timeout: 180
stream: fluorine
project: 'archetypes'
- project:
name: atrium-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
integration-test: fluorine
extra-mvn-opts: -P!karaf -Dsft.heap.max=4g
- oxygen:
+ # Run once a week (Sunday) until Nitrogen-SR3 is out.
+ cron: 'H 12 * * 6'
next-release-tag: '{stream}'
branch: 'stable/oxygen'
integration-test: oxygen
integration-test: nitrogen
extra-mvn-opts: -P!karaf -Dsft.heap.max=4g
- carbon:
+ # Run once a week (Saturday) now that Fluorine branch is cut, and Oxygen is pending release
+ cron: 'H 12 * * 6'
next-release-tag: '{stream}'
branch: 'stable/carbon'
integration-test: carbon
build-node: '{build-node}'
cron: 'H 0 * * *'
java-version: openjdk8
- mvn-version: mvn33
+ mvn-version: mvn35
extra-mvn-opts: ''
#####################
parameters:
- maven-exec:
- maven-version: 'mvn33'
+ maven-version: 'mvn35'
- lf-infra-parameters:
project: '{project}'
stream: '{stream}'
# to enable building in a single maven reactor afterwards.
- autorelease-fix-relative-paths
- maven-target:
- maven-version: 'mvn33'
+ maven-version: 'mvn35'
pom: 'pom.xml'
goals: |
clean deploy
- autorelease-get-integration-test-variables
- autorelease-maven-sources:
opendaylight-infra-mvn-opts: '{opendaylight-infra-mvn-opts}'
- maven-version: 'mvn33'
+ maven-version: 'mvn35'
settings: 'autorelease-settings'
global-settings: 'global-settings'
- autorelease-maven-sources-post-process
and artifacts are not pushed to Nexus. Instead the build will be
performed using the goals "clean install".
- maven-exec:
- maven-version: mvn33
+ maven-version: mvn35
scm:
- lf-infra-gerrit-scm:
builders:
# force jenkins install of maven version before any shell scripts use it
- maven-target:
- maven-version: mvn33
+ maven-version: mvn35
goals: '-version'
settings: autorelease-settings
settings-type: cfp
# to enable building in a single maven reactor afterwards.
- autorelease-fix-relative-paths
- maven-target:
- maven-version: mvn33
+ maven-version: mvn35
pom: validate-pom.xml
goals: |
clean install dependency:tree
# Hack to workaround the duplicate-finder plugin in odlparent breaking validate-autorelease
- shell: sed -i 's/validate/none/' /tmp/r/org/opendaylight/odlparent/odlparent/3.0.2/odlparent-3.0.2.pom || true
- maven-target:
- maven-version: mvn33
+ maven-version: mvn35
pom: pom.xml
goals: |
clean validate
-v TEST_DURATION_MULTIPLIER:4
# Controller configuration
- odl_system_flavor: v2-standard-4
+ odl_system_flavor: odl-standard-4
# Plot Info
01-plot-title: 'Number of generated updates'
- project:
name: bgpcep-csit-bgp-ingest-mixed
jobs:
- - inttest-csit-1node-periodic
+ - inttest-csit-1node
# FIXME: Rename job to drop -periodic- and unify job definition with -gate- functionality.
# The project name
-v TEST_DURATION_MULTIPLIER:4
# Controller configuration
- odl_system_flavor: v2-standard-2
+ odl_system_flavor: odl-standard-2
# Plot Info
01-plot-title: 'Number of generated updates'
- project:
name: bgpcep-csit-bgp-ingest
jobs:
- - inttest-csit-1node-periodic
+ - inttest-csit-1node
# FIXME: Dicument differences from -mixed- and unify into single (matrix) definition.
# The project name
-v TEST_DURATION_MULTIPLIER_CHANGE_COUNT_MANY:8.0
# Controller configuration
- odl_system_flavor: v2-standard-4
+ odl_system_flavor: odl-standard-4
- project:
name: bgpcep-csit-bgpclustering-ha
jobs:
- - inttest-csit-3node-periodic
+ - inttest-csit-3node
# The project name
project: 'bgpcep'
- project:
name: bgpcep-csit-bgpclustering
jobs:
- - inttest-csit-3node-periodic
+ - inttest-csit-3node
# The project name
project: 'bgpcep'
robot-options: '-v USE_NETCONF_CONNECTOR:False'
# Controller configuration
- odl_system_flavor: 'v2-standard-4'
+ odl_system_flavor: 'odl-standard-4'
-v UPDATER_TIMEOUT:600
# Controller configuration
- odl_system_flavor: v2-standard-4
+ odl_system_flavor: odl-standard-4
- project:
name: bgpcep-csit-throughpcep
jobs:
- - inttest-csit-1node-periodic
+ - inttest-csit-1node
# FIXME: Rename job to drop -periodic- and unify job definition with -gate- functionality.
# The project name
# Robot custom options:
robot-options: >
-v USE_NETCONF_CONNECTOR:False
- -v PCEP_READY_VERIFY_TIMEOUT:5
+ -v PCEP_READY_VERIFY_TIMEOUT:180
-v RESTCONF_REUSE:False
-v UPDATER_TIMEOUT:900
# Controller configuration
- odl_system_flavor: v2-standard-4
+ odl_system_flavor: odl-standard-4
- project:
name: bier-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: capwap-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: cardinal-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: centinel-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
---
- project:
- name: mdsal-csit-periodic-dsbenchmark-cluster
+ name: mdsal-csit-dsbenchmark-cluster
jobs:
- - inttest-csit-3node-periodic
+ - inttest-csit-3node
# The project name
project: 'controller'
# ODL system image to use
# The job uses scriptplan to set heap to 4GB, so 4GB RAM is not enough.
- odl_system_flavor: 'v2-standard-4'
+ odl_system_flavor: 'odl-standard-4'
build-timeout: '480'
---
- project:
- name: mdsal-csit-periodic-dsbenchmark
+ name: mdsal-csit-dsbenchmark
jobs:
- - inttest-csit-1node-periodic
+ - inttest-csit-1node
# The project name
project: 'controller'
# ODL system image to use
# The job uses scriptplan to set heap to 4GB, so 4GB RAM is not enough.
- odl_system_flavor: v2-standard-4
+ odl_system_flavor: odl-standard-4
# Plot Info
01-plot-title: 'Performance by structure'
- project:
name: didm-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: dlux-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: dluxapps-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
project: 'dluxapps'
- project:
name: eman-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
- project:
name: faas-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: federation-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
---
- project:
- name: genius-csit-genius-oxygen
+ name: genius-csit-genius-oxygen-fluorine
jobs:
- inttest-csit-1node
- inttest-csit-3node
- # The project name
project: 'genius'
- # The functionality under test
functionality:
- 'upstream'
- 'gate'
- 'tdd-wip':
testplan: '{project}-tdd-wip.txt'
- schedule: ''
- # Project branches
stream:
- fluorine:
branch: 'master'
- oxygen:
branch: 'stable/oxygen'
+
install:
- all:
scope: 'all'
- # Mininet configuration
tools_system_count: 3
- tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
- # Features to install
install-features: 'odl-genius-rest'
- # Robot custom options
- robot-options: ' '
- project:
- name: genius-csit-genius-{stream}
+ name: genius-csit-genius-carbon-nitrogen
jobs:
- inttest-csit-1node
- inttest-csit-3node
- - inttest-csit-verify-1node
- - inttest-csit-verify-3node
- # The project name
project: 'genius'
- # The functionality under test
functionality:
- 'upstream'
- 'gate'
- # Project branches
stream:
- nitrogen:
branch: 'stable/nitrogen'
branch: 'stable/carbon'
karaf-version: karaf3
+ install:
+ - all:
+ scope: 'all'
+
+ tools_system_count: 3
+
+ install-features: 'odl-genius-rest'
+
+
+- project:
+ name: genius-csit-genius-verify
+ jobs:
+ - inttest-csit-verify-1node
+ - inttest-csit-verify-3node
+
+ project: 'genius'
+
+ functionality: 'verify'
+
+ stream:
+ - fluorine:
+ branch: 'master'
+
verify-stream: 'oxygen'
verify-branch: 'stable/oxygen'
verify-karaf-version: 'karaf4'
- all:
scope: 'all'
- # Mininet configuration
tools_system_count: 3
- tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
- # Features to install
install-features: 'odl-genius-rest'
-
- # Robot custom options
- robot-options: ' '
-Subproject commit 9f237eb9ddb18fe6e01cbadea0a75e36a0baf8d7
+Subproject commit 536325e5186cf8883d630feaea2d91591b39fd50
- project:
name: groupbasedpolicy-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: vbd-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
echo "cat ${LOGCONF}"
cat ${LOGCONF}
} # function configure_karaf_log()
+
+# convert commas in csv strings to spaces (ssv)
+function csv2ssv() {
+ local csv=$1
+ if [ -n "${csv}" ]; then
+ ssv=$(echo ${csv} | sed 's/,/ /g' | sed 's/\ \ */\ /g')
+ fi
+
+ echo "${ssv}"
+} # csv2ssv
aaa-csit-1node-keystone-all-carbon,
aaa-csit-1node-tls-only-carbon,
alto-csit-1node-setup-all-carbon,
-bgpcep-csit-1node-periodic-bgp-ingest-all-carbon,
-bgpcep-csit-1node-periodic-bgp-ingest-mixed-all-carbon,
-bgpcep-csit-1node-periodic-throughpcep-all-carbon,
+bgpcep-csit-1node-bgp-ingest-all-carbon,
+bgpcep-csit-1node-bgp-ingest-mixed-all-carbon,
+bgpcep-csit-1node-throughpcep-all-carbon,
bgpcep-csit-1node-userfeatures-all-carbon,
-bgpcep-csit-3node-periodic-bgpclustering-all-carbon,
-bgpcep-csit-3node-periodic-bgpclustering-ha-only-carbon,
+bgpcep-csit-3node-bgpclustering-all-carbon,
+bgpcep-csit-3node-bgpclustering-ha-only-carbon,
bier-csit-1node-basic-all-carbon,
controller-csit-1node-akka1-all-carbon,
-controller-csit-1node-periodic-benchmark-all-carbon,
+controller-csit-1node-benchmark-all-carbon,
controller-csit-1node-rest-cars-perf-all-carbon,
+controller-csit-3node-benchmark-all-carbon,
controller-csit-3node-clustering-all-carbon,
-controller-csit-3node-periodic-benchmark-all-carbon,
controller-csit-3node-rest-clust-cars-perf-only-carbon,
didm-csit-1node-discovery-only-carbon,
distribution-csit-1node-userfeatures-all-carbon,
groupbasedpolicy-csit-1node-sxp-only-carbon,
groupbasedpolicy-csit-3node-clustering-all-carbon,
iotdm-csit-1node-basic-all-carbon,
-l2switch-csit-1node-periodic-host-scalability-daily-only-carbon,
+l2switch-csit-1node-host-scalability-daily-only-carbon,
l2switch-csit-1node-scalability-all-carbon,
l2switch-csit-1node-switch-all-carbon,
lacp-csit-1node-lacp-all-carbon,
lispflowmapping-csit-1node-msmr-all-carbon,
lispflowmapping-csit-1node-performance-only-carbon,
lispflowmapping-csit-3node-msmr-all-carbon,
-mdsal-csit-1node-periodic-bindingv1-only-carbon,
+mdsal-csit-1node-bindingv1-only-carbon,
messaging4transport-csit-1node-basic-all-carbon,
natapp-csit-1node-basic-all-carbon,
nemo-csit-1node-engine-all-carbon,
netconf-csit-1node-callhome-only-carbon,
-netconf-csit-1node-periodic-scale-all-carbon,
+netconf-csit-1node-scale-all-carbon,
netconf-csit-1node-userfeatures-all-carbon,
netconf-csit-3node-cluster-stress-all-carbon,
netconf-csit-3node-clustering-all-carbon,
-netconf-csit-3node-periodic-clustering-scale-all-carbon,
+netconf-csit-3node-clustering-scale-all-carbon,
netide-csit-1node-basic-all-carbon,
netvirt-csit-1node-openstack-ocata-upstream-stateful-carbon,
netvirt-csit-1node-openstack-ocata-upstream-stateful-snat-conntrack-carbon,
sfc-csit-3node-rest-basic-all-carbon,
sxp-csit-1node-basic-all-carbon,
sxp-csit-1node-filtering-all-carbon,
-sxp-csit-1node-periodic-performance-all-carbon,
+sxp-csit-1node-performance-all-carbon,
sxp-csit-1node-topology-all-carbon,
-sxp-csit-3node-periodic-clustering-all-carbon,
-sxp-csit-3node-periodic-routing-all-carbon,
+sxp-csit-3node-clustering-all-carbon,
+sxp-csit-3node-routing-all-carbon,
topoprocessing-csit-1node-topology-operations-all-carbon,
tsdr-csit-1node-cassandra-datastore-only-carbon,
tsdr-csit-1node-elasticsearch-datastore-only-carbon,
usc-csit-1node-tcp-all-carbon,
usecplugin-csit-1node-basic-all-carbon,
vtn-csit-1node-openstack-pike-neutron-carbon,
-yangtools-csit-1node-periodic-system-only-carbon,
+yangtools-csit-1node-system-only-carbon,
aaa-csit-1node-authn-all-fluorine,
aaa-csit-1node-keystone-all-fluorine,
aaa-csit-1node-tls-only-fluorine,
-bgpcep-csit-1node-periodic-bgp-ingest-all-fluorine,
-bgpcep-csit-1node-periodic-bgp-ingest-mixed-all-fluorine,
-bgpcep-csit-1node-periodic-throughpcep-all-fluorine,
+bgpcep-csit-1node-bgp-ingest-all-fluorine,
+bgpcep-csit-1node-bgp-ingest-mixed-all-fluorine,
+bgpcep-csit-1node-throughpcep-all-fluorine,
bgpcep-csit-1node-userfeatures-all-fluorine,
-bgpcep-csit-3node-periodic-bgpclustering-all-fluorine,
-bgpcep-csit-3node-periodic-bgpclustering-ha-only-fluorine,
+bgpcep-csit-3node-bgpclustering-all-fluorine,
+bgpcep-csit-3node-bgpclustering-ha-only-fluorine,
controller-csit-1node-akka1-all-fluorine,
-controller-csit-1node-periodic-benchmark-all-fluorine,
+controller-csit-1node-benchmark-all-fluorine,
controller-csit-1node-rest-cars-perf-all-fluorine,
+controller-csit-3node-benchmark-all-fluorine,
controller-csit-3node-clustering-all-fluorine,
-controller-csit-3node-periodic-benchmark-all-fluorine,
controller-csit-3node-rest-clust-cars-perf-only-fluorine,
daexim-csit-1node-basic-only-fluorine,
daexim-csit-3node-clustering-basic-only-fluorine,
lispflowmapping-csit-1node-msmr-all-fluorine,
lispflowmapping-csit-1node-performance-only-fluorine,
lispflowmapping-csit-3node-msmr-all-fluorine,
-mdsal-csit-1node-periodic-bindingv1-only-fluorine,
+mdsal-csit-1node-bindingv1-only-fluorine,
netconf-csit-1node-callhome-only-fluorine,
-netconf-csit-1node-periodic-scale-all-fluorine,
+netconf-csit-1node-scale-all-fluorine,
netconf-csit-1node-userfeatures-all-fluorine,
netconf-csit-3node-cluster-stress-all-fluorine,
netconf-csit-3node-clustering-all-fluorine,
-netconf-csit-3node-periodic-clustering-scale-all-fluorine,
+netconf-csit-3node-clustering-scale-all-fluorine,
netvirt-csit-1node-openstack-pike-upstream-stateful-fluorine,
netvirt-csit-1node-openstack-pike-upstream-stateful-snat-conntrack-fluorine,
netvirt-csit-1node-openstack-queens-upstream-stateful-fluorine,
ovsdb-csit-3node-upstream-clustering-only-fluorine,
sfc-csit-3node-docker-full-deploy-all-fluorine,
sfc-csit-3node-rest-basic-all-fluorine,
-yangtools-csit-1node-periodic-system-only-fluorine,
+yangtools-csit-1node-system-only-fluorine,
aaa-csit-1node-keystone-all-nitrogen,
aaa-csit-1node-tls-only-nitrogen,
alto-csit-1node-setup-all-nitrogen,
-bgpcep-csit-1node-periodic-bgp-ingest-all-nitrogen,
-bgpcep-csit-1node-periodic-bgp-ingest-mixed-all-nitrogen,
-bgpcep-csit-1node-periodic-throughpcep-all-nitrogen,
+bgpcep-csit-1node-bgp-ingest-all-nitrogen,
+bgpcep-csit-1node-bgp-ingest-mixed-all-nitrogen,
+bgpcep-csit-1node-throughpcep-all-nitrogen,
bgpcep-csit-1node-userfeatures-all-nitrogen,
-bgpcep-csit-3node-periodic-bgpclustering-all-nitrogen,
-bgpcep-csit-3node-periodic-bgpclustering-ha-only-nitrogen,
+bgpcep-csit-3node-bgpclustering-all-nitrogen,
+bgpcep-csit-3node-bgpclustering-ha-only-nitrogen,
bier-csit-1node-basic-all-nitrogen,
controller-csit-1node-akka1-all-nitrogen,
-controller-csit-1node-periodic-benchmark-all-nitrogen,
+controller-csit-1node-benchmark-all-nitrogen,
controller-csit-1node-rest-cars-perf-all-nitrogen,
+controller-csit-3node-benchmark-all-nitrogen,
controller-csit-3node-clustering-all-nitrogen,
-controller-csit-3node-periodic-benchmark-all-nitrogen,
controller-csit-3node-rest-clust-cars-perf-only-nitrogen,
daexim-csit-1node-basic-only-nitrogen,
daexim-csit-3node-clustering-basic-only-nitrogen,
groupbasedpolicy-csit-1node-openstack-ocata-openstack-nitrogen,
groupbasedpolicy-csit-1node-sxp-only-nitrogen,
groupbasedpolicy-csit-3node-clustering-all-nitrogen,
-l2switch-csit-1node-periodic-host-scalability-daily-only-nitrogen,
+l2switch-csit-1node-host-scalability-daily-only-nitrogen,
l2switch-csit-1node-scalability-all-nitrogen,
l2switch-csit-1node-switch-all-nitrogen,
lispflowmapping-csit-1node-msmr-all-nitrogen,
lispflowmapping-csit-1node-performance-only-nitrogen,
lispflowmapping-csit-3node-msmr-all-nitrogen,
-mdsal-csit-1node-periodic-bindingv1-only-nitrogen,
+mdsal-csit-1node-bindingv1-only-nitrogen,
messaging4transport-csit-1node-basic-all-nitrogen,
nemo-csit-1node-engine-all-nitrogen,
netconf-csit-1node-callhome-only-nitrogen,
-netconf-csit-1node-periodic-scale-all-nitrogen,
+netconf-csit-1node-scale-all-nitrogen,
netconf-csit-1node-userfeatures-all-nitrogen,
netconf-csit-3node-cluster-stress-all-nitrogen,
netconf-csit-3node-clustering-all-nitrogen,
-netconf-csit-3node-periodic-clustering-scale-all-nitrogen,
+netconf-csit-3node-clustering-scale-all-nitrogen,
netvirt-csit-1node-openstack-pike-sfc-nitrogen,
netvirt-csit-1node-openstack-pike-upstream-stateful-nitrogen,
netvirt-csit-1node-openstack-pike-upstream-stateful-snat-conntrack-nitrogen,
sfc-csit-3node-rest-basic-all-nitrogen,
sxp-csit-1node-basic-all-nitrogen,
sxp-csit-1node-filtering-all-nitrogen,
-sxp-csit-1node-periodic-performance-all-nitrogen,
+sxp-csit-1node-performance-all-nitrogen,
sxp-csit-1node-topology-all-nitrogen,
-sxp-csit-3node-periodic-clustering-all-nitrogen,
-sxp-csit-3node-periodic-routing-all-nitrogen,
+sxp-csit-3node-clustering-all-nitrogen,
+sxp-csit-3node-routing-all-nitrogen,
topoprocessing-csit-1node-topology-operations-all-nitrogen,
unimgr-csit-1node-basic-all-nitrogen,
unimgr-csit-1node-legato-all-nitrogen,
usc-csit-1node-tcp-all-nitrogen,
usecplugin-csit-1node-basic-all-nitrogen,
vtn-csit-1node-openstack-pike-neutron-nitrogen,
-yangtools-csit-1node-periodic-system-only-nitrogen,
+yangtools-csit-1node-system-only-nitrogen,
aaa-csit-1node-keystone-all-oxygen,
aaa-csit-1node-tls-only-oxygen,
alto-csit-1node-setup-all-oxygen,
-bgpcep-csit-1node-periodic-bgp-ingest-all-oxygen,
-bgpcep-csit-1node-periodic-bgp-ingest-mixed-all-oxygen,
-bgpcep-csit-1node-periodic-throughpcep-all-oxygen,
+bgpcep-csit-1node-bgp-ingest-all-oxygen,
+bgpcep-csit-1node-bgp-ingest-mixed-all-oxygen,
+bgpcep-csit-1node-throughpcep-all-oxygen,
bgpcep-csit-1node-userfeatures-all-oxygen,
-bgpcep-csit-3node-periodic-bgpclustering-all-oxygen,
-bgpcep-csit-3node-periodic-bgpclustering-ha-only-oxygen,
+bgpcep-csit-3node-bgpclustering-all-oxygen,
+bgpcep-csit-3node-bgpclustering-ha-only-oxygen,
bier-csit-1node-basic-all-oxygen,
controller-csit-1node-akka1-all-oxygen,
-controller-csit-1node-periodic-benchmark-all-oxygen,
+controller-csit-1node-benchmark-all-oxygen,
controller-csit-1node-rest-cars-perf-all-oxygen,
+controller-csit-3node-benchmark-all-oxygen,
controller-csit-3node-clustering-all-oxygen,
-controller-csit-3node-periodic-benchmark-all-oxygen,
controller-csit-3node-rest-clust-cars-perf-only-oxygen,
daexim-csit-1node-basic-only-oxygen,
daexim-csit-3node-clustering-basic-only-oxygen,
groupbasedpolicy-csit-1node-openstack-ocata-openstack-oxygen,
groupbasedpolicy-csit-1node-sxp-only-oxygen,
groupbasedpolicy-csit-3node-clustering-all-oxygen,
-l2switch-csit-1node-periodic-host-scalability-daily-only-oxygen,
+l2switch-csit-1node-host-scalability-daily-only-oxygen,
l2switch-csit-1node-scalability-all-oxygen,
l2switch-csit-1node-switch-all-oxygen,
lispflowmapping-csit-1node-msmr-all-oxygen,
lispflowmapping-csit-1node-performance-only-oxygen,
lispflowmapping-csit-3node-msmr-all-oxygen,
-mdsal-csit-1node-periodic-bindingv1-only-oxygen,
+mdsal-csit-1node-bindingv1-only-oxygen,
nemo-csit-1node-engine-all-oxygen,
netconf-csit-1node-callhome-only-oxygen,
-netconf-csit-1node-periodic-scale-all-oxygen,
+netconf-csit-1node-scale-all-oxygen,
netconf-csit-1node-userfeatures-all-oxygen,
netconf-csit-3node-cluster-stress-all-oxygen,
netconf-csit-3node-clustering-all-oxygen,
-netconf-csit-3node-periodic-clustering-scale-all-oxygen,
+netconf-csit-3node-clustering-scale-all-oxygen,
netvirt-csit-1node-openstack-pike-sfc-oxygen,
netvirt-csit-1node-openstack-pike-upstream-stateful-oxygen,
netvirt-csit-1node-openstack-pike-upstream-stateful-snat-conntrack-oxygen,
sfc-csit-3node-rest-basic-all-oxygen,
sxp-csit-1node-basic-all-oxygen,
sxp-csit-1node-filtering-all-oxygen,
-sxp-csit-1node-periodic-performance-all-oxygen,
+sxp-csit-1node-performance-all-oxygen,
sxp-csit-1node-topology-all-oxygen,
-sxp-csit-3node-periodic-clustering-all-oxygen,
-sxp-csit-3node-periodic-routing-all-oxygen,
+sxp-csit-3node-clustering-all-oxygen,
+sxp-csit-3node-routing-all-oxygen,
tsdr-csit-1node-cassandra-datastore-only-oxygen,
tsdr-csit-1node-elasticsearch-datastore-only-oxygen,
tsdr-csit-1node-hbase-datastore-all-oxygen,
usc-csit-1node-channel-all-oxygen,
usc-csit-1node-tcp-all-oxygen,
vtn-csit-1node-openstack-pike-neutron-oxygen,
-yangtools-csit-1node-periodic-system-only-oxygen,
+yangtools-csit-1node-system-only-oxygen,
# No need for verbose printing during repeating operations.
set +x
-echo "Waiting for controller to come up..."
-COUNT=0
-while true; do
- RESP="$(curl --user admin:admin -sL -w "%{http_code} %{url_effective}\\n" http://localhost:8181/restconf/modules -o /dev/null || true)"
- echo "${RESP}"
- if [[ "${RESP}" == *"200"* ]]; then
- echo Controller is UP
- break
- elif (( "${COUNT}" > 600 )); then
- echo Timeout Controller DOWN
- echo "Dumping Karaf log..."
- cat "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"
- echo "Listing all open ports on controller system"
- netstat -pnatu
- exit 1
- else
- COUNT=$(( ${COUNT} + 1 ))
- sleep 1
- if [[ $(($COUNT % 5)) == 0 ]]; then
- echo already waited ${COUNT} seconds...
- fi
- fi
-done
+function dump_log_and_exit {
+ echo "Dumping first 500K bytes of karaf log..."
+ head --bytes=500K "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"
+ echo "Dumping last 500K bytes of karaf log..."
+ tail --bytes=500K "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"
+ cp "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log" .
+ cp "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf_console.log" .
+ exit 1
+}
-echo "loading many features at once. Need to allow time for problems to show up in logs. cool down for 5 min ..."
-COUNT="300"
-while true; do
- if (( "${COUNT}" <= "0" )); then
- break
- fi
- echo "${COUNT} seconds yet to wait..."
- sleep 10
- COUNT="$(( ${COUNT} - 10 ))"
-done
+echo "Waiting up to 5 minutes for controller to come up, checking every 5 seconds..."
+if [ "${DISTROSTREAM}" == "carbon" ] || [ "${DISTROSTREAM}" == "nitrogen" ]; then
+ # Only oxygen and above have the infrautils.ready feature, so using REST API to determine if the controller is ready.
+ COUNT="0"
+ while true; do
+ COUNT=$(( ${COUNT} + 5 ))
+ sleep 5
+ echo "already waited ${COUNT} seconds..."
+ RESP="$(curl --user admin:admin -sL -w "%{http_code} %{url_effective}\\n" http://localhost:8181/restconf/modules -o /dev/null || true)"
+ echo ${RESP}
+ if [[ ${RESP} == *"200"* ]]; then
+ echo "Controller is UP"
+ break
+ elif (( "${COUNT}" > "300" )); then
+ echo "Timeout Controller DOWN"
+ dump_log_and_exit
+ fi
+ done
+else
+ COUNT="0"
+ while true; do
+ COUNT=$(( ${COUNT} + 5 ))
+ sleep 5
+ echo "already waited ${COUNT} seconds..."
+ if grep --quiet 'org.opendaylight.infrautils.ready-impl.*System ready' "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"; then
+ echo "Controller is UP"
+ break
+ elif (( "${COUNT}" > "300" )); then
+ echo "Timeout Controller DOWN"
+ dump_log_and_exit
+ fi
+ done
+fi
-# End of repeating operations, enable verbose printing.
set -x
# echo "Checking OSGi bundles..."
echo "looking for \"$1\" in karaf.log file"
if grep --quiet "$1" "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"; then
echo ABORTING: found "$1"
- echo "Dumping first 500K bytes of karaf log..."
- head --bytes=500K "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"
- echo "Dumping last 500K bytes of karaf log..."
- tail --bytes=500K "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"
- cp "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log" .
- cp "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf_console.log" .
- exit 1
+ dump_log_and_exit
fi
echo "looking for \"$1\" in karaf_console.log file"
if grep --quiet "$1" "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf_console.log"; then
echo ABORTING: found "$1"
- echo "Dumping first 500K bytes of karaf log..."
- head --bytes=500K "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf_console.log"
- echo "Dumping last 500K bytes of karaf log..."
- tail --bytes=500K "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf_console.log"
- cp "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log" .
- cp "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf_console.log" .
- exit 1
+ dump_log_and_exit
fi
}
echo "Starting controller..."
${WORKSPACE}/${BUNDLEFOLDER}/bin/start
-echo "Waiting for controller to come up..."
-COUNT=0
-while true; do
- RESP="$(curl --user admin:admin -sL -w "%{http_code} %{url_effective}\\n" http://localhost:8181/restconf/modules -o /dev/null || true)"
- echo "${RESP}"
- if [[ "${RESP}" == *"200"* ]]; then
- echo Controller is UP
- break
- elif (( "${COUNT}" > 600 )); then
- echo Timeout Controller DOWN
- echo "Dumping Karaf log..."
- cat "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"
- echo "Listing all open ports on controller system"
- netstat -pnatu
- exit 1
- else
- COUNT=$(( ${COUNT} + 1 ))
- sleep 1
- if [[ $(($COUNT % 5)) == 0 ]]; then
- echo already waited ${COUNT} seconds...
- fi
- fi
-done
+function dump_log_and_exit {
+ echo "Dumping first 500K bytes of karaf log..."
+ head --bytes=500K "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"
+ echo "Dumping last 500K bytes of karaf log..."
+ tail --bytes=500K "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"
+ cp "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log" .
+ cp "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf_console.log" .
+ exit 1
+}
-echo "loading many features at once. Need to allow time for problems to show up in logs. cool down for 5 min ..."
-sleep 300
+echo "Waiting up to 5 minutes for controller to come up, checking every 5 seconds..."
+if [ "${DISTROSTREAM}" == "carbon" ] || [ "${DISTROSTREAM}" == "nitrogen" ]; then
+ # Only oxygen and above have the infrautils.ready feature, so using REST API to determine if the controller is ready.
+ COUNT="0"
+ while true; do
+ COUNT=$(( ${COUNT} + 5 ))
+ sleep 5
+ echo "already waited ${COUNT} seconds..."
+ RESP="$(curl --user admin:admin -sL -w "%{http_code} %{url_effective}\\n" http://localhost:8181/restconf/modules -o /dev/null || true)"
+ echo ${RESP}
+ if [[ ${RESP} == *"200"* ]]; then
+ echo "Controller is UP"
+ break
+ elif (( "${COUNT}" > "300" )); then
+ echo "Timeout Controller DOWN"
+ dump_log_and_exit
+ fi
+ done
+else
+ COUNT="0"
+ while true; do
+ COUNT=$(( ${COUNT} + 5 ))
+ sleep 5
+ echo "already waited ${COUNT} seconds..."
+ if grep --quiet 'org.opendaylight.infrautils.ready-impl.*System ready' "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"; then
+ echo "Controller is UP"
+ break
+ elif (( "${COUNT}" > "300" )); then
+ echo "Timeout Controller DOWN"
+ dump_log_and_exit
+ fi
+ done
+fi
-echo "Checking OSGi bundles..."
+# echo "Checking OSGi bundles..."
# sshpass seems to fail with new karaf version
# sshpass -p karaf ${WORKSPACE}/${BUNDLEFOLDER}/bin/client -u karaf 'bundle:list'
echo "looking for \"$1\" in karaf.log file"
if grep --quiet "$1" "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"; then
echo ABORTING: found "$1"
- echo "Dumping first 500K bytes of karaf log..."
- head --bytes=500K "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"
- echo "Dumping last 500K bytes of karaf log..."
- tail --bytes=500K "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log"
- cp "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log" .
- cp "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf_console.log" .
- exit 1
+ dump_log_and_exit
fi
echo "looking for \"$1\" in karaf_console.log file"
if grep --quiet "$1" "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf_console.log"; then
echo ABORTING: found "$1"
- echo "Dumping first 500K bytes of karaf log..."
- head --bytes=500K "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf_console.log"
- echo "Dumping last 500K bytes of karaf log..."
- tail --bytes=500K "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf_console.log"
- cp "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf.log" .
- cp "${WORKSPACE}/${BUNDLEFOLDER}/data/log/karaf_console.log" .
- exit 1
+ dump_log_and_exit
fi
}
---
-- project:
- name: distribution-jobs
-
- job-template:
name: 'distribution-verify-{stream}'
project-type: freestyle
node: centos7-builder-8c-8g
concurrent: true
- jdk: '{jre}'
+ jdk: '{java-version}'
properties:
- opendaylight-infra-properties:
branch: '{branch}'
refspec: 'refs/heads/{branch}'
artifacts: '{archive-artifacts}'
- - integration-patch-refspec:
- branch: '$GERRIT_REFSPEC'
scm:
- gerrit-trigger-scm:
- refspec: '$PATCHREFSPEC'
+ refspec: '$GERRIT_REFSPEC'
choosing-strategy: 'gerrit'
wrappers:
global-settings-file: 'global-settings'
settings-file: 'integration-settings'
- maven-target:
- maven-version: mvn33
+ maven-version: mvn35
pom: pom.xml
goals: |
clean install dependency:tree -DoutputFile=dependency_tree.txt
-Dstream={stream}
-Dsft.heap.max=4g
+ -Pmanaged -Punmanaged
{opendaylight-infra-mvn-opts}
# {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
java-opts:
- lf-infra-publish
- email-notification:
email-recipients: '{email-recipients}'
- email-prefix: '[int/dist]'
+ email-prefix: '[{project-name}]'
- job-template:
name: 'distribution-merge-{stream}'
project-type: maven
node: 'centos7-builder-8c-8g'
- jdk: '{jre}'
+ jdk: '{java-version}'
properties:
- opendaylight-infra-properties:
triggers:
- gerrit-trigger-patch-merged:
gerrit-server-name: '{gerrit-server-name}'
- name: 'integration/distribution'
+ name: '{project}'
branch: '{branch}'
prebuilders:
path: '$KARAF_ARTIFACT/src/main/assembly'
maven:
- maven-name: 'mvn33'
+ maven-name: 'mvn35'
root-pom: 'pom.xml'
goals: >
clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B
-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
-Dsft.heap.max=4g
-Djenkins -Dmerge -Dstream={stream}
+ -Pmanaged -Punmanaged
maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
- settings: 'integration-settings'
+ settings: integration-settings
settings-type: cfp
- global-settings: 'global-settings'
+ global-settings: global-settings
global-settings-type: cfp
postbuilders:
- - conditional-step:
- condition-kind: file-exists
- condition-filename: deploy-site.xml
- condition-basedir: workspace
-
- # The strategy here is intentional to run Maven site:deploy twice
- # once using regular pom.xml to produce a staged-site which is
- # then used by deploy-site.xml to push to Nexus. This is a
- # workaround to Maven Site's default linking code which creates
- # incorrect URLs for sites due to auto-detection assuming your
- # project is configured in a certain way which ODL is not.
- steps:
- - maven-target:
- maven-version: 'mvn33'
- pom: pom.xml
- goals: 'site:deploy -V -B -Dstream={stream}'
- java-opts:
- - '-Xmx2g'
- settings: 'integration-settings'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- - maven-target:
- maven-version: 'mvn33'
- pom: deploy-site.xml
- goals: 'site:deploy -V -B -Dstream={stream}'
- java-opts:
- - '-Xmx2g'
- settings: 'integration-settings'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- integration-compare-distributions
# TODO: the output of the above command is not *friendly* for the reader because the most important info
# is listed last. This is fine/best for command line output, but for keeping in a file it would be better
- lf-infra-publish
- email-notification:
email-recipients: '{email-recipients}'
- email-prefix: '[int/dist]'
+ email-prefix: '[{project-name}]'
- job-template:
name: 'distribution-check-{stream}'
# Default parameters #
######################
- mvn-version: mvn33
+ mvn-version: mvn35
#####################
# Job Configuration #
branch: '{branch}'
refspec: 'refs/heads/{branch}'
artifacts: '{archive-artifacts}'
+ - integration-distribution-stream:
+ stream: '{stream}'
- distribution-karaf-version:
karaf-version: '{karaf-version}'
- maven-exec:
- maven-version: mvn33
+ maven-version: mvn35
scm:
- integration-gerrit-scm:
branch: '{branch}'
refspec: 'refs/heads/{branch}'
artifacts: '{archive-artifacts}'
+ - integration-distribution-stream:
+ stream: '{stream}'
- integration-distribution-branch:
branch: '{branch}'
- integration-bundle-url:
publishers:
- email-notification:
email-recipients: '{email-recipients}'
- email-prefix: '[int/dist]'
+ email-prefix: '[{project-name}]'
- integration-csit-archive-build
- lf-infra-publish
publishers:
- email-notification:
email-recipients: '{email-recipients}'
- email-prefix: '[int/dist]'
+ email-prefix: '[{project-name}]'
- integration-csit-archive-build
- lf-infra-publish
######################
java-version: openjdk8
- mvn-version: mvn33
+ mvn-version: mvn35
#####################
# Job Configuration #
branch: '{branch}'
refspec: 'refs/heads/{branch}'
artifacts: '{archive-artifacts}'
+ - integration-distribution-stream:
+ stream: '{stream}'
- integration-distribution-git-url:
git-url: '{git-url}'
- distribution-karaf-version:
unzip -q ${BUNDLE}
echo "Adding external repositories..."
-sed -ie "s%org.ops4j.pax.url.mvn.repositories=%org.ops4j.pax.url.mvn.repositories=http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, http://zodiac.springsource.com/maven/bundles/release@id=gemini, http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases%g" ${MAVENCONF}
+sed -ie "s%org.ops4j.pax.url.mvn.repositories=%org.ops4j.pax.url.mvn.repositories=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot@id=opendaylight-snapshot@snapshots, https://nexus.opendaylight.org/content/repositories/public@id=opendaylight-mirror, http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, http://zodiac.springsource.com/maven/bundles/release@id=gemini, http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases%g" ${MAVENCONF}
cat ${MAVENCONF}
echo "Configuring the startup features..."
fi
sed -ie "s%\(featuresRepositories=\|featuresRepositories =\)%featuresRepositories = mvn:org.opendaylight.integration/\${FEATURE_TEST_STRING}/${BUNDLEVERSION}/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.0.0/xml/features,%g" ${FEATURESCONF}
+if [[ ! -z "${REPO_URL}" ]]; then
+ sed -ie "s%featuresRepositories =%featuresRepositories = ${REPO_URL},%g" ${FEATURESCONF}
+fi
cat ${FEATURESCONF}
if [ "${ODL_ENABLE_L3_FWD}" == "yes" ]; then
unzip -q ${BUNDLE}
echo "Adding external repositories..."
-sed -ie "s%org.ops4j.pax.url.mvn.repositories=%org.ops4j.pax.url.mvn.repositories=http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, http://zodiac.springsource.com/maven/bundles/release@id=gemini, http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases%g" ${MAVENCONF}
+sed -ie "s%org.ops4j.pax.url.mvn.repositories=%org.ops4j.pax.url.mvn.repositories=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot@id=opendaylight-snapshot@snapshots, https://nexus.opendaylight.org/content/repositories/public@id=opendaylight-mirror, http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, http://zodiac.springsource.com/maven/bundles/release@id=gemini, http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases%g" ${MAVENCONF}
cat ${MAVENCONF}
if [[ "$USEFEATURESBOOT" == "True" ]]; then
fi
sed -ie "s%\(featuresRepositories=\|featuresRepositories =\)%featuresRepositories = mvn:org.opendaylight.integration/\${FEATURE_TEST_STRING}/${BUNDLEVERSION}/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.0.0/xml/features,%g" ${FEATURESCONF}
+if [[ ! -z "${REPO_URL}" ]]; then
+ sed -ie "s%featuresRepositories =%featuresRepositories = ${REPO_URL},%g" ${FEATURESCONF}
+fi
cat ${FEATURESCONF}
if [ "${ODL_ENABLE_L3_FWD}" == "yes" ]; then
# script.
# shellcheck source=${ROBOT_VENV}/bin/activate disable=SC1091
source ${ROBOT_VENV}/bin/activate
+source /tmp/common-functions.sh ${BUNDLEFOLDER}
+
PYTHON="${ROBOT_VENV}/bin/python"
SSH="ssh -t -t"
ADMIN_PASSWORD="admin"
# openstack release
function install_openstack_clients_in_robot_vm() {
packages=("python-novaclient" "python-neutronclient" "python-openstackclient")
- for plugin_name in ${ENABLE_OS_PLUGINS}; do
+ local os_plugins
+ os_plugins=$(csv2ssv "${ENABLE_OS_PLUGINS}")
+ for plugin_name in $os_plugins; do
if [ "$plugin_name" == "networking-sfc" ]; then
packages+=("networking-sfc")
fi
fi
}
-# convert commas in csv strings to spaces (ssv)
-function csv2ssv() {
- local csv=$1
- if [ -n "${csv}" ]; then
- ssv=$(echo ${csv} | sed 's/,/ /g' | sed 's/\ \ */\ /g')
- fi
-
- echo "${ssv}"
-} # csv2ssv
-
function is_openstack_feature_enabled() {
local feature=$1
for enabled_feature in $(csv2ssv ${ENABLE_OS_SERVICES})
default: '{bundle-url}'
description: 'URL to karaf distribution zip'
+- parameter:
+ name: integration-repo-url
+ parameters:
+ - string:
+ name: REPO_URL
+ default: '{repo-url}'
+ description: 'URL to feature repo artifact'
+
- parameter:
name: integration-jdk-version
parameters:
# FIXME: Update
#
# {project}-csit-1node-{functionality}-{install}-{stream}
-# {project}-csit-1node-periodic-{functionality}-{install}-{stream}
# {project}-csit-3node-docker-{functionality}-{install}-{stream}
# {project}-csit-3node-{functionality}-{install}-{stream}
-# {project}-csit-3node-periodic-{functionality}-{install}-{stream}
# {project}-csit-hwvtep-{topology}-openstack-{openstack}-{functionality}-{stream}
# {project}-csit-{topology}-openstack-{openstack}-{functionality}-{stream}
# {project}-csit-verify-1node-{functionality}
stream: '{verify-stream}'
- integration-bundle-url:
bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
- integration-controller-scope:
controller-scope: 'only'
- integration-controller-features:
email-prefix: '[{project}]'
- integration-csit-archive-build
- integration-csit-run-postscript
+ - releng-openstack-stack-delete
- lf-infra-publish
- job-template:
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-stream-test-plan:
- integration-deploy-controller-run-test
- integration-cleanup-tmp
- publishers:
- - integration-robot:
- unstable-if: 0.0
- pass-if: 100.0
- - email-notification:
- email-recipients: '{email-recipients}'
- email-prefix: '[{project}]'
- - plot:
- - title: '{01-plot-title}'
- yaxis: '{01-plot-yaxis}'
- group: '{01-plot-group}'
- num-builds: '5400'
- keep-records: true
- style: line
- use-description: false
- # yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
- series:
- - file: '{01-plot-data-file}'
- inclusion-flag: 'off'
- display-table: true
- format: csv
- - title: '{02-plot-title}'
- yaxis: '{02-plot-yaxis}'
- group: '{02-plot-group}'
- num-builds: '5400'
- keep-records: true
- style: line
- use-description: false
- # yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
- series:
- - file: '{02-plot-data-file}'
- inclusion-flag: 'off'
- display-table: true
- format: csv
- - integration-csit-archive-build
- - integration-csit-run-postscript
- - lf-infra-publish
-
-- job-template:
- name: '{prefix}{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
- id: inttest-csit-1node-periodic
- disabled: false
-
- project-type: freestyle
- node: centos7-robot-2c-8g
-
- properties:
- - opendaylight-infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- 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-controller-scope:
- controller-scope: '{scope}'
- - integration-controller-features:
- controller-features: '{install-features}'
- - integration-test-options:
- test-options: '{robot-options}'
- - integration-stream-test-plan:
- stream-test-plan: '{project}-{functionality}-{stream}.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-use-features-boot:
- use-features-boot: 'True'
-
- scm:
- - integration-gerrit-scm:
- basedir: 'test'
- refspec: '$PATCHREFSPEC'
- branch: 'master'
-
- wrappers:
- - opendaylight-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- builders:
- - integration-infra-stack:
- stack-template: '{stack-template}'
- vm_0_count: '1'
- vm_0_flavor: '{odl_system_flavor}'
- vm_0_image: '{odl_system_image}'
- vm_1_count: '{tools_system_count}'
- vm_1_flavor: '{tools_system_flavor}'
- vm_1_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-cleanup-tmp
-
publishers:
- integration-robot:
unstable-if: 0.0
style: line
use-description: false
# yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
+ csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
series:
- file: '{01-plot-data-file}'
inclusion-flag: 'off'
style: line
use-description: false
# yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
+ csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
series:
- file: '{02-plot-data-file}'
inclusion-flag: 'off'
style: line
use-description: false
# yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
+ csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
series:
- file: '{03-plot-data-file}'
inclusion-flag: '{03-inclusion-flag}'
style: line
use-description: false
# yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
+ csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
series:
- file: '{04-plot-data-file}'
inclusion-flag: '{04-inclusion-flag}'
style: line
use-description: false
# yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
+ csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
series:
- file: '{05-plot-data-file}'
inclusion-flag: '{05-inclusion-flag}'
style: line
use-description: false
# yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
+ csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
series:
- file: '{06-plot-data-file}'
inclusion-flag: '{06-inclusion-flag}'
style: line
use-description: false
# yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
+ csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
series:
- file: '{07-plot-data-file}'
inclusion-flag: '{07-inclusion-flag}'
style: line
use-description: false
# yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
+ csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
series:
- file: '{08-plot-data-file}'
inclusion-flag: '{08-inclusion-flag}'
style: line
use-description: false
# yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
+ csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
series:
- file: '{09-plot-data-file}'
inclusion-flag: '{09-inclusion-flag}'
style: line
use-description: false
# yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
+ csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
series:
- file: '{10-plot-data-file}'
inclusion-flag: '{10-inclusion-flag}'
format: csv
- integration-csit-archive-build
- integration-csit-run-postscript
+ - releng-openstack-stack-delete
- lf-infra-publish
- job-template:
stream: '{verify-stream}'
- integration-bundle-url:
bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
- integration-controller-scope:
controller-scope: 'only'
- integration-controller-features:
email-prefix: '[{project}]'
- integration-csit-archive-build
- integration-csit-run-postscript
+ - releng-openstack-stack-delete
- lf-infra-publish
- job-template:
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-stream-test-plan:
- title: '{01-plot-title}'
yaxis: '{01-plot-yaxis}'
group: '{01-plot-group}'
- num-builds: '5400'
+ num-builds: '180'
keep-records: true
style: line
use-description: false
+ # yamllint disable-line rule:line-length
csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
series:
- file: '{01-plot-data-file}'
- title: '{02-plot-title}'
yaxis: '{02-plot-yaxis}'
group: '{02-plot-group}'
- num-builds: '5400'
+ num-builds: '180'
keep-records: true
style: line
use-description: false
+ # yamllint disable-line rule:line-length
csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
series:
- file: '{02-plot-data-file}'
inclusion-flag: 'off'
display-table: true
format: csv
- - integration-csit-archive-build
- - integration-csit-run-postscript
- - lf-infra-publish
-
-- job-template:
- name: '{prefix}{project}-csit-3node-docker-{functionality}-{install}-{stream}'
- id: inttest-csit-3node-docker
- disabled: false
-
- project-type: freestyle
- node: centos7-robot-2c-8g
-
- properties:
- - opendaylight-infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- 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-controller-scope:
- controller-scope: '{scope}'
- - integration-controller-features:
- controller-features: 'odl-jolokia,{install-features}'
- - integration-test-options:
- test-options: '{robot-options}'
- - integration-stream-test-plan:
- stream-test-plan: '{project}-{functionality}-{stream}.txt'
- - integration-test-plan:
- test-plan: '{project}-{functionality}.txt'
- - 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'
-
- scm:
- - integration-gerrit-scm:
- basedir: 'test'
- refspec: '$PATCHREFSPEC'
- branch: 'master'
-
- wrappers:
- - opendaylight-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- builders:
- - integration-infra-stack:
- stack-template: '{stack-template}'
- vm_0_count: '3'
- vm_0_flavor: '{odl_system_flavor}'
- vm_0_image: '{odl_system_image}'
- vm_1_count: '{docker_system_count}'
- vm_1_flavor: '{docker_system_flavor}'
- vm_1_image: '{docker_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-configure-clustering
- - integration-start-cluster-run-test
- - integration-cleanup-tmp
-
- publishers:
- - integration-robot:
- unstable-if: 0.0
- pass-if: 100.0
- - email-notification:
- email-recipients: '{email-recipients}'
- email-prefix: '[{project}]'
- - plot:
- - title: '{01-plot-title}'
- yaxis: '{01-plot-yaxis}'
- group: '{01-plot-group}'
- num-builds: '5400'
+ - title: '{03-plot-title}'
+ yaxis: '{03-plot-yaxis}'
+ group: '{03-plot-group}'
+ num-builds: '180'
keep-records: true
style: line
use-description: false
# yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
+ csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
series:
- - file: '{01-plot-data-file}'
- inclusion-flag: 'off'
- display-table: true
+ - file: '{03-plot-data-file}'
+ inclusion-flag: '{03-inclusion-flag}'
+ exclude: '{03-exclude-value}'
format: csv
- - title: '{02-plot-title}'
- yaxis: '{02-plot-yaxis}'
- group: '{02-plot-group}'
- num-builds: '5400'
+ - title: '{04-plot-title}'
+ yaxis: '{04-plot-yaxis}'
+ group: '{04-plot-group}'
+ num-builds: '180'
keep-records: true
style: line
use-description: false
# yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
+ csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
series:
- - file: '{02-plot-data-file}'
- inclusion-flag: 'off'
- display-table: true
+ - file: '{04-plot-data-file}'
+ inclusion-flag: '{04-inclusion-flag}'
+ exclude: '{04-exclude-value}'
+ format: csv
+ - title: '{05-plot-title}'
+ yaxis: '{05-plot-yaxis}'
+ group: '{05-plot-group}'
+ num-builds: '180'
+ keep-records: true
+ style: line
+ use-description: false
+ # yamllint disable-line rule:line-length
+ csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
+ series:
+ - file: '{05-plot-data-file}'
+ inclusion-flag: '{05-inclusion-flag}'
+ exclude: '{05-exclude-value}'
+ format: csv
+ - title: '{06-plot-title}'
+ yaxis: '{06-plot-yaxis}'
+ group: '{06-plot-group}'
+ num-builds: '180'
+ keep-records: true
+ style: line
+ use-description: false
+ # yamllint disable-line rule:line-length
+ csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
+ series:
+ - file: '{06-plot-data-file}'
+ inclusion-flag: '{06-inclusion-flag}'
+ exclude: '{06-exclude-value}'
+ format: csv
+ - title: '{07-plot-title}'
+ yaxis: '{07-plot-yaxis}'
+ group: '{07-plot-group}'
+ num-builds: '180'
+ keep-records: true
+ style: line
+ use-description: false
+ # yamllint disable-line rule:line-length
+ csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
+ series:
+ - file: '{07-plot-data-file}'
+ inclusion-flag: '{07-inclusion-flag}'
+ exclude: '{07-exclude-value}'
+ format: csv
+ - title: '{08-plot-title}'
+ yaxis: '{08-plot-yaxis}'
+ group: '{08-plot-group}'
+ num-builds: '180'
+ keep-records: true
+ style: line
+ use-description: false
+ # yamllint disable-line rule:line-length
+ csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
+ series:
+ - file: '{08-plot-data-file}'
+ inclusion-flag: '{08-inclusion-flag}'
+ exclude: '{08-exclude-value}'
+ format: csv
+ - title: '{09-plot-title}'
+ yaxis: '{09-plot-yaxis}'
+ group: '{09-plot-group}'
+ num-builds: '180'
+ keep-records: true
+ style: line
+ use-description: false
+ # yamllint disable-line rule:line-length
+ csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
+ series:
+ - file: '{09-plot-data-file}'
+ inclusion-flag: '{09-inclusion-flag}'
+ exclude: '{09-exclude-value}'
+ format: csv
+ - title: '{10-plot-title}'
+ yaxis: '{10-plot-yaxis}'
+ group: '{10-plot-group}'
+ num-builds: '180'
+ keep-records: true
+ style: line
+ use-description: false
+ # yamllint disable-line rule:line-length
+ csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
+ series:
+ - file: '{10-plot-data-file}'
+ inclusion-flag: '{10-inclusion-flag}'
+ exclude: '{10-exclude-value}'
format: csv
- integration-csit-archive-build
- integration-csit-run-postscript
+ - releng-openstack-stack-delete
- lf-infra-publish
- job-template:
- name: '{prefix}{project}-csit-3node-periodic-{functionality}-{install}-{stream}'
- id: inttest-csit-3node-periodic
+ name: '{prefix}{project}-csit-3node-docker-{functionality}-{install}-{stream}'
+ id: inttest-csit-3node-docker
disabled: false
project-type: freestyle
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:
stream-test-plan: '{project}-{functionality}-{stream}.txt'
- integration-test-plan:
test-plan: '{project}-{functionality}.txt'
- - integration-test-suites:
- test-suites: '{test-suites}'
- integration-patch-refspec:
branch: 'master'
- integration-jdk-version:
vm_0_count: '3'
vm_0_flavor: '{odl_system_flavor}'
vm_0_image: '{odl_system_image}'
- vm_1_count: '{tools_system_count}'
- vm_1_flavor: '{tools_system_flavor}'
- vm_1_image: '{tools_system_image}'
+ vm_1_count: '{docker_system_count}'
+ vm_1_flavor: '{docker_system_flavor}'
+ vm_1_image: '{docker_system_image}'
- integration-install-robotframework
- inject:
properties-file: 'env.properties'
- title: '{01-plot-title}'
yaxis: '{01-plot-yaxis}'
group: '{01-plot-group}'
- num-builds: '180'
+ num-builds: '5400'
keep-records: true
style: line
use-description: false
# yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
+ csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
series:
- file: '{01-plot-data-file}'
inclusion-flag: 'off'
- title: '{02-plot-title}'
yaxis: '{02-plot-yaxis}'
group: '{02-plot-group}'
- num-builds: '180'
+ num-builds: '5400'
keep-records: true
style: line
use-description: false
# yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
+ csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
series:
- file: '{02-plot-data-file}'
inclusion-flag: 'off'
display-table: true
format: csv
- - title: '{03-plot-title}'
- yaxis: '{03-plot-yaxis}'
- group: '{03-plot-group}'
- num-builds: '180'
- keep-records: true
- style: line
- use-description: false
- # yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
- series:
- - file: '{03-plot-data-file}'
- inclusion-flag: '{03-inclusion-flag}'
- exclude: '{03-exclude-value}'
- format: csv
- - title: '{04-plot-title}'
- yaxis: '{04-plot-yaxis}'
- group: '{04-plot-group}'
- num-builds: '180'
- keep-records: true
- style: line
- use-description: false
- # yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
- series:
- - file: '{04-plot-data-file}'
- inclusion-flag: '{04-inclusion-flag}'
- exclude: '{04-exclude-value}'
- format: csv
- - title: '{05-plot-title}'
- yaxis: '{05-plot-yaxis}'
- group: '{05-plot-group}'
- num-builds: '180'
- keep-records: true
- style: line
- use-description: false
- # yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
- series:
- - file: '{05-plot-data-file}'
- inclusion-flag: '{05-inclusion-flag}'
- exclude: '{05-exclude-value}'
- format: csv
- - title: '{06-plot-title}'
- yaxis: '{06-plot-yaxis}'
- group: '{06-plot-group}'
- num-builds: '180'
- keep-records: true
- style: line
- use-description: false
- # yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
- series:
- - file: '{06-plot-data-file}'
- inclusion-flag: '{06-inclusion-flag}'
- exclude: '{06-exclude-value}'
- format: csv
- - title: '{07-plot-title}'
- yaxis: '{07-plot-yaxis}'
- group: '{07-plot-group}'
- num-builds: '180'
- keep-records: true
- style: line
- use-description: false
- # yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
- series:
- - file: '{07-plot-data-file}'
- inclusion-flag: '{07-inclusion-flag}'
- exclude: '{07-exclude-value}'
- format: csv
- - title: '{08-plot-title}'
- yaxis: '{08-plot-yaxis}'
- group: '{08-plot-group}'
- num-builds: '180'
- keep-records: true
- style: line
- use-description: false
- # yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
- series:
- - file: '{08-plot-data-file}'
- inclusion-flag: '{08-inclusion-flag}'
- exclude: '{08-exclude-value}'
- format: csv
- - title: '{09-plot-title}'
- yaxis: '{09-plot-yaxis}'
- group: '{09-plot-group}'
- num-builds: '180'
- keep-records: true
- style: line
- use-description: false
- # yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
- series:
- - file: '{09-plot-data-file}'
- inclusion-flag: '{09-inclusion-flag}'
- exclude: '{09-exclude-value}'
- format: csv
- - title: '{10-plot-title}'
- yaxis: '{10-plot-yaxis}'
- group: '{10-plot-group}'
- num-builds: '180'
- keep-records: true
- style: line
- use-description: false
- # yamllint disable-line rule:line-length
- csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
- series:
- - file: '{10-plot-data-file}'
- inclusion-flag: '{10-inclusion-flag}'
- exclude: '{10-exclude-value}'
- format: csv
- integration-csit-archive-build
- integration-csit-run-postscript
+ - releng-openstack-stack-delete
- lf-infra-publish
- job-template:
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:
email-prefix: '[{project}]'
- integration-csit-archive-build
- integration-csit-run-postscript
+ - releng-openstack-stack-delete
- lf-infra-publish
- job-template:
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:
email-prefix: '[{project}]'
- integration-csit-archive-build
- integration-csit-run-postscript
+ - releng-openstack-stack-delete
- lf-infra-publish
# Template: {project}-patch-test-{stream}
default: 'all'
description: 'Specific feature test for patch'
- maven-exec:
- maven-version: mvn33
+ maven-version: mvn35
scm:
- integration-gerrit-scm:
- integration-rebase-gerrit-patch
- wipe-org-opendaylight-repo
- maven-target:
- maven-version: mvn33
+ maven-version: mvn35
pom: '{project}/pom.xml'
goals: |
clean install dependency:tree
global-settings: global-settings
global-settings-type: cfp
- maven-target:
- maven-version: mvn33
+ maven-version: mvn35
pom: distribution/pom.xml
goals: |
clean install dependency:tree
csit-sanity-list: '{csit-sanity-list-fluorine}'
csit-weekly-list: '{csit-weekly-list-fluorine}'
csit-high-frequency-list: '{csit-high-frequency-list-fluorine}'
- mvn-version: 'mvn33'
+ mvn-version: 'mvn35'
- oxygen:
branch: 'stable/oxygen'
csit-blacklist: >
csit-sanity-list: '{csit-sanity-list-oxygen}'
csit-weekly-list: '{csit-weekly-list-oxygen}'
csit-high-frequency-list: '{csit-high-frequency-list-oxygen}'
- mvn-version: 'mvn33'
+ mvn-version: 'mvn35'
- nitrogen:
branch: 'stable/nitrogen'
csit-sanity-list: '{csit-sanity-list-nitrogen}'
csit-weekly-list: '{csit-weekly-list-nitrogen}'
csit-high-frequency-list: '{csit-high-frequency-list-nitrogen}'
- mvn-version: 'mvn33'
+ mvn-version: 'mvn35'
- carbon:
branch: 'stable/carbon'
csit-sanity-list: '{csit-sanity-list-carbon}'
csit-weekly-list: '{csit-weekly-list-carbon}'
csit-high-frequency-list: '{csit-high-frequency-list-carbon}'
- mvn-version: 'mvn33'
+ mvn-version: 'mvn35'
# tools system image
tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
name: 'integration-distribution-test-{stream}'
project-type: freestyle
- node: centos7-robot-2c-8g
+ node: queue-disttest-2c-1g
properties:
- opendaylight-infra-properties:
name: 'integration-sanity-test-{stream}'
project-type: freestyle
- node: centos7-robot-2c-8g
+ node: queue-intque-2c-1g
properties:
- opendaylight-infra-properties:
- integration-distribution-git-url:
git-url: '{git-url}'
- maven-exec:
- maven-version: mvn33
+ maven-version: mvn35
scm:
- integration-gerrit-scm:
global-settings-file: 'global-settings'
settings-file: 'integration-settings'
- maven-target:
- maven-version: 'mvn33'
+ maven-version: 'mvn35'
pom: '$GERRIT_PROJECT/pom.xml'
goals: |
clean install dependency:tree -DoutputFile=dependency_tree.txt
global-settings: global-settings
global-settings-type: cfp
- maven-target:
- maven-version: mvn33
+ maven-version: mvn35
pom: distribution/pom.xml
goals: |
clean install dependency:tree -DoutputFile=dependency_tree.txt
refspec: 'refs/heads/{branch}'
artifacts: '{archive-artifacts}'
- maven-exec:
- maven-version: mvn33
+ maven-version: mvn35
wrappers:
- opendaylight-infra-wrappers:
name: 'integration-distribution-weekly-test-trigger-{stream}'
project-type: freestyle
- node: centos7-robot-2c-8g
+ node: queue-intque-2c-1g
properties:
- opendaylight-infra-properties:
name: 'integration-distribution-high-frequency-test-trigger-{stream}'
project-type: freestyle
- node: centos7-robot-2c-8g
+ node: queue-intque-2c-1g
properties:
- opendaylight-infra-properties:
cat "${LOG_FILE}"
-BUNDLE_URL=$(grep "Uploaded.*${KARAF_ARTIFACT}/${BUNDLE_VERSION}.*.zip" ${LOG_FILE} | awk '{print $3}') || true
+BUNDLE_URL=$(grep "Uploaded.*${KARAF_ARTIFACT}/${BUNDLE_VERSION}.*.zip" ${LOG_FILE} | awk '{print $5}') || true
echo "Bundle uploaded to ${BUNDLE_URL}"
# Re-inject the new BUNDLE_URL for downstream jobs to pull from Nexus
- project:
name: iotdm-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: l2switch-csit-host-scalability-daily
jobs:
- - inttest-csit-1node-periodic
+ - inttest-csit-1node
# The project name
project: 'l2switch'
feature:
- all:
csit-list: >
- l2switch-csit-1node-periodic-host-scalability-daily-only-{stream},
+ l2switch-csit-1node--host-scalability-daily-only-{stream},
l2switch-csit-1node-scalability-all-{stream},
l2switch-csit-1node-switch-all-{stream}
- project:
name: l2switch-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: lacp-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
--- /dev/null
+---
+- project:
+ name: lf-infra-lfn-process
+ jobs:
+ - '{project-name}-rtd-jobs'
+ - gerrit-tox-verify
+
+ project-name: lf-infra-lfn-process
+ project: lfn/process
+ project-pattern: lfn/process
+ build-node: centos7-builder-2c-1g
+ rtd-build-url: https://readthedocs.org/api/v2/webhook/lfn-process/33719/
+ rtd-token: e505b4ae2bf222dcd2b6b08d7b04384ac0459b19
+ stream: any
+ branch: '*'
+
+ git-url: https://gerrit.linuxfoundation.org/infra/$GERRIT_PROJECT
+ gerrit-server-name: LinuxFoundation
+
scope: 'only'
# Job instance type
- odl_system_flavor: 'v2-highcpu-8'
+ odl_system_flavor: 'odl-highcpu-8'
# Features to install
install-features: 'odl-lispflowmapping-msmr'
- project:
name: mdsal-csit-bindingv1
jobs:
- - inttest-csit-1node-periodic
+ - inttest-csit-1node
# The project name
project: 'mdsal'
# No tools system VMs needed, but ODL system needs RAM and benefits from CPUs.
tools_system_count: 0
- odl_system_flavor: v2-standard-4
+ odl_system_flavor: odl-standard-4
# Features to install
install-features: 'odl-restconf'
- project:
name: messaging4transport-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
- project:
name: natapp-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
- project:
name: nemo-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: netconf-csit-clustering-scale
jobs:
- - inttest-csit-3node-periodic
+ - inttest-csit-3node
# The project name
project: 'netconf'
- project:
name: netconf-csit-scale
jobs:
- - inttest-csit-1node-periodic
+ - inttest-csit-1node
# The project name
project: 'netconf'
robot-options: '-v USE_NETCONF_CONNECTOR:False'
# ODL system configuration
- odl_system_flavor: v2-standard-4
+ odl_system_flavor: odl-standard-4
- project:
name: netide-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
enable-openstack-services: 'placement-api,l2gw-plugin'
enable-openstack-compute-services: 'placement-client'
security-group-mode: 'stateful'
- odl_system_flavor: v2-standard-8
- openstack_system_flavor: v2-standard-8
- openstack_system2_flavor: v2-standard-4
+ odl_system_flavor: odl-standard-8
+ openstack_system_flavor: odl-standard-8
+ openstack_system2_flavor: odl-standard-4
tools_system_count: 2
tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847
enable-openstack-services: 'placement-api,l2gw-plugin'
enable-openstack-compute-services: 'placement-client'
security-group-mode: 'stateful'
- odl_system_flavor: v2-standard-8
- openstack_system_flavor: v2-standard-8
- openstack_system2_flavor: v2-standard-4
+ odl_system_flavor: odl-standard-8
+ openstack_system_flavor: odl-standard-8
+ openstack_system2_flavor: odl-standard-4
tools_system_count: 2
tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847
enable-openstack-services: 'placement-api,l2gw-plugin'
enable-openstack-compute-services: 'placement-client'
security-group-mode: 'stateful'
- odl_system_flavor: v2-standard-8
- openstack_system_flavor: v2-standard-8
- openstack_system2_flavor: v2-standard-4
+ odl_system_flavor: odl-standard-8
+ openstack_system_flavor: odl-standard-8
+ openstack_system2_flavor: odl-standard-4
tools_system_count: 2
tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847
enable-openstack-services: 'placement-api,l2gw-plugin'
enable-openstack-compute-services: 'placement-client'
security-group-mode: 'stateful'
- odl_system_flavor: v2-standard-8
- openstack_system_flavor: v2-standard-8
- openstack_system2_flavor: v2-standard-4
+ odl_system_flavor: odl-standard-8
+ openstack_system_flavor: odl-standard-8
+ openstack_system2_flavor: odl-standard-4
tools_system_count: 2
tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847
enable-openstack-services: 'placement-api,tempest'
enable-openstack-compute-services: 'placement-client'
security-group-mode: 'stateful'
- odl_system_flavor: v2-standard-8
- openstack_system_flavor: v2-standard-8
- openstack_system2_flavor: v2-standard-4
+ odl_system_flavor: odl-standard-8
+ openstack_system_flavor: odl-standard-8
+ openstack_system2_flavor: odl-standard-4
topology:
- 1node:
enable-openstack-services: 'placement-api,tempest'
enable-openstack-compute-services: 'placement-client'
security-group-mode: 'stateful'
- odl_system_flavor: v2-standard-8
- openstack_system_flavor: v2-standard-8
- openstack_system2_flavor: v2-standard-4
+ odl_system_flavor: odl-standard-8
+ openstack_system_flavor: odl-standard-8
+ openstack_system2_flavor: odl-standard-4
topology:
- 1node:
enable-openstack-services: 'placement-api,tempest'
enable-openstack-compute-services: 'placement-client'
security-group-mode: 'stateful'
- odl_system_flavor: v2-standard-8
- openstack_system_flavor: v2-standard-8
- openstack_system2_flavor: v2-standard-4
+ odl_system_flavor: odl-standard-8
+ openstack_system_flavor: odl-standard-8
+ openstack_system2_flavor: odl-standard-4
topology:
- 1node:
enable-openstack-services: 'placement-api,tempest'
enable-openstack-compute-services: 'placement-client'
security-group-mode: 'stateful'
- odl_system_flavor: v2-standard-8
- openstack_system_flavor: v2-standard-8
- openstack_system2_flavor: v2-standard-4
+ odl_system_flavor: odl-standard-8
+ openstack_system_flavor: odl-standard-8
+ openstack_system2_flavor: odl-standard-4
topology:
- 1node:
project: 'netvirt'
security-group-mode: 'stateful'
- odl_system_flavor: v2-standard-4
- openstack_system2_flavor: v2-standard-2
+ odl_system_flavor: odl-standard-4
+ openstack_system2_flavor: odl-standard-2
topology:
- 1node:
--- /dev/null
+---
+- project:
+ name: neutron-patch-test
+ jobs:
+ - inttest-patch-test
+
+ project: 'neutron'
+
+ stream:
+ - fluorine:
+ branch: 'master'
+ os-branch: 'queens'
+ - oxygen:
+ branch: 'stable/oxygen'
+ os-branch: 'queens'
+
+ jdk: 'openjdk8'
+
+ feature:
+ - netvirt:
+ csit-list: >
+ netvirt-csit-1node-openstack-{os-branch}-gate-stateful-{stream}
- project:
name: next-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: nic-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: ocpplugin-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
--- /dev/null
+#!/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 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
+
+# shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091
+source "/tmp/v/openstack/bin/activate"
+mapfile -t os_volumes < <(openstack volume list -f value -c ID --status Available)
+deactivate
+
+# shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
+source "/tmp/v/lftools/bin/activate"
+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
+deactivate
- project:
name: of-config-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: opflex-dependencies
jobs:
- - 'opflex-libuv-{stream}'
- - 'opflex-rapidjson-{stream}'
- - 'opflex-openvswitch-{stream}'
+ - 'opflex-thirdparty-libuv-{stream}'
+ - 'opflex-thirdparty-rapidjson-{stream}'
+ - 'opflex-thirdparty-openvswitch-{stream}'
stream:
- oxygen:
upload-files-dir: '$WORKSPACE/upload_files'
- job-template:
- name: 'opflex-libuv-{stream}'
+ name: 'opflex-thirdparty-libuv-{stream}'
project-type: freestyle
node: centos7-builder-2c-8g
- lf-infra-publish
- job-template:
- name: 'opflex-rapidjson-{stream}'
+ name: 'opflex-thirdparty-rapidjson-{stream}'
project-type: freestyle
node: centos7-builder-2c-8g
- lf-infra-publish
- job-template:
- name: 'opflex-openvswitch-{stream}'
+ name: 'opflex-thirdparty-openvswitch-{stream}'
project-type: freestyle
node: centos7-builder-2c-8g
- project:
name: p4plugin-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
- install-test-uninstall-rpm
# Test Oxygen pre-release autorelease tarball
+ # NB: This will need to be updated as old builds expire
- inject:
# yamllint disable-line rule:line-length
- properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2106/org/opendaylight/integration/karaf/0.8.0/karaf-0.8.0.tar.gz'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2131/org/opendaylight/integration/karaf/0.8.1/karaf-0.8.1.tar.gz'
- shell: !include-raw-escape: build-rpm.sh
- install-test-uninstall-rpm
# Test Oxygen multipatch zip (no parallel tarball available)
+ # NB: This will need to be updated as old builds expire
- inject:
# yamllint disable-line rule:line-length
- properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.8.0-SNAPSHOT/karaf-0.8.0-20180305.133042-180.zip'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.8.1-SNAPSHOT/karaf-0.8.1-20180417.030111-15.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/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/distribution-karaf/0.6.4-SNAPSHOT/distribution-karaf-0.6.4-20180305.151247-2.zip'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/distribution-karaf/0.6.4-SNAPSHOT/distribution-karaf-0.6.4-20180408.212935-2.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/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.7.3-SNAPSHOT/karaf-0.7.3-20180305.153647-3.zip'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.7.3-SNAPSHOT/karaf-0.7.3-20180408.214158-1.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-2106/org/opendaylight/integration/karaf/0.8.0/karaf-0.8.0.tar.gz'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2131/org/opendaylight/integration/karaf/0.8.1/karaf-0.8.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.8.0-SNAPSHOT/karaf-0.8.0-20180305.133042-180.zip'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.8.1-SNAPSHOT/karaf-0.8.1-20180417.030111-15.zip'
- shell: !include-raw-escape: build-rpm.sh
- install-test-uninstall-rpm
- project:
name: packetcable-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
# Distribution bundle URL
bundle-url: 'last'
+ repo-url: ''
# CSIT images configuration
openstack_system_image_ocata: ZZCI - CentOS 7 - devstack-ocata - 20171208-1649
openstack_system_image_pike: ZZCI - CentOS 7 - devstack-pike - 20171208-1649
stack-template: csit-2-instance-type.yaml
docker_system_count: 1
- docker_system_flavor: v2-standard-1
- docker_system_image: ZZCI - CentOS 7 - docker - 20180109-0346
+ docker_system_flavor: odl-standard-1
+ docker_system_image: ZZCI - CentOS 7 - docker - 20180417-0311
odl_system_count: 1
- odl_system_flavor: v2-highcpu-4
+ odl_system_flavor: odl-highcpu-4
odl_system_image: ZZCI - CentOS 7 - builder - 20180201-2139
openstack_system_count: 1
- openstack_system_flavor: v2-standard-4
+ openstack_system_flavor: odl-standard-4
openstack_system_image: ZZCI - CentOS 7 - devstack - 20171208-1648
openstack_system2_count: 0
- openstack_system2_flavor: v2-standard-1
+ openstack_system2_flavor: odl-standard-1
openstack_system2_image: ZZCI - CentOS 7 - devstack - 20171208-1648
tools_system_count: 1
- tools_system_flavor: v2-highcpu-2
+ tools_system_flavor: odl-highcpu-2
tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
# Default Robot framework options
name: builder-openstack-cron
project-type: freestyle
node: '{build-node}'
+ concurrent: true
properties:
- lf-infra-properties:
- 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
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
settings: '{settings}'
global-settings: '{global-settings}'
+- publisher:
+ name: releng-openstack-stack-delete
+ publishers:
+ - postbuildscript:
+ builders:
+ - role: BOTH
+ build-on:
+ - ABORTED
+ - FAILURE
+ - SUCCESS
+ - UNSTABLE
+ build-steps:
+ - shell: |
+ #!/bin/bash
+ echo "Deleting $STACK_NAME"
+ source "/tmp/v/openstack/bin/activate"
+ openstack stack delete --yes "$STACK_NAME"
+ mark-unstable-if-failed: false
+
- builder:
name: releng-stage-release
builders:
global-settings-file: 'global-settings'
settings-file: '{mvn-settings}'
- maven-target:
- maven-version: 'mvn33'
+ maven-version: 'mvn35'
goals: |
{mvn-goals}
{opendaylight-infra-mvn-opts}
**/target/**/feature.xml
**/target/failsafe-reports/failsafe-summary.xml
**/target/surefire-reports/*-output.txt
+ cron: 'H H * * 0'
mvn-opts: ''
- mvn-version: mvn33
+ mvn-version: mvn35
java-version: openjdk8
#####################
build-timeout: '{build-timeout}'
triggers:
- - timed: 'H H * * 0'
+ - timed: '{obj:cron}'
- gerrit-trigger-patch-merged:
gerrit-server-name: '{gerrit-server-name}'
name: '{project}'
global-settings-file: 'global-settings'
settings-file: 'autorelease-settings'
- maven-target:
- maven-version: 'mvn33'
+ maven-version: 'mvn35'
pom: 'pom.xml'
goals: >
clean deploy -V -B
- wipe-org-opendaylight-repo
- jacoco-nojava-workaround
- releng-fetch-p2zip-if-necessary:
- maven-version: 'mvn33'
+ maven-version: 'mvn35'
settings: '{mvn-settings}'
global-settings: 'global-settings'
- releng-generate-p2pom
- maven-target:
- maven-version: 'mvn33'
+ maven-version: 'mvn35'
pom: 'pom.xml'
goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r'
settings: '{mvn-settings}'
global-settings: 'global-settings'
global-settings-type: cfp
- releng-update-p2composite-metadata:
- maven-version: 'mvn33'
+ maven-version: 'mvn35'
settings: '{mvn-settings}'
global-settings: 'global-settings'
- project:
name: sdninterfaceapp-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: snbi-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: snmp-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: snmp4sdn-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
branch: 'master'
trigger-jobs: '{project}-merge-{stream}'
# yamllint disable-line rule:line-length
- bundle-url: 'https://jenkins.opendaylight.org/releng/view/sxp/job/sxp-merge-fluorine/lastBuild/org.opendaylight.sxp$sxp-karaf/artifact/org.opendaylight.sxp/sxp-karaf/1.7.0-SNAPSHOT/sxp-karaf-1.7.0-SNAPSHOT.zip'
+ repo-url: 'mvn:org.opendaylight.sxp/features-sxp/1.7.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen:
- project:
name: sxp-csit-routing
jobs:
- - inttest-csit-3node-periodic
+ - inttest-csit-3node
# The project name
project: 'sxp'
branch: 'master'
trigger-jobs: '{project}-merge-{stream}'
# yamllint disable-line rule:line-length
- bundle-url: 'https://jenkins.opendaylight.org/releng/view/sxp/job/sxp-merge-fluorine/lastBuild/org.opendaylight.sxp$sxp-karaf/artifact/org.opendaylight.sxp/sxp-karaf/1.7.0-SNAPSHOT/sxp-karaf-1.7.0-SNAPSHOT.zip'
+ repo-url: 'mvn:org.opendaylight.sxp/features-sxp/1.7.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen:
- project:
name: sxp-csit-clustering
jobs:
- - inttest-csit-3node-periodic
+ - inttest-csit-3node
# The project name
project: 'sxp'
branch: 'master'
trigger-jobs: '{project}-merge-{stream}'
# yamllint disable-line rule:line-length
- bundle-url: 'https://jenkins.opendaylight.org/releng/view/sxp/job/sxp-merge-fluorine/lastBuild/org.opendaylight.sxp$sxp-karaf/artifact/org.opendaylight.sxp/sxp-karaf/1.7.0-SNAPSHOT/sxp-karaf-1.7.0-SNAPSHOT.zip'
+ repo-url: 'mvn:org.opendaylight.sxp/features-sxp/1.7.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen:
branch: 'master'
trigger-jobs: '{project}-merge-{stream}'
# yamllint disable-line rule:line-length
- bundle-url: 'https://jenkins.opendaylight.org/releng/view/sxp/job/sxp-merge-fluorine/lastBuild/org.opendaylight.sxp$sxp-karaf/artifact/org.opendaylight.sxp/sxp-karaf/1.7.0-SNAPSHOT/sxp-karaf-1.7.0-SNAPSHOT.zip'
+ repo-url: 'mvn:org.opendaylight.sxp/features-sxp/1.7.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen:
- project:
name: sxp-csit-performance
jobs:
- - inttest-csit-1node-periodic
+ - inttest-csit-1node
# The project name
project: 'sxp'
branch: 'master'
trigger-jobs: '{project}-merge-{stream}'
# yamllint disable-line rule:line-length
- bundle-url: 'https://jenkins.opendaylight.org/releng/view/sxp/job/sxp-merge-fluorine/lastBuild/org.opendaylight.sxp$sxp-karaf/artifact/org.opendaylight.sxp/sxp-karaf/1.7.0-SNAPSHOT/sxp-karaf-1.7.0-SNAPSHOT.zip'
+ repo-url: 'mvn:org.opendaylight.sxp/features-sxp/1.7.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen:
branch: 'master'
trigger-jobs: '{project}-merge-{stream}'
# yamllint disable-line rule:line-length
- bundle-url: 'https://jenkins.opendaylight.org/releng/view/sxp/job/sxp-merge-fluorine/lastBuild/org.opendaylight.sxp$sxp-karaf/artifact/org.opendaylight.sxp/sxp-karaf/1.7.0-SNAPSHOT/sxp-karaf-1.7.0-SNAPSHOT.zip'
+ repo-url: 'mvn:org.opendaylight.sxp/features-sxp/1.7.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen:
- project:
name: sxp-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
name: telemetry-fluorine
jobs:
- 'odl-maven-jobs'
- - '{project-name}-distribution-check-{stream}'
- '{project-name}-integration-{stream}'
stream: fluorine
- project:
name: topoprocessing-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: tsdr-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: ttp-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: unimgr-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
branch: 'master'
trigger-jobs: '{project}-merge-{stream}'
# yamllint disable-line rule:line-length
- bundle-url: 'https://jenkins.opendaylight.org/releng/view/usc/job/usc-merge-fluorine/lastBuild/org.opendaylight.usc$usc-karaf/artifact/org.opendaylight.usc/usc-karaf/1.6.0-SNAPSHOT/usc-karaf-1.6.0-SNAPSHOT.zip'
+ repo-url: 'mvn:org.opendaylight.usc/usc-features/1.6.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen:
stream:
- fluorine:
branch: 'master'
+ # yamllint disable-line rule:line-length
+ repo-url: 'mvn:org.opendaylight.usc/usc-features/1.6.0-SNAPSHOT/xml/features'
- oxygen:
branch: 'stable/oxygen'
- nitrogen:
- project:
name: usc-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
- project:
name: usecplugin-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
public-bridge: 'br-ex'
disable-openstack-services: 'n-net,q-l3'
tenant-network-type: 'local'
- odl_system_flavor: v2-standard-8
- openstack_system_flavor: v2-standard-8
+ odl_system_flavor: odl-standard-8
+ openstack_system_flavor: odl-standard-8
odl-ml2-driver-version: 'v2'
- project:
name: vtn-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- '{project-name}-maven-javadoc-jobs'
- odl-maven-jobs
- project:
name: yang-push-fluorine
jobs:
- - '{project-name}-distribution-check-{stream}'
- odl-maven-jobs
stream: fluorine
- project:
name: yangtools-csit-system
jobs:
- - inttest-csit-1node-periodic
+ - inttest-csit-1node
# The project name
project: 'yangtools'
allowed_address_pairs:
- ip_address: 10.250.0.0/24
network: odlci
- volume:
- type: "OS::Cinder::Volume"
- properties:
- image: {get_param: vm_image}
- size: 40
instance:
type: "OS::Nova::Server"
properties:
+ image: {get_param: vm_image}
flavor: {get_param: vm_flavor}
- block_device_mapping_v2:
- - volume_id: {get_resource: volume}
name:
str_replace:
template: SILO-JOB_NAME-GROUP-VM_TYPE-INDEX
hbase_version: 0.94.27
pre_tasks:
- - include_role: name=system-update
+ - include_role: name=lfit.system-update
roles:
- mono-install
become_method: sudo
pre_tasks:
- - include_role: name=system-update
+ - include_role: name=lfit.system-update
post_tasks:
- name: System Reseal
ovs_version: 2.8.1
pre_tasks:
- - include_role: name=system-update
+ - include_role: name=lfit.system-update
tasks:
- name: 'Install OpenVSwitch {{ovs_version}}'