- project: name: integration-test jobs: - '{project-name}-verify-python-{stream}' - 'integration-csit-verify-1node-library' - 'integration-distribution-test-{stream}' - 'integration-patch-test-{stream}' - 'integration-multipatch-test-{stream}' project: integration/test project-name: integration-test stream: - carbon: branch: 'master' jdk: 'openjdk8' jre: 'openjdk8' csit-list: > controller-csit-3node-clustering-only-{stream}, controller-csit-3node-clustering-all-{stream}, integration-distribution-deploy-{stream}, integration-distribution-offline-{stream}, l2switch-csit-1node-switch-only-{stream}, l2switch-csit-1node-switch-all-{stream}, l2switch-csit-1node-scalability-only-{stream}, l2switch-csit-1node-scalability-all-{stream}, lispflowmapping-csit-1node-msmr-only-{stream}, lispflowmapping-csit-1node-msmr-all-{stream}, nemo-csit-1node-engine-all-{stream}, nemo-csit-1node-engine-only-{stream}, netvirt-csit-1node-openstack-basic-only-{stream}, netvirt-csit-1node-openstack-basic-all-{stream}, netvirt-csit-1node-openstack-mitaka-openstack-{stream}, netvirt-vpnservice-csit-1node-openstack-mitaka-openstack-{stream}, netvirt-csit-3node-clustering-only-{stream}, ocpplugin-csit-1node-get-only-{stream}, ocpplugin-csit-1node-get-all-{stream}, ocpplugin-csit-1node-scalability-only-{stream}, ocpplugin-csit-1node-scalability-all-{stream}, openflowplugin-csit-1node-flow-services-only-{stream}, openflowplugin-csit-1node-flow-services-all-{stream}, openflowplugin-csit-1node-scalability-only-{stream}, openflowplugin-csit-1node-cbench-performance-only-{stream}, openflowplugin-csit-1node-config-performance-only-{stream}, openflowplugin-csit-3node-clustering-only-{stream}, ovsdb-csit-1node-southbound-all-{stream}, ovsdb-csit-1node-southbound-only-{stream}, ovsdb-csit-3node-clustering-only-{stream}, packetcable-csit-1node-pcmm-only-{stream}, packetcable-csit-1node-pcmm-all-{stream}, sxp-csit-1node-basic-only-{stream}, sxp-csit-1node-filtering-all-{stream}, sxp-csit-1node-topology-only-{stream}, sxp-csit-1node-topology-all-{stream}, topoprocessing-csit-1node-topology-operations-all-{stream}, topoprocessing-csit-1node-topology-operations-only-{stream}, tsdr-csit-1node-cassandra-datastore-only-{stream}, tsdr-csit-1node-hbase-datastore-all-{stream}, tsdr-csit-1node-hbase-datastore-only-{stream}, tsdr-csit-1node-hsqldb-datastore-all-{stream}, tsdr-csit-1node-hsqldb-datastore-only-{stream}, usc-csit-1node-channel-only-{stream}, usc-csit-1node-channel-all-{stream}, usc-csit-1node-tcp-only-{stream}, usc-csit-1node-tcp-all-{stream}, vtn-csit-1node-manager-only-{stream}, vtn-csit-1node-manager-all-{stream}, vtn-csit-1node-coordinator-only-{stream} - boron: branch: 'stable/boron' jdk: 'openjdk8' jre: 'openjdk8' csit-list: > controller-csit-3node-clustering-only-{stream}, controller-csit-3node-clustering-all-{stream}, integration-distribution-deploy-{stream}, integration-distribution-offline-{stream}, l2switch-csit-1node-switch-only-{stream}, l2switch-csit-1node-switch-all-{stream}, l2switch-csit-1node-scalability-only-{stream}, l2switch-csit-1node-scalability-all-{stream}, lispflowmapping-csit-1node-msmr-only-{stream}, lispflowmapping-csit-1node-msmr-all-{stream}, nemo-csit-1node-engine-all-{stream}, nemo-csit-1node-engine-only-{stream}, netvirt-csit-1node-openstack-basic-only-{stream}, netvirt-csit-1node-openstack-basic-all-{stream}, netvirt-csit-1node-openstack-mitaka-openstack-{stream}, netvirt-vpnservice-csit-1node-openstack-mitaka-openstack-{stream}, netvirt-csit-3node-clustering-only-{stream}, ocpplugin-csit-1node-get-only-{stream}, ocpplugin-csit-1node-get-all-{stream}, ocpplugin-csit-1node-scalability-only-{stream}, ocpplugin-csit-1node-scalability-all-{stream}, openflowplugin-csit-1node-flow-services-only-{stream}, openflowplugin-csit-1node-flow-services-all-{stream}, openflowplugin-csit-1node-scalability-only-{stream}, openflowplugin-csit-1node-cbench-performance-only-{stream}, openflowplugin-csit-1node-config-performance-only-{stream}, openflowplugin-csit-3node-clustering-only-{stream}, ovsdb-csit-1node-southbound-all-{stream}, ovsdb-csit-1node-southbound-only-{stream}, ovsdb-csit-3node-clustering-only-{stream}, packetcable-csit-1node-pcmm-only-{stream}, packetcable-csit-1node-pcmm-all-{stream}, sxp-csit-1node-basic-only-{stream}, sxp-csit-1node-filtering-all-{stream}, sxp-csit-1node-topology-only-{stream}, sxp-csit-1node-topology-all-{stream}, topoprocessing-csit-1node-topology-operations-all-{stream}, topoprocessing-csit-1node-topology-operations-only-{stream}, tsdr-csit-1node-cassandra-datastore-only-{stream}, tsdr-csit-1node-hbase-datastore-only-{stream}, tsdr-csit-1node-hsqldb-datastore-only-{stream}, usc-csit-1node-channel-only-{stream}, usc-csit-1node-channel-all-{stream}, usc-csit-1node-tcp-only-{stream}, usc-csit-1node-tcp-all-{stream}, vtn-csit-1node-manager-only-{stream}, vtn-csit-1node-manager-all-{stream}, vtn-csit-1node-coordinator-only-{stream} - beryllium: branch: 'stable/beryllium' jdk: 'openjdk7' jre: 'openjdk7' csit-list: > aaa-csit-1node-authn-only-{stream}, aaa-csit-1node-authn-all-{stream}, bgpcep-csit-1node-userfeatures-only-{stream}, bgpcep-csit-1node-userfeatures-all-{stream}, capwap-csit-1node-ac-only-{stream}, capwap-csit-1node-ac-all-{stream}, integration-distribution-offline-{stream}, integration-distribution-deploy-{stream}, l2switch-csit-1node-switch-only-{stream}, l2switch-csit-1node-scalability-only-{stream}, l2switch-csit-1node-scalability-all-{stream}, lispflowmapping-csit-1node-msmr-only-{stream}, lispflowmapping-csit-1node-msmr-all-{stream}, nemo-csit-1node-engine-all-{stream}, nemo-csit-1node-engine-only-{stream}, netconf-csit-1node-userfeatures-all-{stream}, netconf-csit-1node-userfeatures-only-{stream}, netvirt-csit-1node-openstack-basic-only-{stream}, netvirt-csit-1node-openstack-basic-all-{stream}, netvirt-csit-3node-clustering-only-{stream}, nic-csit-1node-basic-all-{stream}, nic-csit-1node-basic-only-{stream}, openflowplugin-csit-1node-flow-services-only-{stream}, openflowplugin-csit-1node-flow-services-all-{stream}, openflowplugin-csit-1node-scalability-only-{stream}, openflowplugin-csit-1node-cbench-performance-only-{stream}, openflowplugin-csit-1node-config-performance-only-{stream}, openflowplugin-csit-3node-clustering-only-{stream}, ovsdb-csit-1node-southbound-all-{stream}, ovsdb-csit-1node-southbound-only-{stream}, packetcable-csit-1node-pcmm-only-{stream}, packetcable-csit-1node-pcmm-all-{stream}, snmp-csit-1node-basic-only-{stream}, snmp-csit-1node-basic-all-{stream}, sxp-csit-1node-basic-only-{stream}, sxp-csit-1node-filtering-only-{stream}, sxp-csit-1node-filtering-all-{stream}, topoprocessing-csit-1node-topology-operations-all-{stream}, topoprocessing-csit-1node-topology-operations-only-{stream}, tsdr-csit-1node-cassandra-datastore-only-{stream}, tsdr-csit-1node-hbase-datastore-only-{stream}, tsdr-csit-1node-hsqldb-datastore-only-{stream}, usc-csit-1node-channel-only-{stream}, usc-csit-1node-channel-all-{stream}, usc-csit-1node-tcp-only-{stream}, usc-csit-1node-tcp-all-{stream}, vtn-csit-1node-manager-only-{stream}, vtn-csit-1node-manager-all-{stream}, vtn-csit-1node-coordinator-only-{stream} # Template: integration-csit-verify-1node-library # Goal: Verify changes in csit folder not covered by projects suite verify jobs (e.g. libraries or variables) # Operation: This job template performs a base openflow test when there is a change in the libraries folder - job-template: name: 'integration-csit-verify-1node-library' project-type: freestyle node: centos7-robot-2c-2g logrotate: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - opendaylight-infra-parameters: project: 'integration/test' branch: '{branch}' refspec: 'refs/heads/{branch}' artifacts: '{archive-artifacts}' - integration-branch: branch: 'stable/boron' - integration-distribution-stream: stream: 'boron' - integration-bundleurl: bundleurl: 'last' - integration-controller-scope: controller-scope: 'only' - integration-controller-features: controller-features: > odl-clustering-test-app, odl-openflowplugin-flow-services-ui, odl-bgpcep-pcep, odl-bgpcep-bgp, odl-netconf-connector-all - integration-test-options: test-options: '-v TIMEOUT_BUG_4220:10s' - integration-stream-test-plan: stream-test-plan: 'test-libraries-boron.txt' - integration-test-plan: test-plan: 'test-libraries.txt' - integration-patch-refspec: branch: '$GERRIT_REFSPEC' - integration-jdk-version: jdkversion: 'openjdk8' scm: - integration-gerrit-scm: basedir: 'test' refspec: '$PATCHREFSPEC' branch: 'master' wrappers: - opendaylight-infra-wrappers: build-timeout: '{build-timeout}' - integration-jclouds-controller-mininet: controller-image: '{controller-image}' controller-vms: 1 mininet-image: '{mininet-image}' mininet-vms: '{mininet-vms}' triggers: - integration-trigger-patch-submitted: name: 'integration/test' branch: 'master' pattern: 'csit/libraries/*' builders: - integration-copy-ssh-keys - integration-cleanup-workspace - integration-install-robotframework - inject: properties-file: 'env.properties' - integration-get-slave-addresses - inject: properties-file: 'slave_addresses.txt' - integration-get-bundle-vars - inject: properties-file: 'bundle_vars.txt' - integration-deploy-controller-run-test - integration-cleanup-tmp publishers: - integration-robot: unstable-if: 0.0 pass-if: 100.0 - email-notification: email-prefix: '[integration]' - integration-csit-archive-build - opendaylight-infra-shiplogs: maven-version: 'mvn33' # Template: integration-distribution-test-{stream} # Goal: Verify a distribution through all system test available # Operation: This daily job template takes a distribution and passes all available system test - job-template: name: 'integration-distribution-test-{stream}' project-type: freestyle node: centos7-java-builder-2c-8g logrotate: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - integration-bundleurl: bundleurl: 'last' - integration-jdk-version: jdkversion: '{jre}' triggers: - timed: 'H H * * 6' builders: - trigger-builds: - project: '{csit-list}' block: true predefined-parameters: BUNDLEURL=$BUNDLEURL publishers: - email-notification: email-prefix: '[integration]' # Template: integration-patch-test-{stream} # Goal: Build a patch and run all available system test on a distribution containing the change # Operation: This job template builds a patch, creates a distribution containing the patch, and # triggers the distribution test when test-integration is used in gerrit comments - job-template: name: 'integration-patch-test-{stream}' project-type: maven node: centos7-java-builder-2c-8g jdk: '{jdk}' logrotate: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - opendaylight-infra-parameters: project: '$GERRIT_PROJECT' branch: '{branch}' refspec: '$GERRIT_REFSPEC' artifacts: '{archive-artifacts} **/dependency_tree.txt' - integration-branch: branch: '{branch}' - integration-distribution-git-url scm: - integration-gerrit-scm: basedir: '$GERRIT_PROJECT' refspec: '$GERRIT_REFSPEC' branch: '{branch}' - integration-distribution-scm: branch: '{branch}' wrappers: - opendaylight-infra-wrappers: build-timeout: '{build-timeout}' triggers: - gerrit: server-name: 'OpenDaylight' trigger-on: - comment-added-contains-event: comment-contains-value: 'test-integration' projects: - project-compare-type: 'ANT' project-pattern: '**' branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' skip-vote: successful: true failed: true unstable: true notbuilt: true prebuilders: - integration-rebase-gerrit-patch - integration-get-bundle-url - inject: properties-file: 'bundle.txt' - wipe-org-opendaylight-repo - provide-maven-settings: global-settings-file: 'odl-global-settings' settings-file: 'integration-settings' - maven-target: maven-version: 'mvn33' pom: '$GERRIT_PROJECT/pom.xml' goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B -Pq -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' java-opts: - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' settings: 'integration-settings' settings-type: cfp global-settings: 'odl-global-settings' global-settings-type: cfp maven: maven-name: 'mvn33' root-pom: 'distribution/pom.xml' goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' settings: 'integration-settings' settings-type: cfp global-settings: 'odl-global-settings' global-settings-type: cfp ignore-upstream-changes: true post-step-run-condition: 'SUCCESS' postbuilders: - trigger-builds: - project: '{csit-list}' block: true predefined-parameters: BUNDLEURL=$BUNDLEURL publishers: - opendaylight-infra-shiplogs: maven-version: 'mvn33' - email-notification: email-prefix: '[$GERRIT_PROJECT]' # Template: integration-multipatch-test-{stream} # Goal: Build one or more patches and run all available system test on a distribution containing the change # Operation: This job template checks out and builds each patch provided in job parameters, creates a distribution # containing these patches, and triggers the distribution test job which includes most (if not all) available # CSIT jobs - job-template: name: 'integration-multipatch-test-{stream}' project-type: maven node: centos7-java-builder-8c-8g jdk: '{jdk}' logrotate: daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - patches-to-build-parameter: patches_to_build: '$PATCHES_TO_BUILD' - integration-branch: branch: '{branch}' - opendaylight-infra-parameters: project: 'integration/distribution' branch: '{branch}' refspec: 'refs/heads/{branch}' artifacts: '{archive-artifacts} **/dependency_tree.txt' prebuilders: - wipe-org-opendaylight-repo - integration-multipatch-builder - inject: properties-file: 'bundle.txt' - provide-maven-settings: global-settings-file: 'odl-global-settings' settings-file: 'yangtools-settings' wrappers: - opendaylight-infra-wrappers: build-timeout: '1200' maven: maven-name: 'mvn33' root-pom: 'patch_tester/pom.xml' # TODO: Make Maven options configurable. Currently tests are not skipped, everything else is. goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -f patch_tester/pom.xml -V -B -Pq -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' maven-opts: '-Xmx7168m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' settings: 'yangtools-settings' settings-type: cfp global-settings: 'odl-global-settings' global-settings-type: cfp post-step-run-condition: 'SUCCESS' postbuilders: - trigger-builds: - project: '{csit-list}' block: true predefined-parameters: BUNDLEURL=$BUNDLEURL publishers: - opendaylight-infra-shiplogs: maven-version: 'mvn33' - email-notification: email-prefix: '[int/dist]'