Skip to content

Instantly share code, notes, and snippets.

@gochist
Created January 3, 2017 15:23
Show Gist options
  • Save gochist/be1f50e67f343208047d1b15a7a45607 to your computer and use it in GitHub Desktop.
Save gochist/be1f50e67f343208047d1b15a7a45607 to your computer and use it in GitHub Desktop.
tox result
june@hp650:~/git/openstack/nova$ tox -e functional nova.tests.functional.test_servers.ServersTest.test_create_and_rebuild_server
functional develop-inst-noop: /home/june/git/openstack/nova
functional installed: alabaster==0.7.9,alembic==0.8.9,amqp==1.4.9,anyjson==0.3.3,appdirs==1.4.0,Babel==2.3.4,bandit==1.3.0,cachetools==2.0.0,castellan==0.4.0,cffi==1.9.1,cliff==2.3.0,cmd2==0.6.9,colorama==0.3.7,contextlib2==0.5.4,coverage==4.3.1,cryptography==1.7.1,ddt==1.1.1,debtcollector==1.10.0,decorator==4.0.10,docutils==0.12,dogpile.cache==0.6.2,dulwich==0.16.1,enum34==1.1.6,eventlet==0.19.0,extras==1.0.0,fasteners==0.14.1,fixtures==3.0.0,flake8==2.2.4,funcsigs==1.0.2,functools32==3.2.3.post2,futures==3.0.5,futurist==0.20.0,gabbi==1.30.0,gitdb2==2.0.0,GitPython==2.1.1,greenlet==0.4.10,hacking==0.10.2,httplib2==0.9.2,idna==2.2,ipaddress==1.0.17,iso8601==0.1.11,Jinja2==2.8.1,jsonpatch==1.14,jsonpath-rw==1.4.0,jsonpath-rw-ext==1.0.0,jsonpointer==1.10,jsonschema==2.5.1,keystoneauth1==2.16.0,keystonemiddleware==4.13.0,kombu==3.0.37,linecache2==1.0.0,lxml==3.6.4,Mako==1.0.6,MarkupSafe==0.23,mccabe==0.2.1,microversion-parse==0.1.4,mock==2.0.0,monotonic==1.2,mox3==0.18.0,msgpack-python==0.4.8,netaddr==0.7.18,netifaces==0.10.5,-e git+https://github.com/openstack/nova@53b46aa7942652a6674b90f8cbd3851c97ce8b54#egg=nova,numpy==1.11.3,openstackdocstheme==1.5.0,openstacksdk==0.9.10,os-api-ref==1.1.0,os-brick==1.8.0,os-client-config==1.24.0,os-testr==0.8.0,os-vif==1.3.0,os-win==1.2.1,osc-lib==1.2.0,oslo.cache==1.16.0,oslo.concurrency==3.16.0,oslo.config==3.21.0,oslo.context==2.11.0,oslo.db==4.16.0,oslo.i18n==3.11.0,oslo.log==3.19.0,oslo.messaging==5.16.0,oslo.middleware==3.22.0,oslo.policy==1.17.0,oslo.privsep==1.15.0,oslo.reports==1.16.0,oslo.rootwrap==5.3.0,oslo.serialization==2.15.0,oslo.service==1.18.0,oslo.utils==3.21.0,oslo.versionedobjects==1.20.0,oslo.vmware==2.16.0,oslosphinx==4.9.0,oslotest==2.12.0,paramiko==2.1.1,Paste==2.0.3,PasteDeploy==1.5.2,pbr==1.10.0,pep8==1.5.7,pika==0.10.0,pika-pool==0.1.3,ply==3.9,positional==1.1.1,prettytable==0.7.2,psutil==1.2.1,psycopg2==2.6.2,py==1.4.32,pyasn1==0.1.9,pycadf==2.4.0,pycparser==2.17,pyflakes==0.8.1,Pygments==2.1.3,pyinotify==0.9.6,PyMySQL==0.7.9,pyparsing==2.1.10,pytest==3.0.5,python-barbicanclient==4.1.0,python-cinderclient==1.9.0,python-dateutil==2.6.0,python-editor==1.0.3,python-glanceclient==2.5.0,python-ironicclient==1.8.0,python-keystoneclient==3.8.0,python-mimeparse==1.6.0,python-neutronclient==6.0.0,python-novaclient==6.0.0,python-openstackclient==3.6.0,python-subunit==1.2.0,pytz==2016.10,PyYAML==3.12,reno==2.0.3,repoze.lru==0.6,requests==2.12.4,requests-mock==1.2.0,requestsexceptions==1.1.3,retrying==1.3.3,rfc3986==0.4.1,Routes==2.4.1,simplejson==3.10.0,six==1.10.0,smmap2==2.0.1,snowballstemmer==1.2.1,Sphinx==1.3.6,sphinx-rtd-theme==0.1.9,SQLAlchemy==1.0.16,sqlalchemy-migrate==0.10.0,sqlparse==0.2.2,stevedore==1.19.1,suds-jurko==0.6,tempest-lib==1.0.0,Tempita==0.5.2,tenacity==3.6.0,testrepository==0.0.20,testresources==2.0.1,testscenarios==0.5.0,testtools==2.2.0,traceback2==1.4.0,unicodecsv==0.14.1,unittest2==1.1.0,urllib3==1.19.1,warlock==1.2.0,WebOb==1.6.3,websockify==0.8.0,wrapt==1.10.8,wsgi-intercept==1.4.1
functional runtests: PYTHONHASHSEED='2027113583'
functional runtests: commands[0] | find . -type f -name *.pyc -delete
functional runtests: commands[1] | bash tools/pretty_tox.sh nova.tests.functional.test_servers.ServersTest.test_create_and_rebuild_server
running testr
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./nova/tests} --list
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./nova/tests} --load-list /tmp/tmpK1pAnZ
{0} nova.tests.functional.test_servers.ServersTest.test_create_and_rebuild_server [12.900521s] ... FAILED
Captured stderr:
~~~~~~~~~~~~~~~~
/home/june/git/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_messaging/rpc/server.py:200: FutureWarning: The access_policy argument is changing its default value to <class 'oslo_messaging.rpc.dispatcher.DefaultRPCAccessPolicy'> in version '?', please update the code to explicitly set None as the value: access_policy defaults to LegacyRPCAccessPolicy which exposes private methods. Explicitly set access_policy to DefaultRPCAccessPolicy or ExplicitRPCAccessPolicy.
access_policy)
/home/june/git/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py:22: DeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
return pkg_resources.EntryPoint.parse("x=" + s).load(False)
/home/june/git/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_middleware/cors.py:136: DeprecationWarning: Method 'instancemethod.set_latent()' has moved to 'instancemethod.set_defaults()': CORS.set_latent has been deprecated in favor of oslo_middleware.cors.set_defaults
allow_methods=sanitize(self.conf.get('latent_allow_methods'))
/home/june/git/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_context/context.py:91: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values.
DeprecationWarning)
Captured pythonlogging:
~~~~~~~~~~~~~~~~~~~~~~~
2017-01-04 00:22:10,237 INFO [248_add_expire_reservations_index] Skipped adding reservations_deleted_expire_idx because an equivalent index already exists.
2017-01-04 00:22:12,785 INFO [nova.service] Starting conductor node (version 15.0.0)
2017-01-04 00:22:12,821 INFO [nova.virt.driver] Loading compute driver 'fake.SmallFakeDriver'
2017-01-04 00:22:12,825 INFO [nova.service] Starting compute node (version 15.0.0)
2017-01-04 00:22:12,873 ERROR [nova.compute.manager] No compute node record for host compute
2017-01-04 00:22:12,876 WARNING [nova.compute.monitors] Excluding nova.compute.monitors.cpu monitor virt_driver. Not in the list of enabled monitors (CONF.compute_monitors).
2017-01-04 00:22:12,883 WARNING [nova.compute.resource_tracker] No compute node record for compute:fake-mini
2017-01-04 00:22:12,888 INFO [nova.compute.resource_tracker] Compute_service record created for compute:fake-mini
2017-01-04 00:22:12,902 WARNING [nova.scheduler.client.report] No authentication information found for placement API. Optional use of placement API for reporting is now disabled.
2017-01-04 00:22:12,944 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=[]
2017-01-04 00:22:12,966 INFO [nova.service] Starting consoleauth node (version 15.0.0)
2017-01-04 00:22:12,977 INFO [nova.network.driver] Loading network driver 'nova.network.linux_net'
2017-01-04 00:22:12,985 INFO [nova.service] Starting network node (version 15.0.0)
2017-01-04 00:22:13,076 INFO [nova.service] Starting scheduler node (version 15.0.0)
2017-01-04 00:22:14,893 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']
2017-01-04 00:22:16,237 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']
2017-01-04 00:22:16,241 INFO [nova.wsgi] osapi_compute listening on 127.0.0.1:38531
2017-01-04 00:22:16,265 INFO [nova.service] Starting conductor node (version 15.0.0)
2017-01-04 00:22:16,270 INFO [nova.osapi_compute.wsgi.server] (14894) wsgi starting up on http://127.0.0.1:38531
2017-01-04 00:22:16,362 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2 HTTP/1.1" status: 204 len: 350 time: 0.0012698
2017-01-04 00:22:17,617 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2/6f70656e737461636b20342065766572//images/detail HTTP/1.1" status: 200 len: 5499 time: 1.2517109
2017-01-04 00:22:17,673 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2/6f70656e737461636b20342065766572//flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0514288
2017-01-04 00:22:17,844 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2/6f70656e737461636b20342065766572//servers/detail HTTP/1.1" status: 200 len: 211 time: 0.1673770
2017-01-04 00:22:18,617 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "POST /v2/6f70656e737461636b20342065766572//servers HTTP/1.1" status: 202 len: 754 time: 0.7690768
2017-01-04 00:22:18,778 INFO [nova.compute.claims] Attempting claim: memory 512 MB, disk 1 GB, vcpus 1 CPU
2017-01-04 00:22:18,778 INFO [nova.compute.claims] Total memory: 8192 MB, used: 512.00 MB
2017-01-04 00:22:18,778 INFO [nova.compute.claims] memory limit not specified, defaulting to unlimited
2017-01-04 00:22:18,778 INFO [nova.compute.claims] Total disk: 1028 GB, used: 0.00 GB
2017-01-04 00:22:18,779 INFO [nova.compute.claims] disk limit not specified, defaulting to unlimited
2017-01-04 00:22:18,779 INFO [nova.compute.claims] Total vcpu: 1 VCPU, used: 0.00 VCPU
2017-01-04 00:22:18,779 INFO [nova.compute.claims] vcpu limit not specified, defaulting to unlimited
2017-01-04 00:22:18,779 INFO [nova.compute.claims] Claim successful
2017-01-04 00:22:19,108 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2/6f70656e737461636b20342065766572//servers/bfed5535-89fb-4ed4-a099-9d1233f04170 HTTP/1.1" status: 200 len: 2335 time: 0.3559101
2017-01-04 00:22:19,312 INFO [nova.compute.manager] Took 0.00 seconds to spawn the instance on the hypervisor.
2017-01-04 00:22:19,753 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2/6f70656e737461636b20342065766572//servers/bfed5535-89fb-4ed4-a099-9d1233f04170 HTTP/1.1" status: 200 len: 2358 time: 0.3479712
2017-01-04 00:22:19,758 INFO [nova.scheduler.host_manager] Received an update from an unknown host 'compute'. Re-created its InstanceList.
2017-01-04 00:22:19,763 INFO [nova.compute.manager] Took 1.02 seconds to build instance.
2017-01-04 00:22:19,775 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "POST /v2/6f70656e737461636b20342065766572//servers/bfed5535-89fb-4ed4-a099-9d1233f04170/Action HTTP/1.1" status: 404 len: 264 time: 0.0020931
2017-01-04 00:22:19,815 INFO [nova.wsgi] Stopping WSGI server.
2017-01-04 00:22:19,816 INFO [nova.osapi_compute.wsgi.server] (14894) wsgi exited, is_accepting=True
2017-01-04 00:22:20,066 WARNING [nova.service] Service killed that has no database entry
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "nova/tests/functional/test_servers.py", line 422, in test_create_and_rebuild_server
self.api.post_server_action(created_server_id, post)
File "nova/tests/functional/api/client.py", line 276, in post_server_action
return self.api_post('/servers/%s/Action' % server_id, data).body
File "nova/tests/functional/api/client.py", line 218, in api_post
return APIResponse(self.api_request(relative_uri, **kwargs))
File "nova/tests/functional/api/client.py", line 190, in api_request
raise OpenStackApiNotFoundException(response=response)
nova.tests.functional.api.client.OpenStackApiNotFoundException: Item not found
Slowest Tests
Test id Runtime (s)
----------------------------------------------------------------------------- -----------
nova.tests.functional.test_servers.ServersTest.test_create_and_rebuild_server 12.901
==============================
Failed 1 tests - output below:
==============================
nova.tests.functional.test_servers.ServersTest.test_create_and_rebuild_server
-----------------------------------------------------------------------------
Captured stderr:
~~~~~~~~~~~~~~~~
/home/june/git/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_messaging/rpc/server.py:200: FutureWarning: The access_policy argument is changing its default value to <class 'oslo_messaging.rpc.dispatcher.DefaultRPCAccessPolicy'> in version '?', please update the code to explicitly set None as the value: access_policy defaults to LegacyRPCAccessPolicy which exposes private methods. Explicitly set access_policy to DefaultRPCAccessPolicy or ExplicitRPCAccessPolicy.
access_policy)
/home/june/git/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py:22: DeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
return pkg_resources.EntryPoint.parse("x=" + s).load(False)
/home/june/git/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_middleware/cors.py:136: DeprecationWarning: Method 'instancemethod.set_latent()' has moved to 'instancemethod.set_defaults()': CORS.set_latent has been deprecated in favor of oslo_middleware.cors.set_defaults
allow_methods=sanitize(self.conf.get('latent_allow_methods'))
/home/june/git/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_context/context.py:91: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values.
DeprecationWarning)
Captured pythonlogging:
~~~~~~~~~~~~~~~~~~~~~~~
2017-01-04 00:22:10,237 INFO [248_add_expire_reservations_index] Skipped adding reservations_deleted_expire_idx because an equivalent index already exists.
2017-01-04 00:22:12,785 INFO [nova.service] Starting conductor node (version 15.0.0)
2017-01-04 00:22:12,821 INFO [nova.virt.driver] Loading compute driver 'fake.SmallFakeDriver'
2017-01-04 00:22:12,825 INFO [nova.service] Starting compute node (version 15.0.0)
2017-01-04 00:22:12,873 ERROR [nova.compute.manager] No compute node record for host compute
2017-01-04 00:22:12,876 WARNING [nova.compute.monitors] Excluding nova.compute.monitors.cpu monitor virt_driver. Not in the list of enabled monitors (CONF.compute_monitors).
2017-01-04 00:22:12,883 WARNING [nova.compute.resource_tracker] No compute node record for compute:fake-mini
2017-01-04 00:22:12,888 INFO [nova.compute.resource_tracker] Compute_service record created for compute:fake-mini
2017-01-04 00:22:12,902 WARNING [nova.scheduler.client.report] No authentication information found for placement API. Optional use of placement API for reporting is now disabled.
2017-01-04 00:22:12,944 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=[]
2017-01-04 00:22:12,966 INFO [nova.service] Starting consoleauth node (version 15.0.0)
2017-01-04 00:22:12,977 INFO [nova.network.driver] Loading network driver 'nova.network.linux_net'
2017-01-04 00:22:12,985 INFO [nova.service] Starting network node (version 15.0.0)
2017-01-04 00:22:13,076 INFO [nova.service] Starting scheduler node (version 15.0.0)
2017-01-04 00:22:14,893 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']
2017-01-04 00:22:16,237 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']
2017-01-04 00:22:16,241 INFO [nova.wsgi] osapi_compute listening on 127.0.0.1:38531
2017-01-04 00:22:16,265 INFO [nova.service] Starting conductor node (version 15.0.0)
2017-01-04 00:22:16,270 INFO [nova.osapi_compute.wsgi.server] (14894) wsgi starting up on http://127.0.0.1:38531
2017-01-04 00:22:16,362 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2 HTTP/1.1" status: 204 len: 350 time: 0.0012698
2017-01-04 00:22:17,617 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2/6f70656e737461636b20342065766572//images/detail HTTP/1.1" status: 200 len: 5499 time: 1.2517109
2017-01-04 00:22:17,673 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2/6f70656e737461636b20342065766572//flavors/detail HTTP/1.1" status: 200 len: 2267 time: 0.0514288
2017-01-04 00:22:17,844 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2/6f70656e737461636b20342065766572//servers/detail HTTP/1.1" status: 200 len: 211 time: 0.1673770
2017-01-04 00:22:18,617 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "POST /v2/6f70656e737461636b20342065766572//servers HTTP/1.1" status: 202 len: 754 time: 0.7690768
2017-01-04 00:22:18,778 INFO [nova.compute.claims] Attempting claim: memory 512 MB, disk 1 GB, vcpus 1 CPU
2017-01-04 00:22:18,778 INFO [nova.compute.claims] Total memory: 8192 MB, used: 512.00 MB
2017-01-04 00:22:18,778 INFO [nova.compute.claims] memory limit not specified, defaulting to unlimited
2017-01-04 00:22:18,778 INFO [nova.compute.claims] Total disk: 1028 GB, used: 0.00 GB
2017-01-04 00:22:18,779 INFO [nova.compute.claims] disk limit not specified, defaulting to unlimited
2017-01-04 00:22:18,779 INFO [nova.compute.claims] Total vcpu: 1 VCPU, used: 0.00 VCPU
2017-01-04 00:22:18,779 INFO [nova.compute.claims] vcpu limit not specified, defaulting to unlimited
2017-01-04 00:22:18,779 INFO [nova.compute.claims] Claim successful
2017-01-04 00:22:19,108 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2/6f70656e737461636b20342065766572//servers/bfed5535-89fb-4ed4-a099-9d1233f04170 HTTP/1.1" status: 200 len: 2335 time: 0.3559101
2017-01-04 00:22:19,312 INFO [nova.compute.manager] Took 0.00 seconds to spawn the instance on the hypervisor.
2017-01-04 00:22:19,753 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "GET /v2/6f70656e737461636b20342065766572//servers/bfed5535-89fb-4ed4-a099-9d1233f04170 HTTP/1.1" status: 200 len: 2358 time: 0.3479712
2017-01-04 00:22:19,758 INFO [nova.scheduler.host_manager] Received an update from an unknown host 'compute'. Re-created its InstanceList.
2017-01-04 00:22:19,763 INFO [nova.compute.manager] Took 1.02 seconds to build instance.
2017-01-04 00:22:19,775 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "POST /v2/6f70656e737461636b20342065766572//servers/bfed5535-89fb-4ed4-a099-9d1233f04170/Action HTTP/1.1" status: 404 len: 264 time: 0.0020931
2017-01-04 00:22:19,815 INFO [nova.wsgi] Stopping WSGI server.
2017-01-04 00:22:19,816 INFO [nova.osapi_compute.wsgi.server] (14894) wsgi exited, is_accepting=True
2017-01-04 00:22:20,066 WARNING [nova.service] Service killed that has no database entry
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "nova/tests/functional/test_servers.py", line 422, in test_create_and_rebuild_server
self.api.post_server_action(created_server_id, post)
File "nova/tests/functional/api/client.py", line 276, in post_server_action
return self.api_post('/servers/%s/Action' % server_id, data).body
File "nova/tests/functional/api/client.py", line 218, in api_post
return APIResponse(self.api_request(relative_uri, **kwargs))
File "nova/tests/functional/api/client.py", line 190, in api_request
raise OpenStackApiNotFoundException(response=response)
nova.tests.functional.api.client.OpenStackApiNotFoundException: Item not found
======
Totals
======
Ran: 1 tests in 42.0000 sec.
- Passed: 0
- Skipped: 0
- Expected Fail: 0
- Unexpected Success: 0
- Failed: 1
Sum of execute time for each test: 12.9005 sec.
==============
Worker Balance
==============
- Worker 0 (1 tests) => 0:00:12.900521
No tests were successful during the run
ERROR: InvocationError: '/bin/bash tools/pretty_tox.sh nova.tests.functional.test_servers.ServersTest.test_create_and_rebuild_server'
______________________________________________________________ summary ______________________________________________________________
ERROR: functional: commands failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment