X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Ffunctest%2Ffunctest.yaml;h=c92e70d94c33e26d7b671d834bf8aafdd97d86d7;hb=a78697d4c2304ee4dcc56f3d8580a02d27dc00e1;hp=ba92ef7afb447575f65f2eb08d4ea0e5639f5da5;hpb=ee38f2973bb4e3e1c62b733ab640c606dab6aa60;p=releng.git diff --git a/jjb/functest/functest.yaml b/jjb/functest/functest.yaml index ba92ef7af..c92e70d94 100644 --- a/jjb/functest/functest.yaml +++ b/jjb/functest/functest.yaml @@ -90,8 +90,7 @@ name: functest-run-containers builders: - shell: | - set +e - set -x + set +ex [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true if [ "{repo}" = "_" ]; then image={container}:{tag} @@ -100,17 +99,23 @@ 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 \ - -e DEBUG=true \ -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 -D -m cp -r $WORKSPACE/ \ - gs://artifacts.opnfv.org/functest/$JOB_NAME-$BUILD_ID + gsutil -m cp -r $WORKSPACE/ \ + gs://artifacts.opnfv.org/functest/$JOB_NAME-$BUILD_ID > /dev/null 2>&1 find $WORKSPACE -type f \ -printf \ "http://artifacts.opnfv.org/functest/$JOB_NAME-$BUILD_ID/%P\n" @@ -264,6 +269,9 @@ - neutron-tempest-plugin-api - rally_sanity - refstack_defcore + - refstack_compute + - refstack_object + - refstack_platform - tempest_full - tempest_scenario - patrole @@ -271,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' @@ -355,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 @@ -382,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 @@ -389,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' @@ -405,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 @@ -417,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 @@ -430,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 @@ -623,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 @@ -650,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 @@ -657,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' @@ -673,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 @@ -685,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 @@ -698,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 @@ -797,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 @@ -824,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 @@ -831,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' @@ -847,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 @@ -859,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 @@ -872,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