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-17T08:45:45Z | | disk_format | qcow2 | | file | /v2/images/3cc2e3ae-b4d3-447a-be6a-0d3f68105658/file | | id | 3cc2e3ae-b4d3-447a-be6a-0d3f68105658 | | min_disk | 0 | | min_ram | 0 | | name | cirros-0.3.2-x86_64-uec | | owner | ccc1ff59a97e4991b36d3dc12b344087 | | properties | direct_url='rbd://746edfe8-59a7-11e8-9592-00163e2649f1/glance/3cc2e3ae-b4d3-447a-be6a-0d3f68105658/snap', locations='[{u'url': u'rbd://746edfe8-59a7-11e8-9592-00163e2649f1/glance/3cc2e3ae-b4d3-447a-be6a-0d3f68105658/snap', u'metadata': {}}]' | | protected | False | | schema | /v2/schemas/image | | size | 13267968 | | status | active | | tags | | | updated_at | 2018-05-17T08:45:45Z | | virtual_size | None | | visibility | public | +------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ |========= 2/4. Creating test user for parser... =========| +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | Project for parser test | | domain_id | 56945fa36583436c96ea73efd9373ec6 | | enabled | True | | id | b7db467b68614b6a80c546ac1c99fa18 | | is_domain | False | | name | parser | | parent_id | 56945fa36583436c96ea73efd9373ec6 | +-------------+----------------------------------+ Create project parser successful. +---------------------+----------------------------------+ | Field | Value | +---------------------+----------------------------------+ | default_project_id | b7db467b68614b6a80c546ac1c99fa18 | | domain_id | 56945fa36583436c96ea73efd9373ec6 | | email | shang.xiaodong@zte.com.cn | | enabled | True | | id | 3a208554b43041bd92910bc6d922c220 | | name | parser | | options | {} | | password_expires_at | None | +---------------------+----------------------------------+ Create user parser successful. No user with a name or ID of 'parser' exists. No user with a name or ID of 'parser' exists. Clean-up the environment... The request you have made requires authentication. (HTTP 401) (Request-ID: req-d31df30e-6cd4-4eeb-b516-c552d4dd1802) Delete local image file cirros-0.3.2-x86_64-uec.img after test. The request you have made requires authentication. (HTTP 401) (Request-ID: req-3adf6b13-d778-4388-8712-3613f8a62fc7) Delete user parser's role from project parser Delete user parser Delete project parser ======================={ Parser functest end }========================== 2018-05-17 08:46:14,323 - xtesting.core.feature - ERROR - Execute command: /src/nfv-parser/tests/functest_run.sh failed 2018-05-17 08:46:14,323 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/parser-basics.log'