Page tree
Skip to end of metadata
Go to start of metadata

Preparing your environment


cat env
DEPLOY_SCENARIO=XXX  # if not os-nosdn-nofeature-noha scenario
NAMESERVER=XXX  # if not 8.8.8.8
EXTERNAL_NETWORK=XXX # if not first network with router:external=True
NEW_USER_ROLE=XXX # if not member
SDN_CONTROLLER_IP=XXX  # if odl scenario
VOLUME_DEVICE_NAME=XXX  # if not vdb
FLAVOR_EXTRA_SPECS=hw:mem_page_size:large    # if fdio scenarios
cat openstack.creds
export OS_AUTH_URL=XXX
export OS_USER_DOMAIN_NAME=XXX
export OS_PROJECT_DOMAIN_NAME=XXX
export OS_USERNAME=XXX
export OS_PROJECT_NAME=XXX
export OS_PASSWORD=XXX
export OS_IDENTITY_API_VERSION=3
export OS_REGION_NAME=XXX
mkdir -p images && wget -q -O- https://git.opnfv.org/functest/plain/functest/ci/download_images.sh | bash -s -- images && ls -1 images/*
images/cirros-0.4.0-aarch64-disk.img
images/cirros-0.4.0-x86_64-disk.img
images/cloudify-docker-manager-community-19.01.24.tar
images/shaker-image-1.3.0+stretch.qcow2
images/ubuntu-14.04-server-cloudimg-amd64-disk1.img
images/ubuntu-14.04-server-cloudimg-arm64-uefi1.img
images/ubuntu-16.04-server-cloudimg-amd64-disk1.img
images/vyos-1.1.8-amd64.qcow2


Testing healthcheck suite


run healthcheck suite
sudo docker run --env-file env \
    -v $(pwd)/openstack.creds:/home/opnfv/functest/conf/env_file \
    -v $(pwd)/images:/home/opnfv/functest/images \
    opnfv/functest-healthcheck:jerma
+--------------------------+------------------+---------------------+------------------+----------------+
|        TEST CASE         |     PROJECT      |         TIER        |     DURATION     |     RESULT     |
+--------------------------+------------------+---------------------+------------------+----------------+
|     connection_check     |     functest     |     healthcheck     |      00:03       |      PASS      |
|      tenantnetwork1      |     functest     |     healthcheck     |      00:06       |      PASS      |
|      tenantnetwork2      |     functest     |     healthcheck     |      00:08       |      PASS      |
|         vmready1         |     functest     |     healthcheck     |      00:08       |      PASS      |
|         vmready2         |     functest     |     healthcheck     |      00:10       |      PASS      |
|        singlevm1         |     functest     |     healthcheck     |      00:31       |      PASS      |
|        singlevm2         |     functest     |     healthcheck     |      00:29       |      PASS      |
|        vping_ssh         |     functest     |     healthcheck     |      00:37       |      PASS      |
|      vping_userdata      |     functest     |     healthcheck     |      00:36       |      PASS      |
|       cinder_test        |     functest     |     healthcheck     |      01:05       |      PASS      |
|      tempest_smoke       |     functest     |     healthcheck     |      04:58       |      PASS      |
|           odl            |     functest     |     healthcheck     |      00:00       |      SKIP      |
+--------------------------+------------------+---------------------+------------------+----------------+


Testing smoke suite

run smoke suite
sudo docker run --env-file env \
    -v $(pwd)/openstack.creds:/home/opnfv/functest/conf/env_file \
    -v $(pwd)/images:/home/opnfv/functest/images \
    opnfv/functest-smoke:jerma
