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-02T12:53:59Z | | disk_format | qcow2 | | file | /v2/images/c4d1e579-3284-44a1-a50b-50867e44989c/file | | id | c4d1e579-3284-44a1-a50b-50867e44989c | | min_disk | 0 | | min_ram | 0 | | name | cirros-0.3.2-x86_64-uec | | owner | 0c25d1fb25014881a89e78f406e6be21 | | properties | direct_url='rbd://7a1586ca-4df6-11e8-ab30-00163eca12d7/glance/c4d1e579-3284-44a1-a50b-50867e44989c/snap', locations='[{u'url': u'rbd://7a1586ca-4df6-11e8-ab30-00163eca12d7/glance/c4d1e579-3284-44a1-a50b-50867e44989c/snap', u'metadata': {}}]' | | protected | False | | schema | /v2/schemas/image | | size | 13267968 | | status | active | | tags | | | updated_at | 2018-05-02T12:54:00Z | | virtual_size | None | | visibility | public | +------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ |========= 2/4. Creating test user for parser... =========| +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | Project for parser test | | domain_id | be46f0abfab9404992fbf96ad30eea66 | | enabled | True | | id | 8d141c74c78447a4b7fecd7448aeac5b | | is_domain | False | | name | parser | | parent_id | be46f0abfab9404992fbf96ad30eea66 | +-------------+----------------------------------+ Create project parser successful. +---------------------+----------------------------------+ | Field | Value | +---------------------+----------------------------------+ | default_project_id | 8d141c74c78447a4b7fecd7448aeac5b | | domain_id | be46f0abfab9404992fbf96ad30eea66 | | email | shang.xiaodong@zte.com.cn | | enabled | True | | id | 040e5a01a3264dc5a916e022c3d83cd7 | | 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-bb3a4145-9749-4fe1-a77a-32c7ee7383e4) 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-4cd81aa9-68e3-4007-ab6c-ec59508324d9) Delete user parser's role from project parser Delete user parser Delete project parser ======================={ Parser functest end }========================== 2018-05-02 12:54:29,200 - xtesting.core.feature - ERROR - Execute command: /src/nfv-parser/tests/functest_run.sh failed 2018-05-02 12:54:29,200 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/parser-basics.log'