X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=jjb%2Fintegration%2Fintegration-templates.yaml;h=dff4e52c52fe187ef9aef0a7340355657b7f6f79;hb=2012ae85ff85182869c8ae316ce6b6c081bdd5f3;hp=5d219ce749d60a104780d47a0fb0ff1fda49d9d1;hpb=b2b18042a298c488839bec7014548a148cb54eeb;p=releng%2Fbuilder.git diff --git a/jjb/integration/integration-templates.yaml b/jjb/integration/integration-templates.yaml index 5d219ce74..e1dde447d 100644 --- a/jjb/integration/integration-templates.yaml +++ b/jjb/integration/integration-templates.yaml @@ -1,24 +1,32 @@ # Job templates in this file (please update with every new template): # -# {project}-csit-verify-{functionality}-{stream} -# {project}-csit-1node-imds-{functionality}-{install}-{stream} -# {project}-csit-1node-cds-{functionality}-{install}-{stream} -# {project}-csit-periodic-1node-cds-{functionality}-{install}-{stream} -# {project}-csit-3node-cds-{functionality}-{install}-{stream} -# # New (for Be release): -# {project}-csit-verify-1node-{functionality}-{stream} +# {project}-csit-verify-1node-{functionality} # {project}-csit-1node-{functionality}-{install}-{stream} # {project}-csit-1node-periodic-{functionality}-{install}-{stream} -# {project}-csit-verify-3node-{functionality}-{stream} +# {project}-csit-verify-3node-{functionality} # {project}-csit-3node-{functionality}-{install}-{stream} # {project}-csit-3node-periodic-{functionality}-{install}-{stream} # +# Parameters: +# +# project-parameter: main project integration/test ($PROJECT) +# jre: (openjdk7 or openjdk8) Java runtime environment to use when launching ODL +# integration-branch: distribution branch ($BRANCH) +# integration-controller-bundleurl: distribution URL ($BUNDLEURL) +# integration-controller-scope: only or all features ($CONTROLLERSCOPE) +# integration-controller-features: features under test ($CONTROLLER FEATURES) +# integration-test-options: robot options ($TESTOPTIONS) +# integration-stream-test-plan: stream specific robot test plan ($STREAMTESTPLAN) +# integration-test-plan: fallback robot test plan ($TESTPLAN) +# integration-patch-refspec: test branch ($PATCHREFSPEC) -# Old templates + +# New templates - job-template: - name: '{project}-csit-verify-{functionality}-{stream}' + name: '{project}-csit-verify-1node-{functionality}' + disabled: false project-type: freestyle node: dynamic_robot @@ -27,13 +35,15 @@ daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' parameters: - project-parameter: - project: 'integration' + project: 'integration/test' - integration-branch: - branch: '{branch}' + branch: 'stable/beryllium' + - integration-distribution-stream: + stream: 'beryllium' - integration-bundleurl: bundleurl: 'last' - integration-controller-scope: @@ -42,14 +52,20 @@ controller-features: '{install-features}' - integration-test-options: test-options: '{robot-options}' + - integration-stream-test-plan: + stream-test-plan: '{project}-{functionality}-beryllium.txt' - integration-test-plan: test-plan: '{project}-{functionality}.txt' + - integration-jdk-version: + jdkversion: 'openjdk7' + # TODO: Switch to openjdk8 from Boron on. scm: - - gerrit-trigger-scm: + - integration-gerrit-scm: credentials-id: '{ssh-credentials}' + basedir: 'test' refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' + branch: 'master' wrappers: - build-timeout @@ -57,124 +73,43 @@ controller-vms: 1 mininet-image: '{mininet-image}' mininet-vms: '{mininet-vms}' + mininet-cloud-name: '{mininet-cloud-name}' - ssh-agent-credentials: users: - '{ssh-credentials}' triggers: - - integration-test-gerrit-trigger-patch-submitted: - name: 'integration' - branch: '{branch}' - project: '{project}' + - integration-trigger-patch-submitted: + name: 'integration/test' + branch: 'master' + pattern: 'csit/suites/{project}/**' builders: - - integration-get-slave-addresses + - integration-cleanup-workspace + - integration-install-robotframework - inject: - properties-file: 'slave_addresses.txt' - - integration-deploy-controller-run-test - - publishers: - - integration-robot: - unstable-if: 0.0 - pass-if: 0.0 - - archive: - artifacts: 'karaf.log' - - email-notification: - email-prefix: '[{project}]' - -- job-template: - name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}' - - project-type: freestyle - node: dynamic_robot - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration' - - integration-branch: - branch: '{branch}' - - integration-bundleurl: - bundleurl: 'last' - - integration-controller-scope: - controller-scope: '{scope}' - - integration-controller-features: - controller-features: '{install-features}' - - integration-test-options: - test-options: '{robot-options}' - - integration-test-plan: - test-plan: '{project}-{functionality}.txt' - - scm: - - git-scm: - credentials-id: '{ssh-credentials}' - refspec: '' - branch: '{branch}' - - wrappers: - - build-timeout - - integration-jclouds-controller-mininet: - controller-vms: 1 - mininet-image: '{mininet-image}' - mininet-vms: '{mininet-vms}' - - ssh-agent-credentials: - users: - - '{ssh-credentials}' - - triggers: - - reverse: - jobs: '{trigger-jobs}' - result: 'success' - - builders: + 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 - archive: - artifacts: 'karaf.log' + artifacts: '*.log,*.log.xz' - email-notification: email-prefix: '[{project}]' - - plot: - - title: '{01-plot-title}' - yaxis: '{01-plot-yaxis}' - group: '{01-plot-group}' - num-builds: '5400' - style: line - use-description: false - csv-file-name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' - keep-records: true - 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' - style: line - use-description: false - csv-file-name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' - keep-records: true - series: - - file: '{02-plot-data-file}' - inclusion-flag: 'off' - display-table: true - format: csv - job-template: - name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}' + name: '{project}-csit-1node-{functionality}-{install}-{stream}' + disabled: false project-type: freestyle node: dynamic_robot @@ -187,9 +122,11 @@ parameters: - project-parameter: - project: 'integration' + project: 'integration/test' - integration-branch: branch: '{branch}' + - integration-distribution-stream: + stream: '{stream}' - integration-bundleurl: bundleurl: 'last' - integration-controller-scope: @@ -198,14 +135,21 @@ 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-patch-refspec: + branch: 'master' + - integration-jdk-version: + jdkversion: '{jre}' scm: - - git-scm: + - integration-gerrit-scm: credentials-id: '{ssh-credentials}' - refspec: '' - branch: '{branch}' + basedir: 'test' + refspec: '$PATCHREFSPEC' + branch: 'master' wrappers: - build-timeout @@ -213,27 +157,35 @@ controller-vms: 1 mininet-image: '{mininet-image}' mininet-vms: '{mininet-vms}' + mininet-cloud-name: '{mininet-cloud-name}' - ssh-agent-credentials: users: - '{ssh-credentials}' triggers: - - reverse: + - integration-csit-{install}: jobs: '{trigger-jobs}' - result: 'success' builders: + - 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 - archive: - artifacts: 'karaf.log' + artifacts: '*.log,*.log.xz' - email-notification: email-prefix: '[{project}]' - plot: @@ -243,8 +195,7 @@ num-builds: '5400' style: line use-description: false - csv-file-name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' - keep-records: true + csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' series: - file: '{01-plot-data-file}' inclusion-flag: 'off' @@ -256,17 +207,16 @@ num-builds: '5400' style: line use-description: false - csv-file-name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' - keep-records: true + 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 - - job-template: - name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}' + name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}' + disabled: false project-type: freestyle node: dynamic_robot @@ -275,13 +225,15 @@ daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' parameters: - project-parameter: - project: 'integration' + project: 'integration/test' - integration-branch: branch: '{branch}' + - integration-distribution-stream: + stream: '{stream}' - integration-bundleurl: bundleurl: 'last' - integration-controller-scope: @@ -290,21 +242,28 @@ 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-patch-refspec: + branch: 'master' + - integration-jdk-version: + jdkversion: '{jre}' scm: - - git-scm: + - integration-gerrit-scm: credentials-id: '{ssh-credentials}' - refspec: '' - branch: '{branch}' + basedir: 'test' + refspec: '$PATCHREFSPEC' + branch: 'master' wrappers: - - build-timeout - integration-jclouds-controller-mininet: controller-vms: 1 mininet-image: '{mininet-image}' mininet-vms: '{mininet-vms}' + mininet-cloud-name: '{mininet-cloud-name}' - ssh-agent-credentials: users: - '{ssh-credentials}' @@ -313,17 +272,25 @@ - timed: '{schedule}' builders: + - 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 - archive: - artifacts: 'karaf.log' + artifacts: '*.log,*.log.xz' - email-notification: email-prefix: '[{project}]' - plot: @@ -333,8 +300,7 @@ num-builds: '180' style: line use-description: false - csv-file-name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' - keep-records: true + csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' series: - file: '{01-plot-data-file}' inclusion-flag: 'off' @@ -346,17 +312,16 @@ num-builds: '180' style: line use-description: false - csv-file-name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' - keep-records: true + csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' series: - file: '{02-plot-data-file}' inclusion-flag: 'off' display-table: true format: csv - - job-template: - name: '{project}-csit-3node-cds-{functionality}-{install}-{stream}' + name: '{project}-csit-verify-3node-{functionality}' + disabled: false project-type: freestyle node: dynamic_robot @@ -365,29 +330,37 @@ daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' parameters: - project-parameter: - project: 'integration' + project: 'integration/test' - integration-branch: - branch: '{branch}' + branch: 'stable/beryllium' + - integration-distribution-stream: + stream: 'beryllium' - integration-bundleurl: bundleurl: 'last' - integration-controller-scope: - controller-scope: '{scope}' + controller-scope: 'only' - integration-controller-features: - controller-features: 'odl-mdsal-clustering,{install-features}' + controller-features: 'odl-jolokia,{install-features}' - integration-test-options: test-options: '{robot-options}' + - integration-stream-test-plan: + stream-test-plan: '{project}-{functionality}-beryllium.txt' - integration-test-plan: test-plan: '{project}-{functionality}.txt' + - integration-jdk-version: + jdkversion: 'openjdk7' + # TODO: Switch to openjdk8 from Boron on. scm: - - git-scm: + - integration-gerrit-scm: credentials-id: '{ssh-credentials}' - refspec: '' - branch: '{branch}' + basedir: 'test' + refspec: '$GERRIT_REFSPEC' + branch: 'master' wrappers: - build-timeout @@ -395,130 +368,44 @@ controller-vms: 3 mininet-image: '{mininet-image}' mininet-vms: '{mininet-vms}' + mininet-cloud-name: '{mininet-cloud-name}' - ssh-agent-credentials: users: - '{ssh-credentials}' triggers: - - reverse: - jobs: '{trigger-jobs}' - result: 'success' + - integration-trigger-patch-submitted: + name: 'integration/test' + branch: 'master' + pattern: 'csit/suites/{project}/**' builders: + - 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 - integration-configure-clustering - integration-start-cluster-run-test - publishers: - - integration-robot: - unstable-if: 95.0 - pass-if: 100.0 - - archive: - artifacts: '*karaf.log' - - email-notification: - email-prefix: '[{project}]' - - plot: - - title: '{01-plot-title}' - yaxis: '{01-plot-yaxis}' - group: '{01-plot-group}' - num-builds: '5400' - style: line - use-description: false - csv-file-name: '{project}-csit-3node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' - keep-records: true - 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' - style: line - use-description: false - csv-file-name: '{project}-csit-3node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' - keep-records: true - series: - - file: '{02-plot-data-file}' - inclusion-flag: 'off' - display-table: true - format: csv - -# New templates - -- job-template: - name: '{project}-csit-verify-1node-{functionality}-{stream}' - - project-type: freestyle - node: dynamic_robot - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration' - - integration-branch: - branch: '{branch}' - - integration-bundleurl: - bundleurl: 'last' - - integration-controller-scope: - controller-scope: 'only' - - integration-controller-features: - controller-features: '{install-features}' - - integration-test-options: - test-options: '{robot-options}' - - integration-test-plan: - test-plan: '{project}-{functionality}.txt' - - scm: - - gerrit-trigger-scm: - credentials-id: '{ssh-credentials}' - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - build-timeout - - integration-jclouds-controller-mininet: - controller-vms: 1 - mininet-image: '{mininet-image}' - mininet-vms: '{mininet-vms}' - - ssh-agent-credentials: - users: - - '{ssh-credentials}' - - triggers: - - integration-test-gerrit-trigger-patch-submitted: - name: 'integration' - branch: '{branch}' - project: '{project}' - - builders: - - integration-get-slave-addresses - - inject: - properties-file: 'slave_addresses.txt' - - integration-deploy-controller-run-test + - integration-cleanup-tmp publishers: - integration-robot: unstable-if: 0.0 - pass-if: 0.0 + pass-if: 100.0 - archive: - artifacts: 'karaf.log' + artifacts: '*.log,*.log.xz' - email-notification: email-prefix: '[{project}]' - job-template: - name: '{project}-csit-1node-{functionality}-{install}-{stream}' + name: '{project}-csit-3node-{functionality}-{install}-{stream}' + disabled: false project-type: freestyle node: dynamic_robot @@ -527,57 +414,75 @@ daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' parameters: - project-parameter: - project: 'integration' + project: 'integration/test' - integration-branch: branch: '{branch}' + - integration-distribution-stream: + stream: '{stream}' - integration-bundleurl: bundleurl: 'last' - integration-controller-scope: controller-scope: '{scope}' - integration-controller-features: - controller-features: '{install-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}' scm: - - git-scm: + - integration-gerrit-scm: credentials-id: '{ssh-credentials}' - refspec: '' - branch: '{branch}' + basedir: 'test' + refspec: '$PATCHREFSPEC' + branch: 'master' wrappers: - build-timeout - integration-jclouds-controller-mininet: - controller-vms: 1 + controller-vms: 3 mininet-image: '{mininet-image}' mininet-vms: '{mininet-vms}' + mininet-cloud-name: '{mininet-cloud-name}' - ssh-agent-credentials: users: - '{ssh-credentials}' triggers: - - reverse: + - integration-csit-{install}: jobs: '{trigger-jobs}' - result: 'success' builders: + - integration-cleanup-workspace + - integration-install-robotframework + - inject: + properties-file: 'env.properties' - integration-get-slave-addresses - inject: properties-file: 'slave_addresses.txt' - - integration-deploy-controller-run-test + - integration-get-bundle-vars + - inject: + properties-file: 'bundle_vars.txt' + - integration-configure-clustering + - integration-start-cluster-run-test + - integration-cleanup-tmp publishers: - integration-robot: unstable-if: 0.0 pass-if: 100.0 - archive: - artifacts: 'karaf.log' + artifacts: '*.log,*.log.xz' - email-notification: email-prefix: '[{project}]' - plot: @@ -587,7 +492,7 @@ num-builds: '5400' style: line use-description: false - csv-file-name: '{project}-csit-1node-{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' @@ -599,7 +504,7 @@ num-builds: '5400' style: line use-description: false - csv-file-name: '{project}-csit-1node-{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' @@ -607,7 +512,8 @@ format: csv - job-template: - name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}' + name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}' + disabled: false project-type: freestyle node: dynamic_robot @@ -616,218 +522,73 @@ daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' parameters: - project-parameter: - project: 'integration' + project: 'integration/test' - integration-branch: branch: '{branch}' + - integration-distribution-stream: + stream: '{stream}' - integration-bundleurl: bundleurl: 'last' - integration-controller-scope: controller-scope: '{scope}' - integration-controller-features: - controller-features: '{install-features}' - - integration-test-options: - test-options: '{robot-options}' - - integration-test-plan: - test-plan: '{project}-{functionality}.txt' - - scm: - - git-scm: - credentials-id: '{ssh-credentials}' - refspec: '' - branch: '{branch}' - - wrappers: - - build-timeout - - integration-jclouds-controller-mininet: - controller-vms: 1 - mininet-image: '{mininet-image}' - mininet-vms: '{mininet-vms}' - - ssh-agent-credentials: - users: - - '{ssh-credentials}' - - triggers: - - timed: '{schedule}' - - builders: - - integration-get-slave-addresses - - inject: - properties-file: 'slave_addresses.txt' - - integration-deploy-controller-run-test - - publishers: - - integration-robot: - unstable-if: 0.0 - pass-if: 100.0 - - archive: - artifacts: 'karaf.log' - - email-notification: - email-prefix: '[{project}]' - - plot: - - title: '{01-plot-title}' - yaxis: '{01-plot-yaxis}' - group: '{01-plot-group}' - num-builds: '180' - style: line - use-description: false - csv-file-name: '{project}-csit-periodic-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: '180' - style: line - use-description: false - csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' - series: - - file: '{02-plot-data-file}' - inclusion-flag: 'off' - display-table: true - format: csv - -- job-template: - name: '{project}-csit-verify-3node-{functionality}-{stream}' - - project-type: freestyle - node: dynamic_robot - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration' - - integration-branch: - branch: '{branch}' - - integration-bundleurl: - bundleurl: 'last' - - integration-controller-scope: - controller-scope: 'only' - - integration-controller-features: - controller-features: 'odl-mdsal-clustering,{install-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}' scm: - - gerrit-trigger-scm: + - integration-gerrit-scm: credentials-id: '{ssh-credentials}' - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' + basedir: 'test' + refspec: '$PATCHREFSPEC' + branch: 'master' wrappers: - - build-timeout - integration-jclouds-controller-mininet: controller-vms: 3 mininet-image: '{mininet-image}' mininet-vms: '{mininet-vms}' + mininet-cloud-name: '{mininet-cloud-name}' - ssh-agent-credentials: users: - '{ssh-credentials}' triggers: - - integration-test-gerrit-trigger-patch-submitted: - name: 'integration' - branch: '{branch}' - project: '{project}' + - timed: '{schedule}' builders: - - integration-get-slave-addresses + - integration-cleanup-workspace + - integration-install-robotframework - inject: - properties-file: 'slave_addresses.txt' - - integration-get-bundle-vars - - inject: - properties-file: 'bundle_vars.txt' - - integration-deploy-controller - - integration-configure-clustering - - integration-start-cluster-run-test - publishers: - - integration-robot: - unstable-if: 0.0 - pass-if: 0.0 - - archive: - artifacts: '*karaf.log' - - email-notification: - email-prefix: '[{project}]' - -- job-template: - name: '{project}-csit-3node-{functionality}-{install}-{stream}' - - project-type: freestyle - node: dynamic_robot - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration' - - integration-branch: - branch: '{branch}' - - integration-bundleurl: - bundleurl: 'last' - - integration-controller-scope: - controller-scope: '{scope}' - - integration-controller-features: - controller-features: 'odl-mdsal-clustering,{install-features}' - - integration-test-options: - test-options: '{robot-options}' - - integration-test-plan: - test-plan: '{project}-{functionality}.txt' - - scm: - - git-scm: - credentials-id: '{ssh-credentials}' - refspec: '' - branch: '{branch}' - - wrappers: - - build-timeout - - integration-jclouds-controller-mininet: - controller-vms: 3 - mininet-image: '{mininet-image}' - mininet-vms: '{mininet-vms}' - - ssh-agent-credentials: - users: - - '{ssh-credentials}' - - triggers: - - reverse: - jobs: '{trigger-jobs}' - result: 'success' - - builders: + 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 - integration-configure-clustering - integration-start-cluster-run-test + - integration-cleanup-tmp publishers: - integration-robot: unstable-if: 0.0 pass-if: 100.0 - archive: - artifacts: '*karaf.log' + artifacts: '*.log,*.log.xz' - email-notification: email-prefix: '[{project}]' - plot: @@ -837,7 +598,7 @@ num-builds: '5400' style: line use-description: false - csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' + csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv' series: - file: '{01-plot-data-file}' inclusion-flag: 'off' @@ -849,7 +610,7 @@ num-builds: '5400' style: line use-description: false - csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' + csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' series: - file: '{02-plot-data-file}' inclusion-flag: 'off' @@ -857,7 +618,7 @@ format: csv - job-template: - name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}' + name: '{project}-openstack-{functionality}-daily-{openstack}-{odl}' project-type: freestyle node: dynamic_robot @@ -866,85 +627,66 @@ daysToKeep: '{build-days-to-keep}' numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + artifactNumToKeep: '{build-num-to-keep}' parameters: - project-parameter: - project: 'integration' - - integration-branch: - branch: '{branch}' - - integration-bundleurl: - bundleurl: 'last' - - integration-controller-scope: - controller-scope: '{scope}' - - integration-controller-features: - controller-features: 'odl-mdsal-clustering,{install-features}' - - integration-test-options: - test-options: '{robot-options}' + project: 'integration/test' + - integration-patch-refspec: + branch: 'master' - integration-test-plan: test-plan: '{project}-{functionality}.txt' + - string: + name: OPENSTACK_BRANCH + default: '{openstack-branch}' + description: 'Openstack branch to use with devstack' + - string: + name: ODL_VERSION + default: '{odl-version}' + description: 'OpenDaylight version to use with devstack + networking_odl project' + - string: + name: TEMPEST_REGEX + default: 'tempest.api.network' + description: 'Default grouping of tempest tests to run' scm: - - git-scm: + - integration-gerrit-scm: credentials-id: '{ssh-credentials}' - refspec: '' - branch: '{branch}' + basedir: 'test' + refspec: '$PATCHREFSPEC' + branch: 'master' wrappers: - - build-timeout - - integration-jclouds-controller-mininet: - controller-vms: 3 - mininet-image: '{mininet-image}' - mininet-vms: '{mininet-vms}' - - ssh-agent-credentials: - users: - - '{ssh-credentials}' - + - build-timeout + - jclouds: + instances: + - rk-c7-devstack: + cloud-name: 'Rackspace DFW - Devstack' + count: '1' + stop-on-terminate: False + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + # Trigger jobs (daily) triggers: - - timed: '{schedule}' + - integration-csit-all builders: + - 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 - - integration-configure-clustering - - integration-start-cluster-run-test + - include-raw-integration-deploy-devstack-testing + - integration-cleanup-tmp publishers: - integration-robot: unstable-if: 0.0 pass-if: 100.0 - archive: - artifacts: '*karaf.log' + artifacts: 'devstacklog.txt,*karaf*' - email-notification: - email-prefix: '[{project}]' - - plot: - - title: '{01-plot-title}' - yaxis: '{01-plot-yaxis}' - group: '{01-plot-group}' - num-builds: '5400' - style: line - use-description: false - csv-file-name: '{project}-csit-3node-periodic-{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' - style: line - use-description: false - csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv' - series: - - file: '{02-plot-data-file}' - inclusion-flag: 'off' - display-table: true - format: csv - + email-prefix: '[project]'