Skip to content

Instantly share code, notes, and snippets.

$ testr run tempest.api.compute.servers.test_servers.ServersTestJSON.test_update_server_name
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \
OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./tempest/test_discover} --list
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \
OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \
# Sample ``local.conf`` for user-configurable variables in ``stack.sh``
# NOTE: Copy this file to the root ``devstack`` directory for it to
# work properly.
# ``local.conf`` is a user-maintained setings file that is sourced from ``stackrc``.
# This gives it the ability to override any variables set in ``stackrc``.
# Also, most of the settings in ``stack.sh`` are written to only be set if no
# value has already been set; this lets ``local.conf`` effectively override the
# default values.
2014-08-27 15:16:38.629 ERROR nova.compute.manager [req-c08bd6a6-2bd9-4b4f-8f2c-a138db506f0c ServersTestJSON-738206438 ServersTestJSON-1567796321] [instance: 77d64f46-362a-4d63-aeed-f24f67dcfd61] Instan
ce failed to spawn
2014-08-27 15:16:38.629 TRACE nova.compute.manager [instance: 77d64f46-362a-4d63-aeed-f24f67dcfd61] Traceback (most recent call last):
2014-08-27 15:16:38.629 TRACE nova.compute.manager [instance: 77d64f46-362a-4d63-aeed-f24f67dcfd61] File "/opt/stack/nova/nova/compute/manager.py", line 2134, in _build_resources
2014-08-27 15:16:38.629 TRACE nova.compute.manager [instance: 77d64f46-362a-4d63-aeed-f24f67dcfd61] yield resources
2014-08-27 15:16:38.629 TRACE nova.compute.manager [instance: 77d64f46-362a-4d63-aeed-f24f67dcfd61] File "/opt/stack/nova/nova/compute/manager.py", line 2013, in _build_and_run_instance
2014-08-27 15:16:38.629 TRACE nova.compute.manager [instance: 77d64f46-362a-4d63-aeed-f24f67dcfd61] block_device_info=block_device_info)
2014-08-27 15:16:38.629 TRACE nova.co
[DEFAULT]
debug = True
log_file = tempest.log
use_stderr = False
lock_path = /opt/stack/data/tempest
#
# Options defined in tempest.openstack.common.lockutils
#
# Sample ``local.conf`` for user-configurable variables in ``stack.sh``
# NOTE: Copy this file to the root ``devstack`` directory for it to
# work properly.
# ``local.conf`` is a user-maintained setings file that is sourced from ``stackrc``.
# This gives it the ability to override any variables set in ``stackrc``.
# Also, most of the settings in ``stack.sh`` are written to only be set if no
# value has already been set; this lets ``local.conf`` effectively override the
# default values.
$ testr run tempest.api.compute.servers.test_servers.ServersTestJSON.test_update_server_name
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \
OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./tempest/test_discover} --list
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \
OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \
[u'monitor.error',
{u'_context_auth_token': u'6ea99e1354464ea59a24411788ff70b4',
u'_context_glance_api_servers': None,
u'_context_instance_lock_checked': False,
u'_context_is_admin': False,
u'_context_project_id': u'654598',
u'_context_project_name': u'654598',
u'_context_quota_class': None,
u'_context_read_deleted': u'no',
u'_context_remote_address': u'127.0.0.1',
class Worker(threading.Thread):
"""Thread executing tasks from a given tasks queue"""
def __init__(self, tasks):
threading.Thread.__init__(self)
self.tasks = tasks
self.daemon = True
self.start()
def run(self):
while True:
root@nelsnelson-haproxy-test-1409629728:~# pgrep -fl ssh
root@nelsnelson-haproxy-test-1409629728:~# env
SHELL=/bin/bash
TERM=linux
HUSHLOGIN=FALSE
USER=root
MAIL=/var/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/root
SHLVL=1
root@nelsnelson-haproxy-test-1409633215:~# cat /etc/network/interfaces
# Injected by Nova on instance boot
#
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback