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-19T09:18:42Z | | disk_format | qcow2 | | file | /v2/images/e562cc3b-f7bb-4676-a212-a5ff01ef3091/file | | id | e562cc3b-f7bb-4676-a212-a5ff01ef3091 | | min_disk | 0 | | min_ram | 0 | | name | cirros-0.3.2-x86_64-uec | | owner | c8ef62de93d643dfb89a69bfdc58bc3e | | properties | direct_url='rbd://26fd0ca6-5b3e-11e8-a337-00163e76a37e/glance/e562cc3b-f7bb-4676-a212-a5ff01ef3091/snap', locations='[{u'url': u'rbd://26fd0ca6-5b3e-11e8-a337-00163e76a37e/glance/e562cc3b-f7bb-4676-a212-a5ff01ef3091/snap', u'metadata': {}}]' | | protected | False | | schema | /v2/schemas/image | | size | 13267968 | | status | active | | tags | | | updated_at | 2018-05-19T09:18:42Z | | virtual_size | None | | visibility | public | +------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ |========= 2/4. Creating test user for parser... =========| +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | Project for parser test | | domain_id | ec1913f632df49bb8033b437a3c66050 | | enabled | True | | id | 347547d423fd4becadefd78c489a6eb5 | | is_domain | False | | name | parser | | parent_id | ec1913f632df49bb8033b437a3c66050 | +-------------+----------------------------------+ Create project parser successful. +---------------------+----------------------------------+ | Field | Value | +---------------------+----------------------------------+ | default_project_id | 347547d423fd4becadefd78c489a6eb5 | | domain_id | ec1913f632df49bb8033b437a3c66050 | | email | shang.xiaodong@zte.com.cn | | enabled | True | | id | 7770fe6b02f744dfa4e425598ac73f25 | | 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-a1e7b95b-b92c-4b37-9dd9-b99f9346c3f2) 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-011b6125-aaec-4e78-a40e-5ae500e4f668) Delete user parser's role from project parser Delete user parser Delete project parser ======================={ Parser functest end }========================== 2018-05-19 09:19:11,620 - xtesting.core.feature - ERROR - Execute command: /src/nfv-parser/tests/functest_run.sh failed 2018-05-19 09:19:11,621 - xtesting.core.feature - INFO - Test result is stored in '/var/lib/xtesting/results/parser-basics.log'