7 project-pattern: '{project}'
15 branch: 'stable/{stream}'
16 gs-pathname: '/{stream}'
21 scenario: 'os-nosdn-nofeature-noha'
32 - 'doctor-verify-{stream}'
33 - 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
34 - 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
35 - 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
38 name: 'doctor-verify-{stream}'
39 disabled: '{obj:disabled}'
40 project-type: 'multijob'
45 - 'doctor-slave-parameter'
52 files: 'doctor_tests/**'
57 # we do nothing here as the main stuff will be done
59 echo "Triggering phase jobs!"
61 name: 'doctor-verify-fuel'
62 execution-type: PARALLEL
64 - name: 'doctor-verify-fault_management-fuel-sample-x86_64-{stream}'
65 predefined-parameters: |
67 GERRIT_BRANCH=$GERRIT_BRANCH
68 GERRIT_REFSPEC=$GERRIT_REFSPEC
69 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
70 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
71 kill-phase-on: FAILURE
73 - name: 'doctor-verify-maintenance-fuel-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
84 name: 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
85 disabled: '{obj:disabled}'
95 - '{installer}-defaults'
96 - 'doctor-slave-parameter'
98 inspector: '{inspector}'
99 scenario: '{scenario}'
100 test_case: 'fault_management'
101 admin_tool_type: 'fenix'
102 app_manager_type: 'vnfm'
106 - 'doctor-verify-installer-inspector-builders-macro'
108 - 'doctor-verify-publishers-macro'
111 name: 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
112 disabled: '{obj:disabled}'
122 - '{installer}-defaults'
123 - 'doctor-slave-parameter'
124 - 'doctor-parameter':
125 inspector: '{inspector}'
126 scenario: '{scenario}'
127 test_case: 'maintenance'
128 admin_tool_type: 'fenix'
129 app_manager_type: 'vnfm'
133 - 'doctor-verify-installer-inspector-builders-macro'
135 - 'doctor-verify-publishers-macro'
138 name: 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
139 disabled: '{obj:disabled}'
140 node: 'doctor-{installer}-{arch}'
149 - '{installer}-defaults'
150 - 'doctor-slave-parameter'
151 - 'doctor-parameter':
152 inspector: '{inspector}'
153 scenario: '{scenario}'
155 admin_tool_type: 'fenix'
156 app_manager_type: 'vnfm'
160 - 'doctor-verify-installer-inspector-builders-macro'
162 - 'doctor-verify-publishers-macro'
165 # -------------------------------
167 # -------------------------------
169 name: 'doctor-parameter'
173 default: '{inspector}'
174 description: 'inspector component'
177 default: '{test_case}'
178 description: 'test case: all, fault_management or maintenance'
180 name: DEPLOY_SCENARIO
181 default: '{scenario}'
182 description: 'Scenario to deploy and test'
184 name: ADMIN_TOOL_TYPE
185 default: '{admin_tool_type}'
186 description: 'admin_tool_type: sample, fenix'
188 name: APP_MANAGER_TYPE
189 default: '{app_manager_type}'
190 description: 'app_manager_type: sample, vnfm'
192 # -------------------------------
194 # -------------------------------
197 name: 'doctor-verify-installer-inspector-builders-macro'
199 # yamllint disable rule:indentation
200 - shell: !include-raw:
201 - ./doctor-env-presetup.sh
202 - ../../utils/fetch_os_creds.sh
206 # prepare the env for test
207 . $HOME/opnfv-openrc.sh
208 if [ -f $HOME/os_cacert ]; then
209 export OS_CACERT=$HOME/os_cacert
211 . $HOME/opnfv-installer.sh
213 # run tox to trigger the test
214 # As Jenkins user, it has no permission to send ICMP package
218 # -------------------------------
220 # -------------------------------
222 name: 'doctor-verify-publishers-macro'
225 artifacts: 'doctor_tests/*.log'
226 - email-jenkins-admins-on-failure
229 #####################################
231 #####################################
233 name: 'doctor-verify'
236 server-name: 'gerrit.opnfv.org'
238 - patchset-created-event:
239 exclude-drafts: 'false'
240 exclude-trivial-rebase: 'false'
241 exclude-no-code-change: 'false'
242 - draft-published-event
243 - comment-added-contains-event:
244 comment-contains-value: 'recheck'
245 - comment-added-contains-event:
246 comment-contains-value: 'reverify'
248 - project-compare-type: 'ANT'
249 project-pattern: '{project}'
251 - branch-compare-type: 'ANT'
252 branch-pattern: '**/{branch}'