X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Ffunctest%2Ffunctest.yaml;h=c92e70d94c33e26d7b671d834bf8aafdd97d86d7;hb=a78697d4c2304ee4dcc56f3d8580a02d27dc00e1;hp=9792950b7bed1d18b7f82e7ccb4d1dc5f183e578;hpb=77cefc74573b40f7c3125a3738bc931b10573323;p=releng.git diff --git a/jjb/functest/functest.yaml b/jjb/functest/functest.yaml index 9792950b7..c92e70d94 100644 --- a/jjb/functest/functest.yaml +++ b/jjb/functest/functest.yaml @@ -10,17 +10,20 @@ tag: - latest: branch: master + slave: lf-virtual9 - iruya: branch: stable/iruya + slave: lf-virtual4 - hunter: branch: stable/hunter + slave: lf-virtual6 - parameter: name: functest-slave parameters: - label: name: slave - default: functest-virtual + default: '{slave}' - parameter: name: functest-branch @@ -96,11 +99,19 @@ else image={repo}:{port}/{container}:{tag} fi + if [ "{tag}" = "latest" ]; then + py=3.6 + else + py=2.7 + fi sudo docker run --rm \ -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \ + -e DEBUG=True \ -e EXTERNAL_NETWORK=public \ -v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \ -v /home/opnfv/functest/images:/home/opnfv/functest/images \ + -v /home/opnfv/functest/blacklist.yaml:/usr/lib/python$py/\ + site-packages/functest/opnfv_tests/openstack/rally/blacklist.yaml \ $image run_tests -t {test} res=$? gsutil -m cp -r $WORKSPACE/ \ @@ -136,7 +147,8 @@ - job-template: name: 'functest-{repo}-{container}-{tag}-pull' parameters: - - functest-slave + - functest-slave: + slave: '{slave}' builders: - functest-pull-containers: <<: *functest-containers @@ -179,7 +191,8 @@ - job-template: name: 'functest-{repo}-{container}-{tag}-rmi' parameters: - - functest-slave + - functest-slave: + slave: '{slave}' builders: - functest-remove-images: <<: *functest-containers @@ -222,7 +235,8 @@ - job-template: name: 'functest-{repo}-{container}-{tag}-{test}-run' parameters: - - functest-slave + - functest-slave: + slave: '{slave}' builders: - functest-run-containers: <<: *functest-run-containers @@ -255,6 +269,9 @@ - neutron-tempest-plugin-api - rally_sanity - refstack_defcore + - refstack_compute + - refstack_object + - refstack_platform - tempest_full - tempest_scenario - patrole @@ -262,6 +279,17 @@ - networking-bgpvpn - networking-sfc - barbican + exclude: + - tag: latest + test: refstack_defcore + - tag: iruya + test: refstack_defcore + - tag: hunter + test: refstack_compute + - tag: hunter + test: refstack_object + - tag: hunter + test: refstack_platform jobs: - 'functest-{repo}-{container}-{tag}-{test}-run' @@ -309,13 +337,14 @@ triggers: - timed: '@daily' parameters: - - functest-slave + - functest-slave: + slave: '{slave}' properties: - build-blocker: use-build-blocker: true blocking-level: 'NODE' blocking-jobs: - - '^(functest|functest-kubernetes)-[a-z]+-(daily|check|gate)$' + - '^functest-{tag}-(daily|check|gate)$' builders: - multijob: name: remove former images @@ -345,6 +374,8 @@ <<: *functest-jobs - multijob: name: opnfv/functest-healthcheck:{tag} + execution-type: PARALLEL + condition: ALWAYS projects: - name: 'functest-opnfv-functest-healthcheck-{tag}-connection_check-run' <<: *functest-jobs @@ -372,6 +403,8 @@ <<: *functest-jobs - multijob: name: opnfv/functest-smoke:{tag} + execution-type: PARALLEL + condition: SUCCESSFUL projects: - name: 'functest-opnfv-functest-smoke-{tag}-neutron-tempest-plugin-api-run' <<: *functest-jobs @@ -379,6 +412,12 @@ <<: *functest-jobs - name: 'functest-opnfv-functest-smoke-{tag}-refstack_defcore-run' <<: *functest-jobs + - name: 'functest-opnfv-functest-smoke-{tag}-refstack_compute-run' + <<: *functest-jobs + - name: 'functest-opnfv-functest-smoke-{tag}-refstack_object-run' + <<: *functest-jobs + - name: 'functest-opnfv-functest-smoke-{tag}-refstack_platform-run' + <<: *functest-jobs - name: 'functest-opnfv-functest-smoke-{tag}-tempest_full-run' <<: *functest-jobs - name: 'functest-opnfv-functest-smoke-{tag}-tempest_scenario-run' @@ -395,6 +434,8 @@ <<: *functest-jobs - multijob: name: opnfv/functest-benchmarking:{tag} + execution-type: PARALLEL + condition: ALWAYS projects: - name: 'functest-opnfv-functest-benchmarking-{tag}-rally_full-run' <<: *functest-jobs @@ -407,6 +448,7 @@ - multijob: name: opnfv/functest-vnf:{tag} execution-type: SEQUENTIALLY + condition: ALWAYS projects: - name: 'functest-opnfv-functest-vnf-{tag}-cloudify-run' <<: *functest-jobs @@ -420,6 +462,8 @@ <<: *functest-jobs - multijob: name: opnfv/functest-features:{tag} + execution-type: PARALLEL + condition: ALWAYS projects: - name: 'functest-opnfv-functest-features-{tag}-doctor-notification-run' <<: *functest-jobs @@ -435,7 +479,8 @@ - job-template: name: 'functest-{repo}-{container}-{tag}-gate' parameters: - - functest-slave + - functest-slave: + slave: '{slave}' scm: - functest-scm: ref: $GERRIT_REFSPEC @@ -447,7 +492,8 @@ - job-template: name: 'functest-{repo}-{container}-{tag}-check' parameters: - - functest-slave + - functest-slave: + slave: '{slave}' - functest-branch: branch: '{branch}' scm: @@ -464,6 +510,7 @@ port: container: alpine tag: 3.9 + slave: master jobs: - 'functest-{repo}-{container}-{tag}-rmi' @@ -473,6 +520,7 @@ port: container: alpine tag: 3.9 + slave: master jobs: - 'functest-{repo}-{container}-{tag}-pull' @@ -550,7 +598,8 @@ name: 'functest-{tag}-check' project-type: multijob parameters: - - functest-slave + - functest-slave: + slave: '{slave}' - functest-branch: branch: '{branch}' properties: @@ -558,7 +607,7 @@ use-build-blocker: true blocking-level: 'NODE' blocking-jobs: - - '^(functest|functest-kubernetes)-[a-z]+-(daily|check|gate)$' + - '^functest-{tag}-(daily|check|gate)$' builders: - multijob: name: remove former images @@ -608,6 +657,8 @@ <<: *functest-jobs - multijob: name: opnfv/functest-healthcheck:{tag} + execution-type: PARALLEL + condition: ALWAYS projects: - name: 'functest-opnfv-functest-healthcheck-{tag}-connection_check-run' <<: *functest-jobs @@ -635,6 +686,8 @@ <<: *functest-jobs - multijob: name: opnfv/functest-smoke:{tag} + execution-type: PARALLEL + condition: SUCCESSFUL projects: - name: 'functest-opnfv-functest-smoke-{tag}-neutron-tempest-plugin-api-run' <<: *functest-jobs @@ -642,6 +695,12 @@ <<: *functest-jobs - name: 'functest-opnfv-functest-smoke-{tag}-refstack_defcore-run' <<: *functest-jobs + - name: 'functest-opnfv-functest-smoke-{tag}-refstack_compute-run' + <<: *functest-jobs + - name: 'functest-opnfv-functest-smoke-{tag}-refstack_object-run' + <<: *functest-jobs + - name: 'functest-opnfv-functest-smoke-{tag}-refstack_platform-run' + <<: *functest-jobs - name: 'functest-opnfv-functest-smoke-{tag}-tempest_full-run' <<: *functest-jobs - name: 'functest-opnfv-functest-smoke-{tag}-tempest_scenario-run' @@ -658,6 +717,8 @@ <<: *functest-jobs - multijob: name: opnfv/functest-benchmarking:{tag} + execution-type: PARALLEL + condition: ALWAYS projects: - name: 'functest-opnfv-functest-benchmarking-{tag}-rally_full-run' <<: *functest-jobs @@ -670,6 +731,7 @@ - multijob: name: opnfv/functest-vnf:{tag} execution-type: SEQUENTIALLY + condition: ALWAYS projects: - name: 'functest-opnfv-functest-vnf-{tag}-cloudify-run' <<: *functest-jobs @@ -683,6 +745,8 @@ <<: *functest-jobs - multijob: name: opnfv/functest-features:{tag} + execution-type: PARALLEL + condition: ALWAYS projects: - name: 'functest-opnfv-functest-features-{tag}-doctor-notification-run' <<: *functest-jobs @@ -725,13 +789,14 @@ - functest-patchset-created: branch: '{branch}' parameters: - - functest-slave + - functest-slave: + slave: '{slave}' properties: - build-blocker: use-build-blocker: true blocking-level: 'NODE' blocking-jobs: - - '^(functest|functest-kubernetes)-[a-z]+-(daily|check|gate)$' + - '^functest-{tag}-(daily|check|gate)$' builders: - multijob: name: remove former images @@ -781,6 +846,8 @@ <<: *functest-jobs - multijob: name: opnfv/functest-healthcheck:{tag} + execution-type: PARALLEL + condition: ALWAYS projects: - name: 'functest-opnfv-functest-healthcheck-{tag}-connection_check-run' <<: *functest-jobs @@ -808,6 +875,8 @@ <<: *functest-jobs - multijob: name: opnfv/functest-smoke:{tag} + execution-type: PARALLEL + condition: SUCCESSFUL projects: - name: 'functest-opnfv-functest-smoke-{tag}-neutron-tempest-plugin-api-run' <<: *functest-jobs @@ -815,6 +884,12 @@ <<: *functest-jobs - name: 'functest-opnfv-functest-smoke-{tag}-refstack_defcore-run' <<: *functest-jobs + - name: 'functest-opnfv-functest-smoke-{tag}-refstack_compute-run' + <<: *functest-jobs + - name: 'functest-opnfv-functest-smoke-{tag}-refstack_object-run' + <<: *functest-jobs + - name: 'functest-opnfv-functest-smoke-{tag}-refstack_platform-run' + <<: *functest-jobs - name: 'functest-opnfv-functest-smoke-{tag}-tempest_full-run' <<: *functest-jobs - name: 'functest-opnfv-functest-smoke-{tag}-tempest_scenario-run' @@ -831,6 +906,8 @@ <<: *functest-jobs - multijob: name: opnfv/functest-benchmarking:{tag} + execution-type: PARALLEL + condition: ALWAYS projects: - name: 'functest-opnfv-functest-benchmarking-{tag}-rally_full-run' <<: *functest-jobs @@ -843,6 +920,7 @@ - multijob: name: opnfv/functest-vnf:{tag} execution-type: SEQUENTIALLY + condition: ALWAYS projects: - name: 'functest-opnfv-functest-vnf-{tag}-cloudify-run' <<: *functest-jobs @@ -856,6 +934,8 @@ <<: *functest-jobs - multijob: name: opnfv/functest-features:{tag} + execution-type: PARALLEL + condition: ALWAYS projects: - name: 'functest-opnfv-functest-features-{tag}-doctor-notification-run' <<: *functest-jobs