+------------------------------------+------------------+---------------+------------------+----------------+
|             TEST CASE              |     PROJECT      |      TIER     |     DURATION     |     RESULT     |
+------------------------------------+------------------+---------------+------------------+----------------+
|     neutron-tempest-plugin-api     |     functest     |     smoke     |      10:35       |      PASS      |
|            rally_sanity            |     functest     |     smoke     |      17:11       |      PASS      |
|          refstack_compute          |     functest     |     smoke     |      06:09       |      PASS      |
|          refstack_object           |     functest     |     smoke     |      01:48       |      PASS      |
|         refstack_platform          |     functest     |     smoke     |      05:53       |      PASS      |
|            tempest_full            |     functest     |     smoke     |      30:02       |      PASS      |
|          tempest_scenario          |     functest     |     smoke     |      09:26       |      PASS      |
|            tempest_slow            |     functest     |     smoke     |      18:53       |      PASS      |
|              patrole               |     functest     |     smoke     |      02:28       |      PASS      |
|              barbican              |     functest     |     smoke     |      02:13       |      PASS      |
|           neutron_trunk            |     functest     |     smoke     |      00:00       |      SKIP      |
|         networking-bgpvpn          |     functest     |     smoke     |      00:00       |      SKIP      |
|           networking-sfc           |     functest     |     smoke     |      00:00       |      SKIP      |
|              octavia               |     functest     |     smoke     |      00:00       |      SKIP      |
+------------------------------------+------------------+---------------+------------------+----------------+

Regarding patrole, only neutron and glance default policy.json files are integrated and admin is selected as role tested.

From the time being, identity and compute services are skipped as they are failing without their default policy.json.

Be free to put any policy.json or to override the default role and services enabled via docker volumes as the next example:

sudo docker run --env-file env \
    -v $(pwd)/openstack.creds:/home/opnfv/functest/conf/env_file \
    -v $(pwd)/images:/home/opnfv/functest/images \
    -v $(pwd)/cinder/policy.json:/etc/cinder/policy.json \
    -v $(pwd)/glance/policy.json:/etc/glance/policy.json \
    -v $(pwd)/neutron/policy.json:/etc/neutron/policy.json \
    -v $(pwd)/nova/policy.json:/etc/nova/policy.json \
    -v $(pwd)/testcases.yaml:/usr/lib/python3.6/site-packages/xtesting/ci/testcases.yaml \
    opnfv/functest-smoke run_tests -t patrole


Testing benchmarking suite


run benchmarking suite
sudo docker run --env-file env \
    -v $(pwd)/openstack.creds:/home/opnfv/functest/conf/env_file \
    -v $(pwd)/images:/home/opnfv/functest/images \
    opnfv/functest-benchmarking:jerma
+--------------------+------------------+----------------------+------------------+----------------+
|     TEST CASE      |     PROJECT      |         TIER         |     DURATION     |     RESULT     |
+--------------------+------------------+----------------------+------------------+----------------+
|     rally_full     |     functest     |     benchmarking     |      92:42       |      PASS      |
|     rally_jobs     |     functest     |     benchmarking     |      18:44       |      PASS      |
|        vmtp        |     functest     |     benchmarking     |      15:20       |      PASS      |
|       shaker       |     functest     |     benchmarking     |      23:54       |      PASS      |
+--------------------+------------------+----------------------+------------------+----------------+


Testing vnf suite


run vnf suite
sudo docker run --env-file env \
    -v $(pwd)/openstack.creds:/home/opnfv/functest/conf/env_file \
    -v $(pwd)/images:/home/opnfv/functest/images \
    opnfv/functest-vnf:jerma
+----------------------+------------------+--------------+------------------+----------------+
|      TEST CASE       |     PROJECT      |     TIER     |     DURATION     |     RESULT     |
+----------------------+------------------+--------------+------------------+----------------+
|       cloudify       |     functest     |     vnf      |      03:50       |      PASS      |
|     cloudify_ims     |     functest     |     vnf      |      22:34       |      PASS      |
|       heat_ims       |     functest     |     vnf      |      32:39       |      PASS      |
|     vyos_vrouter     |     functest     |     vnf      |      15:10       |      PASS      |
|       juju_epc       |     functest     |     vnf      |      37:03       |      PASS      |
+----------------------+------------------+--------------+------------------+----------------+
  • No labels