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.13.94
22 dashboard_url: http://172.30.12.88
26 dashboard_url: http://172.30.12.83
30 dashboard_url: http://172.30.13.89
34 dashboard_url: http://172.30.13.91
38 dashboard_url: http://172.30.13.94
42 dashboard_url: http://172.30.13.94
46 dashboard_url: http://172.30.12.88
50 dashboard_url: http://172.30.12.83
54 dashboard_url: http://172.30.13.89
58 dashboard_url: http://172.30.13.91
62 dashboard_url: http://172.30.13.94
66 dashboard_url: http://172.30.13.94
70 dashboard_url: http://172.30.12.88
74 dashboard_url: http://172.30.12.83
78 dashboard_url: http://172.30.13.89
82 dashboard_url: http://172.30.13.91
85 name: functest-pi-slave
92 name: functest-pi-build_tag
98 name: functest-pi-branch
105 name: functest-pi-DEBUG
111 name: functest-pi-EXTERNAL_NETWORK
114 name: EXTERNAL_NETWORK
117 name: functest-pi-VOLUME_DEVICE_NAME
120 name: VOLUME_DEVICE_NAME
123 name: functest-pi-IMAGE_PROPERTIES
126 name: IMAGE_PROPERTIES
127 default: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
129 - functest-pi-containers: &functest-pi-containers
130 name: 'functest-pi-containers'
133 container: '{container}'
136 - functest-pi-run-containers: &functest-pi-run-containers
137 name: 'functest-pi-run-containers'
138 <<: *functest-pi-containers
140 dashboard_url: '{dashboard_url}'
141 privileged: '{privileged}'
145 name: functest-pi-pull-containers
149 if [ "{repo}" = "_" ]; then
150 image={container}:{tag}
151 elif [ "{port}" = "None" ]; then
152 image={repo}/{container}:{tag}
154 image={repo}:{port}/{container}:{tag}
156 sudo docker pull $image
159 name: functest-pi-run-containers
163 [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
164 if [ "{repo}" = "_" ]; then
165 image={container}:{tag}
166 elif [ "{port}" = "None" ]; then
167 image={repo}/{container}:{tag}
169 image={repo}:{port}/{container}:{tag}
174 volumes="-v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static" ;;
176 volumes="-v /usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static" ;;
178 sudo docker run --rm \
179 --privileged={privileged} \
180 --network={network} \
181 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
182 -e S3_DST_URL=s3://artifacts.opnfv.org/functest/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
183 -e HTTP_DST_URL=http://artifacts.opnfv.org/functest/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
184 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
185 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
186 -e NODE_NAME=$slave \
187 -e BUILD_TAG=$BUILD_TAG \
188 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
190 -e EXTERNAL_NETWORK=$EXTERNAL_NETWORK \
191 -e DASHBOARD_URL={dashboard_url} \
192 -e VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME \
193 -e IMAGE_PROPERTIES=$IMAGE_PROPERTIES \
194 -v /home/opnfv/functest/.boto:/root/.boto \
195 -v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \
196 -v /home/opnfv/functest/images:/home/opnfv/functest/images \
197 $volumes $image run_tests -t {test} -r -p
200 name: functest-pi-remove-images
204 if [ "{repo}" = "_" ]; then
205 image={container}:{tag}
206 elif [ "{port}" = "None" ]; then
207 image={repo}/{container}:{tag}
209 image={repo}:{port}/{container}:{tag}
211 sudo docker rmi $image || true
214 name: 'functest-pi-{repo}-{container}-{tag}-pull'
219 - functest-pi-pull-containers:
220 <<: *functest-pi-containers
223 name: 'functest-pi-ollivier-functest-healthcheck-pull'
224 <<: *functest-pi-params
225 container: 'functest-healthcheck'
227 - 'functest-pi-{repo}-{container}-{tag}-pull'
230 name: 'functest-pi-ollivier-functest-smoke-pull'
231 <<: *functest-pi-params
232 container: 'functest-smoke'
234 - 'functest-pi-{repo}-{container}-{tag}-pull'
237 name: 'functest-pi-ollivier-functest-smoke-cntt-pull'
238 <<: *functest-pi-params
239 container: 'functest-smoke-cntt'
241 - 'functest-pi-{repo}-{container}-{tag}-pull'
244 name: 'functest-pi-ollivier-functest-benchmarking-pull'
245 <<: *functest-pi-params
246 container: 'functest-benchmarking'
248 - 'functest-pi-{repo}-{container}-{tag}-pull'
251 name: 'functest-pi-ollivier-functest-benchmarking-cntt-pull'
252 <<: *functest-pi-params
253 container: 'functest-benchmarking-cntt'
255 - 'functest-pi-{repo}-{container}-{tag}-pull'
258 name: 'functest-pi-ollivier-functest-vnf-pull'
259 <<: *functest-pi-params
260 container: 'functest-vnf'
262 - 'functest-pi-{repo}-{container}-{tag}-pull'
265 name: 'functest-pi-{repo}-{container}-{tag}-rmi'
270 - functest-pi-remove-images:
271 <<: *functest-pi-containers
274 name: 'functest-pi-ollivier-functest-healthcheck-rmi'
275 <<: *functest-pi-params
276 container: 'functest-healthcheck'
278 - 'functest-pi-{repo}-{container}-{tag}-rmi'
281 name: 'functest-pi-ollivier-functest-smoke-rmi'
282 <<: *functest-pi-params
283 container: 'functest-smoke'
285 - 'functest-pi-{repo}-{container}-{tag}-rmi'
288 name: 'functest-pi-ollivier-functest-smoke-cntt-rmi'
289 <<: *functest-pi-params
290 container: 'functest-smoke-cntt'
292 - 'functest-pi-{repo}-{container}-{tag}-rmi'
295 name: 'functest-pi-ollivier-functest-benchmarking-rmi'
296 <<: *functest-pi-params
297 container: 'functest-benchmarking'
299 - 'functest-pi-{repo}-{container}-{tag}-rmi'
302 name: 'functest-pi-ollivier-functest-benchmarking-cntt-rmi'
303 <<: *functest-pi-params
304 container: 'functest-benchmarking-cntt'
306 - 'functest-pi-{repo}-{container}-{tag}-rmi'
309 name: 'functest-pi-ollivier-functest-vnf-rmi'
310 <<: *functest-pi-params
311 container: 'functest-vnf'
313 - 'functest-pi-{repo}-{container}-{tag}-rmi'
316 name: 'functest-pi-{repo}-{container}-{tag}-{test}-run'
320 - functest-pi-build_tag:
324 - functest-pi-EXTERNAL_NETWORK:
325 EXTERNAL_NETWORK: public
326 - functest-pi-VOLUME_DEVICE_NAME:
327 VOLUME_DEVICE_NAME: sdb
328 - functest-pi-IMAGE_PROPERTIES:
329 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
331 - functest-pi-run-containers:
332 <<: *functest-pi-run-containers
335 name: 'functest-pi-ollivier-functest-healthcheck'
336 <<: *functest-pi-params
337 container: 'functest-healthcheck'
355 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
358 name: 'functest-pi-ollivier-functest-smoke'
359 <<: *functest-pi-params
360 container: 'functest-smoke'
386 test: refstack_defcore
388 test: networking-bgpvpn
394 test: refstack_defcore
396 test: networking-bgpvpn
402 test: refstack_defcore
404 test: networking-bgpvpn
414 test: refstack_defcore
416 test: networking-bgpvpn
428 test: refstack_defcore
438 test: refstack_compute
440 test: refstack_object
442 test: refstack_platform
444 test: tempest_octavia
446 test: tempest_telemetry
456 test: refstack_defcore
458 test: networking-bgpvpn
464 test: refstack_defcore
466 test: networking-bgpvpn
472 test: refstack_defcore
474 test: networking-bgpvpn
484 test: refstack_defcore
486 test: networking-bgpvpn
498 test: refstack_defcore
508 test: refstack_compute
510 test: refstack_object
512 test: refstack_platform
514 test: tempest_octavia
516 test: tempest_telemetry
526 test: refstack_defcore
528 test: networking-bgpvpn
534 test: refstack_defcore
536 test: networking-bgpvpn
542 test: refstack_defcore
544 test: networking-bgpvpn
554 test: refstack_defcore
556 test: networking-bgpvpn
568 test: refstack_defcore
578 test: refstack_compute
580 test: refstack_object
582 test: refstack_platform
584 test: tempest_octavia
586 test: tempest_telemetry
598 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
601 name: 'functest-pi-ollivier-functest-smoke-cntt'
602 <<: *functest-pi-params
603 container: 'functest-smoke-cntt'
605 - tempest_neutron_cntt
606 - tempest_cinder_cntt
607 - tempest_keystone_cntt
611 - tempest_scenario_cntt
616 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
619 name: 'functest-pi-ollivier-functest-benchmarking'
620 <<: *functest-pi-params
621 container: 'functest-benchmarking'
630 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
633 name: 'functest-pi-ollivier-functest-benchmarking-cntt'
634 <<: *functest-pi-params
635 container: 'functest-benchmarking-cntt'
642 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
645 name: 'functest-pi-ollivier-functest-vnf'
646 <<: *functest-pi-params
647 container: 'functest-vnf'
657 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
661 name: functest-pi-zip
665 [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
666 if [ "{repo}" = "_" ]; then
667 image={container}:{tag}
668 elif [ "{port}" = "None" ]; then
669 image={repo}/{container}:{tag}
671 image={repo}:{port}/{container}:{tag}
676 volumes="-v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static" ;;
678 volumes="-v /usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static" ;;
680 sudo docker run --rm \
681 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
682 -e S3_DST_URL=s3://artifacts.opnfv.org/functest \
683 -e HTTP_DST_URL=http://artifacts.opnfv.org/functest \
684 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
685 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
686 -e BUILD_TAG=$BUILD_TAG \
687 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
689 -e EXTERNAL_NETWORK=$EXTERNAL_NETWORK \
690 -e VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME \
691 -e IMAGE_PROPERTIES=$IMAGE_PROPERTIES \
692 -v /home/opnfv/functest/.boto:/root/.boto \
693 -v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \
694 -v /home/opnfv/functest/images:/home/opnfv/functest/images \
695 $volumes $image zip_campaign
698 name: 'functest-pi-{tag}-zip'
702 - functest-pi-build_tag:
706 - functest-pi-EXTERNAL_NETWORK:
707 EXTERNAL_NETWORK: public
708 - functest-pi-VOLUME_DEVICE_NAME:
709 VOLUME_DEVICE_NAME: sdb
710 - functest-pi-IMAGE_PROPERTIES:
711 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
714 <<: *functest-pi-containers
717 name: 'functest-pi-{tag}-zip'
718 <<: *functest-pi-params
719 container: 'functest-healthcheck'
721 - 'functest-pi-{tag}-zip'
724 name: 'functest-pi-{tag}-daily'
725 project-type: multijob
731 - functest-pi-build_tag:
735 - functest-pi-EXTERNAL_NETWORK:
736 EXTERNAL_NETWORK: public
737 - functest-pi-VOLUME_DEVICE_NAME:
738 VOLUME_DEVICE_NAME: sdb
739 - functest-pi-IMAGE_PROPERTIES:
740 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
743 use-build-blocker: true
744 blocking-level: 'NODE'
746 - '^functest(-pi)?(-ovn)?-(arm.*-|amd64-)*[a-z]+-(daily|gate|check)$'
749 name: remove former images
751 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-rmi'
752 <<: *functest-pi-jobs
753 - name: 'functest-pi-ollivier-functest-smoke-{tag}-rmi'
754 <<: *functest-pi-jobs
755 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-rmi'
756 <<: *functest-pi-jobs
757 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-rmi'
758 <<: *functest-pi-jobs
759 - name: 'functest-pi-ollivier-functest-benchmarking-cntt-{tag}-rmi'
760 <<: *functest-pi-jobs
761 - name: 'functest-pi-ollivier-functest-vnf-{tag}-rmi'
762 <<: *functest-pi-jobs
764 name: pull containers
766 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-pull'
767 <<: *functest-pi-jobs
768 - name: 'functest-pi-ollivier-functest-smoke-{tag}-pull'
769 <<: *functest-pi-jobs
770 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-pull'
771 <<: *functest-pi-jobs
772 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-pull'
773 <<: *functest-pi-jobs
774 - name: 'functest-pi-ollivier-functest-benchmarking-cntt-{tag}-pull'
775 <<: *functest-pi-jobs
776 - name: 'functest-pi-ollivier-functest-vnf-{tag}-pull'
777 <<: *functest-pi-jobs
779 name: ollivier/functest-healthcheck:{tag}
781 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-connection_check-run'
782 <<: *functest-pi-jobs
783 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-tenantnetwork1-run'
784 <<: *functest-pi-jobs
785 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-tenantnetwork2-run'
786 <<: *functest-pi-jobs
787 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-vmready1-run'
788 <<: *functest-pi-jobs
789 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-vmready2-run'
790 <<: *functest-pi-jobs
791 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-singlevm1-run'
792 <<: *functest-pi-jobs
793 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-singlevm2-run'
794 <<: *functest-pi-jobs
795 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-vping_ssh-run'
796 <<: *functest-pi-jobs
797 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-vping_userdata-run'
798 <<: *functest-pi-jobs
799 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-cinder_test-run'
800 <<: *functest-pi-jobs
801 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-odl-run'
802 <<: *functest-pi-jobs
803 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-tempest_smoke-run'
804 <<: *functest-pi-jobs
805 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-tempest_horizon-run'
806 <<: *functest-pi-jobs
808 name: ollivier/functest-smoke:{tag}
810 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_neutron-run'
811 <<: *functest-pi-jobs
812 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_cinder-run'
813 <<: *functest-pi-jobs
814 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_keystone-run'
815 <<: *functest-pi-jobs
816 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_heat-run'
817 <<: *functest-pi-jobs
818 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_telemetry-run'
819 <<: *functest-pi-jobs
820 - name: 'functest-pi-ollivier-functest-smoke-{tag}-rally_sanity-run'
821 <<: *functest-pi-jobs
822 - name: 'functest-pi-ollivier-functest-smoke-{tag}-refstack_defcore-run'
823 <<: *functest-pi-jobs
824 - name: 'functest-pi-ollivier-functest-smoke-{tag}-refstack_compute-run'
825 <<: *functest-pi-jobs
826 - name: 'functest-pi-ollivier-functest-smoke-{tag}-refstack_object-run'
827 <<: *functest-pi-jobs
828 - name: 'functest-pi-ollivier-functest-smoke-{tag}-refstack_platform-run'
829 <<: *functest-pi-jobs
830 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_full-run'
831 <<: *functest-pi-jobs
832 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_scenario-run'
833 <<: *functest-pi-jobs
834 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_slow-run'
835 <<: *functest-pi-jobs
836 - name: 'functest-pi-ollivier-functest-smoke-{tag}-patrole-run'
837 <<: *functest-pi-jobs
838 - name: 'functest-pi-ollivier-functest-smoke-{tag}-patrole_admin-run'
839 <<: *functest-pi-jobs
840 - name: 'functest-pi-ollivier-functest-smoke-{tag}-patrole_member-run'
841 <<: *functest-pi-jobs
842 - name: 'functest-pi-ollivier-functest-smoke-{tag}-patrole_reader-run'
843 <<: *functest-pi-jobs
844 - name: 'functest-pi-ollivier-functest-smoke-{tag}-networking-bgpvpn-run'
845 <<: *functest-pi-jobs
846 - name: 'functest-pi-ollivier-functest-smoke-{tag}-networking-sfc-run'
847 <<: *functest-pi-jobs
848 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_barbican-run'
849 <<: *functest-pi-jobs
850 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_octavia-run'
851 <<: *functest-pi-jobs
852 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_cyborg-run'
853 <<: *functest-pi-jobs
855 name: ollivier/functest-smoke-cntt:{tag}
857 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_neutron_cntt-run'
858 <<: *functest-pi-jobs
859 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_cinder_cntt-run'
860 <<: *functest-pi-jobs
861 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_keystone_cntt-run'
862 <<: *functest-pi-jobs
863 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_heat_cntt-run'
864 <<: *functest-pi-jobs
865 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-rally_sanity_cntt-run'
866 <<: *functest-pi-jobs
867 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_full_cntt-run'
868 <<: *functest-pi-jobs
869 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_scenario_cntt-run'
870 <<: *functest-pi-jobs
871 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_slow_cntt-run'
872 <<: *functest-pi-jobs
874 name: ollivier/functest-benchmarking:{tag}
876 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-rally_full-run'
877 <<: *functest-pi-jobs
878 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-rally_jobs-run'
879 <<: *functest-pi-jobs
880 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-vmtp-run'
881 <<: *functest-pi-jobs
882 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-shaker-run'
883 <<: *functest-pi-jobs
885 name: ollivier/functest-benchmarking-cntt:{tag}
887 - name: 'functest-pi-ollivier-functest-benchmarking-cntt-{tag}-rally_full_cntt-run'
888 <<: *functest-pi-jobs
889 - name: 'functest-pi-ollivier-functest-benchmarking-cntt-{tag}-rally_jobs_cntt-run'
890 <<: *functest-pi-jobs
892 name: ollivier/functest-vnf:{tag}
894 - name: 'functest-pi-ollivier-functest-vnf-{tag}-cloudify-run'
895 <<: *functest-pi-jobs
896 - name: 'functest-pi-ollivier-functest-vnf-{tag}-cloudify_ims-run'
897 <<: *functest-pi-jobs
898 - name: 'functest-pi-ollivier-functest-vnf-{tag}-heat_ims-run'
899 <<: *functest-pi-jobs
900 - name: 'functest-pi-ollivier-functest-vnf-{tag}-vyos_vrouter-run'
901 <<: *functest-pi-jobs
902 - name: 'functest-pi-ollivier-functest-vnf-{tag}-juju_epc-run'
903 <<: *functest-pi-jobs
905 name: dump all campaign data
907 - name: 'functest-pi-{tag}-zip'
908 <<: *functest-pi-jobs
912 <<: *functest-pi-params
914 - 'functest-pi-{tag}-daily'
926 regex: ^functest-pi(-ovn)?-(arm.*-|amd64-)*[a-z]+-daily$