2 ###################################
3 # job configuration for functest
4 ###################################
10 # -------------------------------
12 # -------------------------------
20 branch: 'stable/{stream}'
21 gs-pathname: '/{stream}'
23 # -------------------------------
24 # POD, INSTALLER, AND BRANCH MAPPING
25 # -------------------------------
26 # Installers using labels
28 # This section should only contain the installers
29 # that have been switched using labels for slaves
30 # -------------------------------
34 slave-label: fuel-baremetal
38 slave-label: fuel-virtual
42 slave-label: fuel-baremetal
46 slave-label: fuel-virtual
51 slave-label: joid-baremetal
55 slave-label: joid-virtual
59 slave-label: joid-baremetal
63 slave-label: joid-virtual
68 slave-label: compass-baremetal
72 slave-label: compass-virtual
76 slave-label: compass-baremetal
80 slave-label: compass-virtual
85 slave-label: apex-virtual-master
89 slave-label: apex-baremetal-master
93 slave-label: apex-virtual-euphrates
97 slave-label: apex-baremetal-euphrates
102 slave-label: armband-baremetal
106 slave-label: armband-virtual
110 slave-label: armband-baremetal
114 slave-label: armband-virtual
119 slave-label: daisy-baremetal
123 slave-label: daisy-virtual
127 slave-label: daisy-baremetal
131 slave-label: daisy-virtual
134 # netvirt 3rd party ci
136 slave-label: odl-netvirt-virtual
139 # -------------------------------
141 # -------------------------------
155 slave-label: 'intel-pod8'
190 # -------------------------------
191 # PODs for verify jobs triggered by each patch upload
193 # slave-label: '{pod}'
196 # -------------------------------
213 - 'doctor-notification'
219 - 'barometercollectd'
222 - features-suite: 'promise'
224 - features-suite: 'domino-multinode'
226 - features-suite: 'patrole'
229 build-job-settings: &build-job-settings
230 current-parameter: false
232 node-parameters: false
233 kill-phase-on: FAILURE
234 abort-all-jobs: false
235 predefined-parameters: |
236 FUNCTEST_MODE=$FUNCTEST_MODE
237 FUNCTEST_TIER=$FUNCTEST_TIER
239 features-job-settings: &features-job-settings
240 current-parameter: false
242 node-parameters: false
243 kill-phase-on: FAILURE
244 abort-all-jobs: false
245 predefined-parameters: |
246 FUNCTEST_MODE=$FUNCTEST_MODE
247 FUNCTEST_SUITE_NAME=$FUNCTEST_SUITE_NAME
250 - 'functest-{installer}-{pod}-suite-{stream}'
251 - 'functest-{installer}-{pod}-daily-{stream}'
252 - 'functest-{installer}-{pod}-daily-{functest-tier}-{stream}'
253 - 'functest-{installer}-{pod}-daily-features-{features-suite}-{stream}'
254 ################################
256 ################################
259 name: 'functest-{installer}-{pod}-daily-{stream}'
261 project-type: multijob
263 disabled: '{obj:disabled}'
269 - '{installer}-defaults'
270 - '{slave-label}-defaults'
271 - functest-parameter:
272 gs-pathname: '{gs-pathname}'
276 name: 'Run healthcheck'
277 execution-type: PARALLEL
279 - name: 'functest-{installer}-{pod}-daily-healthcheck-{stream}'
280 <<: *build-job-settings
283 execution-type: PARALLEL
285 - name: 'functest-{installer}-{pod}-daily-smoke-{stream}'
286 <<: *build-job-settings
289 execution-type: PARALLEL
291 - name: 'functest-{installer}-{pod}-daily-patrole-{stream}'
292 <<: *build-job-settings
296 execution-type: PARALLEL
298 - name: 'functest-{installer}-{pod}-daily-vnf-{stream}'
299 <<: *build-job-settings
302 name: 'Run doctor-notification'
303 execution-type: PARALLEL
305 - name: 'functest-{installer}-{pod}-daily-features-doctor-notification-{stream}'
306 <<: *features-job-settings
310 execution-type: PARALLEL
312 - name: 'functest-{installer}-{pod}-daily-features-bgpvpn-{stream}'
313 <<: *features-job-settings
317 execution-type: PARALLEL
319 - name: 'functest-{installer}-{pod}-daily-features-functest-odl-sfc-{stream}'
320 <<: *features-job-settings
323 name: 'Run barometercollectd'
324 execution-type: PARALLEL
326 - name: 'functest-{installer}-{pod}-daily-features-barometercollectd-{stream}'
327 <<: *features-job-settings
331 execution-type: PARALLEL
333 - name: 'functest-{installer}-{pod}-daily-features-fds-{stream}'
334 <<: *features-job-settings
338 execution-type: PARALLEL
340 - name: 'functest-{installer}-{pod}-daily-features-promise-{stream}'
341 <<: *features-job-settings
344 name: 'Run domino-multinode'
345 execution-type: PARALLEL
347 - name: 'functest-{installer}-{pod}-daily-features-domino-multinode-{stream}'
348 <<: *features-job-settings
352 execution-type: PARALLEL
354 - name: 'functest-{installer}-{pod}-daily-parser-{stream}'
355 <<: *build-job-settings
357 - job-template: &functest-installer-tier-job
359 name: 'functest-{installer}-{pod}-daily-{functest-tier}-{stream}'
372 name: '$BUILD_NUMBER Suite: $FUNCTEST_MODE Scenario: $DEPLOY_SCENARIO'
374 timeout: '{job-timeout}'
381 - '{installer}-defaults'
382 - '{slave-label}-defaults'
388 default: '{functest-tier}'
390 name: DEPLOY_SCENARIO
391 default: 'os-nosdn-nofeature-noha'
393 name: CLEAN_DOCKER_IMAGES
395 description: 'Remove downloaded docker images (opnfv/functest*:*)'
396 - functest-parameter:
397 gs-pathname: '{gs-pathname}'
403 - description-setter:
404 description: "Built on $NODE_NAME"
405 - 'functest-daily-builder'
408 - 'functest-recipients'
413 name: 'functest-{installer}-{pod}-suite-{stream}'
414 <<: *functest-installer-tier-job
418 name: '$BUILD_NUMBER Suite: $FUNCTEST_MODE Scenario: $DEPLOY_SCENARIO'
426 - '{installer}-defaults'
427 - '{slave-label}-defaults'
428 - 'functest-suite-parameter'
430 name: DEPLOY_SCENARIO
431 default: 'os-nosdn-nofeature-noha'
433 name: CLEAN_DOCKER_IMAGES
435 description: 'Remove downloaded docker images (opnfv/functest*:*)'
436 - functest-parameter:
437 gs-pathname: '{gs-pathname}'
440 - description-setter:
441 description: "Built on $NODE_NAME"
442 - 'functest-suite-builder'
446 name: 'functest-{installer}-{pod}-daily-features-{features-suite}-{stream}'
456 name: '$BUILD_NUMBER Suite: $FUNCTEST_MODE Scenario: $DEPLOY_SCENARIO'
462 - '{installer}-defaults'
463 - '{slave-label}-defaults'
468 name: FUNCTEST_SUITE_NAME
469 default: '{features-suite}'
471 name: DEPLOY_SCENARIO
472 default: 'os-nosdn-nofeature-noha'
474 name: CLEAN_DOCKER_IMAGES
476 description: 'Remove downloaded docker images (opnfv/functest*:*)'
477 - functest-parameter:
478 gs-pathname: '{gs-pathname}'
484 - description-setter:
485 description: "Built on $NODE_NAME"
486 - 'functest-daily-builder'
489 - 'functest-features-recipients'
490 - 'functest-recipients'
494 ########################
496 ########################
498 name: functest-daily-parameter
503 description: "Daily suite name to run"
506 name: functest-suite-parameter
514 description: "Test case or Tier to be run"
516 name: FUNCTEST_SUITE_NAME
520 - 'snaps_health_check'
523 - 'tempest_smoke_serial'
535 - 'tempest_full_parallel'
539 - 'orchestra_openims'
540 - 'orchestra_clearwaterims'
541 default: 'connection_check'
552 default: 'healthcheck'
554 name: TESTCASE_OPTIONS
556 description: 'Additional parameters specific to test case(s)'
559 name: functest-parameter
563 default: '{gs-pathname}'
564 description: "Version directory where the opnfv documents will be stored in gs repository"
566 name: FUNCTEST_REPO_DIR
567 default: "/home/opnfv/repos/functest"
568 description: "Directory where the Functest repository is cloned"
570 name: PUSH_RESULTS_TO_DB
572 description: "Push the results of all the tests to the resultDB"
576 description: "Show debug output information"
580 description: "Path to the OS credentials file if given"
581 ########################
583 ########################
585 name: 'functest-master'
589 ########################
591 ########################
593 name: functest-daily-builder
597 - 'functest-store-results'
601 name: functest-suite-builder
605 - 'functest-store-results'
611 # yamllint disable rule:indentation
613 condition-kind: regex-match
615 label: '$DEPLOY_SCENARIO'
619 - ./functest-env-presetup.sh
620 - ../../utils/fetch_os_creds.sh
621 - ./functest-alpine.sh
623 condition-kind: regex-match
625 label: '$DEPLOY_SCENARIO'
629 - ../../utils/fetch_k8_conf.sh
632 # yamllint enable rule:indentation
634 name: functest-store-results
637 !include-raw: ../../utils/push-test-logs.sh
640 name: functest-cleanup
643 !include-raw: ./functest-cleanup.sh
649 !include-raw: ./functest-exit.sh
653 name: 'functest-features-recipients'
659 name: 'functest-recipients'
663 jalausuch@suse.com morgan.richomme@orange.com
664 cedric.ollivier@orange.com feng.xiaowei@zte.com.cn
665 juha.kosonen@nokia.com wangwulin@huawei.com
666 delia.popescu@enea.com cristina.pauna@enea.com
667 valentin.boucher@kontron.com
668 - email-jenkins-admins-on-failure
671 name: 'fuel-recipients'
675 peter.barabas@ericsson.com mpolenchuck@mirantis.com
676 alexandru.avadanii@enea.com guillermo.herrero@enea.com