diff options
Diffstat (limited to 'jjb/functest')
-rwxr-xr-x | jjb/functest/functest-alpine.sh | 20 | ||||
-rw-r--r-- | jjb/functest/functest-daily-jobs.yaml | 26 | ||||
-rw-r--r-- | jjb/functest/functest-docker.yaml | 3 | ||||
-rw-r--r-- | jjb/functest/functest-kubernetes-docker.yaml | 3 | ||||
-rw-r--r-- | jjb/functest/functest-kubernetes-project-jobs.yaml | 4 | ||||
-rw-r--r-- | jjb/functest/functest-kubernetes.yaml | 51 | ||||
-rw-r--r-- | jjb/functest/functest-project-jobs.yaml | 4 | ||||
-rw-r--r-- | jjb/functest/functest-rtd-jobs.yaml | 5 | ||||
-rw-r--r-- | jjb/functest/functest.yaml | 47 | ||||
-rw-r--r-- | jjb/functest/xtesting-docker.yaml | 3 | ||||
-rw-r--r-- | jjb/functest/xtesting-project-jobs.yaml | 4 |
11 files changed, 98 insertions, 72 deletions
diff --git a/jjb/functest/functest-alpine.sh b/jjb/functest/functest-alpine.sh index 4f3c9ef98..37189f84a 100755 --- a/jjb/functest/functest-alpine.sh +++ b/jjb/functest/functest-alpine.sh @@ -114,7 +114,7 @@ if [ "${INSTALLER_TYPE}" == 'fuel' ]; then COMPUTE_ARCH=$(ssh -l ubuntu ${INSTALLER_IP} -i ${SSH_KEY} ${ssh_options} \ "sudo salt 'cmp*' grains.get cpuarch --out yaml | awk '{print \$2; exit}'") IMAGE_PROPERTIES="hw_disk_bus:scsi,hw_scsi_model:virtio-scsi" - envs="${envs} -e POD_ARCH=${COMPUTE_ARCH}" + envs="${envs} -e POD_ARCH=${COMPUTE_ARCH} -e BLOCK_MIGRATION=false" fi if [[ ${INSTALLER_TYPE} == 'fuel' && ${DEPLOY_SCENARIO} == 'os-nosdn-nofeature-noha' ]]; then @@ -243,12 +243,6 @@ compute: max_microversion: 2.65 EOF ;; -stable/gambia) - cat << EOF >> "${tempest_conf_yaml}" -compute: - max_microversion: 2.60 -EOF - ;; esac echo "tempest_conf.yaml:" && cat "${tempest_conf_yaml}" @@ -302,17 +296,9 @@ else tests=() skip_tests=0 if [ "${HOST_ARCH}" != "aarch64" ]; then - if [[ ${BRANCH} == "stable/gambia" ]]; then - tiers=(healthcheck smoke benchmarking features vnf components) - else - tiers=(healthcheck smoke benchmarking features vnf) - fi + tiers=(healthcheck smoke benchmarking features vnf) else - if [[ ${BRANCH} == "stable/gambia" ]]; then - tiers=(healthcheck smoke benchmarking features components) - else - tiers=(healthcheck smoke benchmarking features) - fi + tiers=(healthcheck smoke benchmarking features) fi run_tiers ${tiers} if [ ${skip_tests} -eq 0 ]; then diff --git a/jjb/functest/functest-daily-jobs.yaml b/jjb/functest/functest-daily-jobs.yaml index 1a94d5140..e1f15fd93 100644 --- a/jjb/functest/functest-daily-jobs.yaml +++ b/jjb/functest/functest-daily-jobs.yaml @@ -14,8 +14,8 @@ stream: master branch: '{stream}' gs-pathname: '' - gambia: &gambia - stream: gambia + iruya: &iruya + stream: iruya branch: 'stable/{stream}' gs-pathname: '/{stream}' hunter: &hunter @@ -48,15 +48,6 @@ slave-label: fuel-virtual installer: fuel <<: *hunter - # compass CI PODs - - baremetal: - slave-label: compass-baremetal - installer: compass - <<: *gambia - - virtual: - slave-label: compass-virtual - installer: compass - <<: *gambia # apex CI PODs - virtual: slave-label: apex-virtual-master @@ -69,11 +60,11 @@ - virtual: slave-label: apex-virtual-master installer: apex - <<: *gambia + <<: *hunter - baremetal: slave-label: apex-baremetal-master installer: apex - <<: *gambia + <<: *hunter # armband CI PODs - armband-baremetal: slave-label: armband-baremetal @@ -83,6 +74,15 @@ slave-label: armband-baremetal installer: fuel <<: *hunter + # fuel NONE CI PODs + - zte-pod1: + slave-label: fuel-baremetal + installer: fuel + <<: *master + - itri-pod1: + slave-label: fuel-baremetal + installer: fuel + <<: *master testsuite: - 'suite': diff --git a/jjb/functest/functest-docker.yaml b/jjb/functest/functest-docker.yaml index 328ef7c6c..561296000 100644 --- a/jjb/functest/functest-docker.yaml +++ b/jjb/functest/functest-docker.yaml @@ -18,9 +18,6 @@ - hunter: branch: 'stable/{stream}' disabled: false - - gambia: - branch: 'stable/{stream}' - disabled: false arch_tag: - 'amd64': diff --git a/jjb/functest/functest-kubernetes-docker.yaml b/jjb/functest/functest-kubernetes-docker.yaml index c70aae35b..c8c55e742 100644 --- a/jjb/functest/functest-kubernetes-docker.yaml +++ b/jjb/functest/functest-kubernetes-docker.yaml @@ -18,9 +18,6 @@ - hunter: branch: 'stable/{stream}' disabled: false - - gambia: - branch: 'stable/{stream}' - disabled: false arch_tag: - 'amd64': diff --git a/jjb/functest/functest-kubernetes-project-jobs.yaml b/jjb/functest/functest-kubernetes-project-jobs.yaml index 161469bce..178df6a9e 100644 --- a/jjb/functest/functest-kubernetes-project-jobs.yaml +++ b/jjb/functest/functest-kubernetes-project-jobs.yaml @@ -25,10 +25,6 @@ branch: 'stable/{stream}' gs-pathname: '/{stream}' disabled: false - - gambia: &gambia - branch: 'stable/{stream}' - gs-pathname: '/{stream}' - disabled: false phase: - 'unit-tests-and-docs': diff --git a/jjb/functest/functest-kubernetes.yaml b/jjb/functest/functest-kubernetes.yaml index 628b06ee3..5bfa71760 100644 --- a/jjb/functest/functest-kubernetes.yaml +++ b/jjb/functest/functest-kubernetes.yaml @@ -8,17 +8,22 @@ repo: 'opnfv' port: tag: + - latest: + branch: master + slave: lf-virtual8 - iruya: branch: stable/iruya + slave: lf-virtual7 - hunter: branch: stable/hunter + slave: lf-virtual5 - parameter: name: functest-kubernetes-slave parameters: - label: name: slave - default: functest-virtual + default: '{slave}' - parameter: name: functest-kubernetes-branch @@ -57,7 +62,7 @@ else image={repo}:{port}/{container}:{tag} fi - sudo docker pull $image + docker pull $image - builder: name: functest-kubernetes-build-containers @@ -77,7 +82,7 @@ build_arg="--build-arg {ref_arg}={ref}" fi cd {path} - sudo docker build $build_arg \ + docker build $build_arg \ --pull=false --no-cache --force-rm=true \ -t $image . @@ -86,7 +91,7 @@ builders: - shell: | set +ex - [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true + [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true if [ "{repo}" = "_" ]; then image={container}:{tag} elif [ "{port}" = "None" ]; then @@ -94,10 +99,10 @@ else image={repo}:{port}/{container}:{tag} fi - sudo docker run --rm \ + docker run --rm \ -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \ -e DEPLOY_SCENARIO=k8-nosdn-nofeature-noha \ - -v /home/opnfv/functest-kubernetes/config:/root/.kube/config \ + -v /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config \ $image run_tests -t {test} res=$? gsutil -m cp -r $WORKSPACE/ \ @@ -119,7 +124,7 @@ else image={repo}:{port}/{container}:{tag} fi - sudo docker rmi $image || true + docker rmi $image || true - scm: name: functest-kubernetes-scm @@ -133,7 +138,8 @@ - job-template: name: 'functest-kubernetes-{repo}-{container}-{tag}-pull' parameters: - - functest-kubernetes-slave + - functest-kubernetes-slave: + slave: '{slave}' builders: - functest-kubernetes-pull-containers: <<: *functest-kubernetes-containers @@ -162,7 +168,8 @@ - job-template: name: 'functest-kubernetes-{repo}-{container}-{tag}-rmi' parameters: - - functest-kubernetes-slave + - functest-kubernetes-slave: + slave: '{slave}' builders: - functest-kubernetes-remove-images: <<: *functest-kubernetes-containers @@ -191,7 +198,8 @@ - job-template: name: 'functest-kubernetes-{repo}-{container}-{tag}-{test}-run' parameters: - - functest-kubernetes-slave + - functest-kubernetes-slave: + slave: '{slave}' builders: - functest-kubernetes-run-containers: <<: *functest-kubernetes-run-containers @@ -230,13 +238,14 @@ triggers: - timed: '@daily' parameters: - - functest-kubernetes-slave + - functest-kubernetes-slave: + slave: '{slave}' properties: - build-blocker: use-build-blocker: true blocking-level: 'NODE' blocking-jobs: - - '^(functest|functest-kubernetes)-[a-z]+-(daily|check|gate)$' + - '^functest-kubernetes-{tag}-(daily|check|gate)$' builders: - multijob: name: remove former images @@ -277,7 +286,8 @@ - job-template: name: 'functest-kubernetes-{repo}-{container}-{tag}-gate' parameters: - - functest-kubernetes-slave + - functest-kubernetes-slave: + slave: '{slave}' scm: - functest-kubernetes-scm: ref: $GERRIT_REFSPEC @@ -289,7 +299,8 @@ - job-template: name: 'functest-kubernetes-{repo}-{container}-{tag}-check' parameters: - - functest-kubernetes-slave + - functest-kubernetes-slave: + slave: '{slave}' - functest-kubernetes-branch: branch: '{branch}' scm: @@ -306,6 +317,7 @@ port: container: golang tag: alpine3.9 + slave: master jobs: - 'functest-kubernetes-{repo}-{container}-{tag}-rmi' @@ -315,6 +327,7 @@ port: container: golang tag: alpine3.9 + slave: master jobs: - 'functest-kubernetes-{repo}-{container}-{tag}-pull' @@ -362,7 +375,8 @@ name: 'functest-kubernetes-{tag}-check' project-type: multijob parameters: - - functest-kubernetes-slave + - functest-kubernetes-slave: + slave: '{slave}' - functest-kubernetes-branch: branch: '{branch}' properties: @@ -370,7 +384,7 @@ use-build-blocker: true blocking-level: 'NODE' blocking-jobs: - - '^(functest|functest-kubernetes)-[a-z]+-(daily|check|gate)$' + - '^functest-kubernetes-{tag}-(daily|check|gate)$' builders: - multijob: name: remove former images @@ -456,13 +470,14 @@ - functest-kubernetes-patchset-created: branch: '{branch}' parameters: - - functest-kubernetes-slave + - functest-kubernetes-slave: + slave: '{slave}' properties: - build-blocker: use-build-blocker: true blocking-level: 'NODE' blocking-jobs: - - '^(functest|functest-kubernetes)-[a-z]+-(daily|check|gate)$' + - '^functest-kubernetes-{tag}-(daily|check|gate)$' builders: - multijob: name: remove former images diff --git a/jjb/functest/functest-project-jobs.yaml b/jjb/functest/functest-project-jobs.yaml index 405202ecd..69df265dc 100644 --- a/jjb/functest/functest-project-jobs.yaml +++ b/jjb/functest/functest-project-jobs.yaml @@ -25,10 +25,6 @@ branch: 'stable/{stream}' gs-pathname: '' disabled: false - - gambia: - branch: 'stable/{stream}' - gs-pathname: '' - disabled: false phase: - 'unit-tests-and-docs': diff --git a/jjb/functest/functest-rtd-jobs.yaml b/jjb/functest/functest-rtd-jobs.yaml index 785bd3543..8d20dd20e 100644 --- a/jjb/functest/functest-rtd-jobs.yaml +++ b/jjb/functest/functest-rtd-jobs.yaml @@ -13,7 +13,10 @@ - master: branch: '{stream}' disabled: false - - gambia: + - iruya: + branch: 'stable/{stream}' + disabled: false + - hunter: branch: 'stable/{stream}' disabled: false diff --git a/jjb/functest/functest.yaml b/jjb/functest/functest.yaml index 074ad737b..41b0f71e2 100644 --- a/jjb/functest/functest.yaml +++ b/jjb/functest/functest.yaml @@ -99,15 +99,21 @@ 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/python2.7/\ + -v /home/opnfv/functest/blacklist.yaml:/usr/lib/python$py/\ site-packages/functest/opnfv_tests/openstack/rally/blacklist.yaml \ + -v /home/opnfv/functest/tempest_blacklist.yaml:/usr/lib/python$py/\ + site-packages/functest/opnfv_tests/openstack/tempest/custom_tests/blacklist.yaml \ $image run_tests -t {test} res=$? gsutil -m cp -r $WORKSPACE/ \ @@ -265,6 +271,9 @@ - neutron-tempest-plugin-api - rally_sanity - refstack_defcore + - refstack_compute + - refstack_object + - refstack_platform - tempest_full - tempest_scenario - patrole @@ -272,6 +281,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' @@ -284,6 +304,11 @@ - rally_jobs - vmtp - shaker + exclude: + - tag: latest + test: rally_full + - tag: latest + test: rally_jobs jobs: - 'functest-{repo}-{container}-{tag}-{test}-run' @@ -390,6 +415,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 +689,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' @@ -832,6 +869,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' diff --git a/jjb/functest/xtesting-docker.yaml b/jjb/functest/xtesting-docker.yaml index 4847bbd9c..510a55ea3 100644 --- a/jjb/functest/xtesting-docker.yaml +++ b/jjb/functest/xtesting-docker.yaml @@ -18,9 +18,6 @@ - hunter: branch: 'stable/{stream}' disabled: false - - gambia: - branch: 'stable/{stream}' - disabled: false arch_tag: - 'amd64': diff --git a/jjb/functest/xtesting-project-jobs.yaml b/jjb/functest/xtesting-project-jobs.yaml index 830740151..39e73b719 100644 --- a/jjb/functest/xtesting-project-jobs.yaml +++ b/jjb/functest/xtesting-project-jobs.yaml @@ -25,10 +25,6 @@ branch: 'stable/{stream}' gs-pathname: '/{stream}' disabled: false - - gambia: &gambia - branch: 'stable/{stream}' - gs-pathname: '/{stream}' - disabled: false phase: - 'unit-tests-and-docs': |