X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fintegration-templates.yaml;h=bfac98942786bca9329225d2009409d7ecc1184d;hb=6aad4a9bd5ef29209ec9760ec736724a8b88bdda;hp=33fd72b7fa08ef78f947e0a8ff63f0a28efccc1a;hpb=110033613941fd42abb145017505a4a76f40d6ed;p=releng%2Fbuilder.git diff --git a/jjb/integration/integration-templates.yaml b/jjb/integration/integration-templates.yaml index 33fd72b7f..bfac98942 100644 --- a/jjb/integration/integration-templates.yaml +++ b/jjb/integration/integration-templates.yaml @@ -27,45 +27,96 @@ # integration-use-features-boot: bool to toggle use of featuresBoot ($USEFEATURESBOOT) -# New templates +########### +# Anchors # +########### -- job-template: - name: '{prefix}{project}-csit-verify-1node-{functionality}' - id: inttest-csit-verify-1node - 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-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 + + ##################### + # Default variables # + ##################### + + openstack-cloud: vex + openstack-heat-template: csit-2-instance-type.yaml + openstack-heat-template-dir: openstack-hot + + odl_system_flavor: 'odl-highcpu-4' + odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20190924-232354.381' + tools_system_count: 1 + tools_system_flavor: 'odl-highcpu-2' + tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20190416-121328.240' + + ##################### + # 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: only + debug-map: '{debug-map}' + install-features: '{install-features}' + use-features-boot: 'True' + elasticsearch-attribute: '{elasticsearch-attribute}' + - integration-stack-2-type: + 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-distribution-branch: branch: '{verify-branch}' - integration-distribution-stream: stream: '{verify-stream}' - - integration-bundle-url: - bundle-url: '{bundle-url}' - - integration-repo-url: - repo-url: '{repo-url}' - - integration-controller-scope: - controller-scope: 'only' - - integration-controller-features: - controller-features: '{install-features}' - - integration-test-options: - test-options: '{robot-options}' - integration-script-plan: - script-plan: '{scriptplan}' + script-plan: '{project}.txt' - integration-config-plan: - config-plan: '{configplan}' + config-plan: '{project}.txt' - integration-stream-test-plan: stream-test-plan: '{project}-{functionality}-{verify-stream}.txt' - integration-test-plan: @@ -74,18 +125,13 @@ jdkversion: '{verify-jdkversion}' - distribution-karaf-version: karaf-version: '{verify-karaf-version}' - - integration-use-features-boot: - use-features-boot: 'True' + scm: - integration-gerrit-scm: basedir: 'test' refspec: '$GERRIT_REFSPEC' branch: 'master' - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - triggers: - integration-trigger-patch-submitted: gerrit-server-name: '{gerrit-server-name}' @@ -95,14 +141,10 @@ builders: - lf-infra-pre-build - - 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-stack-2-type: + openstack-cloud: '{openstack-cloud}' + openstack-heat-template: '{openstack-heat-template}' + openstack-heat-template-dir: '{openstack-heat-template-dir}' - integration-install-robotframework - inject: properties-file: 'env.properties' @@ -115,61 +157,78 @@ - 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-run-postscript - - releng-openstack-stack-delete + - integration-csit-publish: + robot_other_files: '' + robot-pass-threshold: 100.0 + robot-unstable-threshold: 0.0 + - lf-stack-delete: + openstack-cloud: '{openstack-cloud}' - lf-infra-publish -- job-template: - name: '{prefix}{project}-csit-1node-{functionality}-{install}-{stream}' - id: inttest-csit-1node - disable-job: false - disabled: '{disable-job}' - project-type: freestyle - node: centos7-robot-2c-8g +###################### +# 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 # + ##################### + + openstack-cloud: vex + openstack-heat-template: csit-2-instance-type.yaml + openstack-heat-template-dir: openstack-hot + + odl_system_flavor: 'odl-highcpu-4' + odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20190924-232354.381' + tools_system_count: 1 + tools_system_flavor: 'odl-highcpu-2' + tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20190416-121328.240' + + + ##################### + # 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' + elasticsearch-attribute: '{elasticsearch-attribute}' + - integration-stack-2-type: + 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-distribution-branch: branch: '{branch}' - integration-distribution-stream: stream: '{stream}' - - integration-bundle-url: - bundle-url: '{bundle-url}' - - integration-repo-url: - repo-url: '{repo-url}' - - integration-controller-scope: - controller-scope: '{scope}' - - integration-controller-features: - controller-features: '{install-features}' - - integration-controller-debug-map: - controller-debug-map: '{debug-map}' - - integration-test-options: - test-options: '{robot-options}' - integration-script-plan: - script-plan: '{scriptplan}' + script-plan: '{project}.txt' - integration-config-plan: - config-plan: '{configplan}' + config-plan: '{project}.txt' - integration-stream-test-plan: - stream-test-plan: '{streamtestplan}' + stream-test-plan: '{project}-{functionality}-{stream}.txt' - integration-test-plan: - test-plan: '{testplan}' + test-plan: '{project}-{functionality}.txt' - integration-test-suites: test-suites: '{test-suites}' - integration-patch-refspec: @@ -178,8 +237,6 @@ jdkversion: '{jre}' - distribution-karaf-version: karaf-version: '{karaf-version}' - - integration-use-features-boot: - use-features-boot: 'True' scm: - integration-gerrit-scm: @@ -192,20 +249,12 @@ - integration-csit-trigger: jobs: '{trigger-jobs}' - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - builders: - lf-infra-pre-build - - 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-stack-2-type: + openstack-cloud: '{openstack-cloud}' + openstack-heat-template: '{openstack-heat-template}' + openstack-heat-template-dir: '{openstack-heat-template-dir}' - integration-install-robotframework - inject: properties-file: 'env.properties' @@ -218,9 +267,6 @@ - integration-cleanup-tmp publishers: - - integration-robot: - unstable-if: 0.0 - pass-if: 100.0 - email-notification: email-recipients: '{email-recipients}' email-prefix: '[{project}]' @@ -365,48 +411,125 @@ inclusion-flag: '{10-inclusion-flag}' exclude: '{10-exclude-value}' format: csv - - integration-csit-archive-build - - integration-csit-run-postscript - - releng-openstack-stack-delete + - integration-csit-publish: + robot_other_files: '' + robot-pass-threshold: 100.0 + robot-unstable-threshold: 0.0 + - lf-stack-delete: + openstack-cloud: '{openstack-cloud}' - lf-infra-publish +- job-template: + name: '{prefix}{project}-csit-1node-{functionality}-{install}-{stream}' + id: inttest-csit-1node + <<: *inttest_csit_common + # yamllint disable-line rule:key-duplicates + <<: *inttest_csit_1node + +- 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: + - 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: '{install-features}' + use-features-boot: 'True' + elasticsearch-attribute: '{elasticsearch-attribute}' + - integration-stack-2-type: + 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-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-verify-3node-{functionality}' id: inttest-csit-verify-3node - disabled: false + <<: *inttest_csit_common - project-type: freestyle - node: centos7-robot-2c-8g + ##################### + # Default variables # + ##################### - properties: - - opendaylight-infra-properties: - build-days-to-keep: '{build-days-to-keep}' + openstack-cloud: vex + openstack-heat-template: csit-2-instance-type.yaml + openstack-heat-template-dir: openstack-hot + + odl_system_flavor: 'odl-highcpu-4' + odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20190924-232354.381' + tools_system_count: 1 + tools_system_flavor: 'odl-highcpu-2' + tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20190416-121328.240' + + ##################### + # 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: only + debug-map: '{debug-map}' + install-features: 'odl-jolokia,{install-features}' + use-features-boot: 'True' + elasticsearch-attribute: '{elasticsearch-attribute}' + - integration-stack-2-type: + 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-distribution-branch: branch: '{verify-branch}' - integration-distribution-stream: stream: '{verify-stream}' - - integration-bundle-url: - bundle-url: '{bundle-url}' - - integration-repo-url: - repo-url: '{repo-url}' - - integration-controller-scope: - controller-scope: 'only' - - integration-controller-features: - controller-features: 'odl-jolokia,{install-features}' - - integration-test-options: - test-options: '{robot-options}' - integration-script-plan: - script-plan: '{scriptplan}' + script-plan: '{project}.txt' - integration-config-plan: - config-plan: '{configplan}' + config-plan: '{project}.txt' - integration-stream-test-plan: stream-test-plan: '{project}-{functionality}-{verify-stream}.txt' - integration-test-plan: @@ -417,8 +540,6 @@ jdkversion: '{verify-jdkversion}' - distribution-karaf-version: karaf-version: '{verify-karaf-version}' - - integration-use-features-boot: - use-features-boot: 'True' scm: - integration-gerrit-scm: @@ -426,10 +547,6 @@ refspec: '$GERRIT_REFSPEC' branch: 'master' - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - triggers: - integration-trigger-patch-submitted: gerrit-server-name: '{gerrit-server-name}' @@ -439,14 +556,10 @@ 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: '{tools_system_count}' - vm_1_flavor: '{tools_system_flavor}' - vm_1_image: '{tools_system_image}' + - integration-stack-2-type: + openstack-cloud: '{openstack-cloud}' + openstack-heat-template: '{openstack-heat-template}' + openstack-heat-template-dir: '{openstack-heat-template-dir}' - integration-install-robotframework - inject: properties-file: 'env.properties' @@ -460,60 +573,77 @@ - 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-run-postscript - - releng-openstack-stack-delete + - integration-csit-publish: + robot_other_files: '' + robot-pass-threshold: 100.0 + robot-unstable-threshold: 0.0 + - lf-stack-delete: + openstack-cloud: '{openstack-cloud}' - lf-infra-publish -- job-template: - name: '{prefix}{project}-csit-3node-{functionality}-{install}-{stream}' - id: inttest-csit-3node - disabled: false - project-type: freestyle - node: centos7-robot-2c-8g +###################### +# 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 # + ##################### + + openstack-cloud: vex + openstack-heat-template: csit-2-instance-type.yaml + openstack-heat-template-dir: openstack-hot + + odl_system_flavor: 'odl-highcpu-4' + odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20190924-232354.381' + tools_system_count: 1 + tools_system_flavor: 'odl-highcpu-2' + tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20190416-121328.240' + + ##################### + # 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' + elasticsearch-attribute: '{elasticsearch-attribute}' + - integration-stack-2-type: + 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-distribution-branch: branch: '{branch}' - integration-distribution-stream: stream: '{stream}' - - integration-bundle-url: - bundle-url: '{bundle-url}' - - integration-repo-url: - repo-url: '{repo-url}' - - integration-controller-scope: - controller-scope: '{scope}' - - integration-controller-features: - controller-features: 'odl-jolokia,{install-features}' - - integration-controller-debug-map: - controller-debug-map: '{debug-map}' - - integration-test-options: - test-options: '{robot-options}' - integration-script-plan: - script-plan: '{scriptplan}' + script-plan: '{project}.txt' - integration-config-plan: - config-plan: '{configplan}' + config-plan: '{project}.txt' - integration-stream-test-plan: - stream-test-plan: '{streamtestplan}' + stream-test-plan: '{project}-{functionality}-{stream}.txt' - integration-test-plan: - test-plan: '{testplan}' + test-plan: '{project}-{functionality}.txt' - integration-test-suites: test-suites: '{test-suites}' - integration-patch-refspec: @@ -522,8 +652,6 @@ jdkversion: '{jre}' - distribution-karaf-version: karaf-version: '{karaf-version}' - - integration-use-features-boot: - use-features-boot: 'True' scm: - integration-gerrit-scm: @@ -536,20 +664,12 @@ - integration-csit-trigger: jobs: '{trigger-jobs}' - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - 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: '{tools_system_count}' - vm_1_flavor: '{tools_system_flavor}' - vm_1_image: '{tools_system_image}' + - integration-stack-2-type: + openstack-cloud: '{openstack-cloud}' + openstack-heat-template: '{openstack-heat-template}' + openstack-heat-template-dir: '{openstack-heat-template-dir}' - integration-install-robotframework - inject: properties-file: 'env.properties' @@ -563,9 +683,6 @@ - integration-cleanup-tmp publishers: - - integration-robot: - unstable-if: 0.0 - pass-if: 100.0 - email-notification: email-recipients: '{email-recipients}' email-prefix: '[{project}]' @@ -710,81 +827,149 @@ inclusion-flag: '{10-inclusion-flag}' exclude: '{10-exclude-value}' format: csv - - integration-csit-archive-build - - integration-csit-run-postscript - - releng-openstack-stack-delete + - integration-csit-publish: + robot_other_files: '' + robot-pass-threshold: 100.0 + robot-unstable-threshold: 0.0 + - lf-stack-delete: + openstack-cloud: '{openstack-cloud}' - lf-infra-publish - job-template: - name: '{prefix}{project}-csit-3node-docker-{functionality}-{install}-{stream}' - id: inttest-csit-3node-docker - disabled: false - - project-type: freestyle - node: centos7-robot-2c-8g + name: '{prefix}{project}-csit-3node-{functionality}-{install}-{stream}' + id: inttest-csit-3node + <<: *inttest_csit_common + # yamllint disable-line rule:key-duplicates + <<: *inttest_csit_3node - properties: - - opendaylight-infra-properties: - build-days-to-keep: '{build-days-to-keep}' +- 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: - - 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' + elasticsearch-attribute: '{elasticsearch-attribute}' + - integration-stack-2-type: + 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-distribution-branch: branch: '{branch}' - integration-distribution-stream: stream: '{stream}' - - integration-bundle-url: - bundle-url: '{bundle-url}' - - integration-repo-url: - repo-url: '{repo-url}' - - integration-controller-scope: - controller-scope: '{scope}' - - integration-controller-features: - controller-features: 'odl-jolokia,{install-features}' - - integration-test-options: - test-options: '{robot-options}' - integration-script-plan: - script-plan: '{scriptplan}' + script-plan: '{project}.txt' - integration-config-plan: - config-plan: '{configplan}' + config-plan: '{project}.txt' - integration-stream-test-plan: stream-test-plan: '{project}-{functionality}-{stream}.txt' - integration-test-plan: - test-plan: '{project}-{functionality}.txt' + test-plan: '{testplan}' + - integration-test-suites: + test-suites: '{test-suites}' - integration-patch-refspec: branch: 'master' - integration-jdk-version: jdkversion: '{jre}' - distribution-karaf-version: karaf-version: '{karaf-version}' - - integration-use-features-boot: - use-features-boot: 'True' - scm: - - integration-gerrit-scm: - basedir: 'test' - refspec: '$PATCHREFSPEC' - branch: 'master' - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' +- job-template: + name: '{prefix}{project}-csit-3node-docker-{functionality}-{install}-{stream}' + id: inttest-csit-3node-docker + <<: *inttest_csit_common - builders: - - lf-infra-pre-build - - integration-infra-stack: - stack-template: '{stack-template}' - vm_0_count: '3' + ##################### + # Default variables # + ##################### + + openstack-cloud: vex + openstack-heat-template: csit-2-instance-type.yaml + openstack-heat-template-dir: openstack-hot + + odl_system_count: 1 + odl_system_flavor: 'odl-highcpu-4' + odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20190924-232354.381' + docker_system_count: 1 + docker_system_flavor: 'odl-standard-1' + docker_system_image: 'ZZCI - CentOS 7 - docker - x86_64 - 20191004-045622.840' + + ##################### + # 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' + elasticsearch-attribute: '{elasticsearch-attribute}' + - integration-stack-2-type: + 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-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-stack-2-type: + openstack-cloud: '{openstack-cloud}' + openstack-heat-template: '{openstack-heat-template}' + openstack-heat-template-dir: '{openstack-heat-template-dir}' - integration-install-robotframework - inject: properties-file: 'env.properties' @@ -798,9 +983,6 @@ - integration-cleanup-tmp publishers: - - integration-robot: - unstable-if: 0.0 - pass-if: 100.0 - email-notification: email-recipients: '{email-recipients}' email-prefix: '[{project}]' @@ -833,52 +1015,499 @@ inclusion-flag: 'off' display-table: true format: csv - - integration-csit-archive-build - - integration-csit-run-postscript - - releng-openstack-stack-delete + - integration-csit-publish: + robot_other_files: '' + robot-pass-threshold: 100.0 + robot-unstable-threshold: 0.0 + - lf-stack-delete: + openstack-cloud: '{openstack-cloud}' + - lf-infra-publish + + +################################# +# inttest-csit-hwvtep-openstack # +################################# + +- inttest_csit_hwvtep_openstack: &inttest_csit_hwvtep_openstack + name: inttest-csit-hwvtep-openstack + + ##################### + # Default variables # + ##################### + + openstack-cloud: vex + openstack-heat-template: csit-4-instance-type.yaml + openstack-heat-template-dir: openstack-hot + + odl_system_count: 1 + odl_system_flavor: 'odl-highcpu-4' + odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20190924-232354.381' + openstack_system_count: 1 + openstack_system_flavor: 'odl-standard-4' + openstack_system_image: 'ZZCI - CentOS 7 - devstack - x86_64 - 20191004-045548.485' + openstack_system2_count: 0 + openstack_system2_flavor: 'odl-standard-1' + openstack_system2_image: 'ZZCI - CentOS 7 - devstack - x86_64 - 20191004-045548.485' + tools_system_count: 1 + tools_system_flavor: 'odl-highcpu-2' + tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20190416-121328.240' + + ##################### + # 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}' + elasticsearch-attribute: '{elasticsearch-attribute}' + - integration-stack-4-type: + 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-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-stack-4-type: + openstack-cloud: '{openstack-cloud}' + openstack-heat-template: '{openstack-heat-template}' + openstack-heat-template-dir: '{openstack-heat-template-dir}' + - 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-stack-delete: + openstack-cloud: '{openstack-cloud}' - lf-infra-publish - job-template: # yamllint disable-line rule:line-length name: '{prefix}{project}-csit-hwvtep-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}' id: inttest-csit-hwvtep-openstack - disabled: false + <<: *inttest_csit_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}' + elasticsearch-attribute: '{elasticsearch-attribute}' + - integration-stack-4-type: + 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-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 # +########################## + +- inttest_csit_openstack: &inttest_csit_openstack + name: inttest-csit-openstack - project-type: freestyle - node: centos7-robot-2c-8g - concurrent: true + ##################### + # Default variables # + ##################### - properties: - - opendaylight-infra-properties: - build-days-to-keep: '{build-days-to-keep}' + openstack-cloud: vex + openstack-heat-template: csit-4-instance-type.yaml + openstack-heat-template-dir: openstack-hot + + odl_system_count: 1 + odl_system_flavor: 'odl-highcpu-4' + odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20190924-232354.381' + openstack_system_count: 1 + openstack_system_flavor: 'odl-standard-4' + openstack_system_image: 'ZZCI - CentOS 7 - devstack - x86_64 - 20191004-045548.485' + openstack_system2_count: 0 + openstack_system2_flavor: 'odl-standard-1' + openstack_system2_image: 'ZZCI - CentOS 7 - devstack - x86_64 - 20191004-045548.485' + tools_system_count: 1 + tools_system_flavor: 'odl-highcpu-2' + tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20190416-121328.240' + + ##################### + # 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}' + elasticsearch-attribute: '{elasticsearch-attribute}' + - integration-stack-4-type: + 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-distribution-branch: branch: '{branch}' - integration-distribution-stream: stream: '{stream}' - - integration-bundle-url: - bundle-url: '{bundle-url}' - - integration-repo-url: - repo-url: '{repo-url}' - - integration-controller-features: - controller-features: '{install-features}' - - integration-controller-debug-map: - controller-debug-map: '{debug-map}' - - integration-test-options: - test-options: '{robot-options}' - integration-script-plan: - script-plan: '{scriptplan}' + script-plan: '{project}.txt' - integration-config-plan: - config-plan: '{configplan}' + config-plan: '{project}.txt' - integration-test-plan: - test-plan: '{testplan}' + test-plan: '{project}-{functionality}.txt' - integration-test-suites: test-suites: '{test-suites}' - integration-patch-refspec: @@ -887,8 +1516,6 @@ jdkversion: '{jre}' - distribution-karaf-version: karaf-version: '{karaf-version}' - - integration-use-features-boot: - use-features-boot: '{use-features-boot}' - string: name: OPENSTACK_BRANCH default: '{openstack-branch}' @@ -914,6 +1541,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}' @@ -941,7 +1572,7 @@ - string: name: ENABLE_OS_SERVICES default: '{enable-openstack-services}' - description: 'comma separated list of services to enable on controller nodes' + description: 'comma seperated list of services to enable' - string: name: ENABLE_OS_COMPUTE_SERVICES default: '{enable-openstack-compute-services}' @@ -1004,35 +1635,22 @@ default: '{ovs-install}' description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum repo url to pull from.' + scm: - integration-gerrit-scm: basedir: 'test' refspec: '$PATCHREFSPEC' branch: 'master' - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - triggers: - timed: '{schedule}' builders: - lf-infra-pre-build - - integration-infra-stack-4-type: - stack-template: '{stack-template}' - vm_0_count: '{odl_system_count}' - vm_0_flavor: '{odl_system_flavor}' - vm_0_image: '{odl_system_image}' - vm_1_count: '{openstack_system_count}' - vm_1_flavor: '{openstack_system_flavor}' - vm_1_image: '{openstack_system_image}' - vm_2_count: '{openstack_system2_count}' - vm_2_flavor: '{openstack_system2_flavor}' - vm_2_image: '{openstack_system2_image}' - vm_3_count: '{tools_system_count}' - vm_3_flavor: '{tools_system_flavor}' - vm_3_image: '{tools_system_image}' + - integration-stack-4-type: + openstack-cloud: '{openstack-cloud}' + openstack-heat-template: '{openstack-heat-template}' + openstack-heat-template-dir: '{openstack-heat-template-dir}' - integration-install-robotframework - inject: properties-file: 'env.properties' @@ -1046,57 +1664,71 @@ - integration-cleanup-tmp publishers: - - integration-robot-tempest: - unstable-if: 0.0 - pass-if: 100.0 - email-notification: email-recipients: '{email-recipients}' email-prefix: '[{project}]' - integration-csit-collect-netvirt-logs - - integration-csit-archive-build - - integration-csit-run-postscript - - releng-openstack-stack-delete + - integration-csit-publish: + robot_other_files: + - tempest_results.html + robot-pass-threshold: 100.0 + robot-unstable-threshold: 0.0 + - lf-stack-delete: + openstack-cloud: '{openstack-cloud}' - lf-infra-publish - job-template: # yamllint disable-line rule:line-length name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}' id: inttest-csit-openstack - disabled: false - - project-type: freestyle - node: centos7-robot-2c-8g - concurrent: true + <<: *inttest_csit_common + # yamllint disable-line rule:key-duplicates + <<: *inttest_csit_openstack - properties: - - opendaylight-infra-properties: - build-days-to-keep: '{build-days-to-keep}' +- job-template: + # yamllint disable-line rule:line-length + name: '{prefix}{project}-csit-{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}' + elasticsearch-attribute: '{elasticsearch-attribute}' + - integration-stack-4-type: + 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-distribution-branch: branch: '{branch}' - integration-distribution-stream: stream: '{stream}' - - integration-bundle-url: - bundle-url: '{bundle-url}' - - integration-repo-url: - repo-url: '{repo-url}' - - integration-controller-features: - controller-features: '{install-features}' - - integration-controller-debug-map: - controller-debug-map: '{debug-map}' - - integration-test-options: - test-options: '{robot-options}' - integration-script-plan: - script-plan: '{scriptplan}' + script-plan: '{project}.txt' - integration-config-plan: - config-plan: '{configplan}' + config-plan: '{project}.txt' - integration-test-plan: test-plan: '{testplan}' - integration-test-suites: @@ -1107,8 +1739,6 @@ jdkversion: '{jre}' - distribution-karaf-version: karaf-version: '{karaf-version}' - - integration-use-features-boot: - use-features-boot: '{use-features-boot}' - string: name: OPENSTACK_BRANCH default: '{openstack-branch}' @@ -1228,59 +1858,6 @@ default: '{ovs-install}' description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum repo url to pull from.' - scm: - - integration-gerrit-scm: - basedir: 'test' - refspec: '$PATCHREFSPEC' - branch: 'master' - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - triggers: - - timed: '{schedule}' - - builders: - - lf-infra-pre-build - - integration-infra-stack-4-type: - stack-template: '{stack-template}' - vm_0_count: '{odl_system_count}' - vm_0_flavor: '{odl_system_flavor}' - vm_0_image: '{odl_system_image}' - vm_1_count: '{openstack_system_count}' - vm_1_flavor: '{openstack_system_flavor}' - vm_1_image: '{openstack_system_image}' - vm_2_count: '{openstack_system2_count}' - vm_2_flavor: '{openstack_system2_flavor}' - vm_2_image: '{openstack_system2_image}' - vm_3_count: '{tools_system_count}' - vm_3_flavor: '{tools_system_flavor}' - vm_3_image: '{tools_system_image}' - - integration-install-robotframework - - inject: - properties-file: 'env.properties' - - integration-get-slave-addresses - - inject: - properties-file: 'slave_addresses.txt' - - integration-detect-variables - - integration-install-common-functions - - integration-deploy-controller-run-test - - integration-deploy-openstack-run-test - - integration-cleanup-tmp - - publishers: - - integration-robot-tempest: - unstable-if: 0.0 - pass-if: 100.0 - - email-notification: - email-recipients: '{email-recipients}' - email-prefix: '[{project}]' - - integration-csit-collect-netvirt-logs - - integration-csit-archive-build - - integration-csit-run-postscript - - releng-openstack-stack-delete - - lf-infra-publish # Template: {project}-patch-test-{stream} # Goal: Build a patch and run project specific system test on a distribution containing the change @@ -1290,15 +1867,9 @@ - job-template: name: '{prefix}{project}-patch-test-{feature}-{stream}' id: inttest-patch-test + <<: *inttest_csit_common - project-type: freestyle - node: centos7-builder-2c-8g - concurrent: true - jdk: '{java-version}' - - properties: - - opendaylight-infra-properties: - build-days-to-keep: '{build-days-to-keep}' + build-timeout: 720 parameters: - opendaylight-infra-parameters: @@ -1328,10 +1899,6 @@ - integration-distribution-scm: branch: '{branch}' - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - triggers: - gerrit: server-name: '{gerrit-server-name}' @@ -1355,6 +1922,8 @@ builders: - integration-rebase-gerrit-patch - wipe-org-opendaylight-repo + - lf-update-java-alternatives: + java-version: '{java-version}' - maven-target: maven-version: mvn35 pom: '{project}/pom.xml' @@ -1368,7 +1937,7 @@ {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' + - '-Xmx4096m -Dmaven.compile.fork=true' settings: integration-settings settings-type: cfp global-settings: global-settings @@ -1384,7 +1953,7 @@ {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' + - '-Xmx1024m -Dmaven.compile.fork=true' settings: integration-settings settings-type: cfp global-settings: global-settings @@ -1396,6 +1965,9 @@ 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: @@ -1403,43 +1975,57 @@ email-recipients: '{email-recipients}' email-prefix: '[{project}]' -- job-template: - # yamllint disable-line rule:line-length - name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-apex-{openstack}-{functionality}-{stream}' - id: inttest-csit-apex - disabled: false - project-type: freestyle - node: centos7-robot-2c-8g - concurrent: true +##################### +# inttest-csit-apex # +##################### - properties: - - opendaylight-infra-properties: - build-days-to-keep: '{build-days-to-keep}' +- inttest_csit_apex: &inttest_csit_apex + name: inttest-csit-apex + + ##################### + # Default variables # + ##################### + + openstack-cloud: vex + openstack-heat-template: csit-apex-3-instance-type.yaml + openstack-heat-template-dir: openstack-hot + + ##################### + # 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}' + elasticsearch-attribute: '{elasticsearch-attribute}' + - integration-stack-3-type: + 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-distribution-branch: branch: '{branch}' - integration-distribution-stream: stream: '{stream}' - - integration-bundle-url: - bundle-url: '{bundle-url}' - - integration-repo-url: - repo-url: '{repo-url}' - - integration-controller-features: - controller-features: '{install-features}' - - integration-controller-debug-map: - controller-debug-map: '{debug-map}' - - integration-test-options: - test-options: '{robot-options}' - integration-test-plan: - test-plan: '{testplan}' + test-plan: '{project}-{functionality}.txt' - integration-test-suites: test-suites: '{test-suites}' - integration-patch-refspec: @@ -1448,8 +2034,6 @@ jdkversion: '{jre}' - distribution-karaf-version: karaf-version: '{karaf-version}' - - integration-use-features-boot: - use-features-boot: '{use-features-boot}' - string: name: OPENSTACK_BRANCH default: '{openstack-branch}' @@ -1485,26 +2069,15 @@ refspec: '$PATCHREFSPEC' branch: 'master' - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - 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-stack-3-type: + openstack-cloud: '{openstack-cloud}' + openstack-heat-template: '{openstack-heat-template}' + openstack-heat-template-dir: '{openstack-heat-template-dir}' - integration-install-robotframework - integration-detect-variables - integration-install-common-functions @@ -1517,13 +2090,98 @@ - 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-run-postscript - - releng-openstack-stack-delete + - integration-csit-publish: + robot_other_files: + - tempest_results.html + robot-pass-threshold: 100.0 + robot-unstable-threshold: 0.0 + - lf-stack-delete: + openstack-cloud: '{openstack-cloud}' - 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}' + elasticsearch-attribute: '{elasticsearch-attribute}' + - integration-stack-3-type: + 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-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.'