Merge "bugfix: run doctor tests parallelly"
authorSerena Feng <feng.xiaowei@zte.com.cn>
Fri, 13 Apr 2018 06:15:27 +0000 (06:15 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Fri, 13 Apr 2018 06:15:27 +0000 (06:15 +0000)
1  2 
jjb/doctor/doctor.yml

diff --combined jjb/doctor/doctor.yml
            docker-tag: 'stable'
            disabled: false
  
 +    # feature projects' tests are not triggered by functest
 +    # doctor verify Pods need to deploy with these scenario
      installer:
 -      - 'apex'
 -      - 'fuel'
 -      - 'daisy'
 +      - 'apex':
 +          scenario: 'os-nosdn-kvm-ha'
 +      - 'fuel':
 +          scenario: 'os-nosdn-ovs-ha'
 +      - 'daisy':
 +          scenario: 'os-nosdn-ovs_dpdk-noha'
  
      arch:
        - 'x86_64'
@@@ -68,7 -63,7 +68,7 @@@
           # in phase jobs
           echo "Triggering phase jobs!"
        - multijob:
-           name: 'doctor-verify-apex-inspector'
+           name: 'doctor-verify'
            execution-type: PARALLEL
            projects:
              - name: 'doctor-verify-apex-{inspector}-x86_64-{stream}'
                  GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
                  GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
                kill-phase-on: FAILURE
-               current-parameters: true
                git-revision: true
-       - multijob:
-           name: 'doctor-verify-fuel-inspector'
-           execution-type: PARALLEL
-           projects:
              - name: 'doctor-verify-fuel-{inspector}-x86_64-{stream}'
                predefined-parameters: |
                  PROJECT=$PROJECT
                  GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
                  GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
                kill-phase-on: FAILURE
-               current-parameters: true
                git-revision: true
-       - multijob:
-           name: 'doctor-verify-fuel-inspector'
-           execution-type: PARALLEL
-           projects:
              - name: 'doctor-verify-fuel-{inspector}-aarch64-{stream}'
                predefined-parameters: |
                  GERRIT_BRANCH=$GERRIT_BRANCH
                  GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
                  GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
                kill-phase-on: FAILURE
-               current-parameters: true
                git-revision: true
-       - multijob:
-           name: 'doctor-verify-daisy-inspector'
-           execution-type: PARALLEL
-           projects:
              - name: 'doctor-verify-daisy-{inspector}-x86_64-{stream}'
                predefined-parameters: |
                  PROJECT=$PROJECT
                  GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
                  GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
                kill-phase-on: FAILURE
-               current-parameters: true
                git-revision: true
  
  - job-template:
            description: 'Remove downloaded docker images (opnfv/functest:*)'
        - string:
            name: DEPLOY_SCENARIO
 -          default: 'os-nosdn-nofeature-ha'
 +          default: '{scenario}'
            description: 'Scenario to deploy and test'
  
  - parameter: