7 project-pattern: '{project}'
15 branch: 'stable/{stream}'
16 gs-pathname: '/{stream}'
21 scenario: 'os-nosdn-nofeature-noha'
23 scenario: 'os-nosdn-nofeature-noha'
38 - 'doctor-verify-{stream}'
39 - 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
40 - 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
41 - 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
44 name: 'doctor-verify-{stream}'
45 disabled: '{obj:disabled}'
46 project-type: 'multijob'
51 - 'doctor-slave-parameter'
58 files: 'doctor_tests/**'
63 # we do nothing here as the main stuff will be done
65 echo "Triggering phase jobs!"
67 name: 'doctor-verify-sample'
68 execution-type: PARALLEL
70 - name: 'doctor-verify-all-apex-sample-x86_64-{stream}'
71 predefined-parameters: |
73 GERRIT_BRANCH=$GERRIT_BRANCH
74 GERRIT_REFSPEC=$GERRIT_REFSPEC
75 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
76 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
77 kill-phase-on: FAILURE
79 - name: 'doctor-verify-fault_management-fuel-sample-x86_64-{stream}'
80 predefined-parameters: |
82 GERRIT_BRANCH=$GERRIT_BRANCH
83 GERRIT_REFSPEC=$GERRIT_REFSPEC
84 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
85 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
86 kill-phase-on: FAILURE
89 name: 'doctor-verify-fenix'
90 execution-type: PARALLEL
92 - name: 'doctor-verify-maintenance-apex-sample-x86_64-{stream}'
93 predefined-parameters: |
95 GERRIT_BRANCH=$GERRIT_BRANCH
96 GERRIT_REFSPEC=$GERRIT_REFSPEC
97 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
98 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
99 kill-phase-on: FAILURE
102 name: 'doctor-verify-congress'
103 execution-type: PARALLEL
105 - name: 'doctor-verify-fault_management-apex-congress-x86_64-{stream}'
106 predefined-parameters: |
108 GERRIT_BRANCH=$GERRIT_BRANCH
109 GERRIT_REFSPEC=$GERRIT_REFSPEC
110 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
111 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
112 kill-phase-on: FAILURE
116 name: 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
117 disabled: '{obj:disabled}'
118 node: 'doctor-{installer}-{arch}'
127 - '{installer}-defaults'
128 - 'doctor-slave-parameter'
129 - 'doctor-parameter':
130 inspector: '{inspector}'
131 scenario: '{scenario}'
132 test_case: 'fault_management'
133 admin_tool_type: 'sample'
137 - 'doctor-verify-installer-inspector-builders-macro'
139 - 'doctor-verify-publishers-macro'
142 name: 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
143 disabled: '{obj:disabled}'
144 node: 'doctor-{installer}-{arch}'
153 - '{installer}-defaults'
154 - 'doctor-slave-parameter'
155 - 'doctor-parameter':
156 inspector: '{inspector}'
157 scenario: '{scenario}'
158 test_case: 'maintenance'
159 admin_tool_type: 'fenix'
163 - 'doctor-verify-installer-inspector-builders-macro'
165 - 'doctor-verify-publishers-macro'
168 name: 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
169 disabled: '{obj:disabled}'
170 node: 'doctor-{installer}-{arch}'
179 - '{installer}-defaults'
180 - 'doctor-slave-parameter'
181 - 'doctor-parameter':
182 inspector: '{inspector}'
183 scenario: '{scenario}'
185 admin_tool_type: 'sample'
189 - 'doctor-verify-installer-inspector-builders-macro'
191 - 'doctor-verify-publishers-macro'
194 # -------------------------------
196 # -------------------------------
198 name: 'doctor-parameter'
202 default: '{inspector}'
203 description: 'inspector component'
206 default: '{test_case}'
207 description: 'test case: all, fault_management or maintenance'
209 name: DEPLOY_SCENARIO
210 default: '{scenario}'
211 description: 'Scenario to deploy and test'
213 name: ADMIN_TOOL_TYPE
214 default: '{admin_tool_type}'
215 description: 'admin_tool_type: sample, fenix'
218 # -------------------------------
220 # -------------------------------
223 name: 'doctor-verify-installer-inspector-builders-macro'
225 # yamllint disable rule:indentation
226 - shell: !include-raw:
227 - ./doctor-env-presetup.sh
228 - ../../utils/fetch_os_creds.sh
232 # prepare the env for test
233 . $HOME/opnfv-openrc.sh
234 if [ -f $HOME/os_cacert ]; then
235 export OS_CACERT=$HOME/os_cacert
237 . $HOME/opnfv-installer.sh
239 # run tox to trigger the test
240 # As Jenkins user, it has no permission to send ICMP package
244 # -------------------------------
246 # -------------------------------
248 name: 'doctor-verify-publishers-macro'
251 artifacts: 'doctor_tests/*.log'
252 - email-jenkins-admins-on-failure
255 #####################################
257 #####################################
259 name: 'doctor-verify'
262 server-name: 'gerrit.opnfv.org'
264 - patchset-created-event:
265 exclude-drafts: 'false'
266 exclude-trivial-rebase: 'false'
267 exclude-no-code-change: 'false'
268 - draft-published-event
269 - comment-added-contains-event:
270 comment-contains-value: 'recheck'
271 - comment-added-contains-event:
272 comment-contains-value: 'reverify'
274 - project-compare-type: 'ANT'
275 project-pattern: '{project}'
277 - branch-compare-type: 'ANT'
278 branch-pattern: '**/{branch}'