No local image file or the file() doesn't exist! 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 and flavor for parser... =========| Download image cirros-0.3.5-x86_64-disk.img... Default flavor m1.tiny already exsits. Register image cirros-0.3.2-x86_64-uec... +------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Field | Value | +------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | checksum | f8ab98ff5e73ebab884d80c9dc9c7290 | | container_format | bare | | created_at | 2018-05-27T09:49:29Z | | disk_format | qcow2 | | file | /v2/images/6c2e54d8-915f-4aa6-a9d4-45177e91a579/file | | id | 6c2e54d8-915f-4aa6-a9d4-45177e91a579 | | min_disk | 0 | | min_ram | 0 | | name | cirros-0.3.2-x86_64-uec | | owner | 509c0bc3b80b482cacdc619d4a49699a | | properties | direct_url='rbd://71680378-e43e-4792-bf3e-159b093a897a/images/6c2e54d8-915f-4aa6-a9d4-45177e91a579/snap', locations='[{u'url': u'rbd://71680378-e43e-4792-bf3e-159b093a897a/images/6c2e54d8-915f-4aa6-a9d4-45177e91a579/snap', u'metadata': {}}]' | | protected | False | | schema | /v2/schemas/image | | size | 13267968 | | status | active | | tags | | | updated_at | 2018-05-27T09:49:30Z | | 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 | 30d06c17cc21457ab5809ff9603f2db4 | | is_domain | False | | name | parser | | parent_id | default | +-------------+----------------------------------+ Create project parser successful. +---------------------+----------------------------------+ | Field | Value | +---------------------+----------------------------------+ | default_project_id | 30d06c17cc21457ab5809ff9603f2db4 | | domain_id | default | | email | shang.xiaodong@zte.com.cn | | enabled | True | | id | 37064044c11c4c9eaba501d985f9e5ea | | 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 /usr/lib/python2.7/site-packages/urllib3/connection.py:344: SubjectAltNameWarning: Certificate for 192.168.11.222 has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.) SubjectAltNameWarning /usr/lib/python2.7/site-packages/urllib3/connection.py:344: SubjectAltNameWarning: Certificate for 192.168.11.222 has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.) SubjectAltNameWarning /usr/lib/python2.7/site-packages/urllib3/connection.py:344: SubjectAltNameWarning: Certificate for 192.168.11.222 has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.) SubjectAltNameWarning 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... 2018-05-27 09:50:04Z [vRNC_Stack]: CREATE_IN_PROGRESS Stack CREATE started 2018-05-27 09:50:04Z [vRNC_Stack.INTERMEDIA_Net]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:05Z [vRNC_Stack.INTERMEDIA_Net]: CREATE_COMPLETE state changed 2018-05-27 09:50:05Z [vRNC_Stack.INTERMEDIA_Net_subnet]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:05Z [vRNC_Stack.CM_Active_configure_config]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:06Z [vRNC_Stack.CM_Active_configure_config]: CREATE_COMPLETE state changed 2018-05-27 09:50:06Z [vRNC_Stack.INTERMEDIA_Net_subnet]: CREATE_COMPLETE state changed 2018-05-27 09:50:06Z [vRNC_Stack.DM_Port_INTERMEDIA]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:06Z [vRNC_Stack.MM_Active_Port_INTERMEDIA]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:06Z [vRNC_Stack.CM_Active_Port_INTERMEDIA]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:06Z [vRNC_Stack.LB_Port_INTERMEDIA]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:06Z [vRNC_Stack.CM_Passive_Port_INTERMEDIA]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:06Z [vRNC_Stack.MM_Passive_Port_INTERMEDIA]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:06Z [vRNC_Stack.EXTERMEDIA_Net]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:07Z [vRNC_Stack.EXTERMEDIA_Net]: CREATE_COMPLETE state changed 2018-05-27 09:50:07Z [vRNC_Stack.EXTERMEDIA_Net_subnet]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:07Z [vRNC_Stack.CM_Active_Port_INTERMEDIA]: CREATE_COMPLETE state changed 2018-05-27 09:50:07Z [vRNC_Stack.MM_Active_Port_INTERMEDIA]: CREATE_COMPLETE state changed 2018-05-27 09:50:07Z [vRNC_Stack.EXTERMEDIA_Net_subnet]: CREATE_COMPLETE state changed 2018-05-27 09:50:07Z [vRNC_Stack.LB_Port_INTERMEDIA]: CREATE_COMPLETE state changed 2018-05-27 09:50:07Z [vRNC_Stack.MM_BlockStorage]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:08Z [vRNC_Stack.LB_Port_EXTERMEDIA]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:08Z [vRNC_Stack.MM_Passive_Port_EXTERMEDIA]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:08Z [vRNC_Stack.MM_Active_Port_EXTERMEDIA]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:08Z [vRNC_Stack.DM_Port_INTERMEDIA]: CREATE_COMPLETE state changed 2018-05-27 09:50:08Z [vRNC_Stack.MM_Active_configure_config]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:09Z [vRNC_Stack.MM_Active_configure_config]: CREATE_COMPLETE state changed 2018-05-27 09:50:09Z [vRNC_Stack.MM_Passive_Port_EXTERMEDIA]: CREATE_COMPLETE state changed 2018-05-27 09:50:09Z [vRNC_Stack.MM_Active_Port_EXTERMEDIA]: CREATE_COMPLETE state changed 2018-05-27 09:50:09Z [vRNC_Stack.LB_Port_EXTERMEDIA]: CREATE_COMPLETE state changed 2018-05-27 09:50:09Z [vRNC_Stack.MM_BlockStorage]: CREATE_COMPLETE state changed 2018-05-27 09:50:09Z [vRNC_Stack.CM_Active_create_config]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:10Z [vRNC_Stack.CM_Active_create_config]: CREATE_COMPLETE state changed 2018-05-27 09:50:10Z [vRNC_Stack.AffinityPolicy]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:11Z [vRNC_Stack.AffinityPolicy]: CREATE_COMPLETE state changed 2018-05-27 09:50:11Z [vRNC_Stack.CTRL_Net]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:12Z [vRNC_Stack.CTRL_Net]: CREATE_COMPLETE state changed 2018-05-27 09:50:12Z [vRNC_Stack.CTRL_Net_subnet]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:12Z [vRNC_Stack.CM_Passive_configure_config]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:13Z [vRNC_Stack.CM_Passive_configure_config]: CREATE_COMPLETE state changed 2018-05-27 09:50:13Z [vRNC_Stack.CTRL_Net_subnet]: CREATE_COMPLETE state changed 2018-05-27 09:50:13Z [vRNC_Stack.DM_Port_CTRL]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:13Z [vRNC_Stack.MM_Active_Port_CTRL]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:13Z [vRNC_Stack.MM_Passive_Port_CTRL]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:13Z [vRNC_Stack.LB_Port_CTRL]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:13Z [vRNC_Stack.CM_Active_Port_CTRL]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:13Z [vRNC_Stack.CM_Passive_Port_CTRL]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:13Z [vRNC_Stack.LB_configure_config]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:14Z [vRNC_Stack.LB_configure_config]: CREATE_COMPLETE state changed 2018-05-27 09:50:14Z [vRNC_Stack.MM_Active_Port_CTRL]: CREATE_COMPLETE state changed 2018-05-27 09:50:14Z [vRNC_Stack.LB_Port_CTRL]: CREATE_COMPLETE state changed 2018-05-27 09:50:14Z [vRNC_Stack.DM_Port_CTRL]: CREATE_COMPLETE state changed 2018-05-27 09:50:14Z [vRNC_Stack.CM_Passive_Port_CTRL]: CREATE_COMPLETE state changed 2018-05-27 09:50:14Z [vRNC_Stack.MM_Passive_Port_CTRL]: CREATE_COMPLETE state changed 2018-05-27 09:50:14Z [vRNC_Stack.MM_Active_create_config]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:15Z [vRNC_Stack.CM_Active_Port_CTRL]: CREATE_COMPLETE state changed 2018-05-27 09:50:15Z [vRNC_Stack.MM_Active_create_config]: CREATE_COMPLETE state changed 2018-05-27 09:50:15Z [vRNC_Stack.MM_Passive_configure_config]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:16Z [vRNC_Stack.MM_Passive_configure_config]: CREATE_COMPLETE state changed 2018-05-27 09:50:17Z [vRNC_Stack.CM_Passive_create_config]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:17Z [vRNC_Stack.CM_Passive_create_config]: CREATE_COMPLETE state changed 2018-05-27 09:50:18Z [vRNC_Stack.DM_create_config]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:18Z [vRNC_Stack.DM_create_config]: CREATE_COMPLETE state changed 2018-05-27 09:50:18Z [vRNC_Stack.MM_Passive_create_config]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:19Z [vRNC_Stack.MM_Passive_create_config]: CREATE_COMPLETE state changed 2018-05-27 09:50:19Z [vRNC_Stack.DM_configure_config]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:20Z [vRNC_Stack.DM_configure_config]: CREATE_COMPLETE state changed 2018-05-27 09:50:20Z [vRNC_Stack.EMS_Net]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:21Z [vRNC_Stack.EMS_Net]: CREATE_COMPLETE state changed 2018-05-27 09:50:21Z [vRNC_Stack.EMS_Net_subnet]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:21Z [vRNC_Stack.EMS_Net_subnet]: CREATE_COMPLETE state changed 2018-05-27 09:50:22Z [vRNC_Stack.LB_create_config]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:22Z [vRNC_Stack.LB_Host]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:22Z [vRNC_Stack.MM_Passive_Port_EMS]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:22Z [vRNC_Stack.MM_Active_Port_EMS]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:22Z [vRNC_Stack.DM_Host]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:22Z [vRNC_Stack.LB_create_config]: CREATE_COMPLETE state changed 2018-05-27 09:50:22Z [vRNC_Stack.CM_Active_Host]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:23Z [vRNC_Stack.AntiAffinityPolicy]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:23Z [vRNC_Stack.AntiAffinityPolicy]: CREATE_COMPLETE state changed 2018-05-27 09:50:23Z [vRNC_Stack.MM_Passive_Port_EMS]: CREATE_COMPLETE state changed 2018-05-27 09:50:23Z [vRNC_Stack.MM_Active_Port_EMS]: CREATE_COMPLETE state changed 2018-05-27 09:50:23Z [vRNC_Stack.MM_Active_Host]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:32Z [vRNC_Stack.CM_Active_Host]: CREATE_COMPLETE state changed 2018-05-27 09:50:32Z [vRNC_Stack.DM_Host]: CREATE_COMPLETE state changed 2018-05-27 09:50:32Z [vRNC_Stack.DM_create_deploy]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:33Z [vRNC_Stack.CM_Active_create_deploy]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:33Z [vRNC_Stack.CM_Active_create_deploy]: CREATE_COMPLETE state changed 2018-05-27 09:50:33Z [vRNC_Stack.CM_Active_configure_deploy]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:33Z [vRNC_Stack.DM_create_deploy]: CREATE_COMPLETE state changed 2018-05-27 09:50:33Z [vRNC_Stack.DM_configure_deploy]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:33Z [vRNC_Stack.CM_Active_configure_deploy]: CREATE_COMPLETE state changed 2018-05-27 09:50:33Z [vRNC_Stack.DM_configure_deploy]: CREATE_COMPLETE state changed 2018-05-27 09:50:35Z [vRNC_Stack.LB_Host]: CREATE_COMPLETE state changed 2018-05-27 09:50:35Z [vRNC_Stack.LB_create_deploy]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:35Z [vRNC_Stack.LB_create_deploy]: CREATE_COMPLETE state changed 2018-05-27 09:50:35Z [vRNC_Stack.LB_configure_deploy]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:36Z [vRNC_Stack.LB_configure_deploy]: CREATE_COMPLETE state changed 2018-05-27 09:50:37Z [vRNC_Stack.MM_Active_Host]: CREATE_COMPLETE state changed 2018-05-27 09:50:37Z [vRNC_Stack.MM_Active_create_deploy]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:37Z [vRNC_Stack.MM_Active_create_deploy]: CREATE_COMPLETE state changed 2018-05-27 09:50:37Z [vRNC_Stack.MM_Active_configure_deploy]: CREATE_IN_PROGRESS state changed 2018-05-27 09:50:38Z [vRNC_Stack.MM_Active_configure_deploy]: CREATE_COMPLETE state changed 2018-05-27 09:50:56Z [vRNC_Stack.MM_Passive_Port_INTERMEDIA]: CREATE_FAILED NeutronClientException: resources.MM_Passive_Port_INTERMEDIA: