Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@fuel:~# functest env prepare
- 2016-12-16 10:31:30,454 - functest_utils - DEBUG - Executing command: 'python /home/opnfv/repos/functest/functest/ci/prepare_env.py start'
- 2016-12-16 10:31:36,690 - prepare_env - INFO - ######### Preparing Functest environment #########
- 2016-12-16 10:31:36,693 - prepare_env - INFO - ==============================================
- 2016-12-16 10:31:36,694 - prepare_env - INFO - Checking environment variables...
- 2016-12-16 10:31:36,695 - prepare_env - INFO - INSTALLER_TYPE=fuel
- 2016-12-16 10:31:36,695 - prepare_env - INFO - INSTALLER_IP=10.20.0.2
- 2016-12-16 10:31:36,696 - prepare_env - INFO - DEPLOY_SCENARIO=os-odl_l2-sfc-noha
- 2016-12-16 10:31:36,696 - prepare_env - INFO - CI_DEBUG=true
- 2016-12-16 10:31:36,697 - prepare_env - INFO - ==============================================
- 2016-12-16 10:31:36,697 - prepare_env - INFO - Creating needed directories...
- 2016-12-16 10:31:36,697 - prepare_env - DEBUG - /home/opnfv/functest/conf already exists.
- 2016-12-16 10:31:36,698 - prepare_env - DEBUG - /home/opnfv/functest/data already exists.
- 2016-12-16 10:31:36,699 - prepare_env - INFO - ==============================================
- 2016-12-16 10:31:36,699 - prepare_env - INFO - Fetching RC file...
- 2016-12-16 10:31:36,700 - prepare_env - INFO - RC file not provided. Fetching it from the installer...
- 2016-12-16 10:31:36,700 - prepare_env - DEBUG - Executing command: /home/opnfv/repos/releng/utils/fetch_os_creds.sh -d /home/opnfv/functest/conf/openstack.creds -i fuel -a 10.20.0.2
- fetch_os_creds.info: Verifying connectivity to 10.20.0.2...
- fetch_os_creds.info: 10.20.0.2 is reachable!
- fetch_os_creds.info: Fetching rc file from controller 10.20.0.3...
- Warning: Permanently added '10.20.0.2' (ECDSA) to the list of known hosts.
- Warning: Permanently added '10.20.0.3' (ECDSA) to the list of known hosts.
- fetch_os_creds.info: Exchanging keystone public IP in rc file to http://172.16.0.3:5000/v2.0
- 2016-12-16 10:31:44,509 - prepare_env - DEBUG -
- -------- Credentials: --------
- #!/bin/sh
- export OS_NO_CACHE='true'
- export OS_TENANT_NAME='admin'
- export OS_PROJECT_NAME='admin'
- export OS_USERNAME='admin'
- export OS_PASSWORD='admin'
- export OS_AUTH_URL='http://172.16.0.3:5000/v2.0'
- export OS_DEFAULT_DOMAIN='Default'
- export OS_AUTH_STRATEGY='keystone'
- export OS_REGION_NAME='RegionOne'
- export CINDER_ENDPOINT_TYPE='internalURL'
- export GLANCE_ENDPOINT_TYPE='internalURL'
- export KEYSTONE_ENDPOINT_TYPE='internalURL'
- export NOVA_ENDPOINT_TYPE='internalURL'
- export NEUTRON_ENDPOINT_TYPE='internalURL'
- export OS_ENDPOINT_TYPE='internalURL'
- export MURANO_REPO_URL='http://storage.apps.openstack.org/'
- export MURANO_PACKAGES_SERVICE='glance'
- 2016-12-16 10:31:44,510 - prepare_env - INFO - Sourcing the OpenStack RC file...
- 2016-12-16 10:31:44,543 - prepare_env - DEBUG - Used credentials:
- REPOS_DIR=/home/opnfv/repos
- OS_AUTH_STRATEGY=keystone
- OS_REGION_NAME=RegionOne
- OS_DEFAULT_DOMAIN=Default
- OS_NO_CACHE=true
- OS_PROJECT_NAME=admin
- OS_USERNAME=admin
- OS_TENANT_NAME=admin
- OS_ENDPOINT_TYPE=internalURL
- OS_PASSWORD=admin
- OS_AUTH_URL=http://172.16.0.3:5000/v2.0
- 2016-12-16 10:31:44,546 - prepare_env - DEBUG - OS_AUTH_URL:http://172.16.0.3:5000/v2.0
- 2016-12-16 10:31:44,547 - prepare_env - DEBUG - OS_USERNAME:admin
- 2016-12-16 10:31:44,547 - prepare_env - DEBUG - OS_TENANT_NAME:admin
- 2016-12-16 10:31:44,547 - prepare_env - DEBUG - OS_PASSWORD:admin
- 2016-12-16 10:31:44,548 - prepare_env - INFO - ==============================================
- 2016-12-16 10:31:44,548 - prepare_env - INFO - Verifying OpenStack services...
- 2016-12-16 10:31:44,548 - prepare_env - DEBUG - Executing command: /home/opnfv/repos/functest/functest/ci/check_os.sh
- 2016-12-16 10:31:44,584 - prepare_env - INFO - Checking OpenStack endpoints:
- 2016-12-16 10:31:44,610 - prepare_env - INFO - >>Verifying connectivity to the public endpoint 172.16.0.3:5000...
- 2016-12-16 10:31:44,629 - prepare_env - INFO - ...OK
- 2016-12-16 10:31:46,988 - prepare_env - INFO - >>Verifying connectivity to the admin endpoint 192.168.0.3:35357...
- 2016-12-16 10:31:47,007 - prepare_env - INFO - ...OK
- 2016-12-16 10:31:47,007 - prepare_env - INFO - Checking OpenStack basic services:
- 2016-12-16 10:31:47,021 - prepare_env - INFO - >>Checking openstack service...
- 2016-12-16 10:31:49,804 - prepare_env - INFO - ...OK
- 2016-12-16 10:31:49,819 - prepare_env - INFO - >>Checking nova service...
- 2016-12-16 10:31:52,153 - prepare_env - INFO - ...OK
- 2016-12-16 10:31:52,167 - prepare_env - INFO - >>Checking neutron service...
- 2016-12-16 10:31:54,359 - prepare_env - INFO - ...OK
- 2016-12-16 10:31:54,373 - prepare_env - INFO - >>Checking glance service...
- 2016-12-16 10:31:56,411 - prepare_env - INFO - ...OK
- 2016-12-16 10:31:56,429 - prepare_env - INFO - >>Checking cinder service...
- 2016-12-16 10:31:58,811 - prepare_env - INFO - ...OK
- 2016-12-16 10:31:58,811 - prepare_env - INFO - OpenStack services are OK.
- 2016-12-16 10:31:58,811 - prepare_env - INFO - Checking External network...
- 2016-12-16 10:32:02,852 - prepare_env - INFO - External network found: d429c3b3-f41f-4192-bfcd-5c069d13c5fa
- 2016-12-16 10:32:02,852 - prepare_env - INFO - ==============================================
- 2016-12-16 10:32:02,853 - prepare_env - INFO - Creating Rally environment...
- Deployment opnfv-rally not found.
- 2016-12-16 10:32:05,980 - functest_utils - DEBUG - Executing command: 'rally deployment create --file=rally_conf.json --name=opnfv-rally'
- 2016-12-16 10:32:08.363 158 INFO rally.deployment.engine [-] Deployment f99cd9b2-40a6-4032-9c3b-0eb143fadb98 | Starting: OpenStack cloud deployment.
- 2016-12-16 10:32:08.406 158 INFO rally.deployment.engine [-] Deployment f99cd9b2-40a6-4032-9c3b-0eb143fadb98 | Completed: OpenStack cloud deployment.
- +--------------------------------------+----------------------------+-------------+------------------+--------+
- | uuid | created_at | name | status | active |
- +--------------------------------------+----------------------------+-------------+------------------+--------+
- | f99cd9b2-40a6-4032-9c3b-0eb143fadb98 | 2016-12-16 10:32:08.291672 | opnfv-rally | deploy->finished | |
- +--------------------------------------+----------------------------+-------------+------------------+--------+
- Using deployment: f99cd9b2-40a6-4032-9c3b-0eb143fadb98
- ~/.rally/openrc was updated
- HINTS:
- * To get your cloud resources, run:
- rally show [flavors|images|keypairs|networks|secgroups]
- * To use standard OpenStack clients, set up your env by running:
- source ~/.rally/openrc
- OpenStack clients are now configured, e.g run:
- openstack image list
- 2016-12-16 10:32:08,596 - prepare_env - INFO - Installing tempest from existing repo...
- 2016-12-16 10:32:08,597 - functest_utils - DEBUG - Executing command: 'rally verify install --source /home/opnfv/repos/tempest --system-wide'
- 2016-12-16 10:32:10.296 166 INFO rally.verification.tempest.tempest [-] Tempest is not installed for deployment: f99cd9b2-40a6-4032-9c3b-0eb143fadb98
- 2016-12-16 10:32:10.297 166 INFO rally.verification.tempest.tempest [-] Installing Tempest for deployment: f99cd9b2-40a6-4032-9c3b-0eb143fadb98
- 2016-12-16 10:32:10.345 166 INFO rally.verification.tempest.tempest [-] Please, wait while Tempest is being cloned.
- Cloning into '/home/opnfv/.rally/tempest/base/tempest_base-c2iaEK'...
- Note: checking out 'c59270760a9e44f4c1f2c37bc3a1bb6222cc19b6'.
- You are in 'detached HEAD' state. You can look around, make experimental
- changes and commit them, and you can discard any commits you make in this
- state without impacting any branches by performing another checkout.
- If you want to create a new branch to retain commits you create, you may
- do so (now or later) by using -b with the checkout command again. Example:
- git checkout -b new_branch_name
- 2016-12-16 10:32:11.830 166 INFO rally.verification.tempest.tempest [-] Tempest has been successfully installed!
- 2016-12-16 10:32:12,094 - functest_utils - DEBUG - Executing command: 'rally deployment check'
- keystone endpoints are valid and following services are available:
- +-------------+----------------+-----------+
- | services | type | status |
- +-------------+----------------+-----------+
- | __unknown__ | alarming | Available |
- | __unknown__ | artifact | Available |
- | __unknown__ | compute_legacy | Available |
- | __unknown__ | servicevm | Available |
- | __unknown__ | volumev2 | Available |
- | __unknown__ | volumev3 | Available |
- | ceilometer | metering | Available |
- | cinder | volume | Available |
- | cloud | cloudformation | Available |
- | glance | image | Available |
- | heat | orchestration | Available |
- | keystone | identity | Available |
- | neutron | network | Available |
- | nova | compute | Available |
- | swift | object-store | Available |
- +-------------+----------------+-----------+
- NOTE: '__unknown__' service name means that Keystone service catalog doesn't return name for this service and Rally can not identify service by its type. BUT you still can use such services with api_versions context, specifying type of service (execute `rally plugin show api_versions` for more details).
- 2016-12-16 10:32:14,046 - functest_utils - DEBUG - Executing command: 'rally show images'
- Images for user `admin` in tenant `admin`:
- +--------------------------------------+--------+----------+
- | UUID | Name | Size (B) |
- +--------------------------------------+--------+----------+
- | bca3dfb5-8325-4b13-8eb2-63cdccad2d46 | TestVM | 22581248 |
- +--------------------------------------+--------+----------+
- 2016-12-16 10:32:16,125 - functest_utils - DEBUG - Executing command: 'rally show flavors'
- Flavors for user `admin` in tenant `admin`:
- +--------------------------------------+-----------+-------+----------+-----------+-----------+
- | ID | Name | vCPUs | RAM (MB) | Swap (MB) | Disk (GB) |
- +--------------------------------------+-----------+-------+----------+-----------+-----------+
- | 1 | m1.tiny | 1 | 512 | n/a | 1 |
- | 2 | m1.small | 1 | 2048 | n/a | 20 |
- | 3 | m1.medium | 2 | 4096 | n/a | 40 |
- | 4 | m1.large | 4 | 8192 | n/a | 80 |
- | 5 | m1.xlarge | 8 | 16384 | n/a | 160 |
- | 69c54c3b-b27d-4206-8252-3385482bebaa | m1.micro | 1 | 64 | n/a | 0 |
- +--------------------------------------+-----------+-------+----------+-----------+-----------+
- 2016-12-16 10:32:18,722 - prepare_env - INFO - Functest environment installed.
- root@fuel:~# . $creds
- root@fuel:~# functest testcase run odl-sfc
- 2016-12-16 10:33:13,711 - functest_utils - DEBUG - Executing command: 'python /home/opnfv/repos/functest/functest/ci/run_tests.py -t odl-sfc'
- 2016-12-16 10:33:20,062 - run_tests - DEBUG - Sourcing the OpenStack RC file...
- 2016-12-16 10:33:20,106 - run_tests - DEBUG - OS_AUTH_URL:http://172.16.0.3:5000/v2.0
- 2016-12-16 10:33:20,107 - run_tests - DEBUG - OS_USERNAME:admin
- 2016-12-16 10:33:20,107 - run_tests - DEBUG - OS_TENANT_NAME:admin
- 2016-12-16 10:33:20,107 - run_tests - DEBUG - OS_PASSWORD:admin
- 2016-12-16 10:33:20,108 - run_tests - INFO -
- 2016-12-16 10:33:20,108 - run_tests - INFO - ============================================
- 2016-12-16 10:33:20,108 - run_tests - INFO - Running test case 'odl-sfc'...
- 2016-12-16 10:33:20,108 - run_tests - INFO - ============================================
- 2016-12-16 10:33:20,109 - run_tests - DEBUG -
- +======================================================================+
- | Testcase: odl-sfc |
- +======================================================================+
- | Description: |
- | Test suite for odl-sfc to test two chains and two SFs |
- | Criteria: status == "PASS" |
- | Dependencies: |
- | - Installer:(apex)|(fuel) |
- | - Scenario :odl_l2-sfc |
- | |
- +----------------------------------------------------------------------+
- 2016-12-16 10:33:20,109 - run_tests - DEBUG - Sourcing the OpenStack RC file...
- 2016-12-16 10:33:20,133 - run_tests - DEBUG - OS_AUTH_URL:http://172.16.0.3:5000/v2.0
- 2016-12-16 10:33:20,135 - run_tests - DEBUG - OS_USERNAME:admin
- 2016-12-16 10:33:20,136 - run_tests - DEBUG - OS_TENANT_NAME:admin
- 2016-12-16 10:33:20,136 - run_tests - DEBUG - OS_PASSWORD:admin
- 2016-12-16 10:33:20,137 - openstack_snapshot - INFO - Generating OpenStack snapshot...
- Traceback (most recent call last):
- File "/home/opnfv/repos/functest/functest/ci/run_tests.py", line 266, in <module>
- main()
- File "/home/opnfv/repos/functest/functest/ci/run_tests.py", line 247, in main
- run_test(_tiers.get_test(args.test), _tiers.get_tier(args.test))
- File "/home/opnfv/repos/functest/functest/ci/run_tests.py", line 130, in run_test
- generate_os_snapshot()
- File "/home/opnfv/repos/functest/functest/ci/run_tests.py", line 91, in generate_os_snapshot
- os_snapshot.main()
- File "/usr/local/lib/python2.7/dist-packages/functest/utils/openstack_snapshot.py", line 133, in main
- nova_client = os_utils.get_nova_client()
- File "/usr/local/lib/python2.7/dist-packages/functest/utils/openstack_utils.py", line 196, in get_nova_client
- sess = get_session()
- File "/usr/local/lib/python2.7/dist-packages/functest/utils/openstack_utils.py", line 165, in get_session
- auth = get_session_auth()
- File "/usr/local/lib/python2.7/dist-packages/functest/utils/openstack_utils.py", line 153, in get_session_auth
- auth = loader.load_from_options(**creds)
- File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/loading/base.py", line 164, in load_from_options
- return self.create_plugin(**kwargs)
- File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/loading/base.py", line 125, in create_plugin
- return self.plugin_class(**kwargs)
- File "/usr/local/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner
- return wrapped(*args, **kwargs)
- File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/generic/password.py", line 35, in __init__
- super(Password, self).__init__(auth_url=auth_url, **kwargs)
- TypeError: __init__() got an unexpected keyword argument 'endpoint_type'
- 2016-12-16 10:33:21,077 - functest_utils - ERROR - The command 'python /home/opnfv/repos/functest/functest/ci/run_tests.py -t odl-sfc' failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement