Advertisement
Guest User

OPNFV-ODL-SFC

a guest
Dec 16th, 2016
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 14.92 KB | None | 0 0
  1. root@fuel:~# functest env prepare
  2. 2016-12-16 10:31:30,454 - functest_utils - DEBUG - Executing command: 'python /home/opnfv/repos/functest/functest/ci/prepare_env.py start'
  3. 2016-12-16 10:31:36,690 - prepare_env - INFO - ######### Preparing Functest environment #########
  4.  
  5. 2016-12-16 10:31:36,693 - prepare_env - INFO - ==============================================
  6. 2016-12-16 10:31:36,694 - prepare_env - INFO - Checking environment variables...
  7. 2016-12-16 10:31:36,695 - prepare_env - INFO -     INSTALLER_TYPE=fuel
  8. 2016-12-16 10:31:36,695 - prepare_env - INFO -     INSTALLER_IP=10.20.0.2
  9. 2016-12-16 10:31:36,696 - prepare_env - INFO -     DEPLOY_SCENARIO=os-odl_l2-sfc-noha
  10. 2016-12-16 10:31:36,696 - prepare_env - INFO -     CI_DEBUG=true
  11. 2016-12-16 10:31:36,697 - prepare_env - INFO - ==============================================
  12. 2016-12-16 10:31:36,697 - prepare_env - INFO - Creating needed directories...
  13. 2016-12-16 10:31:36,697 - prepare_env - DEBUG -    /home/opnfv/functest/conf already exists.
  14. 2016-12-16 10:31:36,698 - prepare_env - DEBUG -    /home/opnfv/functest/data already exists.
  15. 2016-12-16 10:31:36,699 - prepare_env - INFO - ==============================================
  16. 2016-12-16 10:31:36,699 - prepare_env - INFO - Fetching RC file...
  17. 2016-12-16 10:31:36,700 - prepare_env - INFO - RC file not provided. Fetching it from the installer...
  18. 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
  19. fetch_os_creds.info: Verifying connectivity to 10.20.0.2...
  20. fetch_os_creds.info: 10.20.0.2 is reachable!
  21. fetch_os_creds.info: Fetching rc file from controller 10.20.0.3...
  22. Warning: Permanently added '10.20.0.2' (ECDSA) to the list of known hosts.
  23. Warning: Permanently added '10.20.0.3' (ECDSA) to the list of known hosts.
  24. fetch_os_creds.info: Exchanging keystone public IP in rc file to http://172.16.0.3:5000/v2.0
  25. 2016-12-16 10:31:44,509 - prepare_env - DEBUG -
  26. -------- Credentials: --------
  27. #!/bin/sh
  28. export OS_NO_CACHE='true'
  29. export OS_TENANT_NAME='admin'
  30. export OS_PROJECT_NAME='admin'
  31. export OS_USERNAME='admin'
  32. export OS_PASSWORD='admin'
  33. export OS_AUTH_URL='http://172.16.0.3:5000/v2.0'
  34. export OS_DEFAULT_DOMAIN='Default'
  35. export OS_AUTH_STRATEGY='keystone'
  36. export OS_REGION_NAME='RegionOne'
  37. export CINDER_ENDPOINT_TYPE='internalURL'
  38. export GLANCE_ENDPOINT_TYPE='internalURL'
  39. export KEYSTONE_ENDPOINT_TYPE='internalURL'
  40. export NOVA_ENDPOINT_TYPE='internalURL'
  41. export NEUTRON_ENDPOINT_TYPE='internalURL'
  42. export OS_ENDPOINT_TYPE='internalURL'
  43. export MURANO_REPO_URL='http://storage.apps.openstack.org/'
  44. export MURANO_PACKAGES_SERVICE='glance'
  45.  
  46. 2016-12-16 10:31:44,510 - prepare_env - INFO - Sourcing the OpenStack RC file...
  47. 2016-12-16 10:31:44,543 - prepare_env - DEBUG - Used credentials:
  48.                            REPOS_DIR=/home/opnfv/repos
  49.                            OS_AUTH_STRATEGY=keystone
  50.                            OS_REGION_NAME=RegionOne
  51.                            OS_DEFAULT_DOMAIN=Default
  52.                            OS_NO_CACHE=true
  53.                            OS_PROJECT_NAME=admin
  54.                            OS_USERNAME=admin
  55.                            OS_TENANT_NAME=admin
  56.                            OS_ENDPOINT_TYPE=internalURL
  57.                            OS_PASSWORD=admin
  58.                            OS_AUTH_URL=http://172.16.0.3:5000/v2.0
  59. 2016-12-16 10:31:44,546 - prepare_env - DEBUG - OS_AUTH_URL:http://172.16.0.3:5000/v2.0
  60. 2016-12-16 10:31:44,547 - prepare_env - DEBUG - OS_USERNAME:admin
  61. 2016-12-16 10:31:44,547 - prepare_env - DEBUG - OS_TENANT_NAME:admin
  62. 2016-12-16 10:31:44,547 - prepare_env - DEBUG - OS_PASSWORD:admin
  63. 2016-12-16 10:31:44,548 - prepare_env - INFO - ==============================================
  64. 2016-12-16 10:31:44,548 - prepare_env - INFO - Verifying OpenStack services...
  65. 2016-12-16 10:31:44,548 - prepare_env - DEBUG - Executing command: /home/opnfv/repos/functest/functest/ci/check_os.sh
  66. 2016-12-16 10:31:44,584 - prepare_env - INFO - Checking OpenStack endpoints:
  67. 2016-12-16 10:31:44,610 - prepare_env - INFO - >>Verifying connectivity to the public endpoint 172.16.0.3:5000...
  68. 2016-12-16 10:31:44,629 - prepare_env - INFO -   ...OK
  69. 2016-12-16 10:31:46,988 - prepare_env - INFO - >>Verifying connectivity to the admin endpoint 192.168.0.3:35357...
  70. 2016-12-16 10:31:47,007 - prepare_env - INFO -   ...OK
  71. 2016-12-16 10:31:47,007 - prepare_env - INFO - Checking OpenStack basic services:
  72. 2016-12-16 10:31:47,021 - prepare_env - INFO - >>Checking openstack service...
  73. 2016-12-16 10:31:49,804 - prepare_env - INFO -   ...OK
  74. 2016-12-16 10:31:49,819 - prepare_env - INFO - >>Checking nova service...
  75. 2016-12-16 10:31:52,153 - prepare_env - INFO -   ...OK
  76. 2016-12-16 10:31:52,167 - prepare_env - INFO - >>Checking neutron service...
  77. 2016-12-16 10:31:54,359 - prepare_env - INFO -   ...OK
  78. 2016-12-16 10:31:54,373 - prepare_env - INFO - >>Checking glance service...
  79. 2016-12-16 10:31:56,411 - prepare_env - INFO -   ...OK
  80. 2016-12-16 10:31:56,429 - prepare_env - INFO - >>Checking cinder service...
  81. 2016-12-16 10:31:58,811 - prepare_env - INFO -   ...OK
  82. 2016-12-16 10:31:58,811 - prepare_env - INFO - OpenStack services are OK.
  83. 2016-12-16 10:31:58,811 - prepare_env - INFO - Checking External network...
  84. 2016-12-16 10:32:02,852 - prepare_env - INFO - External network found: d429c3b3-f41f-4192-bfcd-5c069d13c5fa
  85. 2016-12-16 10:32:02,852 - prepare_env - INFO - ==============================================
  86. 2016-12-16 10:32:02,853 - prepare_env - INFO - Creating Rally environment...
  87. Deployment opnfv-rally not found.
  88. 2016-12-16 10:32:05,980 - functest_utils - DEBUG - Executing command: 'rally deployment create --file=rally_conf.json --name=opnfv-rally'
  89. 2016-12-16 10:32:08.363 158 INFO rally.deployment.engine [-] Deployment f99cd9b2-40a6-4032-9c3b-0eb143fadb98 | Starting:  OpenStack cloud deployment.
  90. 2016-12-16 10:32:08.406 158 INFO rally.deployment.engine [-] Deployment f99cd9b2-40a6-4032-9c3b-0eb143fadb98 | Completed: OpenStack cloud deployment.
  91. +--------------------------------------+----------------------------+-------------+------------------+--------+
  92. | uuid                                 | created_at                 | name        | status           | active |
  93. +--------------------------------------+----------------------------+-------------+------------------+--------+
  94. | f99cd9b2-40a6-4032-9c3b-0eb143fadb98 | 2016-12-16 10:32:08.291672 | opnfv-rally | deploy->finished |        |
  95. +--------------------------------------+----------------------------+-------------+------------------+--------+
  96. Using deployment: f99cd9b2-40a6-4032-9c3b-0eb143fadb98
  97. ~/.rally/openrc was updated
  98.  
  99. HINTS:
  100. * To get your cloud resources, run:
  101.     rally show [flavors|images|keypairs|networks|secgroups]
  102.  
  103. * To use standard OpenStack clients, set up your env by running:
  104.     source ~/.rally/openrc
  105.   OpenStack clients are now configured, e.g run:
  106.     openstack image list
  107. 2016-12-16 10:32:08,596 - prepare_env - INFO - Installing tempest from existing repo...
  108. 2016-12-16 10:32:08,597 - functest_utils - DEBUG - Executing command: 'rally verify install --source /home/opnfv/repos/tempest --system-wide'
  109. 2016-12-16 10:32:10.296 166 INFO rally.verification.tempest.tempest [-] Tempest is not installed for deployment: f99cd9b2-40a6-4032-9c3b-0eb143fadb98
  110. 2016-12-16 10:32:10.297 166 INFO rally.verification.tempest.tempest [-] Installing Tempest for deployment: f99cd9b2-40a6-4032-9c3b-0eb143fadb98
  111. 2016-12-16 10:32:10.345 166 INFO rally.verification.tempest.tempest [-] Please, wait while Tempest is being cloned.
  112. Cloning into '/home/opnfv/.rally/tempest/base/tempest_base-c2iaEK'...
  113. Note: checking out 'c59270760a9e44f4c1f2c37bc3a1bb6222cc19b6'.
  114.  
  115. You are in 'detached HEAD' state. You can look around, make experimental
  116. changes and commit them, and you can discard any commits you make in this
  117. state without impacting any branches by performing another checkout.
  118.  
  119. If you want to create a new branch to retain commits you create, you may
  120. do so (now or later) by using -b with the checkout command again. Example:
  121.  
  122.   git checkout -b new_branch_name
  123.  
  124. 2016-12-16 10:32:11.830 166 INFO rally.verification.tempest.tempest [-] Tempest has been successfully installed!
  125. 2016-12-16 10:32:12,094 - functest_utils - DEBUG - Executing command: 'rally deployment check'
  126. keystone endpoints are valid and following services are available:
  127. +-------------+----------------+-----------+
  128. | services    | type           | status    |
  129. +-------------+----------------+-----------+
  130. | __unknown__ | alarming       | Available |
  131. | __unknown__ | artifact       | Available |
  132. | __unknown__ | compute_legacy | Available |
  133. | __unknown__ | servicevm      | Available |
  134. | __unknown__ | volumev2       | Available |
  135. | __unknown__ | volumev3       | Available |
  136. | ceilometer  | metering       | Available |
  137. | cinder      | volume         | Available |
  138. | cloud       | cloudformation | Available |
  139. | glance      | image          | Available |
  140. | heat        | orchestration  | Available |
  141. | keystone    | identity       | Available |
  142. | neutron     | network        | Available |
  143. | nova        | compute        | Available |
  144. | swift       | object-store   | Available |
  145. +-------------+----------------+-----------+
  146. 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).
  147. 2016-12-16 10:32:14,046 - functest_utils - DEBUG - Executing command: 'rally show images'
  148.  
  149. Images for user `admin` in tenant `admin`:
  150. +--------------------------------------+--------+----------+
  151. | UUID                                 | Name   | Size (B) |
  152. +--------------------------------------+--------+----------+
  153. | bca3dfb5-8325-4b13-8eb2-63cdccad2d46 | TestVM | 22581248 |
  154. +--------------------------------------+--------+----------+
  155. 2016-12-16 10:32:16,125 - functest_utils - DEBUG - Executing command: 'rally show flavors'
  156.  
  157. Flavors for user `admin` in tenant `admin`:
  158. +--------------------------------------+-----------+-------+----------+-----------+-----------+
  159. | ID                                   | Name      | vCPUs | RAM (MB) | Swap (MB) | Disk (GB) |
  160. +--------------------------------------+-----------+-------+----------+-----------+-----------+
  161. | 1                                    | m1.tiny   | 1     | 512      | n/a       | 1         |
  162. | 2                                    | m1.small  | 1     | 2048     | n/a       | 20        |
  163. | 3                                    | m1.medium | 2     | 4096     | n/a       | 40        |
  164. | 4                                    | m1.large  | 4     | 8192     | n/a       | 80        |
  165. | 5                                    | m1.xlarge | 8     | 16384    | n/a       | 160       |
  166. | 69c54c3b-b27d-4206-8252-3385482bebaa | m1.micro  | 1     | 64       | n/a       | 0         |
  167. +--------------------------------------+-----------+-------+----------+-----------+-----------+
  168. 2016-12-16 10:32:18,722 - prepare_env - INFO - Functest environment installed.
  169.  
  170. root@fuel:~# . $creds
  171. root@fuel:~# functest testcase run odl-sfc
  172. 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'
  173. 2016-12-16 10:33:20,062 - run_tests - DEBUG - Sourcing the OpenStack RC file...
  174. 2016-12-16 10:33:20,106 - run_tests - DEBUG - OS_AUTH_URL:http://172.16.0.3:5000/v2.0
  175. 2016-12-16 10:33:20,107 - run_tests - DEBUG - OS_USERNAME:admin
  176. 2016-12-16 10:33:20,107 - run_tests - DEBUG - OS_TENANT_NAME:admin
  177. 2016-12-16 10:33:20,107 - run_tests - DEBUG - OS_PASSWORD:admin
  178. 2016-12-16 10:33:20,108 - run_tests - INFO -
  179.  
  180. 2016-12-16 10:33:20,108 - run_tests - INFO - ============================================
  181. 2016-12-16 10:33:20,108 - run_tests - INFO - Running test case 'odl-sfc'...
  182. 2016-12-16 10:33:20,108 - run_tests - INFO - ============================================
  183. 2016-12-16 10:33:20,109 - run_tests - DEBUG -
  184. +======================================================================+
  185. | Testcase:  odl-sfc                                                   |
  186. +======================================================================+
  187. | Description:                                                         |
  188. |    Test suite for odl-sfc to test two chains and two SFs             |
  189. | Criteria:  status == "PASS"                                          |
  190. | Dependencies:                                                        |
  191. |   - Installer:(apex)|(fuel)                                          |
  192. |   - Scenario :odl_l2-sfc                                             |
  193. |                                                                      |
  194. +----------------------------------------------------------------------+
  195.  
  196. 2016-12-16 10:33:20,109 - run_tests - DEBUG - Sourcing the OpenStack RC file...
  197. 2016-12-16 10:33:20,133 - run_tests - DEBUG - OS_AUTH_URL:http://172.16.0.3:5000/v2.0
  198. 2016-12-16 10:33:20,135 - run_tests - DEBUG - OS_USERNAME:admin
  199. 2016-12-16 10:33:20,136 - run_tests - DEBUG - OS_TENANT_NAME:admin
  200. 2016-12-16 10:33:20,136 - run_tests - DEBUG - OS_PASSWORD:admin
  201. 2016-12-16 10:33:20,137 - openstack_snapshot - INFO - Generating OpenStack snapshot...
  202. Traceback (most recent call last):
  203.  File "/home/opnfv/repos/functest/functest/ci/run_tests.py", line 266, in <module>
  204.    main()
  205.  File "/home/opnfv/repos/functest/functest/ci/run_tests.py", line 247, in main
  206.    run_test(_tiers.get_test(args.test), _tiers.get_tier(args.test))
  207.  File "/home/opnfv/repos/functest/functest/ci/run_tests.py", line 130, in run_test
  208.    generate_os_snapshot()
  209.  File "/home/opnfv/repos/functest/functest/ci/run_tests.py", line 91, in generate_os_snapshot
  210.    os_snapshot.main()
  211.  File "/usr/local/lib/python2.7/dist-packages/functest/utils/openstack_snapshot.py", line 133, in main
  212.    nova_client = os_utils.get_nova_client()
  213.  File "/usr/local/lib/python2.7/dist-packages/functest/utils/openstack_utils.py", line 196, in get_nova_client
  214.    sess = get_session()
  215.  File "/usr/local/lib/python2.7/dist-packages/functest/utils/openstack_utils.py", line 165, in get_session
  216.    auth = get_session_auth()
  217.  File "/usr/local/lib/python2.7/dist-packages/functest/utils/openstack_utils.py", line 153, in get_session_auth
  218.    auth = loader.load_from_options(**creds)
  219.  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/loading/base.py", line 164, in load_from_options
  220.    return self.create_plugin(**kwargs)
  221.  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/loading/base.py", line 125, in create_plugin
  222.    return self.plugin_class(**kwargs)
  223.  File "/usr/local/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner
  224.    return wrapped(*args, **kwargs)
  225.  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/generic/password.py", line 35, in __init__
  226.    super(Password, self).__init__(auth_url=auth_url, **kwargs)
  227. TypeError: __init__() got an unexpected keyword argument 'endpoint_type'
  228. 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