X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fintegration-templates.yaml;h=6a54a6713e0400546c819903438ede3d6f4970ea;hb=5375c3e0b818b0b8d816352329cef4a054f2598d;hp=f98ced42fd438bdf2146c16af40884c6a33b913a;hpb=5f69f878295ea8209444ad163d0c1cc6f3ebf775;p=releng%2Fbuilder.git diff --git a/jjb/integration/integration-templates.yaml b/jjb/integration/integration-templates.yaml index f98ced42f..6a54a6713 100644 --- a/jjb/integration/integration-templates.yaml +++ b/jjb/integration/integration-templates.yaml @@ -2,12 +2,14 @@ # Job templates in this file (please update with every new template): # FIXME: Update # -# {project}-csit-verify-1node-{functionality} # {project}-csit-1node-{functionality}-{install}-{stream} -# {project}-csit-1node-periodic-{functionality}-{install}-{stream} -# {project}-csit-verify-3node-{functionality} +# {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} +# {project}-csit-verify-3node-{functionality} +# {project}-patch-test-{feature}-{stream} # # Parameters: # FIXME: Distinguish variables, macros and arguments, then update. @@ -22,40 +24,73 @@ # integration-stream-test-plan: stream specific robot test plan ($STREAMTESTPLAN) # integration-test-plan: fallback robot test plan ($TESTPLAN) # integration-patch-refspec: test branch ($PATCHREFSPEC) +# integration-use-features-boot: bool to toggle use of featuresBoot ($USEFEATURESBOOT) -# New templates +########### +# Anchors # +########### -- job-template: - name: '{project}-csit-verify-1node-{functionality}' - disabled: false +- inttest_csit_common: &inttest_csit_common + name: inttest-csit-common + # Defines common configuration to all CSIT jobs + + ##################### + # Default variables # + ##################### + + build-days-to-keep: 30 + build-timeout: 360 # Time in minutes + disable-job: false + + ##################### + # Job configuration # + ##################### project-type: freestyle - node: centos7-robot-2c-2g + node: centos7-robot-2c-8g + concurrent: true + disabled: '{disable-job}' properties: - opendaylight-infra-properties: build-days-to-keep: '{build-days-to-keep}' + wrappers: + - opendaylight-infra-wrappers: + build-timeout: '{build-timeout}' + +################# +# Job Templates # +################# + +- job-template: + name: '{prefix}{project}-csit-verify-1node-{functionality}' + id: inttest-csit-verify-1node + <<: *inttest_csit_common + parameters: - - opendaylight-infra-parameters: - os-cloud: '{os-cloud}' - project: 'integration/test' + - integration-csit-parameters: + archive-artifacts: '{archive-artifacts}' branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' + os-cloud: '{os-cloud}' + # CSIT + bundle-url: '{bundle-url}' + repo-url: '{repo-url}' + robot-options: '{robot-options}' + # Controller + controller-scope: only + debug-map: '{debug-map}' + install-features: '{install-features}' + use-features-boot: 'True' - integration-distribution-branch: branch: '{verify-branch}' - integration-distribution-stream: stream: '{verify-stream}' - - integration-bundle-url: - bundle-url: '{bundle-url}' - - integration-controller-scope: - controller-scope: 'only' - - integration-controller-features: - controller-features: '{install-features}' - - integration-test-options: - test-options: '{robot-options}' + - integration-script-plan: + script-plan: '{project}.txt' + - integration-config-plan: + config-plan: '{project}.txt' - integration-stream-test-plan: stream-test-plan: '{project}-{functionality}-{verify-stream}.txt' - integration-test-plan: @@ -71,18 +106,15 @@ refspec: '$GERRIT_REFSPEC' branch: 'master' - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - triggers: - integration-trigger-patch-submitted: - server: '{server-name}' + gerrit-server-name: '{gerrit-server-name}' project: 'integration/test' branch: 'master' files: 'csit/suites/{project}/**' builders: + - lf-infra-pre-build - integration-infra-stack: stack-template: '{stack-template}' vm_0_count: '1' @@ -98,54 +130,66 @@ - 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 - pass-if: 100.0 - email-notification: email-recipients: '{email-recipients}' email-prefix: '[{project}]' - - integration-csit-archive-build + - integration-csit-publish: + robot_other_files: '' + robot-pass-threshold: 100.0 + robot-unstable-threshold: 0.0 - lf-infra-publish -- job-template: - name: '{project}-csit-1node-{functionality}-{install}-{stream}' - # Keep synchronized with *-csit4-*-carbon please. - disabled: false - project-type: freestyle - node: centos7-robot-2c-2g +###################### +# inttest-csit-1node # +###################### - properties: - - opendaylight-infra-properties: - build-days-to-keep: '{build-days-to-keep}' +- inttest_csit_1node: &inttest_csit_1node + name: inttest-csit-1node + + ##################### + # Default variables # + ##################### + + # TODO: Add default variables here. + + ##################### + # Job configuration # + ##################### parameters: - - opendaylight-infra-parameters: - os-cloud: '{os-cloud}' - project: 'integration/test' + - integration-csit-parameters: + archive-artifacts: '{archive-artifacts}' branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' + os-cloud: '{os-cloud}' + # CSIT + bundle-url: '{bundle-url}' + repo-url: '{repo-url}' + robot-options: '{robot-options}' + # Controller + controller-scope: '{scope}' + debug-map: '{debug-map}' + install-features: '{install-features}' + use-features-boot: 'True' - 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-script-plan: + script-plan: '{project}.txt' + - integration-config-plan: + config-plan: '{project}.txt' - integration-stream-test-plan: stream-test-plan: '{project}-{functionality}-{stream}.txt' - integration-test-plan: test-plan: '{project}-{functionality}.txt' + - integration-test-suites: + test-suites: '{test-suites}' - integration-patch-refspec: branch: 'master' - integration-jdk-version: @@ -164,120 +208,8 @@ - integration-csit-trigger: jobs: '{trigger-jobs}' - 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-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 - - lf-infra-publish - -- job-template: - name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}' - disabled: false - - project-type: freestyle - node: centos7-robot-2c-2g - - 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-patch-refspec: - branch: 'master' - - integration-jdk-version: - jdkversion: '{jre}' - - distribution-karaf-version: - karaf-version: '{karaf-version}' - - scm: - - integration-gerrit-scm: - basedir: 'test' - refspec: '$PATCHREFSPEC' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - builders: + - lf-infra-pre-build - integration-infra-stack: stack-template: '{stack-template}' vm_0_count: '1' @@ -293,13 +225,11 @@ - 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 - pass-if: 100.0 - email-notification: email-recipients: '{email-recipients}' email-prefix: '[{project}]' @@ -312,7 +242,7 @@ 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' @@ -326,7 +256,7 @@ 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' @@ -340,7 +270,7 @@ 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}' @@ -354,7 +284,7 @@ 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}' @@ -368,7 +298,7 @@ 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}' @@ -382,7 +312,7 @@ 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}' @@ -396,7 +326,7 @@ 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}' @@ -410,7 +340,7 @@ 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}' @@ -424,7 +354,7 @@ 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}' @@ -438,49 +368,111 @@ 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}' exclude: '{10-exclude-value}' format: csv - - integration-csit-archive-build + - integration-csit-publish: + robot_other_files: '' + robot-pass-threshold: 100.0 + robot-unstable-threshold: 0.0 - lf-infra-publish - job-template: - name: '{project}-csit-verify-3node-{functionality}' - disabled: false + name: '{prefix}{project}-csit-1node-{functionality}-{install}-{stream}' + id: inttest-csit-1node + <<: *inttest_csit_common + # yamllint disable-line rule:key-duplicates + <<: *inttest_csit_1node - project-type: freestyle - node: centos7-robot-2c-2g - - properties: - - opendaylight-infra-properties: - build-days-to-keep: '{build-days-to-keep}' +- job-template: + name: '{prefix}{project}-csit-1node-{functionality}-{install}-{stream}' + id: inttest-csit-1node-custom + <<: *inttest_csit_common + # yamllint disable-line rule:key-duplicates + <<: *inttest_csit_1node parameters: - - opendaylight-infra-parameters: + - integration-csit-parameters: + archive-artifacts: '{archive-artifacts}' + branch: '{branch}' os-cloud: '{os-cloud}' - project: 'integration/test' + # CSIT + bundle-url: '{bundle-url}' + repo-url: '{repo-url}' + robot-options: '{robot-options}' + # Controller + controller-scope: '{scope}' + debug-map: '{debug-map}' + install-features: '{install-features}' + use-features-boot: 'True' + - integration-distribution-branch: branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' + - integration-distribution-stream: + stream: '{stream}' + - integration-script-plan: + script-plan: '{project}.txt' + - integration-config-plan: + config-plan: '{project}.txt' + - integration-stream-test-plan: + stream-test-plan: '{project}-{functionality}-{stream}.txt' + - integration-test-plan: + test-plan: '{testplan}' + - integration-test-suites: + test-suites: '{test-suites}' + - integration-patch-refspec: + branch: 'master' + - integration-jdk-version: + jdkversion: '{jre}' + - distribution-karaf-version: + karaf-version: '{karaf-version}' + + +- job-template: + name: '{prefix}{project}-csit-verify-3node-{functionality}' + id: inttest-csit-verify-3node + <<: *inttest_csit_common + + ##################### + # Default variables # + ##################### + + # TODO: Add default variables here + + ##################### + # Job Configuration # + ##################### + + parameters: + - integration-csit-parameters: + archive-artifacts: '{archive-artifacts}' + branch: '{branch}' + os-cloud: '{os-cloud}' + # CSIT + bundle-url: '{bundle-url}' + repo-url: '{repo-url}' + robot-options: '{robot-options}' + # Controller + controller-scope: only + debug-map: '{debug-map}' + install-features: 'odl-jolokia,{install-features}' + use-features-boot: 'True' - integration-distribution-branch: branch: '{verify-branch}' - integration-distribution-stream: stream: '{verify-stream}' - - integration-bundle-url: - bundle-url: '{bundle-url}' - - integration-controller-scope: - controller-scope: 'only' - - integration-controller-features: - controller-features: 'odl-jolokia,{install-features}' - - integration-test-options: - test-options: '{robot-options}' + - integration-script-plan: + script-plan: '{project}.txt' + - integration-config-plan: + config-plan: '{project}.txt' - integration-stream-test-plan: stream-test-plan: '{project}-{functionality}-{verify-stream}.txt' - integration-test-plan: test-plan: '{project}-{functionality}.txt' + - integration-test-suites: + test-suites: '{test-suites}' - integration-jdk-version: jdkversion: '{verify-jdkversion}' - distribution-karaf-version: @@ -492,18 +484,15 @@ refspec: '$GERRIT_REFSPEC' branch: 'master' - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - triggers: - integration-trigger-patch-submitted: - server: '{server-name}' + gerrit-server-name: '{gerrit-server-name}' project: 'integration/test' branch: 'master' files: 'csit/suites/{project}/**' builders: + - lf-infra-pre-build - integration-infra-stack: stack-template: '{stack-template}' vm_0_count: '3' @@ -519,54 +508,67 @@ - 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}]' - - integration-csit-archive-build + - integration-csit-publish: + robot_other_files: '' + robot-pass-threshold: 100.0 + robot-unstable-threshold: 0.0 - lf-infra-publish -- job-template: - name: '{project}-csit-3node-{functionality}-{install}-{stream}' - disabled: false - project-type: freestyle - node: centos7-robot-2c-2g +###################### +# inttest-csit-3node # +###################### - properties: - - opendaylight-infra-properties: - build-days-to-keep: '{build-days-to-keep}' +- inttest_csit_3node: &inttest_csit_3node + name: inttest-csit-3node + + ##################### + # Default variables # + ##################### + + # TODO: Add default variables here + + ##################### + # Job configuration # + ##################### parameters: - - opendaylight-infra-parameters: - os-cloud: '{os-cloud}' - project: 'integration/test' + - integration-csit-parameters: + archive-artifacts: '{archive-artifacts}' branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' + os-cloud: '{os-cloud}' + # CSIT + bundle-url: '{bundle-url}' + repo-url: '{repo-url}' + robot-options: '{robot-options}' + # Controller + controller-scope: '{scope}' + debug-map: '{debug-map}' + install-features: 'odl-jolokia,{install-features}' + use-features-boot: 'True' - 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-script-plan: + script-plan: '{project}.txt' + - integration-config-plan: + config-plan: '{project}.txt' - integration-stream-test-plan: stream-test-plan: '{project}-{functionality}-{stream}.txt' - integration-test-plan: test-plan: '{project}-{functionality}.txt' + - integration-test-suites: + test-suites: '{test-suites}' - integration-patch-refspec: branch: 'master' - integration-jdk-version: @@ -580,11 +582,13 @@ refspec: '$PATCHREFSPEC' branch: 'master' - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' + triggers: + # we need this for not SR projects + - integration-csit-trigger: + jobs: '{trigger-jobs}' builders: + - lf-infra-pre-build - integration-infra-stack: stack-template: '{stack-template}' vm_0_count: '3' @@ -600,14 +604,12 @@ - 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}]' @@ -615,10 +617,11 @@ - 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}' @@ -628,236 +631,17 @@ - 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 - - lf-infra-publish - -- job-template: - name: '{project}-csit-3node-docker-{functionality}-{install}-{stream}' - disabled: false - - project-type: freestyle - node: centos7-robot-2c-2g - - 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}' - - 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-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' - 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}' - 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-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 - - lf-infra-publish - -- job-template: - name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}' - disabled: false - - project-type: freestyle - node: centos7-robot-2c-2g - - 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}' - - 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: '{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-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: '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}-{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' - 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' - 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}' @@ -866,7 +650,7 @@ 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' + csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv' series: - file: '{03-plot-data-file}' inclusion-flag: '{03-inclusion-flag}' @@ -880,7 +664,7 @@ 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' + csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv' series: - file: '{04-plot-data-file}' inclusion-flag: '{04-inclusion-flag}' @@ -894,7 +678,7 @@ 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' + 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}' @@ -908,7 +692,7 @@ 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' + 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}' @@ -922,7 +706,7 @@ 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' + 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}' @@ -936,7 +720,7 @@ 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' + 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}' @@ -950,7 +734,7 @@ 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' + 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}' @@ -964,46 +748,606 @@ 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' + 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-publish: + robot_other_files: '' + robot-pass-threshold: 100.0 + robot-unstable-threshold: 0.0 + - lf-infra-publish + +- job-template: + name: '{prefix}{project}-csit-3node-{functionality}-{install}-{stream}' + id: inttest-csit-3node + <<: *inttest_csit_common + # yamllint disable-line rule:key-duplicates + <<: *inttest_csit_3node + +- job-template: + name: '{prefix}{project}-csit-3node-{functionality}-{install}-{stream}' + id: inttest-csit-3node-custom + <<: *inttest_csit_common + # yamllint disable-line rule:key-duplicates + <<: *inttest_csit_3node + + parameters: + - integration-csit-parameters: + archive-artifacts: '{archive-artifacts}' + branch: '{branch}' + os-cloud: '{os-cloud}' + # CSIT + bundle-url: '{bundle-url}' + repo-url: '{repo-url}' + robot-options: '{robot-options}' + # Controller + controller-scope: '{scope}' + debug-map: '{debug-map}' + install-features: 'odl-jolokia,{install-features}' + use-features-boot: 'True' + - integration-distribution-branch: + branch: '{branch}' + - integration-distribution-stream: + stream: '{stream}' + - integration-script-plan: + script-plan: '{project}.txt' + - integration-config-plan: + config-plan: '{project}.txt' + - integration-stream-test-plan: + stream-test-plan: '{project}-{functionality}-{stream}.txt' + - integration-test-plan: + test-plan: '{testplan}' + - integration-test-suites: + test-suites: '{test-suites}' + - integration-patch-refspec: + branch: 'master' + - integration-jdk-version: + jdkversion: '{jre}' + - distribution-karaf-version: + karaf-version: '{karaf-version}' + + +- job-template: + name: '{prefix}{project}-csit-3node-docker-{functionality}-{install}-{stream}' + id: inttest-csit-3node-docker + <<: *inttest_csit_common + + ##################### + # Default variables # + ##################### + + # TODO: Add default variables here + + ##################### + # Job Configuration # + ##################### + + parameters: + - integration-csit-parameters: + archive-artifacts: '{archive-artifacts}' + branch: '{branch}' + os-cloud: '{os-cloud}' + # CSIT + bundle-url: '{bundle-url}' + repo-url: '{repo-url}' + robot-options: '{robot-options}' + # Controller + controller-scope: '{scope}' + debug-map: '{debug-map}' + install-features: 'odl-jolokia,{install-features}' + use-features-boot: 'True' + - integration-distribution-branch: + branch: '{branch}' + - integration-distribution-stream: + stream: '{stream}' + - integration-script-plan: + script-plan: '{project}.txt' + - integration-config-plan: + config-plan: '{project}.txt' + - integration-stream-test-plan: + stream-test-plan: '{project}-{functionality}-{stream}.txt' + - integration-test-plan: + test-plan: '{project}-{functionality}.txt' + - integration-patch-refspec: + branch: 'master' + - integration-jdk-version: + jdkversion: '{jre}' + - distribution-karaf-version: + karaf-version: '{karaf-version}' + + scm: + - integration-gerrit-scm: + basedir: 'test' + refspec: '$PATCHREFSPEC' + branch: 'master' + + builders: + - lf-infra-pre-build + - 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: + - 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-3node-{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-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-publish: + robot_other_files: '' + robot-pass-threshold: 100.0 + robot-unstable-threshold: 0.0 - lf-infra-publish -- job-template: - name: '{project}-csit-hwvtep-{topology}-openstack-{openstack}-{functionality}-{stream}' - disabled: false - project-type: freestyle - node: centos7-robot-2c-2g - concurrent: true +################################# +# inttest-csit-hwvtep-openstack # +################################# + +- inttest_csit_hwvtep_openstack: &inttest_csit_hwvtep_openstack + name: inttest-csit-hwvtep-openstack + + ##################### + # Default variables # + ##################### + + # TODO: Add default variables here + + ##################### + # Job configuration # + ##################### + + parameters: + - integration-csit-parameters: + archive-artifacts: '{archive-artifacts}' + branch: '{branch}' + os-cloud: '{os-cloud}' + # CSIT + bundle-url: '{bundle-url}' + repo-url: '{repo-url}' + robot-options: '{robot-options}' + # Controller + controller-scope: '' + debug-map: '{debug-map}' + install-features: '{install-features}' + use-features-boot: '{use-features-boot}' + - integration-distribution-branch: + branch: '{branch}' + - integration-distribution-stream: + stream: '{stream}' + - integration-script-plan: + script-plan: '{project}.txt' + - integration-config-plan: + config-plan: '{project}.txt' + - integration-test-plan: + test-plan: '{project}-{functionality}.txt' + - integration-test-suites: + test-suites: '{test-suites}' + - integration-patch-refspec: + branch: 'master' + - integration-jdk-version: + jdkversion: '{jre}' + - distribution-karaf-version: + karaf-version: '{karaf-version}' + - string: + name: OPENSTACK_BRANCH + default: '{openstack-branch}' + description: 'Openstack version to use with devstack' + - string: + name: DEVSTACK_HASH + default: '{devstack-hash}' + description: 'devstack hash to checkout' + - string: + name: ODL_ML2_DRIVER_REPO + default: '{odl-ml2-driver-repo}' + description: 'URL to fetch networking-odl driver' + - string: + name: ODL_ML2_BRANCH + default: '{odl-ml2-branch}' + description: 'Version of networking-odl to checkout from the repo' + - string: + name: ODL_ML2_DRIVER_VERSION + default: '{odl-ml2-driver-version}' + description: 'Mode of networking-odl (v1 or v2)' + - string: + name: ODL_ML2_PORT_BINDING + default: '{odl-ml2-port-binding}' + description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or + network-topology)' + - string: + name: DEVSTACK_KUBERNETES_PLUGIN_REPO + default: '{devstack-kubernetes-plugin-repo}' + description: 'URL to fetch kubernetes devstack plugin' + - string: + name: DEVSTACK_LBAAS_PLUGIN_REPO + default: '{devstack-lbaas-plugin-repo}' + description: 'URL to fetch neutron-lbaas devstack plugin' + - string: + name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO + default: '{devstack-networking-sfc-plugin-repo}' + description: 'URL to fetch neutron-lbaas devstack plugin' + - string: + name: IPSEC_VXLAN_TUNNELS_ENABLED + default: '{ipsec-vxlan-tunnels-enabled}' + description: 'Enable ipsec over vxlan support for all controllers and computes' + - string: + name: PUBLIC_BRIDGE + default: '{public-bridge}' + description: 'Specifies public bridge for provider and external networking' + - string: + name: ENABLE_HAPROXY_FOR_NEUTRON + default: '{enable-haproxy}' + description: 'Enable HAProxy for using neutron interface as HA' + - string: + name: ENABLE_OS_SERVICES + default: '{enable-openstack-services}' + description: 'comma separated list of services to enable on controller nodes' + - string: + name: ENABLE_OS_COMPUTE_SERVICES + default: '{enable-openstack-compute-services}' + description: 'comma separated list of services to enable on compute nodes' + - string: + name: ENABLE_OS_NETWORK_SERVICES + default: '{enable-openstack-network-services}' + description: 'comma seperated list of network services to enable' + - string: + name: ENABLE_OS_PLUGINS + default: '{enable-openstack-plugins}' + description: 'comma seperated list of plugins to enable' + - string: + name: DISABLE_OS_SERVICES + default: '{disable-openstack-services}' + description: 'comma seperated list of services to enable' + - string: + name: TENANT_NETWORK_TYPE + default: '{tenant-network-type}' + description: 'Tenant Network Type supported by the implementation' + - string: + name: SECURITY_GROUP_MODE + default: '{security-group-mode}' + description: 'Security Group Mode to be used in netvirt aclservice config' + - string: + name: ENABLE_ITM_DIRECT_TUNNELS + default: '{enable-itm-direct-tunnels}' + description: 'Tunnel Configuration mode to be used in genius ifm config' + - string: + name: PUBLIC_PHYSICAL_NETWORK + default: '{public-physical-network}' + description: 'provider physical network used for flat/vlan networks' + - string: + name: ENABLE_NETWORKING_L2GW + default: '{enable-networking-l2gw}' + description: 'Enable networking L2gw' + - string: + name: NETWORKING_L2GW_DRIVER + default: '{networking-l2gw-repo}' + description: 'URL to fetch networking-l2gw driver' + - string: + name: CREATE_INITIAL_NETWORKS + default: '{create-initial-networks}' + description: 'Toggles the option of letting devstack create initial networks (True/False)' + - string: + name: LBAAS_SERVICE_PROVIDER + default: '{lbaas-service-provider}' + description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using + neutron-lbaas' + - string: + name: ODL_SFC_DRIVER + default: '{odl-sfc-driver}' + description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc' + - string: + name: ODL_SNAT_MODE + default: '{odl-snat-mode}' + description: 'The SNAT mode to be configured - options are conntrack/controller.' + - string: + name: OVS_INSTALL + default: '{ovs-install}' + description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum + repo url to pull from.' + + scm: + - integration-gerrit-scm: + basedir: 'test' + refspec: '$PATCHREFSPEC' + branch: 'master' + + triggers: + - timed: '{schedule}' + + builders: + - lf-infra-pre-build + - integration-infra-stack-4-type: + stack-template: '{stack-template}' + vm_0_count: '{odl_system_count}' + vm_0_flavor: '{odl_system_flavor}' + vm_0_image: '{odl_system_image}' + vm_1_count: '{openstack_system_count}' + vm_1_flavor: '{openstack_system_flavor}' + vm_1_image: '{openstack_system_image}' + vm_2_count: '{openstack_system2_count}' + vm_2_flavor: '{openstack_system2_flavor}' + vm_2_image: '{openstack_system2_image}' + vm_3_count: '{tools_system_count}' + vm_3_flavor: '{tools_system_flavor}' + vm_3_image: '{tools_system_image}' + - integration-install-robotframework + - inject: + properties-file: 'env.properties' + - integration-get-slave-addresses + - inject: + properties-file: 'slave_addresses.txt' + - integration-detect-variables + - integration-install-common-functions + - integration-deploy-controller-run-test + - integration-deploy-openstack-run-test + - integration-cleanup-tmp + + publishers: + - email-notification: + email-recipients: '{email-recipients}' + email-prefix: '[{project}]' + - integration-csit-collect-netvirt-logs + - integration-csit-publish: + robot_other_files: + - tempest_results.html + robot-pass-threshold: 100.0 + robot-unstable-threshold: 0.0 + - lf-infra-publish + +- job-template: + # yamllint disable-line rule:line-length + name: '{prefix}{project}-csit-hwvtep-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}' + id: inttest-csit-hwvtep-openstack + <<: *inttest_csit_common + # yamllint disable-line rule:key-duplicates + <<: *inttest_csit_hwvtep_openstack + +- job-template: + # yamllint disable-line rule:line-length + name: '{prefix}{project}-csit-hwvtep-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}' + id: inttest-csit-hwvtep-openstack-custom + <<: *inttest_csit_common + # yamllint disable-line rule:key-duplicates + <<: *inttest_csit_hwvtep_openstack + + parameters: + - integration-csit-parameters: + archive-artifacts: '{archive-artifacts}' + branch: '{branch}' + os-cloud: '{os-cloud}' + # CSIT + bundle-url: '{bundle-url}' + repo-url: '{repo-url}' + robot-options: '{robot-options}' + # Controller + controller-scope: '' + debug-map: '{debug-map}' + install-features: '{install-features}' + use-features-boot: '{use-features-boot}' + - integration-distribution-branch: + branch: '{branch}' + - integration-distribution-stream: + stream: '{stream}' + - integration-script-plan: + script-plan: '{project}.txt' + - integration-config-plan: + config-plan: '{project}.txt' + - integration-test-plan: + test-plan: '{testplan}' + - integration-test-suites: + test-suites: '{test-suites}' + - integration-patch-refspec: + branch: 'master' + - integration-jdk-version: + jdkversion: '{jre}' + - distribution-karaf-version: + karaf-version: '{karaf-version}' + - string: + name: OPENSTACK_BRANCH + default: '{openstack-branch}' + description: 'Openstack version to use with devstack' + - string: + name: DEVSTACK_HASH + default: '{devstack-hash}' + description: 'devstack hash to checkout' + - string: + name: ODL_ML2_DRIVER_REPO + default: '{odl-ml2-driver-repo}' + description: 'URL to fetch networking-odl driver' + - string: + name: ODL_ML2_BRANCH + default: '{odl-ml2-branch}' + description: 'Version of networking-odl to checkout from the repo' + - string: + name: ODL_ML2_DRIVER_VERSION + default: '{odl-ml2-driver-version}' + description: 'Mode of networking-odl (v1 or v2)' + - string: + name: ODL_ML2_PORT_BINDING + default: '{odl-ml2-port-binding}' + description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or + network-topology)' + - string: + name: DEVSTACK_KUBERNETES_PLUGIN_REPO + default: '{devstack-kubernetes-plugin-repo}' + description: 'URL to fetch kubernetes devstack plugin' + - string: + name: DEVSTACK_LBAAS_PLUGIN_REPO + default: '{devstack-lbaas-plugin-repo}' + description: 'URL to fetch neutron-lbaas devstack plugin' + - string: + name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO + default: '{devstack-networking-sfc-plugin-repo}' + description: 'URL to fetch neutron-lbaas devstack plugin' + - string: + name: IPSEC_VXLAN_TUNNELS_ENABLED + default: '{ipsec-vxlan-tunnels-enabled}' + description: 'Enable ipsec over vxlan support for all controllers and computes' + - string: + name: PUBLIC_BRIDGE + default: '{public-bridge}' + description: 'Specifies public bridge for provider and external networking' + - string: + name: ENABLE_HAPROXY_FOR_NEUTRON + default: '{enable-haproxy}' + description: 'Enable HAProxy for using neutron interface as HA' + - string: + name: ENABLE_OS_SERVICES + default: '{enable-openstack-services}' + description: 'comma separated list of services to enable on controller nodes' + - string: + name: ENABLE_OS_COMPUTE_SERVICES + default: '{enable-openstack-compute-services}' + description: 'comma separated list of services to enable on compute nodes' + - string: + name: ENABLE_OS_NETWORK_SERVICES + default: '{enable-openstack-network-services}' + description: 'comma seperated list of network services to enable' + - string: + name: ENABLE_OS_PLUGINS + default: '{enable-openstack-plugins}' + description: 'comma seperated list of plugins to enable' + - string: + name: DISABLE_OS_SERVICES + default: '{disable-openstack-services}' + description: 'comma seperated list of services to enable' + - string: + name: TENANT_NETWORK_TYPE + default: '{tenant-network-type}' + description: 'Tenant Network Type supported by the implementation' + - string: + name: SECURITY_GROUP_MODE + default: '{security-group-mode}' + description: 'Security Group Mode to be used in netvirt aclservice config' + - string: + name: ENABLE_ITM_DIRECT_TUNNELS + default: '{enable-itm-direct-tunnels}' + description: 'Tunnel Configuration mode to be used in genius ifm config' + - string: + name: PUBLIC_PHYSICAL_NETWORK + default: '{public-physical-network}' + description: 'provider physical network used for flat/vlan networks' + - string: + name: ENABLE_NETWORKING_L2GW + default: '{enable-networking-l2gw}' + description: 'Enable networking L2gw' + - string: + name: NETWORKING_L2GW_DRIVER + default: '{networking-l2gw-repo}' + description: 'URL to fetch networking-l2gw driver' + - string: + name: CREATE_INITIAL_NETWORKS + default: '{create-initial-networks}' + description: 'Toggles the option of letting devstack create initial networks (True/False)' + - string: + name: LBAAS_SERVICE_PROVIDER + default: '{lbaas-service-provider}' + description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using + neutron-lbaas' + - string: + name: ODL_SFC_DRIVER + default: '{odl-sfc-driver}' + description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc' + - string: + name: ODL_SNAT_MODE + default: '{odl-snat-mode}' + description: 'The SNAT mode to be configured - options are conntrack/controller.' + - string: + name: OVS_INSTALL + default: '{ovs-install}' + description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum + repo url to pull from.' + + +########################## +# inttest-csit-openstack # +########################## - properties: - - opendaylight-infra-properties: - build-days-to-keep: '{build-days-to-keep}' +- inttest_csit_openstack: &inttest_csit_openstack + name: inttest-csit-openstack + + ##################### + # Default variables # + ##################### + + # TODO: Add default variables here + + ##################### + # Job configuration # + ##################### parameters: - - opendaylight-infra-parameters: - os-cloud: '{os-cloud}' - project: 'integration/test' + - integration-csit-parameters: + archive-artifacts: '{archive-artifacts}' branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' + os-cloud: '{os-cloud}' + # CSIT + bundle-url: '{bundle-url}' + repo-url: '{repo-url}' + robot-options: '{robot-options}' + # Controller + controller-scope: '' + debug-map: '{debug-map}' + install-features: '{install-features}' + use-features-boot: '{use-features-boot}' - integration-distribution-branch: branch: '{branch}' - integration-distribution-stream: stream: '{stream}' - - integration-bundle-url: - bundle-url: '{bundle-url}' - - integration-controller-features: - controller-features: '{install-features}' - - integration-test-options: - test-options: '{robot-options}' + - integration-script-plan: + script-plan: '{project}.txt' + - integration-config-plan: + config-plan: '{project}.txt' - integration-test-plan: - test-plan: '{testplan}' + test-plan: '{project}-{functionality}.txt' + - integration-test-suites: + test-suites: '{test-suites}' - integration-patch-refspec: branch: 'master' - integration-jdk-version: @@ -1014,6 +1358,10 @@ name: OPENSTACK_BRANCH default: '{openstack-branch}' description: 'Openstack version to use with devstack' + - string: + name: DEVSTACK_HASH + default: '{devstack-hash}' + description: 'devstack hash to checkout' - string: name: ODL_ML2_DRIVER_REPO default: '{odl-ml2-driver-repo}' @@ -1031,6 +1379,10 @@ default: '{odl-ml2-port-binding}' description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or network-topology)' + - string: + name: ENABLE_GRE_TYPE_DRIVERS + default: '{enable-gre-type-driver}' + description: 'Enable gre tunnel' - string: name: DEVSTACK_KUBERNETES_PLUGIN_REPO default: '{devstack-kubernetes-plugin-repo}' @@ -1043,10 +1395,6 @@ name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO default: '{devstack-networking-sfc-plugin-repo}' description: 'URL to fetch neutron-lbaas devstack plugin' - - string: - name: ODL_ENABLE_L3_FWD - default: '{odl-enable-l3}' - description: 'Enable L3 FWD in ODL for createing br-ex' - string: name: IPSEC_VXLAN_TUNNELS_ENABLED default: '{ipsec-vxlan-tunnels-enabled}' @@ -1063,6 +1411,14 @@ name: ENABLE_OS_SERVICES default: '{enable-openstack-services}' description: 'comma seperated list of services to enable' + - string: + name: ENABLE_OS_COMPUTE_SERVICES + default: '{enable-openstack-compute-services}' + description: 'comma separated list of services to enable on compute nodes' + - string: + name: ENABLE_OS_NETWORK_SERVICES + default: '{enable-openstack-network-services}' + description: 'comma seperated list of network services to enable' - string: name: ENABLE_OS_PLUGINS default: '{enable-openstack-plugins}' @@ -1079,6 +1435,10 @@ name: SECURITY_GROUP_MODE default: '{security-group-mode}' description: 'Security Group Mode to be used in netvirt aclservice config' + - string: + name: ENABLE_ITM_DIRECT_TUNNELS + default: '{enable-itm-direct-tunnels}' + description: 'Tunnel Configuration mode to be used in genius ifm config' - string: name: PUBLIC_PHYSICAL_NETWORK default: '{public-physical-network}' @@ -1108,30 +1468,37 @@ name: ODL_SNAT_MODE default: '{odl-snat-mode}' description: 'The SNAT mode to be configured - options are conntrack/controller.' + - string: + name: OVS_INSTALL + default: '{ovs-install}' + description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum + repo url to pull from.' + scm: - integration-gerrit-scm: basedir: 'test' refspec: '$PATCHREFSPEC' branch: 'master' - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - triggers: - timed: '{schedule}' builders: - - integration-infra-stack-3-type: + - lf-infra-pre-build + - integration-infra-stack-4-type: + stack-template: '{stack-template}' vm_0_count: '{odl_system_count}' vm_0_flavor: '{odl_system_flavor}' vm_0_image: '{odl_system_image}' vm_1_count: '{openstack_system_count}' vm_1_flavor: '{openstack_system_flavor}' vm_1_image: '{openstack_system_image}' - vm_2_count: '{tools_system_count}' - vm_2_flavor: '{tools_system_flavor}' - vm_2_image: '{tools_system_image}' + vm_2_count: '{openstack_system2_count}' + vm_2_flavor: '{openstack_system2_flavor}' + vm_2_image: '{openstack_system2_image}' + vm_3_count: '{tools_system_count}' + vm_3_flavor: '{tools_system_flavor}' + vm_3_image: '{tools_system_image}' - integration-install-robotframework - inject: properties-file: 'env.properties' @@ -1139,51 +1506,65 @@ - inject: properties-file: 'slave_addresses.txt' - integration-detect-variables + - integration-install-common-functions - integration-deploy-controller-run-test - integration-deploy-openstack-run-test - integration-cleanup-tmp publishers: - - integration-robot-tempest: - unstable-if: 0.0 - pass-if: 100.0 - email-notification: email-recipients: '{email-recipients}' email-prefix: '[{project}]' - - integration-csit-archive-build + - integration-csit-collect-netvirt-logs + - integration-csit-publish: + robot_other_files: + - tempest_results.html + robot-pass-threshold: 100.0 + robot-unstable-threshold: 0.0 - lf-infra-publish - job-template: - name: '{project}-csit-{topology}-openstack-{openstack}-{functionality}-{stream}' - disabled: false + # yamllint disable-line rule:line-length + name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}' + id: inttest-csit-openstack + <<: *inttest_csit_common + # yamllint disable-line rule:key-duplicates + <<: *inttest_csit_openstack - project-type: freestyle - node: centos7-robot-2c-2g - concurrent: true - - properties: - - opendaylight-infra-properties: - build-days-to-keep: '{build-days-to-keep}' +- job-template: + # yamllint disable-line rule:line-length + name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}' + id: inttest-csit-openstack-custom + <<: *inttest_csit_common + # yamllint disable-line rule:key-duplicates + <<: *inttest_csit_openstack parameters: - - opendaylight-infra-parameters: - os-cloud: '{os-cloud}' - project: 'integration/test' + - integration-csit-parameters: + archive-artifacts: '{archive-artifacts}' branch: '{branch}' - refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts}' + os-cloud: '{os-cloud}' + # CSIT + bundle-url: '{bundle-url}' + repo-url: '{repo-url}' + robot-options: '{robot-options}' + # Controller + controller-scope: '' + debug-map: '{debug-map}' + install-features: '{install-features}' + use-features-boot: '{use-features-boot}' - integration-distribution-branch: branch: '{branch}' - integration-distribution-stream: stream: '{stream}' - - integration-bundle-url: - bundle-url: '{bundle-url}' - - integration-controller-features: - controller-features: '{install-features}' - - integration-test-options: - test-options: '{robot-options}' + - integration-script-plan: + script-plan: '{project}.txt' + - integration-config-plan: + config-plan: '{project}.txt' - integration-test-plan: test-plan: '{testplan}' + - integration-test-suites: + test-suites: '{test-suites}' - integration-patch-refspec: branch: 'master' - integration-jdk-version: @@ -1194,6 +1575,10 @@ name: OPENSTACK_BRANCH default: '{openstack-branch}' description: 'Openstack version to use with devstack' + - string: + name: DEVSTACK_HASH + default: '{devstack-hash}' + description: 'devstack hash to checkout' - string: name: ODL_ML2_DRIVER_REPO default: '{odl-ml2-driver-repo}' @@ -1211,6 +1596,10 @@ default: '{odl-ml2-port-binding}' description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or network-topology)' + - string: + name: ENABLE_GRE_TYPE_DRIVERS + default: '{enable-gre-type-driver}' + description: 'Enable gre tunnel' - string: name: DEVSTACK_KUBERNETES_PLUGIN_REPO default: '{devstack-kubernetes-plugin-repo}' @@ -1223,10 +1612,6 @@ name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO default: '{devstack-networking-sfc-plugin-repo}' description: 'URL to fetch neutron-lbaas devstack plugin' - - string: - name: ODL_ENABLE_L3_FWD - default: '{odl-enable-l3}' - description: 'Enable L3 FWD in ODL for createing br-ex' - string: name: IPSEC_VXLAN_TUNNELS_ENABLED default: '{ipsec-vxlan-tunnels-enabled}' @@ -1243,6 +1628,14 @@ name: ENABLE_OS_SERVICES default: '{enable-openstack-services}' description: 'comma seperated list of services to enable' + - string: + name: ENABLE_OS_COMPUTE_SERVICES + default: '{enable-openstack-compute-services}' + description: 'comma separated list of services to enable on compute nodes' + - string: + name: ENABLE_OS_NETWORK_SERVICES + default: '{enable-openstack-network-services}' + description: 'comma seperated list of network services to enable' - string: name: ENABLE_OS_PLUGINS default: '{enable-openstack-plugins}' @@ -1259,6 +1652,10 @@ name: SECURITY_GROUP_MODE default: '{security-group-mode}' description: 'Security Group Mode to be used in netvirt aclservice config' + - string: + name: ENABLE_ITM_DIRECT_TUNNELS + default: '{enable-itm-direct-tunnels}' + description: 'Tunnel Configuration mode to be used in genius ifm config' - string: name: PUBLIC_PHYSICAL_NETWORK default: '{public-physical-network}' @@ -1280,10 +1677,6 @@ default: '{lbaas-service-provider}' description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using neutron-lbaas' - - string: - name: NUM_OPENSTACK_SITES - default: '{num-openstack-sites}' - description: 'Number of openstack sites' - string: name: ODL_SFC_DRIVER default: '{odl-sfc-driver}' @@ -1292,49 +1685,11 @@ name: ODL_SNAT_MODE default: '{odl-snat-mode}' description: 'The SNAT mode to be configured - options are conntrack/controller.' - - scm: - - integration-gerrit-scm: - basedir: 'test' - refspec: '$PATCHREFSPEC' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '{schedule}' - - builders: - - integration-infra-stack: - stack-template: '{stack-template}' - vm_0_count: '{odl_system_count}' - vm_0_flavor: '{odl_system_flavor}' - vm_0_image: '{odl_system_image}' - vm_1_count: '{openstack_system_count}' - vm_1_flavor: '{openstack_system_flavor}' - vm_1_image: '{openstack_system_image}' - - integration-install-robotframework - - inject: - properties-file: 'env.properties' - - integration-get-slave-addresses - - inject: - properties-file: 'slave_addresses.txt' - - integration-detect-variables - - integration-deploy-controller-run-test - - integration-deploy-openstack-run-test - - integration-cleanup-tmp - - publishers: - - integration-robot-tempest: - unstable-if: 0.0 - pass-if: 100.0 - - email-notification: - email-recipients: '{email-recipients}' - email-prefix: '[{project}]' - - integration-csit-archive-build - - lf-infra-publish + - string: + name: OVS_INSTALL + default: '{ovs-install}' + description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum + repo url to pull from.' # Template: {project}-patch-test-{stream} # Goal: Build a patch and run project specific system test on a distribution containing the change @@ -1342,16 +1697,11 @@ # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword - job-template: - name: '{project}-patch-test-{feature}-{stream}' - - project-type: freestyle - node: centos7-java-builder-2c-8g - concurrent: true - jdk: '{jdk}' + name: '{prefix}{project}-patch-test-{feature}-{stream}' + id: inttest-patch-test + <<: *inttest_csit_common - properties: - - opendaylight-infra-properties: - build-days-to-keep: '{build-days-to-keep}' + build-timeout: 720 parameters: - opendaylight-infra-parameters: @@ -1363,7 +1713,7 @@ - integration-distribution-branch: branch: '{branch}' - distribution-karaf-version: - karaf-version: 'karaf3' + karaf-version: '{karaf-version}' - integration-distribution-git-url: git-url: '{git-url}' - string: @@ -1371,7 +1721,7 @@ default: 'all' description: 'Specific feature test for patch' - maven-exec: - maven-version: mvn33 + maven-version: mvn35 scm: - integration-gerrit-scm: @@ -1381,13 +1731,9 @@ - integration-distribution-scm: branch: '{branch}' - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - triggers: - gerrit: - server-name: '{server-name}' + server-name: '{gerrit-server-name}' trigger-on: - comment-added-contains-event: comment-contains-value: 'test-{project}-all' @@ -1409,15 +1755,17 @@ - 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 -Pq -Dgitid.skip=false + -Dmaven.gitcommitid.skip=false -DgenerateReports=false -Dstream={stream} {opendaylight-infra-mvn-opts} + # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT. java-opts: - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' settings: integration-settings @@ -1425,13 +1773,15 @@ 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 -Pq -Dgitid.skip=false + -Dmaven.gitcommitid.skip=false {opendaylight-infra-mvn-opts} + # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT. java-opts: - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' settings: integration-settings @@ -1445,9 +1795,204 @@ block: true predefined-parameters: | BUNDLE_URL=$BUNDLE_URL + GERRIT_BRANCH=$GERRIT_BRANCH + GERRIT_PROJECT=$GERRIT_PROJECT + GERRIT_REFSPEC=$GERRIT_REFSPEC KARAF_VERSION=$KARAF_VERSION publishers: - email-notification: email-recipients: '{email-recipients}' email-prefix: '[{project}]' + + +##################### +# inttest-csit-apex # +##################### + +- inttest_csit_apex: &inttest_csit_apex + name: inttest-csit-apex + + ##################### + # Default variables # + ##################### + + # TODO: Add default variables here + + ##################### + # Job configuration # + ##################### + + parameters: + - integration-csit-parameters: + archive-artifacts: '{archive-artifacts}' + branch: '{branch}' + os-cloud: '{os-cloud}' + # CSIT + bundle-url: '{bundle-url}' + repo-url: '{repo-url}' + robot-options: '{robot-options}' + # Controller + controller-scope: '' + debug-map: '{debug-map}' + install-features: '{install-features}' + use-features-boot: '{use-features-boot}' + - integration-distribution-branch: + branch: '{branch}' + - integration-distribution-stream: + stream: '{stream}' + - 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}' + - string: + name: OPENSTACK_BRANCH + default: '{openstack-branch}' + description: 'Openstack version to use with devstack' + - string: + name: IPSEC_VXLAN_TUNNELS_ENABLED + default: '{ipsec-vxlan-tunnels-enabled}' + description: 'Enable ipsec over vxlan support for all controllers and computes' + - string: + name: PUBLIC_BRIDGE + default: '{public-bridge}' + description: 'Specifies public bridge for provider and external networking' + - string: + name: SECURITY_GROUP_MODE + default: '{security-group-mode}' + description: 'Security Group Mode to be used in netvirt aclservice config' + - string: + name: ENABLE_ITM_DIRECT_TUNNELS + default: '{enable-itm-direct-tunnels}' + description: 'Tunnel Configuration mode to be used in genius ifm config' + - string: + name: PUBLIC_PHYSICAL_NETWORK + default: '{public-physical-network}' + description: 'provider physical network used for flat/vlan networks' + - string: + name: ODL_SNAT_MODE + default: '{odl-snat-mode}' + description: 'The SNAT mode to be configured - options are conntrack/controller.' + + scm: + - integration-gerrit-scm: + basedir: 'test' + refspec: '$PATCHREFSPEC' + branch: 'master' + + triggers: + - timed: '{schedule}' + + builders: + - lf-infra-pre-build + - integration-apex-stack-3-type: + stack-template: '{stack-template}' + vm_0_count: '{apex_controller_count}' + vm_0_flavor: '{apex_controller_flavor}' + vm_0_image: '{apex_controller_image}' + vm_1_count: '1' + vm_1_flavor: '{apex_compute_0_flavor}' + vm_1_image: '{apex_compute_0_image}' + vm_2_count: '1' + vm_2_flavor: '{apex_compute_1_flavor}' + vm_2_image: '{apex_compute_1_image}' + - integration-install-robotframework + - integration-detect-variables + - integration-install-common-functions + - inject: + properties-file: 'env.properties' + - integration-get-apex-addresses + - inject: + properties-file: 'slave_addresses.txt' + - integration-apex-run-tests + - integration-cleanup-tmp + + publishers: + - email-notification: + email-recipients: '{email-recipients}' + email-prefix: '[{project}]' + - integration-csit-publish: + robot_other_files: + - tempest_results.html + robot-pass-threshold: 100.0 + robot-unstable-threshold: 0.0 + - lf-infra-publish + +- job-template: + # yamllint disable-line rule:line-length + name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-apex-{openstack}-{functionality}-{stream}' + id: inttest-csit-apex + <<: *inttest_csit_common + # yamllint disable-line rule:key-duplicates + <<: *inttest_csit_apex + +- job-template: + # yamllint disable-line rule:line-length + name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-apex-{openstack}-{functionality}-{stream}' + id: inttest-csit-apex-custom + <<: *inttest_csit_common + # yamllint disable-line rule:key-duplicates + <<: *inttest_csit_apex + + parameters: + - integration-csit-parameters: + archive-artifacts: '{archive-artifacts}' + branch: '{branch}' + os-cloud: '{os-cloud}' + # CSIT + bundle-url: '{bundle-url}' + repo-url: '{repo-url}' + robot-options: '{robot-options}' + # Controller + controller-scope: '' + debug-map: '{debug-map}' + install-features: '{install-features}' + use-features-boot: '{use-features-boot}' + - integration-distribution-branch: + branch: '{branch}' + - integration-distribution-stream: + stream: '{stream}' + - integration-test-plan: + test-plan: '{testplan}' + - integration-test-suites: + test-suites: '{test-suites}' + - integration-patch-refspec: + branch: 'master' + - integration-jdk-version: + jdkversion: '{jre}' + - distribution-karaf-version: + karaf-version: '{karaf-version}' + - string: + name: OPENSTACK_BRANCH + default: '{openstack-branch}' + description: 'Openstack version to use with devstack' + - string: + name: IPSEC_VXLAN_TUNNELS_ENABLED + default: '{ipsec-vxlan-tunnels-enabled}' + description: 'Enable ipsec over vxlan support for all controllers and computes' + - string: + name: PUBLIC_BRIDGE + default: '{public-bridge}' + description: 'Specifies public bridge for provider and external networking' + - string: + name: SECURITY_GROUP_MODE + default: '{security-group-mode}' + description: 'Security Group Mode to be used in netvirt aclservice config' + - string: + name: ENABLE_ITM_DIRECT_TUNNELS + default: '{enable-itm-direct-tunnels}' + description: 'Tunnel Configuration mode to be used in genius ifm config' + - string: + name: PUBLIC_PHYSICAL_NETWORK + default: '{public-physical-network}' + description: 'provider physical network used for flat/vlan networks' + - string: + name: ODL_SNAT_MODE + default: '{odl-snat-mode}' + description: 'The SNAT mode to be configured - options are conntrack/controller.'