Advertisement
Guest User

Untitled

a guest
Nov 10th, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.89 KB | None | 0 0
  1. /home/dan/nova/.tox/py27/bin/python -m subunit.run nova.tests.functional.test_servers.ServersTest.test_create_and_delete_server | /home/dan/nova/.tox/py27/bin/subunit-trace
  2. /home/dan/nova/.tox/py27/lib/python2.7/site-packages/paste/deploy/loadwsgi.py:22: DeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
  3. return pkg_resources.EntryPoint.parse("x=" + s).load(False)
  4. {0} nova.tests.functional.test_servers.ServersTest.test_create_and_delete_server [65.106853s] ... FAILED
  5.  
  6. Captured traceback:
  7. ~~~~~~~~~~~~~~~~~~~
  8. Traceback (most recent call last):
  9. File "nova/tests/functional/test_servers.py", line 175, in test_create_and_delete_server
  10. created_server = self.api.post_server(post)
  11. File "nova/tests/functional/api/client.py", line 267, in post_server
  12. response = self.api_post('/servers', server).body
  13. File "nova/tests/functional/api/client.py", line 219, in api_post
  14. return APIResponse(self.api_request(relative_uri, **kwargs))
  15. File "nova/tests/functional/api/client.py", line 197, in api_request
  16. response=response)
  17. nova.tests.functional.api.client.OpenStackApiException: Unexpected status code
  18.  
  19.  
  20. Captured pythonlogging:
  21. ~~~~~~~~~~~~~~~~~~~~~~~
  22. 2016-11-10 11:35:01,675 INFO [248_add_expire_reservations_index] Skipped adding reservations_deleted_expire_idx because an equivalent index already exists.
  23. 2016-11-10 11:35:03,616 INFO [nova.service] Starting conductor node (version 14.0.0)
  24. 2016-11-10 11:35:03,638 INFO [nova.virt.driver] Loading compute driver 'fake.SmallFakeDriver'
  25. 2016-11-10 11:35:03,639 INFO [nova.service] Starting compute node (version 14.0.0)
  26. 2016-11-10 11:35:03,666 ERROR [nova.compute.manager] No compute node record for host compute
  27. 2016-11-10 11:35:03,667 WARNING [nova.compute.monitors] Excluding nova.compute.monitors.cpu monitor virt_driver. Not in the list of enabled monitors (CONF.compute_monitors).
  28. 2016-11-10 11:35:03,667 INFO [nova.compute.resource_tracker] Auditing locally available compute resources for node fake-mini
  29. 2016-11-10 11:35:03,670 WARNING [nova.compute.resource_tracker] No compute node record for compute:fake-mini
  30. 2016-11-10 11:35:03,673 INFO [nova.compute.resource_tracker] Compute_service record created for compute:fake-mini
  31. 2016-11-10 11:35:03,681 WARNING [nova.scheduler.client.report] No authentication information found for placement API. Optional use of placement API for reporting is now disabled.
  32. 2016-11-10 11:35:03,706 INFO [nova.compute.resource_tracker] Total usable vcpus: 1, total allocated vcpus: 0
  33. 2016-11-10 11:35:03,706 INFO [nova.compute.resource_tracker] Final resource view: name=fake-mini phys_ram=8192MB used_ram=512MB phys_disk=1028GB used_disk=0GB total_vcpus=1 used_vcpus=0 pci_stats=[]
  34. 2016-11-10 11:35:03,712 INFO [nova.compute.resource_tracker] Compute_service record updated for compute:fake-mini
  35. 2016-11-10 11:35:03,718 INFO [nova.service] Starting consoleauth node (version 14.0.0)
  36. 2016-11-10 11:35:03,723 INFO [nova.network.driver] Loading network driver 'nova.network.linux_net'
  37. 2016-11-10 11:35:03,726 INFO [nova.service] Starting network node (version 14.0.0)
  38. 2016-11-10 11:35:03,767 INFO [nova.service] Starting scheduler node (version 14.0.0)
  39. 2016-11-10 11:35:04,204 INFO [nova.api.openstack] Loaded extensions: ['extensions', 'flavors', 'image-metadata', 'image-size', 'images', 'ips', 'limits', 'os-admin-actions', 'os-admin-password', 'os-agents', 'os-aggregates', 'os-assisted-volume-snapshots', 'os-attach-interfaces', 'os-availability-zone', 'os-baremetal-nodes', 'os-block-device-mapping', 'os-cells', 'os-certificates', 'os-cloudpipe', 'os-config-drive', 'os-console-auth-tokens', 'os-console-output', 'os-consoles', 'os-create-backup', 'os-deferred-delete', 'os-evacuate', 'os-extended-availability-zone', 'os-extended-server-attributes', 'os-extended-status', 'os-extended-volumes', 'os-fixed-ips', 'os-flavor-access', 'os-flavor-extra-specs', 'os-flavor-manage', 'os-flavor-rxtx', 'os-floating-ip-dns', 'os-floating-ip-pools', 'os-floating-ips', 'os-floating-ips-bulk', 'os-fping', 'os-hide-server-addresses', 'os-hosts', 'os-hypervisors', 'os-instance-actions', 'os-instance-usage-audit-log', 'os-keypairs', 'os-lock-server', 'os-migrate-server', 'os-migrations', 'os-multinic', 'os-multiple-create', 'os-networks', 'os-networks-associate', 'os-pause-server', 'os-quota-class-sets', 'os-quota-sets', 'os-remote-consoles', 'os-rescue', 'os-scheduler-hints', 'os-security-group-default-rules', 'os-security-groups', 'os-server-diagnostics', 'os-server-external-events', 'os-server-groups', 'os-server-password', 'os-server-tags', 'os-server-usage', 'os-services', 'os-shelve', 'os-simple-tenant-usage', 'os-suspend-server', 'os-tenant-networks', 'os-used-limits', 'os-user-data', 'os-virtual-interfaces', 'os-volumes', 'server-metadata', 'server-migrations', 'servers', 'versions']
  40. 2016-11-10 11:35:04,493 INFO [nova.api.openstack] Loaded extensions: ['extensions', 'flavors', 'image-metadata', 'image-size', 'images', 'ips', 'limits', 'os-admin-actions', 'os-admin-password', 'os-agents', 'os-aggregates', 'os-assisted-volume-snapshots', 'os-attach-interfaces', 'os-availability-zone', 'os-baremetal-nodes', 'os-block-device-mapping', 'os-cells', 'os-certificates', 'os-cloudpipe', 'os-config-drive', 'os-console-auth-tokens', 'os-console-output', 'os-consoles', 'os-create-backup', 'os-deferred-delete', 'os-evacuate', 'os-extended-availability-zone', 'os-extended-server-attributes', 'os-extended-status', 'os-extended-volumes', 'os-fixed-ips', 'os-flavor-access', 'os-flavor-extra-specs', 'os-flavor-manage', 'os-flavor-rxtx', 'os-floating-ip-dns', 'os-floating-ip-pools', 'os-floating-ips', 'os-floating-ips-bulk', 'os-fping', 'os-hide-server-addresses', 'os-hosts', 'os-hypervisors', 'os-instance-actions', 'os-instance-usage-audit-log', 'os-keypairs', 'os-lock-server', 'os-migrate-server', 'os-migrations', 'os-multinic', 'os-multiple-create', 'os-networks', 'os-networks-associate', 'os-pause-server', 'os-quota-class-sets', 'os-quota-sets', 'os-remote-consoles', 'os-rescue', 'os-scheduler-hints', 'os-security-group-default-rules', 'os-security-groups', 'os-server-diagnostics', 'os-server-external-events', 'os-server-groups', 'os-server-password', 'os-server-tags', 'os-server-usage', 'os-services', 'os-shelve', 'os-simple-tenant-usage', 'os-suspend-server', 'os-tenant-networks', 'os-used-limits', 'os-user-data', 'os-virtual-interfaces', 'os-volumes', 'server-metadata', 'server-migrations', 'servers', 'versions']
  41. 2016-11-10 11:35:04,495 INFO [nova.wsgi] osapi_compute listening on 127.0.0.1:41025
  42. 2016-11-10 11:35:04,503 INFO [nova.service] Starting conductor node (version 14.0.0)
  43. 2016-11-10 11:35:04,505 INFO [nova.osapi_compute.wsgi.server] (8762) wsgi starting up on http://127.0.0.1:41025
  44. 2016-11-10 11:35:04,510 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2 HTTP/1.1" status: 204 len: 350 time: 0.0008318
  45. 2016-11-10 11:35:05,146 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2/6f70656e737461636b20342065766572//images/detail HTTP/1.1" status: 200 len: 5499 time: 0.6344550
  46. 2016-11-10 11:35:05,176 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2/6f70656e737461636b20342065766572//flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0265779
  47. 2016-11-10 11:35:05,266 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2/6f70656e737461636b20342065766572//servers/detail HTTP/1.1" status: 200 len: 211 time: 0.0880451
  48. 2016-11-10 11:35:05,272 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "POST /v2/6f70656e737461636b20342065766572//servers HTTP/1.1" status: 400 len: 347 time: 0.0039580
  49. 2016-11-10 11:35:05,278 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "POST /v2/6f70656e737461636b20342065766572//servers HTTP/1.1" status: 400 len: 399 time: 0.0032430
  50. 2016-11-10 11:35:05,283 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "POST /v2/6f70656e737461636b20342065766572//servers HTTP/1.1" status: 400 len: 399 time: 0.0029280
  51. 2016-11-10 11:35:05,288 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "POST /v2/6f70656e737461636b20342065766572//servers HTTP/1.1" status: 400 len: 438 time: 0.0029230
  52. 2016-11-10 11:36:05,417 ERROR [nova.api.openstack.extensions] Unexpected exception in API method
  53. Traceback (most recent call last):
  54. File "nova/api/openstack/extensions.py", line 338, in wrapped
  55. return f(*args, **kwargs)
  56. File "nova/api/validation/__init__.py", line 73, in wrapper
  57. return func(*args, **kwargs)
  58. File "nova/api/validation/__init__.py", line 73, in wrapper
  59. return func(*args, **kwargs)
  60. File "nova/api/validation/__init__.py", line 73, in wrapper
  61. return func(*args, **kwargs)
  62. File "nova/api/validation/__init__.py", line 73, in wrapper
  63. return func(*args, **kwargs)
  64. File "nova/api/validation/__init__.py", line 73, in wrapper
  65. return func(*args, **kwargs)
  66. File "nova/api/openstack/compute/servers.py", line 631, in create
  67. **create_kwargs)
  68. File "nova/hooks.py", line 154, in inner
  69. rv = f(*args, **kwargs)
  70. File "nova/compute/api.py", line 1541, in create
  71. check_server_group_quota=check_server_group_quota)
  72. File "nova/compute/api.py", line 1182, in _create_instance
  73. block_device_mapping=block_device_mapping)
  74. File "nova/conductor/api.py", line 133, in schedule_and_build_instances
  75. block_device_mapping)
  76. File "nova/conductor/rpcapi.py", line 365, in schedule_and_build_instances
  77. cctxt.cast(context, 'schedule_and_build_instances', **kw)
  78. File "/home/dan/nova/.tox/py27/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 169, in call
  79. retry=self.retry)
  80. File "/home/dan/nova/.tox/py27/lib/python2.7/site-packages/oslo_messaging/transport.py", line 97, in _send
  81. timeout=timeout, retry=retry)
  82. File "/home/dan/nova/.tox/py27/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_fake.py", line 218, in send
  83. return self._send(target, ctxt, message, wait_for_reply, timeout)
  84. File "/home/dan/nova/.tox/py27/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_fake.py", line 210, in _send
  85. 'No reply on topic %s' % target.topic)
  86. MessagingTimeout: No reply on topic conductor
  87. 2016-11-10 11:36:05,420 INFO [nova.api.openstack.wsgi] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  88. <class 'oslo_messaging.exceptions.MessagingTimeout'>
  89. 2016-11-10 11:36:05,422 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "POST /v2/6f70656e737461636b20342065766572//servers HTTP/1.1" status: 500 len: 447 time: 60.1326890
  90. 2016-11-10 11:36:05,452 INFO [nova.wsgi] Stopping WSGI server.
  91. 2016-11-10 11:36:05,452 INFO [nova.osapi_compute.wsgi.server] (8762) wsgi exited, is_accepting=True
  92. 2016-11-10 11:36:05,615 ERROR [oslo_messaging.rpc.server] Exception during message handling
  93. Traceback (most recent call last):
  94. File "/home/dan/nova/.tox/py27/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 133, in _process_incoming
  95. res = self.dispatcher.dispatch(message)
  96. File "/home/dan/nova/.tox/py27/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 150, in dispatch
  97. return self._do_dispatch(endpoint, method, ctxt, args)
  98. File "/home/dan/nova/.tox/py27/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 121, in _do_dispatch
  99. result = func(ctxt, **new_args)
  100. File "nova/conductor/manager.py", line 950, in schedule_and_build_instances
  101. limits=host['limits'])
  102. File "nova/compute/rpcapi.py", line 1076, in build_and_run_instance
  103. limits=limits)
  104. File "/home/dan/nova/.tox/py27/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 169, in call
  105. retry=self.retry)
  106. File "/home/dan/nova/.tox/py27/lib/python2.7/site-packages/oslo_messaging/transport.py", line 97, in _send
  107. timeout=timeout, retry=retry)
  108. File "/home/dan/nova/.tox/py27/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_fake.py", line 218, in send
  109. return self._send(target, ctxt, message, wait_for_reply, timeout)
  110. File "/home/dan/nova/.tox/py27/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_fake.py", line 210, in _send
  111. 'No reply on topic %s' % target.topic)
  112. MessagingTimeout: No reply on topic compute
  113. 2016-11-10 11:36:05,698 WARNING [nova.service] Service killed that has no database entry
  114.  
  115.  
  116. ======
  117. Totals
  118. ======
  119. Ran: 1 tests in 67.0000 sec.
  120. - Passed: 0
  121. - Skipped: 0
  122. - Expected Fail: 0
  123. - Unexpected Success: 0
  124. - Failed: 1
  125. Sum of execute time for each test: 65.1069 sec.
  126.  
  127. ==============
  128. Worker Balance
  129. ==============
  130. - Worker 0 (1 tests) => 0:01:05.106853
  131.  
  132. No tests were successful during the run
  133.  
  134. Compilation exited abnormally with code 1 at Thu Nov 10 11:30:08
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement