diff options
Diffstat (limited to 'functest/ci')
-rw-r--r-- | functest/ci/config_aarch64_patch.yaml | 8 | ||||
-rw-r--r-- | functest/ci/config_functest.yaml | 20 | ||||
-rwxr-xr-x | functest/ci/download_images.sh | 7 | ||||
-rw-r--r-- | functest/ci/testcases.yaml | 8 |
4 files changed, 17 insertions, 26 deletions
diff --git a/functest/ci/config_aarch64_patch.yaml b/functest/ci/config_aarch64_patch.yaml index 80cf4ccc..45af8d74 100644 --- a/functest/ci/config_aarch64_patch.yaml +++ b/functest/ci/config_aarch64_patch.yaml @@ -5,14 +5,6 @@ os: image_file_name: cirros-d161201-aarch64-disk.img image_password: gocubsgo - snaps_health_check: - disk_url: http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-disk.img - kernel_url: http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-kernel - ramdisk_url: http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-initramfs - extra_properties: - os_command_line: root=/dev/vdb1 rw rootwait console=tty0 console=ttyS0 console=ttyAMA0 - hw_video_model: vga - vping: image_name: TestVM diff --git a/functest/ci/config_functest.yaml b/functest/ci/config_functest.yaml index 1199be5a..b93730cd 100644 --- a/functest/ci/config_functest.yaml +++ b/functest/ci/config_functest.yaml @@ -11,9 +11,7 @@ general: repo_barometer: /home/opnfv/repos/barometer repo_doctor: /home/opnfv/repos/doctor repo_copper: /home/opnfv/repos/copper - repo_parser: /home/opnfv/repos/parser repo_domino: /home/opnfv/repos/domino - repo_snaps: /home/opnfv/repos/snaps repo_fds: /home/opnfv/repos/fds repo_securityscan: /home/opnfv/repos/securityscanning repo_vrouter: /home/opnfv/repos/vnfs/vrouter @@ -24,7 +22,6 @@ general: ims_data: /home/opnfv/functest/data/ims/ functest_images: /home/opnfv/functest/images rally_inst: /home/opnfv/.rally - refstack_client: /home/opnfv/repos/refstack-client openstack: creds: /home/opnfv/functest/conf/openstack.creds @@ -58,19 +55,14 @@ snaps: use_keystone: True use_floating_ips: True images: + glance_tests: + disk_file: /home/opnfv/functest/images/cirros-0.3.5-x86_64-disk.img cirros: disk_file: /home/opnfv/functest/images/cirros-0.3.5-x86_64-disk.img - # ARM -# disk_url: http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-disk.img -# kernel_url: http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-kernel -# ramdisk_url: http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-initramfs -# extra_properties: -# os_command_line: root=/dev/vdb1 rw rootwait console=tty0 console=ttyS0 console=ttyAMA0 -# hw_video_model: vga -# ubuntu: -# disk_url: http://uec-images.ubuntu.com/releases/trusty/14.04/ubuntu-14.04-server-cloudimg-amd64-disk1.img -# centos: -# disk_url: http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2 + ubuntu: + disk_file: /home/opnfv/functest/images/ubuntu-14.04-server-cloudimg-amd64-disk1.img + centos: + disk_file: /home/opnfv/functest/images/CentOS-7-x86_64-GenericCloud.qcow2 vping: ping_timeout: 200 diff --git a/functest/ci/download_images.sh b/functest/ci/download_images.sh index f3fdef2e..23e09c10 100755 --- a/functest/ci/download_images.sh +++ b/functest/ci/download_images.sh @@ -28,4 +28,11 @@ wget -nc http://artifacts.opnfv.org/sdnvpn/ubuntu-16.04-server-cloudimg-amd64-di wget -nc ${CIRROS_REPO_URL}/daily/20${CIRROS_AARCH64_TAG}/cirros-d${CIRROS_AARCH64_TAG}-aarch64-disk.img -P ${IMAGES_FOLDER_DIR} wget -nc ${CIRROS_REPO_URL}/daily/20${CIRROS_AARCH64_TAG}/cirros-d${CIRROS_AARCH64_TAG}-aarch64-initramfs -P ${IMAGES_FOLDER_DIR} wget -nc ${CIRROS_REPO_URL}/daily/20${CIRROS_AARCH64_TAG}/cirros-d${CIRROS_AARCH64_TAG}-aarch64-kernel -P ${IMAGES_FOLDER_DIR} + +# Add Ubuntu 14 qcow2 image +wget -nc http://uec-images.ubuntu.com/releases/trusty/14.04/ubuntu-14.04-server-cloudimg-amd64-disk1.img -P ${IMAGES_FOLDER_DIR} + +# Add Centos 7 qcow2 image +wget -nc http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2 -P ${IMAGES_FOLDER_DIR} + set +ex
\ No newline at end of file diff --git a/functest/ci/testcases.yaml b/functest/ci/testcases.yaml index 2763d0c2..11af9823 100644 --- a/functest/ci/testcases.yaml +++ b/functest/ci/testcases.yaml @@ -198,7 +198,7 @@ tiers: Robot as the test framework. dependencies: installer: 'apex' - scenario: 'odl_l2-fdio' + scenario: 'odl.*-fdio' run: module: 'functest.opnfv_tests.sdn.odl.odl' class: 'ODLTests' @@ -297,7 +297,7 @@ tiers: module: 'functest.core.feature' class: 'BashFeature' args: - cmd: 'cd /home/opnfv/repos/sdnvpn/sdnvpn/test/functest && python ./run_tests.py' + cmd: 'cd /usr/local/lib/python2.7/dist-packages/sdnvpn/test/functest && python ./run_tests.py' - case_name: security_scan @@ -314,7 +314,7 @@ tiers: module: 'functest.core.feature' class: 'BashFeature' args: - cmd: '. /home/opnfv/functest/conf/stackrc && cd /home/opnfv/repos/securityscanning && python security_scan.py --config config.ini && cd -' + cmd: '. /home/opnfv/functest/conf/stackrc && cd /usr/local/lib/python2.7/dist-packages && python security_scan.py --config config.ini && cd -' - case_name: copper @@ -363,7 +363,7 @@ tiers: module: 'functest.core.feature' class: 'BashFeature' args: - cmd: 'cd /home/opnfv/repos/sfc/sfc/tests/functest && python ./run_tests.py' + cmd: 'cd /usr/local/lib/python2.7/dist-packages/sfc/tests/functest && python ./run_tests.py' - case_name: onos_sfc |