13 branch: 'stable/{stream}'
14 gs-pathname: '/{stream}'
35 # disabling the following tests due to limitation of PoD owners
36 # these would beenabled again once the PoDs are ready
41 - 'doctor-verify-{stream}'
42 - 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
43 - 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
44 - 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
47 name: 'doctor-verify-{stream}'
48 disabled: '{obj:disabled}'
49 project-type: 'multijob'
54 - 'doctor-slave-parameter'
61 files: 'doctor_tests/**'
66 # we do nothing here as the main stuff will be done
68 echo "Triggering phase jobs!"
70 name: 'doctor-verify-sample'
71 execution-type: PARALLEL
73 - name: 'doctor-verify-fault_management-apex-sample-x86_64-{stream}'
74 predefined-parameters: |
76 GERRIT_BRANCH=$GERRIT_BRANCH
77 GERRIT_REFSPEC=$GERRIT_REFSPEC
78 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
79 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
80 kill-phase-on: FAILURE
82 - name: 'doctor-verify-fault_management-daisy-sample-x86_64-{stream}'
83 predefined-parameters: |
85 GERRIT_BRANCH=$GERRIT_BRANCH
86 GERRIT_REFSPEC=$GERRIT_REFSPEC
87 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
88 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
89 kill-phase-on: FAILURE
91 - name: 'doctor-verify-maintenance-apex-sample-x86_64-{stream}'
92 predefined-parameters: |
94 GERRIT_BRANCH=$GERRIT_BRANCH
95 GERRIT_REFSPEC=$GERRIT_REFSPEC
96 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
97 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
98 kill-phase-on: FAILURE
101 name: 'doctor-verify-congress'
102 execution-type: PARALLEL
104 - name: 'doctor-verify-fault_management-apex-congress-x86_64-{stream}'
105 predefined-parameters: |
107 GERRIT_BRANCH=$GERRIT_BRANCH
108 GERRIT_REFSPEC=$GERRIT_REFSPEC
109 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
110 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
111 kill-phase-on: FAILURE
114 name: 'doctor-verify-sample-all'
115 execution-type: PARALLEL
116 # This would be for running all test cases with sample inspector
118 name: 'doctor-verify-congress-all'
119 execution-type: PARALLEL
120 # This would be for running all test cases with congress inspector
123 name: 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
124 disabled: '{obj:disabled}'
125 node: 'doctor-{installer}-{arch}'
134 - '{installer}-defaults'
135 - 'doctor-slave-parameter'
136 - 'doctor-parameter':
137 inspector: '{inspector}'
138 test_case: 'fault_management'
142 - 'doctor-verify-installer-inspector-builders-macro'
144 - 'doctor-verify-publishers-macro'
147 name: 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
148 disabled: '{obj:disabled}'
158 - '{installer}-defaults'
159 - 'doctor-slave-parameter'
160 - 'doctor-parameter':
161 inspector: '{inspector}'
162 test_case: 'maintenance'
166 - 'doctor-verify-installer-inspector-builders-macro'
168 - 'doctor-verify-publishers-macro'
171 name: 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
172 disabled: '{obj:disabled}'
182 - '{installer}-defaults'
183 - 'doctor-slave-parameter'
184 - 'doctor-parameter':
185 inspector: '{inspector}'
190 - 'doctor-verify-installer-inspector-builders-macro'
192 - 'doctor-verify-publishers-macro'
195 # -------------------------------
197 # -------------------------------
199 name: 'doctor-parameter'
203 default: '{inspector}'
204 description: 'inspector component'
207 default: '{test_case}'
208 description: 'test case: all, fault_management or maintenance'
211 # -------------------------------
213 # -------------------------------
216 name: 'doctor-verify-installer-inspector-builders-macro'
218 # yamllint disable rule:indentation
221 - ./doctor-env-presetup.sh
222 - ../../utils/fetch_os_creds.sh
224 # prepare the env for test
225 source $HOME/opnfv-openrc.sh
226 if [ -f $HOME/os_cacert ]; then
227 export OS_CACERT=$HOME/os_cacert
229 source $HOME/opnfv-installer.sh
231 # run tox to trigger the test
232 # As Jenkins user, it has no permission to send ICMP package
236 # -------------------------------
238 # -------------------------------
240 name: 'doctor-verify-publishers-macro'
243 artifacts: 'doctor_tests/*.log'
244 - email-jenkins-admins-on-failure
247 #####################################
249 #####################################
251 name: 'doctor-verify'
254 server-name: 'gerrit.opnfv.org'
256 - patchset-created-event:
257 exclude-drafts: 'false'
258 exclude-trivial-rebase: 'false'
259 exclude-no-code-change: 'false'
260 - draft-published-event
261 - comment-added-contains-event:
262 comment-contains-value: 'recheck'
263 - comment-added-contains-event:
264 comment-contains-value: 'reverify'
266 - project-compare-type: 'ANT'
267 project-pattern: '{project}'
269 - branch-compare-type: 'ANT'
270 branch-pattern: '**/{branch}'