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-04-16T22:10:31Z | | disk_format | qcow2 | | file | /v2/images/85fbb5ef-89fe-41e6-9f13-517752233f72/file | | id | 85fbb5ef-89fe-41e6-9f13-517752233f72 | | min_disk | 0 | | min_ram | 0 | | name | cirros-0.3.2-x86_64-uec | | owner | cd415ab5189345a09f6c98b368d7e271 | | properties | direct_url='rbd://bdb9c5ee-41a8-11e8-a2f8-00163eac94c6/glance/85fbb5ef-89fe-41e6-9f13-517752233f72/snap', locations='[{u'url': u'rbd://bdb9c5ee-41a8-11e8-a2f8-00163eac94c6/glance/85fbb5ef-89fe-41e6-9f13-517752233f72/snap', u'metadata': {}}]' | | protected | False | | schema | /v2/schemas/image | | size | 13267968 | | status | active | | tags | | | updated_at | 2018-04-16T22:10:32Z | | virtual_size | None | | visibility | public | +------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ |========= 2/4. Creating test user for parser... =========| +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | Project for parser test | | domain_id | 7448778c09874d18bd8a5258a678f12c | | enabled | True | | id | 9c86f44a797d4d9b99b424f552ccc3cb | | is_domain | False | | name | parser | | parent_id | 7448778c09874d18bd8a5258a678f12c | +-------------+----------------------------------+ Create project parser successful. +---------------------+----------------------------------+ | Field | Value | +---------------------+----------------------------------+ | default_project_id | 9c86f44a797d4d9b99b424f552ccc3cb | | domain_id | 7448778c09874d18bd8a5258a678f12c | | email | shang.xiaodong@zte.com.cn | | enabled | True | | id | 906ee51b03554ad690d58bbe354588eb | | 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-0bb5c292-6a71-4e99-8505-d025b0499823) 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-f02881a1-72d4-4519-a746-5226d56b5db4) Delete user parser's role from project parser Delete user parser Delete project parser ======================={ Parser functest end }========================== 2018-04-16 22:11:01,819 - xtesting.core.feature - ERROR - Execute command: /src/nfv-parser/tests/functest_run.sh failed 2018-04-16 22:11:01,820 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/parser-basics.log'