No local image file or the file() doesn't exsit! so will download image(cirros-0.3.5-x86_64-disk.img) from http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img. ======================={ Parser functest begin }========================== |========= 1/4. Preparing VM image for parser... =========| Download image cirros-0.3.5-x86_64-disk.img... Registe image cirros-0.3.2-x86_64-uec... +------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Field | Value | +------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | checksum | 7ba80c16b3d901bc3cba9286571c0cf0 | | container_format | bare | | created_at | 2018-01-11T21:49:28Z | | disk_format | qcow2 | | file | /v2/images/aa4a1c45-689e-4cf4-a3dc-7ee81eaef715/file | | id | aa4a1c45-689e-4cf4-a3dc-7ee81eaef715 | | min_disk | 0 | | min_ram | 0 | | name | cirros-0.3.2-x86_64-uec | | owner | b5a9a5a3ef194b2086c63485c641abf7 | | properties | direct_url='rbd://348bb6ea-21dc-4481-a1c2-95cb9217f60b/images/aa4a1c45-689e-4cf4-a3dc-7ee81eaef715/snap', locations='[{u'url': u'rbd://348bb6ea-21dc-4481-a1c2-95cb9217f60b/images/aa4a1c45-689e-4cf4-a3dc-7ee81eaef715/snap', u'metadata': {}}]' | | protected | False | | schema | /v2/schemas/image | | size | 20345 | | status | active | | tags | | | updated_at | 2018-01-11T21:49:28Z | | virtual_size | None | | visibility | public | +------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ |========= 2/4. Creating test user for parser... =========| +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | Project for parser test | | domain_id | default | | enabled | True | | id | 59a0a03937ce46e6bd0e2bc945a02233 | | is_domain | False | | name | parser | | parent_id | default | +-------------+----------------------------------+ Create project parser successful. +---------------------+----------------------------------+ | Field | Value | +---------------------+----------------------------------+ | default_project_id | 59a0a03937ce46e6bd0e2bc945a02233 | | domain_id | default | | email | shang.xiaodong@zte.com.cn | | enabled | True | | id | d56b053a1da24dcc9fa8a71fd881e393 | | name | parser | | options | {} | | password_expires_at | None | +---------------------+----------------------------------+ Create user parser successful. Grant user parser the role of admin in project parser successful. Grant user parser the role of heat_stack_owner in project parser successful. |========= 3/4. Parse -> translate -> deploy vRNC... =========| Switch openstack env to parser project Make patch for provider network Patch provider network for input file: Raw yaml file: /src/nfv-parser/tests/../tosca2heat/heat-translator/translator/tests/data/vRNC/Definitions/vRNC.yaml Patched yaml file: /src/nfv-parser/tests/../tosca2heat/heat-translator/translator/tests/data/vRNC/Definitions/vRNC_patch.yaml Patching provider:network_type... Patching provider:segmentation_id... Patching provider:physical_network... Translator use parser: 1. Input file: /src/nfv-parser/tests/../tosca2heat/heat-translator/translator/tests/data/vRNC/Definitions/vRNC_patch.yaml 2. Output file: /src/nfv-parser/tests/../tosca2heat/heat-translator/translator/tests/data/vRNC/vRNC_Hot_Template.yaml Make patch for translated file: Patch yaml file: /src/nfv-parser/tests/../tosca2heat/heat-translator/translator/tests/data/vRNC/vRNC_Hot_Template.yaml Patching compute:signal_transport Deploy stack... ERROR: Property error: : resources.DM_Host.properties.flavor: : Error validating value '': No Flavor matching {'name': ''}. (HTTP 404) Clean-up the environment... Delete patch temp file /src/nfv-parser/tests/../tosca2heat/heat-translator/translator/tests/data/vRNC/Definitions/vRNC_patch.yaml after test. Delete hot temp file /src/nfv-parser/tests/../tosca2heat/heat-translator/translator/tests/data/vRNC/vRNC_Hot_Template.yaml after test. Delete local image file cirros-0.3.2-x86_64-uec.img after test. Delete local URL image file cirros-0.3.5-x86_64-disk.img after test. Delete user parser's role from project parser Delete user parser Delete project parser ======================={ Parser functest end }========================== 2018-01-11 21:50:23,910 - functest.core.feature - ERROR - Execute command: /src/nfv-parser/tests/functest_run.sh failed 2018-01-11 21:50:23,911 - functest.core.feature - INFO - Test result is stored in '/home/opnfv/functest/results/parser-basics.log'