13 branch: 'stable/{stream}'
14 gs-pathname: '/{stream}'
17 branch: 'stable/{stream}'
18 gs-pathname: '/{stream}'
39 # disabling the following tests due to limitation of PoD owners
40 # these would beenabled again once the PoDs are ready
45 - 'doctor-verify-{stream}'
46 - 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
47 - 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
48 - 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
51 name: 'doctor-verify-{stream}'
52 disabled: '{obj:disabled}'
53 project-type: 'multijob'
58 - 'doctor-slave-parameter'
65 files: 'doctor_tests/**'
70 # we do nothing here as the main stuff will be done
72 echo "Triggering phase jobs!"
74 name: 'doctor-verify-sample'
75 execution-type: PARALLEL
77 - name: 'doctor-verify-fault_management-apex-sample-x86_64-{stream}'
78 predefined-parameters: |
80 GERRIT_BRANCH=$GERRIT_BRANCH
81 GERRIT_REFSPEC=$GERRIT_REFSPEC
82 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
83 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
84 kill-phase-on: FAILURE
86 - name: 'doctor-verify-fault_management-daisy-sample-x86_64-{stream}'
87 predefined-parameters: |
89 GERRIT_BRANCH=$GERRIT_BRANCH
90 GERRIT_REFSPEC=$GERRIT_REFSPEC
91 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
92 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
93 kill-phase-on: FAILURE
95 - name: 'doctor-verify-maintenance-apex-sample-x86_64-{stream}'
96 predefined-parameters: |
98 GERRIT_BRANCH=$GERRIT_BRANCH
99 GERRIT_REFSPEC=$GERRIT_REFSPEC
100 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
101 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
102 kill-phase-on: FAILURE
105 name: 'doctor-verify-congress'
106 execution-type: PARALLEL
108 - name: 'doctor-verify-fault_management-apex-congress-x86_64-{stream}'
109 predefined-parameters: |
111 GERRIT_BRANCH=$GERRIT_BRANCH
112 GERRIT_REFSPEC=$GERRIT_REFSPEC
113 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
114 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
115 kill-phase-on: FAILURE
118 name: 'doctor-verify-sample-all'
119 execution-type: PARALLEL
120 # This would be for running all test cases with sample inspector
122 name: 'doctor-verify-congress-all'
123 execution-type: PARALLEL
124 # This would be for running all test cases with congress inspector
127 name: 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
128 disabled: '{obj:disabled}'
129 node: 'doctor-{installer}-{arch}'
138 - '{installer}-defaults'
139 - 'doctor-slave-parameter'
140 - 'doctor-parameter':
141 inspector: '{inspector}'
142 test_case: 'fault_management'
146 - 'doctor-verify-installer-inspector-builders-macro'
148 - 'doctor-verify-publishers-macro'
151 name: 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
152 disabled: '{obj:disabled}'
162 - '{installer}-defaults'
163 - 'doctor-slave-parameter'
164 - 'doctor-parameter':
165 inspector: '{inspector}'
166 test_case: 'maintenance'
170 - 'doctor-verify-installer-inspector-builders-macro'
172 - 'doctor-verify-publishers-macro'
175 name: 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
176 disabled: '{obj:disabled}'
186 - '{installer}-defaults'
187 - 'doctor-slave-parameter'
188 - 'doctor-parameter':
189 inspector: '{inspector}'
194 - 'doctor-verify-installer-inspector-builders-macro'
196 - 'doctor-verify-publishers-macro'
199 # -------------------------------
201 # -------------------------------
203 name: 'doctor-parameter'
207 default: '{inspector}'
208 description: 'inspector component'
211 default: '{test_case}'
212 description: 'test case: all, fault_management or maintenance'
215 # -------------------------------
217 # -------------------------------
220 name: 'doctor-verify-installer-inspector-builders-macro'
222 # yamllint disable rule:indentation
225 - ./doctor-env-presetup.sh
226 - ../../utils/fetch_os_creds.sh
228 # prepare the env for test
229 source $HOME/opnfv-openrc.sh
230 if [ -f $HOME/os_cacert ]; then
231 export OS_CACERT=$HOME/os_cacert
233 source $HOME/opnfv-installer.sh
235 # run tox to trigger the test
236 # As Jenkins user, it has no permission to send ICMP package
240 # -------------------------------
242 # -------------------------------
244 name: 'doctor-verify-publishers-macro'
247 artifacts: 'doctor_tests/*.log'
248 - email-jenkins-admins-on-failure
251 #####################################
253 #####################################
255 name: 'doctor-verify'
258 server-name: 'gerrit.opnfv.org'
260 - patchset-created-event:
261 exclude-drafts: 'false'
262 exclude-trivial-rebase: 'false'
263 exclude-no-code-change: 'false'
264 - draft-published-event
265 - comment-added-contains-event:
266 comment-contains-value: 'recheck'
267 - comment-added-contains-event:
268 comment-contains-value: 'reverify'
270 - project-compare-type: 'ANT'
271 project-pattern: '{project}'
273 - branch-compare-type: 'ANT'
274 branch-pattern: '**/{branch}'