2 - functest-pi-jobs: &functest-pi-jobs
3 name: 'functest-pi-jobs'
4 current-parameters: true
6 - functest-pi-params: &functest-pi-params
7 name: 'functest-pi-params'
14 dashboard_url: http://172.30.13.94
18 dashboard_url: http://172.30.12.88
22 dashboard_url: http://172.30.12.83
26 dashboard_url: http://172.30.13.89
30 dashboard_url: http://172.30.13.91
34 dashboard_url: http://172.30.13.94
38 dashboard_url: http://172.30.12.88
42 dashboard_url: http://172.30.12.83
46 dashboard_url: http://172.30.13.89
50 dashboard_url: http://172.30.13.91
54 dashboard_url: http://172.30.13.94
58 dashboard_url: http://172.30.12.88
62 dashboard_url: http://172.30.12.83
66 dashboard_url: http://172.30.13.89
70 dashboard_url: http://172.30.13.91
73 name: functest-pi-slave
80 name: functest-pi-build_tag
86 name: functest-pi-branch
93 name: functest-pi-DEBUG
99 name: functest-pi-EXTERNAL_NETWORK
102 name: EXTERNAL_NETWORK
105 name: functest-pi-VOLUME_DEVICE_NAME
108 name: VOLUME_DEVICE_NAME
111 name: functest-pi-IMAGE_PROPERTIES
114 name: IMAGE_PROPERTIES
115 default: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
117 - functest-pi-containers: &functest-pi-containers
118 name: 'functest-pi-containers'
121 container: '{container}'
124 - functest-pi-run-containers: &functest-pi-run-containers
125 name: 'functest-pi-run-containers'
126 <<: *functest-pi-containers
128 dashboard_url: '{dashboard_url}'
129 privileged: '{privileged}'
133 name: functest-pi-pull-containers
137 if [ "{repo}" = "_" ]; then
138 image={container}:{tag}
139 elif [ "{port}" = "None" ]; then
140 image={repo}/{container}:{tag}
142 image={repo}:{port}/{container}:{tag}
144 sudo docker pull $image
147 name: functest-pi-run-containers
151 [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
152 if [ "{repo}" = "_" ]; then
153 image={container}:{tag}
154 elif [ "{port}" = "None" ]; then
155 image={repo}/{container}:{tag}
157 image={repo}:{port}/{container}:{tag}
162 volumes="-v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static" ;;
164 volumes="-v /usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static" ;;
166 sudo docker run --rm \
167 --privileged={privileged} \
168 --network={network} \
169 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
170 -e S3_DST_URL=s3://artifacts.opnfv.org/functest/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
171 -e HTTP_DST_URL=http://artifacts.opnfv.org/functest/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
172 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
173 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
174 -e NODE_NAME=$slave \
175 -e BUILD_TAG=$BUILD_TAG \
176 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
178 -e EXTERNAL_NETWORK=$EXTERNAL_NETWORK \
179 -e DASHBOARD_URL={dashboard_url} \
180 -e VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME \
181 -e IMAGE_PROPERTIES=$IMAGE_PROPERTIES \
182 -v /home/opnfv/functest/.boto:/root/.boto \
183 -v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \
184 -v /home/opnfv/functest/images:/home/opnfv/functest/images \
185 $volumes $image run_tests -t {test} -r -p
188 name: functest-pi-remove-images
192 if [ "{repo}" = "_" ]; then
193 image={container}:{tag}
194 elif [ "{port}" = "None" ]; then
195 image={repo}/{container}:{tag}
197 image={repo}:{port}/{container}:{tag}
199 sudo docker rmi $image || true
202 name: 'functest-pi-{repo}-{container}-{tag}-pull'
207 - functest-pi-pull-containers:
208 <<: *functest-pi-containers
211 name: 'functest-pi-ollivier-functest-healthcheck-pull'
212 <<: *functest-pi-params
213 container: 'functest-healthcheck'
215 - 'functest-pi-{repo}-{container}-{tag}-pull'
218 name: 'functest-pi-ollivier-functest-smoke-pull'
219 <<: *functest-pi-params
220 container: 'functest-smoke'
222 - 'functest-pi-{repo}-{container}-{tag}-pull'
225 name: 'functest-pi-ollivier-functest-smoke-cntt-pull'
226 <<: *functest-pi-params
227 container: 'functest-smoke-cntt'
229 - 'functest-pi-{repo}-{container}-{tag}-pull'
232 name: 'functest-pi-ollivier-functest-benchmarking-pull'
233 <<: *functest-pi-params
234 container: 'functest-benchmarking'
236 - 'functest-pi-{repo}-{container}-{tag}-pull'
239 name: 'functest-pi-ollivier-functest-benchmarking-cntt-pull'
240 <<: *functest-pi-params
241 container: 'functest-benchmarking-cntt'
243 - 'functest-pi-{repo}-{container}-{tag}-pull'
246 name: 'functest-pi-ollivier-functest-vnf-pull'
247 <<: *functest-pi-params
248 container: 'functest-vnf'
250 - 'functest-pi-{repo}-{container}-{tag}-pull'
253 name: 'functest-pi-{repo}-{container}-{tag}-rmi'
258 - functest-pi-remove-images:
259 <<: *functest-pi-containers
262 name: 'functest-pi-ollivier-functest-healthcheck-rmi'
263 <<: *functest-pi-params
264 container: 'functest-healthcheck'
266 - 'functest-pi-{repo}-{container}-{tag}-rmi'
269 name: 'functest-pi-ollivier-functest-smoke-rmi'
270 <<: *functest-pi-params
271 container: 'functest-smoke'
273 - 'functest-pi-{repo}-{container}-{tag}-rmi'
276 name: 'functest-pi-ollivier-functest-smoke-cntt-rmi'
277 <<: *functest-pi-params
278 container: 'functest-smoke-cntt'
280 - 'functest-pi-{repo}-{container}-{tag}-rmi'
283 name: 'functest-pi-ollivier-functest-benchmarking-rmi'
284 <<: *functest-pi-params
285 container: 'functest-benchmarking'
287 - 'functest-pi-{repo}-{container}-{tag}-rmi'
290 name: 'functest-pi-ollivier-functest-benchmarking-cntt-rmi'
291 <<: *functest-pi-params
292 container: 'functest-benchmarking-cntt'
294 - 'functest-pi-{repo}-{container}-{tag}-rmi'
297 name: 'functest-pi-ollivier-functest-vnf-rmi'
298 <<: *functest-pi-params
299 container: 'functest-vnf'
301 - 'functest-pi-{repo}-{container}-{tag}-rmi'
304 name: 'functest-pi-{repo}-{container}-{tag}-{test}-run'
308 - functest-pi-build_tag:
312 - functest-pi-EXTERNAL_NETWORK:
313 EXTERNAL_NETWORK: public
314 - functest-pi-VOLUME_DEVICE_NAME:
315 VOLUME_DEVICE_NAME: sdb
316 - functest-pi-IMAGE_PROPERTIES:
317 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
319 - functest-pi-run-containers:
320 <<: *functest-pi-run-containers
323 name: 'functest-pi-ollivier-functest-healthcheck'
324 <<: *functest-pi-params
325 container: 'functest-healthcheck'
343 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
346 name: 'functest-pi-ollivier-functest-smoke'
347 <<: *functest-pi-params
348 container: 'functest-smoke'
374 test: refstack_defcore
376 test: networking-bgpvpn
382 test: refstack_defcore
384 test: networking-bgpvpn
394 test: refstack_defcore
396 test: networking-bgpvpn
408 test: refstack_defcore
418 test: refstack_compute
420 test: refstack_object
422 test: refstack_platform
424 test: tempest_octavia
426 test: tempest_telemetry
436 test: refstack_defcore
438 test: networking-bgpvpn
444 test: refstack_defcore
446 test: networking-bgpvpn
456 test: refstack_defcore
458 test: networking-bgpvpn
470 test: refstack_defcore
480 test: refstack_compute
482 test: refstack_object
484 test: refstack_platform
486 test: tempest_octavia
488 test: tempest_telemetry
498 test: refstack_defcore
500 test: networking-bgpvpn
506 test: refstack_defcore
508 test: networking-bgpvpn
518 test: refstack_defcore
520 test: networking-bgpvpn
532 test: refstack_defcore
542 test: refstack_compute
544 test: refstack_object
546 test: refstack_platform
548 test: tempest_octavia
550 test: tempest_telemetry
562 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
565 name: 'functest-pi-ollivier-functest-smoke-cntt'
566 <<: *functest-pi-params
567 container: 'functest-smoke-cntt'
569 - tempest_neutron_cntt
570 - tempest_cinder_cntt
571 - tempest_keystone_cntt
575 - tempest_scenario_cntt
580 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
583 name: 'functest-pi-ollivier-functest-benchmarking'
584 <<: *functest-pi-params
585 container: 'functest-benchmarking'
594 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
597 name: 'functest-pi-ollivier-functest-benchmarking-cntt'
598 <<: *functest-pi-params
599 container: 'functest-benchmarking-cntt'
606 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
609 name: 'functest-pi-ollivier-functest-vnf'
610 <<: *functest-pi-params
611 container: 'functest-vnf'
621 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
625 name: functest-pi-zip
629 [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
630 if [ "{repo}" = "_" ]; then
631 image={container}:{tag}
632 elif [ "{port}" = "None" ]; then
633 image={repo}/{container}:{tag}
635 image={repo}:{port}/{container}:{tag}
640 volumes="-v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static" ;;
642 volumes="-v /usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static" ;;
644 sudo docker run --rm \
645 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
646 -e S3_DST_URL=s3://artifacts.opnfv.org/functest \
647 -e HTTP_DST_URL=http://artifacts.opnfv.org/functest \
648 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
649 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
650 -e BUILD_TAG=$BUILD_TAG \
651 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
653 -e EXTERNAL_NETWORK=$EXTERNAL_NETWORK \
654 -e VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME \
655 -e IMAGE_PROPERTIES=$IMAGE_PROPERTIES \
656 -v /home/opnfv/functest/.boto:/root/.boto \
657 -v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \
658 -v /home/opnfv/functest/images:/home/opnfv/functest/images \
659 $volumes $image zip_campaign
662 name: 'functest-pi-{tag}-zip'
666 - functest-pi-build_tag:
670 - functest-pi-EXTERNAL_NETWORK:
671 EXTERNAL_NETWORK: public
672 - functest-pi-VOLUME_DEVICE_NAME:
673 VOLUME_DEVICE_NAME: sdb
674 - functest-pi-IMAGE_PROPERTIES:
675 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
678 <<: *functest-pi-containers
681 name: 'functest-pi-{tag}-zip'
682 <<: *functest-pi-params
683 container: 'functest-healthcheck'
685 - 'functest-pi-{tag}-zip'
688 name: 'functest-pi-{tag}-daily'
689 project-type: multijob
695 - functest-pi-build_tag:
699 - functest-pi-EXTERNAL_NETWORK:
700 EXTERNAL_NETWORK: public
701 - functest-pi-VOLUME_DEVICE_NAME:
702 VOLUME_DEVICE_NAME: sdb
703 - functest-pi-IMAGE_PROPERTIES:
704 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
707 use-build-blocker: true
708 blocking-level: 'NODE'
710 - '^functest(-pi)?(-ovn)?-(arm.*-|amd64-)*[a-z]+-(daily|gate|check)$'
713 name: remove former images
715 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-rmi'
716 <<: *functest-pi-jobs
717 - name: 'functest-pi-ollivier-functest-smoke-{tag}-rmi'
718 <<: *functest-pi-jobs
719 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-rmi'
720 <<: *functest-pi-jobs
721 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-rmi'
722 <<: *functest-pi-jobs
723 - name: 'functest-pi-ollivier-functest-benchmarking-cntt-{tag}-rmi'
724 <<: *functest-pi-jobs
725 - name: 'functest-pi-ollivier-functest-vnf-{tag}-rmi'
726 <<: *functest-pi-jobs
728 name: pull containers
730 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-pull'
731 <<: *functest-pi-jobs
732 - name: 'functest-pi-ollivier-functest-smoke-{tag}-pull'
733 <<: *functest-pi-jobs
734 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-pull'
735 <<: *functest-pi-jobs
736 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-pull'
737 <<: *functest-pi-jobs
738 - name: 'functest-pi-ollivier-functest-benchmarking-cntt-{tag}-pull'
739 <<: *functest-pi-jobs
740 - name: 'functest-pi-ollivier-functest-vnf-{tag}-pull'
741 <<: *functest-pi-jobs
743 name: ollivier/functest-healthcheck:{tag}
745 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-connection_check-run'
746 <<: *functest-pi-jobs
747 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-tenantnetwork1-run'
748 <<: *functest-pi-jobs
749 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-tenantnetwork2-run'
750 <<: *functest-pi-jobs
751 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-vmready1-run'
752 <<: *functest-pi-jobs
753 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-vmready2-run'
754 <<: *functest-pi-jobs
755 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-singlevm1-run'
756 <<: *functest-pi-jobs
757 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-singlevm2-run'
758 <<: *functest-pi-jobs
759 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-vping_ssh-run'
760 <<: *functest-pi-jobs
761 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-vping_userdata-run'
762 <<: *functest-pi-jobs
763 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-cinder_test-run'
764 <<: *functest-pi-jobs
765 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-odl-run'
766 <<: *functest-pi-jobs
767 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-tempest_smoke-run'
768 <<: *functest-pi-jobs
769 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-tempest_horizon-run'
770 <<: *functest-pi-jobs
772 name: ollivier/functest-smoke:{tag}
774 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_neutron-run'
775 <<: *functest-pi-jobs
776 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_cinder-run'
777 <<: *functest-pi-jobs
778 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_keystone-run'
779 <<: *functest-pi-jobs
780 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_heat-run'
781 <<: *functest-pi-jobs
782 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_telemetry-run'
783 <<: *functest-pi-jobs
784 - name: 'functest-pi-ollivier-functest-smoke-{tag}-rally_sanity-run'
785 <<: *functest-pi-jobs
786 - name: 'functest-pi-ollivier-functest-smoke-{tag}-refstack_defcore-run'
787 <<: *functest-pi-jobs
788 - name: 'functest-pi-ollivier-functest-smoke-{tag}-refstack_compute-run'
789 <<: *functest-pi-jobs
790 - name: 'functest-pi-ollivier-functest-smoke-{tag}-refstack_object-run'
791 <<: *functest-pi-jobs
792 - name: 'functest-pi-ollivier-functest-smoke-{tag}-refstack_platform-run'
793 <<: *functest-pi-jobs
794 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_full-run'
795 <<: *functest-pi-jobs
796 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_scenario-run'
797 <<: *functest-pi-jobs
798 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_slow-run'
799 <<: *functest-pi-jobs
800 - name: 'functest-pi-ollivier-functest-smoke-{tag}-patrole-run'
801 <<: *functest-pi-jobs
802 - name: 'functest-pi-ollivier-functest-smoke-{tag}-patrole_admin-run'
803 <<: *functest-pi-jobs
804 - name: 'functest-pi-ollivier-functest-smoke-{tag}-patrole_member-run'
805 <<: *functest-pi-jobs
806 - name: 'functest-pi-ollivier-functest-smoke-{tag}-patrole_reader-run'
807 <<: *functest-pi-jobs
808 - name: 'functest-pi-ollivier-functest-smoke-{tag}-networking-bgpvpn-run'
809 <<: *functest-pi-jobs
810 - name: 'functest-pi-ollivier-functest-smoke-{tag}-networking-sfc-run'
811 <<: *functest-pi-jobs
812 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_barbican-run'
813 <<: *functest-pi-jobs
814 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_octavia-run'
815 <<: *functest-pi-jobs
816 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_cyborg-run'
817 <<: *functest-pi-jobs
819 name: ollivier/functest-smoke-cntt:{tag}
821 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_neutron_cntt-run'
822 <<: *functest-pi-jobs
823 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_cinder_cntt-run'
824 <<: *functest-pi-jobs
825 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_keystone_cntt-run'
826 <<: *functest-pi-jobs
827 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_heat_cntt-run'
828 <<: *functest-pi-jobs
829 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-rally_sanity_cntt-run'
830 <<: *functest-pi-jobs
831 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_full_cntt-run'
832 <<: *functest-pi-jobs
833 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_scenario_cntt-run'
834 <<: *functest-pi-jobs
835 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_slow_cntt-run'
836 <<: *functest-pi-jobs
838 name: ollivier/functest-benchmarking:{tag}
840 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-rally_full-run'
841 <<: *functest-pi-jobs
842 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-rally_jobs-run'
843 <<: *functest-pi-jobs
844 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-vmtp-run'
845 <<: *functest-pi-jobs
846 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-shaker-run'
847 <<: *functest-pi-jobs
849 name: ollivier/functest-benchmarking-cntt:{tag}
851 - name: 'functest-pi-ollivier-functest-benchmarking-cntt-{tag}-rally_full_cntt-run'
852 <<: *functest-pi-jobs
853 - name: 'functest-pi-ollivier-functest-benchmarking-cntt-{tag}-rally_jobs_cntt-run'
854 <<: *functest-pi-jobs
856 name: ollivier/functest-vnf:{tag}
858 - name: 'functest-pi-ollivier-functest-vnf-{tag}-cloudify-run'
859 <<: *functest-pi-jobs
860 - name: 'functest-pi-ollivier-functest-vnf-{tag}-cloudify_ims-run'
861 <<: *functest-pi-jobs
862 - name: 'functest-pi-ollivier-functest-vnf-{tag}-heat_ims-run'
863 <<: *functest-pi-jobs
864 - name: 'functest-pi-ollivier-functest-vnf-{tag}-vyos_vrouter-run'
865 <<: *functest-pi-jobs
866 - name: 'functest-pi-ollivier-functest-vnf-{tag}-juju_epc-run'
867 <<: *functest-pi-jobs
869 name: dump all campaign data
871 - name: 'functest-pi-{tag}-zip'
872 <<: *functest-pi-jobs
876 <<: *functest-pi-params
878 - 'functest-pi-{tag}-daily'
890 regex: ^functest-pi(-ovn)?-(arm.*-|amd64-)*[a-z]+-daily$