X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=inline;f=jjb%2Ffunctest%2Fxtesting.yaml;h=0c3d3bcf8509a3404db5d592e0f155a435a7ece2;hb=3de3c2d466fc6dc50b5f0f9ca2b4300eed4259b2;hp=267514a24f7121244331b91f1f834c56a30926ff;hpb=862d3b992eca9cb831abb8f971801cb1c8c7c13f;p=releng.git diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml index 267514a24..0c3d3bcf8 100644 --- a/jjb/functest/xtesting.yaml +++ b/jjb/functest/xtesting.yaml @@ -10,17 +10,20 @@ tag: - latest: branch: master + slave: lf-build2 + - iruya: + branch: stable/iruya + slave: lf-build2 - hunter: branch: stable/hunter - - gambia: - branch: stable/gambia + slave: lf-build2 - parameter: name: xtesting-slave parameters: - label: name: slave - default: lf-build2 + default: '{slave}' - parameter: name: xtesting-branch @@ -98,6 +101,7 @@ fi sudo docker run --rm \ -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \ + -e DEBUG=true \ $image run_tests -t {test} res=$? gsutil -m cp -r $WORKSPACE/ \ @@ -131,45 +135,48 @@ - '{ref}' - job-template: - name: '{repo}-{container}-{tag}-pull' + name: 'xtesting-{repo}-{container}-{tag}-pull' parameters: - - xtesting-slave + - xtesting-slave: + slave: '{slave}' builders: - xtesting-pull-containers: <<: *xtesting-containers - project: - name: 'opnfv-xtesting-pull' + name: 'xtesting-opnfv-xtesting-pull' <<: *xtesting-params container: 'xtesting' jobs: - - '{repo}-{container}-{tag}-pull' + - 'xtesting-{repo}-{container}-{tag}-pull' - job-template: - name: '{repo}-{container}-{tag}-rmi' + name: 'xtesting-{repo}-{container}-{tag}-rmi' parameters: - - xtesting-slave + - xtesting-slave: + slave: '{slave}' builders: - xtesting-remove-images: <<: *xtesting-containers - project: - name: 'opnfv-xtesting-rmi' + name: 'xtesting-opnfv-xtesting-rmi' <<: *xtesting-params container: 'xtesting' jobs: - - '{repo}-{container}-{tag}-rmi' + - 'xtesting-{repo}-{container}-{tag}-rmi' - job-template: - name: '{repo}-{container}-{tag}-{test}-run' + name: 'xtesting-{repo}-{container}-{tag}-{test}-run' parameters: - - xtesting-slave + - xtesting-slave: + slave: '{slave}' builders: - xtesting-run-containers: <<: *xtesting-run-containers - project: - name: 'opnfv-xtesting' + name: 'xtesting-opnfv-xtesting' <<: *xtesting-params container: 'xtesting' test: @@ -178,8 +185,9 @@ - third - fourth - fifth + - sixth jobs: - - '{repo}-{container}-{tag}-{test}-run' + - 'xtesting-{repo}-{container}-{tag}-{test}-run' - job-template: name: 'xtesting-{tag}-daily' @@ -187,42 +195,46 @@ triggers: - timed: '@daily' parameters: - - xtesting-slave + - xtesting-slave: + slave: '{slave}' properties: - build-blocker: use-build-blocker: true blocking-level: 'NODE' blocking-jobs: - - '^xtesting-.*-(daily|check|gate)$' + - '^xtesting-{tag}-(daily|check|gate)$' builders: - multijob: name: remove former images projects: - - name: 'opnfv-xtesting-{tag}-rmi' + - name: 'xtesting-opnfv-xtesting-{tag}-rmi' <<: *xtesting-jobs - multijob: name: pull containers projects: - - name: 'opnfv-xtesting-{tag}-pull' + - name: 'xtesting-opnfv-xtesting-{tag}-pull' <<: *xtesting-jobs - multijob: name: opnfv/xtesting:{tag} projects: - - name: 'opnfv-xtesting-{tag}-first-run' + - name: 'xtesting-opnfv-xtesting-{tag}-first-run' <<: *xtesting-jobs - - name: 'opnfv-xtesting-{tag}-second-run' + - name: 'xtesting-opnfv-xtesting-{tag}-second-run' <<: *xtesting-jobs - - name: 'opnfv-xtesting-{tag}-third-run' + - name: 'xtesting-opnfv-xtesting-{tag}-third-run' <<: *xtesting-jobs - - name: 'opnfv-xtesting-{tag}-fourth-run' + - name: 'xtesting-opnfv-xtesting-{tag}-fourth-run' <<: *xtesting-jobs - - name: 'opnfv-xtesting-{tag}-fifth-run' + - name: 'xtesting-opnfv-xtesting-{tag}-fifth-run' + <<: *xtesting-jobs + - name: 'xtesting-opnfv-xtesting-{tag}-sixth-run' <<: *xtesting-jobs - job-template: - name: '{repo}-{container}-{tag}-gate' + name: 'xtesting-{repo}-{container}-{tag}-gate' parameters: - - xtesting-slave + - xtesting-slave: + slave: '{slave}' scm: - xtesting-scm: ref: $GERRIT_REFSPEC @@ -232,9 +244,10 @@ ref: $GERRIT_REFSPEC - job-template: - name: '{repo}-{container}-{tag}-check' + name: 'xtesting-{repo}-{container}-{tag}-check' parameters: - - xtesting-slave + - xtesting-slave: + slave: '{slave}' - xtesting-branch: branch: '{branch}' scm: @@ -246,38 +259,41 @@ ref: $branch - project: - name: '_-alpine-3.8-rmi' + name: 'xtesting-_-alpine-3.9-rmi' repo: _ port: container: alpine - tag: 3.8 + tag: 3.9 + slave: master jobs: - - '{repo}-{container}-{tag}-rmi' + - 'xtesting-{repo}-{container}-{tag}-rmi' - project: - name: '_-alpine-3.8-pull' + name: 'xtesting-_-alpine-3.9-pull' repo: _ port: container: alpine - tag: 3.8 + tag: 3.9 + slave: master jobs: - - '{repo}-{container}-{tag}-pull' + - 'xtesting-{repo}-{container}-{tag}-pull' - project: - name: opnfv-xtesting-{tag}-build + name: xtesting-opnfv-xtesting-{tag}-build <<: *xtesting-params container: xtesting ref_arg: BRANCH path: docker jobs: - - '{repo}-{container}-{tag}-gate' - - '{repo}-{container}-{tag}-check' + - 'xtesting-{repo}-{container}-{tag}-gate' + - 'xtesting-{repo}-{container}-{tag}-check' - job-template: name: 'xtesting-{tag}-check' project-type: multijob parameters: - - xtesting-slave + - xtesting-slave: + slave: '{slave}' - xtesting-branch: branch: '{branch}' properties: @@ -285,40 +301,42 @@ use-build-blocker: true blocking-level: 'NODE' blocking-jobs: - - '^xtesting-.*-(daily|check|gate)$' + - '^xtesting-{tag}-(daily|check|gate)$' builders: - multijob: name: remove former images projects: - - name: 'opnfv-xtesting-{tag}-rmi' + - name: 'xtesting-opnfv-xtesting-{tag}-rmi' <<: *xtesting-jobs - multijob: name: remove dependencies projects: - - name: '_-alpine-3.8-rmi' + - name: 'xtesting-_-alpine-3.9-rmi' <<: *xtesting-jobs - multijob: name: pull dependencies projects: - - name: '_-alpine-3.8-pull' + - name: 'xtesting-_-alpine-3.9-pull' <<: *xtesting-jobs - multijob: - name: opnfv/functest-xtesting + name: opnfv/xtesting projects: - - name: 'opnfv-xtesting-{tag}-check' + - name: 'xtesting-opnfv-xtesting-{tag}-check' <<: *xtesting-jobs - multijob: name: opnfv/xtesting:{tag} projects: - - name: 'opnfv-xtesting-{tag}-first-run' + - name: 'xtesting-opnfv-xtesting-{tag}-first-run' + <<: *xtesting-jobs + - name: 'xtesting-opnfv-xtesting-{tag}-second-run' <<: *xtesting-jobs - - name: 'opnfv-xtesting-{tag}-second-run' + - name: 'xtesting-opnfv-xtesting-{tag}-third-run' <<: *xtesting-jobs - - name: 'opnfv-xtesting-{tag}-third-run' + - name: 'xtesting-opnfv-xtesting-{tag}-fourth-run' <<: *xtesting-jobs - - name: 'opnfv-xtesting-{tag}-fourth-run' + - name: 'xtesting-opnfv-xtesting-{tag}-fifth-run' <<: *xtesting-jobs - - name: 'opnfv-xtesting-{tag}-fifth-run' + - name: 'xtesting-opnfv-xtesting-{tag}-sixth-run' <<: *xtesting-jobs - trigger: @@ -351,46 +369,49 @@ - xtesting-patchset-created: branch: '{branch}' parameters: - - xtesting-slave + - xtesting-slave: + slave: '{slave}' properties: - build-blocker: use-build-blocker: true blocking-level: 'NODE' blocking-jobs: - - '^xtesting-.*-(daily|check|gate)$' + - '^xtesting-{tag}-(daily|check|gate)$' builders: - multijob: name: remove former images projects: - - name: 'opnfv-xtesting-{tag}-rmi' + - name: 'xtesting-opnfv-xtesting-{tag}-rmi' <<: *xtesting-jobs - multijob: name: remove dependencies projects: - - name: '_-alpine-3.8-rmi' + - name: 'xtesting-_-alpine-3.9-rmi' <<: *xtesting-jobs - multijob: name: pull dependencies projects: - - name: '_-alpine-3.8-pull' + - name: 'xtesting-_-alpine-3.9-pull' <<: *xtesting-jobs - multijob: - name: opnfv/functest-xtesting + name: opnfv/xtesting projects: - - name: 'opnfv-xtesting-{tag}-gate' + - name: 'xtesting-opnfv-xtesting-{tag}-gate' <<: *xtesting-jobs - multijob: name: opnfv/xtesting:{tag} projects: - - name: 'opnfv-xtesting-{tag}-first-run' + - name: 'xtesting-opnfv-xtesting-{tag}-first-run' + <<: *xtesting-jobs + - name: 'xtesting-opnfv-xtesting-{tag}-second-run' <<: *xtesting-jobs - - name: 'opnfv-xtesting-{tag}-second-run' + - name: 'xtesting-opnfv-xtesting-{tag}-third-run' <<: *xtesting-jobs - - name: 'opnfv-xtesting-{tag}-third-run' + - name: 'xtesting-opnfv-xtesting-{tag}-fourth-run' <<: *xtesting-jobs - - name: 'opnfv-xtesting-{tag}-fourth-run' + - name: 'xtesting-opnfv-xtesting-{tag}-fifth-run' <<: *xtesting-jobs - - name: 'opnfv-xtesting-{tag}-fifth-run' + - name: 'xtesting-opnfv-xtesting-{tag}-sixth-run' <<: *xtesting-jobs - project: @@ -411,4 +432,4 @@ - last-success - last-failure - last-duration - regex: ^xtesting-.*-(daily|check|gate)$ + regex: ^xtesting-[a-z]+-(daily|check|gate)$