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-27T23:33:16Z | | disk_format | qcow2 | | file | /v2/images/2331b444-2d5d-4f88-847e-1865cdfdeba1/file | | id | 2331b444-2d5d-4f88-847e-1865cdfdeba1 | | min_disk | 0 | | min_ram | 0 | | name | cirros-0.3.2-x86_64-uec | | owner | bf6bed3124714adb9065a0683525cf5b | | properties | direct_url='rbd://909322f0-61ff-11e8-8c58-00163e93b4bd/glance/2331b444-2d5d-4f88-847e-1865cdfdeba1/snap', locations='[{u'url': u'rbd://909322f0-61ff-11e8-8c58-00163e93b4bd/glance/2331b444-2d5d-4f88-847e-1865cdfdeba1/snap', u'metadata': {}}]' | | protected | False | | schema | /v2/schemas/image | | size | 13267968 | | status | active | | tags | | | updated_at | 2018-05-27T23:33:16Z | | virtual_size | None | | visibility | public | +------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ |========= 2/4. Creating test user for parser... =========| +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | Project for parser test | | domain_id | 176852a3b26045afa135356c942ed503 | | enabled | True | | id | 329fd7246f434de0b1f67e5ab5bf7bc2 | | is_domain | False | | name | parser | | parent_id | 176852a3b26045afa135356c942ed503 | +-------------+----------------------------------+ Create project parser successful. +---------------------+----------------------------------+ | Field | Value | +---------------------+----------------------------------+ | default_project_id | 329fd7246f434de0b1f67e5ab5bf7bc2 | | domain_id | 176852a3b26045afa135356c942ed503 | | email | shang.xiaodong@zte.com.cn | | enabled | True | | id | 7acfed00d9994e81a455267105966c7e | | 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-aef37ac2-5a90-434e-ab45-4d63e525046b) 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-2bb8323b-f509-4a1b-b474-f7103498b64f) Delete user parser's role from project parser Delete user parser Delete project parser ======================={ Parser functest end }========================== 2018-05-27 23:33:45,754 - xtesting.core.feature - ERROR - Execute command: /src/nfv-parser/tests/functest_run.sh failed 2018-05-27 23:33:45,755 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/parser-basics.log'