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'
375 test: refstack_defcore
379 test: networking-bgpvpn
385 test: refstack_defcore
389 test: networking-bgpvpn
399 test: refstack_defcore
403 test: networking-bgpvpn
415 test: refstack_defcore
427 test: refstack_compute
429 test: refstack_object
431 test: refstack_platform
433 test: tempest_octavia
437 test: tempest_telemetry
447 test: refstack_defcore
451 test: networking-bgpvpn
457 test: refstack_defcore
461 test: networking-bgpvpn
471 test: refstack_defcore
475 test: networking-bgpvpn
487 test: refstack_defcore
499 test: refstack_compute
501 test: refstack_object
503 test: refstack_platform
505 test: tempest_octavia
509 test: tempest_telemetry
519 test: refstack_defcore
523 test: networking-bgpvpn
529 test: refstack_defcore
533 test: networking-bgpvpn
543 test: refstack_defcore
547 test: networking-bgpvpn
559 test: refstack_defcore
571 test: refstack_compute
573 test: refstack_object
575 test: refstack_platform
577 test: tempest_octavia
581 test: tempest_telemetry
593 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
596 name: 'functest-pi-ollivier-functest-smoke-cntt'
597 <<: *functest-pi-params
598 container: 'functest-smoke-cntt'
600 - tempest_neutron_cntt
601 - tempest_cinder_cntt
602 - tempest_keystone_cntt
606 - tempest_scenario_cntt
611 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
614 name: 'functest-pi-ollivier-functest-benchmarking'
615 <<: *functest-pi-params
616 container: 'functest-benchmarking'
625 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
628 name: 'functest-pi-ollivier-functest-benchmarking-cntt'
629 <<: *functest-pi-params
630 container: 'functest-benchmarking-cntt'
637 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
640 name: 'functest-pi-ollivier-functest-vnf'
641 <<: *functest-pi-params
642 container: 'functest-vnf'
652 - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
656 name: functest-pi-zip
660 [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
661 if [ "{repo}" = "_" ]; then
662 image={container}:{tag}
663 elif [ "{port}" = "None" ]; then
664 image={repo}/{container}:{tag}
666 image={repo}:{port}/{container}:{tag}
671 volumes="-v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static" ;;
673 volumes="-v /usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static" ;;
675 sudo docker run --rm \
676 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
677 -e S3_DST_URL=s3://artifacts.opnfv.org/functest \
678 -e HTTP_DST_URL=http://artifacts.opnfv.org/functest \
679 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
680 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
681 -e BUILD_TAG=$BUILD_TAG \
682 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
684 -e EXTERNAL_NETWORK=$EXTERNAL_NETWORK \
685 -e VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME \
686 -e IMAGE_PROPERTIES=$IMAGE_PROPERTIES \
687 -v /home/opnfv/functest/.boto:/root/.boto \
688 -v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \
689 -v /home/opnfv/functest/images:/home/opnfv/functest/images \
690 $volumes $image zip_campaign
693 name: 'functest-pi-{tag}-zip'
697 - functest-pi-build_tag:
701 - functest-pi-EXTERNAL_NETWORK:
702 EXTERNAL_NETWORK: public
703 - functest-pi-VOLUME_DEVICE_NAME:
704 VOLUME_DEVICE_NAME: sdb
705 - functest-pi-IMAGE_PROPERTIES:
706 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
709 <<: *functest-pi-containers
712 name: 'functest-pi-{tag}-zip'
713 <<: *functest-pi-params
714 container: 'functest-healthcheck'
716 - 'functest-pi-{tag}-zip'
719 name: 'functest-pi-{tag}-daily'
720 project-type: multijob
726 - functest-pi-build_tag:
730 - functest-pi-EXTERNAL_NETWORK:
731 EXTERNAL_NETWORK: public
732 - functest-pi-VOLUME_DEVICE_NAME:
733 VOLUME_DEVICE_NAME: sdb
734 - functest-pi-IMAGE_PROPERTIES:
735 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
738 use-build-blocker: true
739 blocking-level: 'NODE'
741 - '^functest(-pi)?(-ovn)?-(arm.*-|amd64-)*[a-z]+-(daily|gate|check)$'
744 name: remove former images
746 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-rmi'
747 <<: *functest-pi-jobs
748 - name: 'functest-pi-ollivier-functest-smoke-{tag}-rmi'
749 <<: *functest-pi-jobs
750 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-rmi'
751 <<: *functest-pi-jobs
752 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-rmi'
753 <<: *functest-pi-jobs
754 - name: 'functest-pi-ollivier-functest-benchmarking-cntt-{tag}-rmi'
755 <<: *functest-pi-jobs
756 - name: 'functest-pi-ollivier-functest-vnf-{tag}-rmi'
757 <<: *functest-pi-jobs
759 name: pull containers
761 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-pull'
762 <<: *functest-pi-jobs
763 - name: 'functest-pi-ollivier-functest-smoke-{tag}-pull'
764 <<: *functest-pi-jobs
765 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-pull'
766 <<: *functest-pi-jobs
767 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-pull'
768 <<: *functest-pi-jobs
769 - name: 'functest-pi-ollivier-functest-benchmarking-cntt-{tag}-pull'
770 <<: *functest-pi-jobs
771 - name: 'functest-pi-ollivier-functest-vnf-{tag}-pull'
772 <<: *functest-pi-jobs
774 name: ollivier/functest-healthcheck:{tag}
776 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-connection_check-run'
777 <<: *functest-pi-jobs
778 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-tenantnetwork1-run'
779 <<: *functest-pi-jobs
780 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-tenantnetwork2-run'
781 <<: *functest-pi-jobs
782 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-vmready1-run'
783 <<: *functest-pi-jobs
784 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-vmready2-run'
785 <<: *functest-pi-jobs
786 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-singlevm1-run'
787 <<: *functest-pi-jobs
788 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-singlevm2-run'
789 <<: *functest-pi-jobs
790 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-vping_ssh-run'
791 <<: *functest-pi-jobs
792 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-vping_userdata-run'
793 <<: *functest-pi-jobs
794 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-cinder_test-run'
795 <<: *functest-pi-jobs
796 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-odl-run'
797 <<: *functest-pi-jobs
798 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-tempest_smoke-run'
799 <<: *functest-pi-jobs
800 - name: 'functest-pi-ollivier-functest-healthcheck-{tag}-tempest_horizon-run'
801 <<: *functest-pi-jobs
803 name: ollivier/functest-smoke:{tag}
805 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_neutron-run'
806 <<: *functest-pi-jobs
807 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_cinder-run'
808 <<: *functest-pi-jobs
809 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_keystone-run'
810 <<: *functest-pi-jobs
811 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_heat-run'
812 <<: *functest-pi-jobs
813 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_telemetry-run'
814 <<: *functest-pi-jobs
815 - name: 'functest-pi-ollivier-functest-smoke-{tag}-rally_sanity-run'
816 <<: *functest-pi-jobs
817 - name: 'functest-pi-ollivier-functest-smoke-{tag}-refstack_defcore-run'
818 <<: *functest-pi-jobs
819 - name: 'functest-pi-ollivier-functest-smoke-{tag}-refstack_compute-run'
820 <<: *functest-pi-jobs
821 - name: 'functest-pi-ollivier-functest-smoke-{tag}-refstack_object-run'
822 <<: *functest-pi-jobs
823 - name: 'functest-pi-ollivier-functest-smoke-{tag}-refstack_platform-run'
824 <<: *functest-pi-jobs
825 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_full-run'
826 <<: *functest-pi-jobs
827 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_scenario-run'
828 <<: *functest-pi-jobs
829 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_slow-run'
830 <<: *functest-pi-jobs
831 - name: 'functest-pi-ollivier-functest-smoke-{tag}-patrole-run'
832 <<: *functest-pi-jobs
833 - name: 'functest-pi-ollivier-functest-smoke-{tag}-patrole_admin-run'
834 <<: *functest-pi-jobs
835 - name: 'functest-pi-ollivier-functest-smoke-{tag}-patrole_member-run'
836 <<: *functest-pi-jobs
837 - name: 'functest-pi-ollivier-functest-smoke-{tag}-patrole_reader-run'
838 <<: *functest-pi-jobs
839 - name: 'functest-pi-ollivier-functest-smoke-{tag}-neutron_trunk-run'
840 <<: *functest-pi-jobs
841 - name: 'functest-pi-ollivier-functest-smoke-{tag}-networking-bgpvpn-run'
842 <<: *functest-pi-jobs
843 - name: 'functest-pi-ollivier-functest-smoke-{tag}-networking-sfc-run'
844 <<: *functest-pi-jobs
845 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_barbican-run'
846 <<: *functest-pi-jobs
847 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_octavia-run'
848 <<: *functest-pi-jobs
849 - name: 'functest-pi-ollivier-functest-smoke-{tag}-tempest_cyborg-run'
850 <<: *functest-pi-jobs
852 name: ollivier/functest-smoke-cntt:{tag}
854 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_neutron_cntt-run'
855 <<: *functest-pi-jobs
856 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_cinder_cntt-run'
857 <<: *functest-pi-jobs
858 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_keystone_cntt-run'
859 <<: *functest-pi-jobs
860 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_heat_cntt-run'
861 <<: *functest-pi-jobs
862 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-rally_sanity_cntt-run'
863 <<: *functest-pi-jobs
864 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_full_cntt-run'
865 <<: *functest-pi-jobs
866 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_scenario_cntt-run'
867 <<: *functest-pi-jobs
868 - name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-tempest_slow_cntt-run'
869 <<: *functest-pi-jobs
871 name: ollivier/functest-benchmarking:{tag}
873 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-rally_full-run'
874 <<: *functest-pi-jobs
875 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-rally_jobs-run'
876 <<: *functest-pi-jobs
877 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-vmtp-run'
878 <<: *functest-pi-jobs
879 - name: 'functest-pi-ollivier-functest-benchmarking-{tag}-shaker-run'
880 <<: *functest-pi-jobs
882 name: ollivier/functest-benchmarking-cntt:{tag}
884 - name: 'functest-pi-ollivier-functest-benchmarking-cntt-{tag}-rally_full_cntt-run'
885 <<: *functest-pi-jobs
886 - name: 'functest-pi-ollivier-functest-benchmarking-cntt-{tag}-rally_jobs_cntt-run'
887 <<: *functest-pi-jobs
889 name: ollivier/functest-vnf:{tag}
891 - name: 'functest-pi-ollivier-functest-vnf-{tag}-cloudify-run'
892 <<: *functest-pi-jobs
893 - name: 'functest-pi-ollivier-functest-vnf-{tag}-cloudify_ims-run'
894 <<: *functest-pi-jobs
895 - name: 'functest-pi-ollivier-functest-vnf-{tag}-heat_ims-run'
896 <<: *functest-pi-jobs
897 - name: 'functest-pi-ollivier-functest-vnf-{tag}-vyos_vrouter-run'
898 <<: *functest-pi-jobs
899 - name: 'functest-pi-ollivier-functest-vnf-{tag}-juju_epc-run'
900 <<: *functest-pi-jobs
902 name: dump all campaign data
904 - name: 'functest-pi-{tag}-zip'
905 <<: *functest-pi-jobs
909 <<: *functest-pi-params
911 - 'functest-pi-{tag}-daily'
923 regex: ^functest-pi(-ovn)?-(arm.*-|amd64-)*[a-z]+-daily$