diff options
Diffstat (limited to 'ci')
-rw-r--r-- | ci/config_functest.yaml | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | ci/exec_test.sh | 20 | ||||
-rwxr-xr-x[-rw-r--r--] | ci/generate_report.py | 0 |
3 files changed, 9 insertions, 13 deletions
diff --git a/ci/config_functest.yaml b/ci/config_functest.yaml index afa6ff1f6..e58fcea1a 100644 --- a/ci/config_functest.yaml +++ b/ci/config_functest.yaml @@ -54,7 +54,7 @@ healthcheck: vping: ping_timeout: 200 - vm_flavor: m1.small # adapt to your environment + vm_flavor: m1.tiny # adapt to your environment vm_name_1: opnfv-vping-1 vm_name_2: opnfv-vping-2 image_name: functest-vping diff --git a/ci/exec_test.sh b/ci/exec_test.sh index d7883307b..03eb2c873 100644..100755 --- a/ci/exec_test.sh +++ b/ci/exec_test.sh @@ -73,28 +73,24 @@ function run_test(){ ${FUNCTEST_REPO_DIR}/testcases/OpenStack/healthcheck/healthcheck.sh ;; "vping_ssh") - python ${FUNCTEST_REPO_DIR}/testcases/OpenStack/vPing/vPing_ssh.py $report + python ${FUNCTEST_REPO_DIR}/testcases/OpenStack/vPing/vping.py -m ssh $report ;; "vping_userdata") - python ${FUNCTEST_REPO_DIR}/testcases/OpenStack/vPing/vPing_userdata.py $report + python ${FUNCTEST_REPO_DIR}/testcases/OpenStack/vPing/vping.py -m userdata $report ;; "odl") odl_tests - ${FUNCTEST_REPO_DIR}/testcases/Controllers/ODL/OpenDaylightTesting.py \ - --keystoneip $keystone_ip --neutronip $neutron_ip \ - --osusername ${OS_USERNAME} --ostenantname ${OS_TENANT_NAME} \ - --ospassword ${OS_PASSWORD} \ - --odlip $odl_ip --odlwebport $odl_port - - # push results to the DB in case of CI if [[ "$report" == "-r" && -n "$DEPLOY_SCENARIO" && "$DEPLOY_SCENARIO" != "none" && -n "$INSTALLER_TYPE" && "$INSTALLER_TYPE" != "none" ]] && env | grep NODE_NAME > /dev/null; then - odl_logs="/home/opnfv/functest/results/odl/" - odl_path="${FUNCTEST_REPO_DIR}/testcases/Controllers/ODL/" - python ${odl_path}/odlreport2db.py -x ${odl_logs}/output.xml + args=-p fi + ${FUNCTEST_REPO_DIR}/testcases/Controllers/ODL/OpenDaylightTesting.py \ + --keystoneip $keystone_ip --neutronip $neutron_ip \ + --osusername ${OS_USERNAME} --ostenantname ${OS_TENANT_NAME} \ + --ospassword ${OS_PASSWORD} \ + --odlip $odl_ip --odlwebport $odl_port ${args} ;; "tempest_smoke_serial") python ${FUNCTEST_REPO_DIR}/testcases/OpenStack/tempest/run_tempest.py \ diff --git a/ci/generate_report.py b/ci/generate_report.py index 3ca2847bd..3ca2847bd 100644..100755 --- a/ci/generate_report.py +++ b/ci/generate_report.py |