The attempt to merge lp:~jtv/maas/bug-1233069 into lp:maas failed. Below is the output from the failed tests. Ign http://security.ubuntu.com saucy-security InRelease Hit http://security.ubuntu.com saucy-security Release.gpg Ign http://nova.clouds.archive.ubuntu.com saucy InRelease Hit http://security.ubuntu.com saucy-security Release Ign http://nova.clouds.archive.ubuntu.com saucy-updates InRelease Get:1 http://nova.clouds.archive.ubuntu.com saucy Release.gpg [933 B] Hit http://nova.clouds.archive.ubuntu.com saucy-updates Release.gpg Get:2 http://nova.clouds.archive.ubuntu.com saucy Release [49.6 kB] Hit http://nova.clouds.archive.ubuntu.com saucy-updates Release Hit http://security.ubuntu.com saucy-security/main Sources Hit http://security.ubuntu.com saucy-security/universe Sources Hit http://security.ubuntu.com saucy-security/main amd64 Packages Hit http://security.ubuntu.com saucy-security/universe amd64 Packages Hit http://security.ubuntu.com saucy-security/main Translation-en Hit http://security.ubuntu.com saucy-security/universe Translation-en Get:3 http://nova.clouds.archive.ubuntu.com saucy/main Sources [1,008 kB] Ign http://security.ubuntu.com saucy-security/main Translation-en_US Ign http://security.ubuntu.com saucy-security/universe Translation-en_US Get:4 http://nova.clouds.archive.ubuntu.com saucy/universe Sources [6,108 kB] Get:5 http://nova.clouds.archive.ubuntu.com saucy/main amd64 Packages [1,256 kB] Get:6 http://nova.clouds.archive.ubuntu.com saucy/universe amd64 Packages [5,651 kB] Hit http://nova.clouds.archive.ubuntu.com saucy/main Translation-en Hit http://nova.clouds.archive.ubuntu.com saucy/universe Translation-en Hit http://nova.clouds.archive.ubuntu.com saucy-updates/main Sources Hit http://nova.clouds.archive.ubuntu.com saucy-updates/universe Sources Hit http://nova.clouds.archive.ubuntu.com saucy-updates/main amd64 Packages Hit http://nova.clouds.archive.ubuntu.com saucy-updates/universe amd64 Packages Hit http://nova.clouds.archive.ubuntu.com saucy-updates/main Translation-en Hit http://nova.clouds.archive.ubuntu.com saucy-updates/universe Translation-en Ign http://nova.clouds.archive.ubuntu.com saucy/main Translation-en_US Ign http://nova.clouds.archive.ubuntu.com saucy/universe Translation-en_US Ign http://nova.clouds.archive.ubuntu.com saucy-updates/main Translation-en_US Ign http://nova.clouds.archive.ubuntu.com saucy-updates/universe Translation-en_US Fetched 14.1 MB in 14s (985 kB/s) Reading package lists... sudo DEBIAN_FRONTEND=noninteractive apt-get -y \ --no-install-recommends install apache2 avahi-daemon avahi-utils bind9 bind9utils build-essential curl daemontools distro-info dnsutils firefox freeipmi-tools ipython isc-dhcp-common libjs-raphael libjs-yui3-full libjs-yui3-min libpq-dev make postgresql-9.1 python-amqplib python-avahi python-bzrlib python-celery python-convoy python-cssselect python-curtin python-dbus python-dev python-distro-info python-django python-django-piston python-django-south python-djorm-ext-pgarray python-docutils python-formencode python-httplib2 python-jinja2 python-lockfile python-lxml python-netaddr python-netifaces python-oauth python-oops python-oops-amqp python-oops-datedir-repo python-oops-twisted python-oops-wsgi python-pip python-pocket-lint python-psycopg2 python-pyinotify python-simplestreams python-sphinx python-tempita python-twisted python-txamqp python-txlongpoll python-virtualenv python-yaml rabbitmq-server syslinux-common tgt wget xvfb Reading package lists... Building dependency tree... Reading state information... apache2 is already the newest version. avahi-daemon is already the newest version. avahi-utils is already the newest version. bind9 is already the newest version. bind9utils is already the newest version. build-essential is already the newest version. curl is already the newest version. distro-info is already the newest version. dnsutils is already the newest version. firefox is already the newest version. freeipmi-tools is already the newest version. isc-dhcp-common is already the newest version. libjs-raphael is already the newest version. libjs-yui3-full is already the newest version. libjs-yui3-min is already the newest version. libpq-dev is already the newest version. make is already the newest version. postgresql-9.1 is already the newest version. python-amqplib is already the newest version. python-avahi is already the newest version. python-bzrlib is already the newest version. python-celery is already the newest version. python-convoy is already the newest version. python-dbus is already the newest version. python-dev is already the newest version. python-distro-info is already the newest version. python-django is already the newest version. python-django-piston is already the newest version. python-django-south is already the newest version. python-docutils is already the newest version. python-formencode is already the newest version. python-httplib2 is already the newest version. python-jinja2 is already the newest version. python-lockfile is already the newest version. python-lxml is already the newest version. python-netaddr is already the newest version. python-netifaces is already the newest version. python-oauth is already the newest version. python-oops is already the newest version. python-oops-amqp is already the newest version. python-oops-datedir-repo is already the newest version. python-oops-twisted is already the newest version. python-oops-wsgi is already the newest version. python-psycopg2 is already the newest version. python-pyinotify is already the newest version. python-sphinx is already the newest version. python-tempita is already the newest version. python-twisted is already the newest version. python-txamqp is already the newest version. python-txlongpoll is already the newest version. python-yaml is already the newest version. rabbitmq-server is already the newest version. syslinux-common is already the newest version. tgt is already the newest version. wget is already the newest version. xvfb is already the newest version. daemontools is already the newest version. ipython is already the newest version. python-cssselect is already the newest version. python-curtin is already the newest version. python-djorm-ext-pgarray is already the newest version. python-pip is already the newest version. python-pocket-lint is already the newest version. python-simplestreams is already the newest version. python-virtualenv is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. make -C acceptance clean make[1]: Entering directory `/home/ubuntu/maas/acceptance' rm -f -r source build *.build *.changes *.deb make[1]: Leaving directory `/home/ubuntu/maas/acceptance' find . -type f -name '*.py[co]' -print0 | xargs -r0 rm -f find . -type f -name '*~' -print0 | xargs -r0 rm -f find . -type f -name dropin.cache -print0 | xargs -r0 rm -f rm -f -r media/demo/* media/development rm -f src/maasserver/static/js/enums.js rm -f *.log rm -f docs/api.rst rm -f -r docs/_autosummary docs/_build rm -f -r man/.doctrees rm -f -r bin include lib local rm -f -r eggs develop-eggs rm -f -r build dist logs/* parts rm -f tags TAGS .installed.cfg rm -f -r *.egg *.egg-info src/*.egg-info rm -f -r run/* services/*/supervise virtualenv --python=python2.7 --system-site-packages /home/ubuntu/maas New python executable in /home/ubuntu/maas/bin/python2.7 Also creating executable in /home/ubuntu/maas/bin/python Installing Setuptools...................................................................................................................................................................................................................................done. Installing Pip..........................................................................................................................................................................................................................................................................................................................................done. Running virtualenv with interpreter /usr/bin/python2.7 bin/pip --quiet install --ignore-installed \ --no-dependencies bootstrap/zc.buildout-1.5.2.tar.gz rm -f -f README.txt # zc.buildout installs an annoying README.txt. bin/buildout install database Creating directory '/home/ubuntu/maas/parts'. Creating directory '/home/ubuntu/maas/develop-eggs'. Installing database. Generated script '/home/ubuntu/maas/bin/database'. bin/buildout install repl Installing repl. Generated script '/home/ubuntu/maas/bin/ipy'. Generated interpreter '/home/ubuntu/maas/bin/py'. bin/py -m src/maasserver/utils/jsenums src/maasserver/enum.py src/metadataserver/enum.py src/provisioningserver/enum.py > src/maasserver/static/js/enums.js bin/buildout install maas Installing maas. Generated script '/home/ubuntu/maas/bin/maas'. bin/buildout install maas-test Installing maas-test. Generated script '/home/ubuntu/maas/bin/test.maas'. bin/buildout install maascli Installing maascli. Generated script '/home/ubuntu/maas/bin/maascli'. bin/buildout install maascli-test Installing maascli-test. Generated script '/home/ubuntu/maas/bin/test.maascli'. bin/buildout install maastesting-test Installing maastesting-test. Generated script '/home/ubuntu/maas/bin/test.maastesting'. bin/buildout install pserv Installing pserv. Generated script '/home/ubuntu/maas/bin/celeryd'. Generated script '/home/ubuntu/maas/bin/maas-provision'. Generated script '/home/ubuntu/maas/bin/twistd.pserv'. bin/buildout install pserv-test Installing pserv-test. Generated script '/home/ubuntu/maas/bin/test.pserv'. bin/buildout install txlongpoll Installing txlongpoll. Generated script '/home/ubuntu/maas/bin/twistd.txlongpoll'. make -C acceptance clean make[1]: Entering directory `/home/ubuntu/maas/acceptance' rm -f -r source build *.build *.changes *.deb make[1]: Leaving directory `/home/ubuntu/maas/acceptance' find . -type f -name '*.py[co]' -print0 | xargs -r0 rm -f find . -type f -name '*~' -print0 | xargs -r0 rm -f find . -type f -name dropin.cache -print0 | xargs -r0 rm -f rm -f -r media/demo/* media/development rm -f src/maasserver/static/js/enums.js rm -f *.log rm -f docs/api.rst rm -f -r docs/_autosummary docs/_build rm -f -r man/.doctrees bin/py -m src/maasserver/utils/jsenums src/maasserver/enum.py src/metadataserver/enum.py src/provisioningserver/enum.py > src/maasserver/static/js/enums.js bin/buildout install maas Updating maas. bin/buildout install maas-test Updating maas-test. echo bin/test.maas bin/test.maascli bin/test.maastesting bin/test.pserv | xargs -n1 env nosetests --verbosity 1 --exclude=provisioningserver --exclude=maastesting --exclude=maascli Creating test database for alias 'default'... Destroying test database for alias 'default'... .............................................S.................................................................................................................................EEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE..EEEEEEEEEEEEEEEEEEEEEEEEE..................EE.........E.................EEE.EEEEEEEEEEEEEEEEEEEEEEEEEEEE.....EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE...E....EEEEEEEEEEEEE..EEEEEEEEEEEEEEEEEEEEEEEE..F.F...F...EEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEEEEEE.........................................................................................................EEEEEEEE....................................................EE.........S.......................................................................................................................................................................................................................................................... ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_get_effective_power_parameters_provides_usable_defaults ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 308, in test_get_effective_power_parameters_provides_usable_defaults for power_type in configless_power_types] File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 205, in save return super(NodeGroup, self).save(*args, **kwargs) File "/home/ubuntu/maas/src/maasserver/models/timestampedmodel.py", line 53, in save return super(TimestampedModel, self).save(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 546, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 650, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 215, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1675, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 937, in execute_sql cursor.execute(sql, params) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 58, in execute six.reraise(utils.DatabaseError, utils.DatabaseError(*tuple(e.args)), sys.exc_info()[2]) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 54, in execute return self.cursor.execute(query, args) DatabaseError: could not open file "base/16385/17144": No such file or directory ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_get_effective_power_parameters_returns_power_parameters ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 269, in test_get_effective_power_parameters_returns_power_parameters node = factory.make_node(power_parameters=params) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_get_effective_power_type_defaults_to_config ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 234, in test_get_effective_power_type_defaults_to_config node = factory.make_node(power_type=POWER_TYPE.DEFAULT) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_get_effective_power_type_reads_node_field ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 246, in test_get_effective_power_type_reads_node_field for power_type in power_types] File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_get_effective_power_type_rejects_default_as_config_value ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 251, in test_get_effective_power_type_rejects_default_as_config_value node = factory.make_node(power_type=POWER_TYPE.DEFAULT) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_get_lldp_output_ignores_other_nodes ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 862, in test_get_lldp_output_ignores_other_nodes name=LLDP_OUTPUT_NAME, script_result=0) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 260, in make_node_commission_result node = self.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_get_lldp_output_returns_None_if_none_set ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 844, in test_get_lldp_output_returns_None_if_none_set self.assertIsNone(factory.make_node().get_lldp_output()) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_get_lldp_output_returns_output_even_if_empty ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 855, in test_get_lldp_output_returns_output_even_if_empty node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_get_lldp_output_returns_stored_lldp_output ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 848, in test_get_lldp_output_returns_stored_lldp_output node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_get_primary_mac_returns_None_if_node_has_no_mac ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 145, in test_get_primary_mac_returns_None_if_node_has_no_mac node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_get_primary_mac_returns_mac_address ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 139, in test_get_primary_mac_returns_mac_address node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_get_primary_mac_returns_oldest_mac ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 149, in test_get_primary_mac_returns_oldest_mac node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_hardware_updates_cpu_count ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 644, in test_hardware_updates_cpu_count node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_hardware_updates_ignores_empty_tags ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 726, in test_hardware_updates_ignores_empty_tags factory.make_tag(definition='') File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 324, in make_tag self._save_node_unchecked(tag) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 126, in _save_node_unchecked node.save() File "/home/ubuntu/maas/src/maasserver/models/tag.py", line 116, in save super(Tag, self).save(*args, **kwargs) File "/home/ubuntu/maas/src/maasserver/models/cleansave.py", line 35, in save self.full_clean() File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 921, in full_clean self.validate_unique(exclude=exclude) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 731, in validate_unique errors = self._perform_unique_checks(unique_checks) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 826, in _perform_unique_checks if qs.exists(): File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 610, in exists return self.query.has_results(using=self.db) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/query.py", line 447, in has_results return bool(compiler.execute_sql(SINGLE)) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_hardware_updates_memory ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 667, in test_hardware_updates_memory node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_hardware_updates_memory_lenovo ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 677, in test_hardware_updates_memory_lenovo node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_hardware_updates_tags_match ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 703, in test_hardware_updates_tags_match tag1 = factory.make_tag(factory.getRandomString(10), "/node") File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 324, in make_tag self._save_node_unchecked(tag) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 126, in _save_node_unchecked node.save() File "/home/ubuntu/maas/src/maasserver/models/tag.py", line 116, in save super(Tag, self).save(*args, **kwargs) File "/home/ubuntu/maas/src/maasserver/models/cleansave.py", line 35, in save self.full_clean() File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 921, in full_clean self.validate_unique(exclude=exclude) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 731, in validate_unique errors = self._perform_unique_checks(unique_checks) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 826, in _perform_unique_checks if qs.exists(): File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 610, in exists return self.query.has_results(using=self.db) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/query.py", line 447, in has_results return bool(compiler.execute_sql(SINGLE)) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_hardware_updates_tags_no_match ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 712, in test_hardware_updates_tags_no_match tag1 = factory.make_tag(factory.getRandomString(10), "/missing") File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 324, in make_tag self._save_node_unchecked(tag) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 126, in _save_node_unchecked node.save() File "/home/ubuntu/maas/src/maasserver/models/tag.py", line 116, in save super(Tag, self).save(*args, **kwargs) File "/home/ubuntu/maas/src/maasserver/models/cleansave.py", line 35, in save self.full_clean() File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 921, in full_clean self.validate_unique(exclude=exclude) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 731, in validate_unique errors = self._perform_unique_checks(unique_checks) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 826, in _perform_unique_checks if qs.exists(): File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 610, in exists return self.query.has_results(using=self.db) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/query.py", line 447, in has_results return bool(compiler.execute_sql(SINGLE)) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_ip_addresses_filters_by_mac_addresses ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 434, in test_ip_addresses_filters_by_mac_addresses node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_ip_addresses_queries_leases ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 390, in test_ip_addresses_queries_leases node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_ip_addresses_uses_result_cache ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 403, in test_ip_addresses_uses_result_cache node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_nodegroup_cannot_be_null ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 627, in test_nodegroup_cannot_be_null node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_power_parameters ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 256, in test_power_parameters node = factory.make_node(power_type=POWER_TYPE.DEFAULT) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_power_parameters_default ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 264, in test_power_parameters_default node = factory.make_node(power_type=POWER_TYPE.DEFAULT) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_release ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 385, in test_release status=NODE_STATUS.ALLOCATED, owner=factory.make_user()) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 306, in make_user username=username, password=password, email=email) File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 186, in create_user user.save(using=self._db) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 546, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 650, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 215, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1675, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 935, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_release_powers_off_node ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 457, in test_release_powers_off_node status=NODE_STATUS.ALLOCATED, owner=factory.make_user(), File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 306, in make_user username=username, password=password, email=email) File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 186, in create_user user.save(using=self._db) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 546, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 650, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 215, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1675, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 935, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_release_turns_on_netboot ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 449, in test_release_turns_on_netboot status=NODE_STATUS.ALLOCATED, owner=factory.make_user()) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 306, in make_user username=username, password=password, email=email) File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 186, in create_user user.save(using=self._db) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 546, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 650, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 215, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1675, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 935, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_remove_mac_address ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 131, in test_remove_mac_address node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_save_raises_node_state_violation_on_bad_transition ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 615, in test_save_raises_node_state_violation_on_bad_transition status=NODE_STATUS.RETIRED, owner=factory.make_user()) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 306, in make_user username=username, password=password, email=email) File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 186, in create_user user.save(using=self._db) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 546, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 650, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 215, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1675, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 935, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_set_get_distro_series_returns_series ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 166, in test_set_get_distro_series_returns_series node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_set_hardware_details ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 633, in test_set_hardware_details node = factory.make_node(owner=factory.make_user()) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 306, in make_user username=username, password=password, email=email) File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 186, in create_user user.save(using=self._db) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 546, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 650, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 215, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1675, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 935, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_set_invalid_hardware_details ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 638, in test_set_invalid_hardware_details node = factory.make_node(owner=factory.make_user()) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 306, in make_user username=username, password=password, email=email) File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 186, in create_user user.save(using=self._db) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 546, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 650, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 215, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1675, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 935, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_set_random_hostname_checks_hostname_existence ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 219, in test_set_random_hostname_checks_hostname_existence Config.objects.set_config("enlistment_domain", '') File "/home/ubuntu/maas/src/maasserver/models/config.py", line 116, in set_config name=name, defaults=dict(value=value)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_set_random_hostname_set_hostname ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 213, in test_set_random_hostname_set_hostname Config.objects.set_config("enlistment_domain", '') File "/home/ubuntu/maas/src/maasserver/models/config.py", line 116, in set_config name=name, defaults=dict(value=value)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_should_not_use_fastpath_installer_by_default ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 765, in test_should_not_use_fastpath_installer_by_default node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_should_use_fastpath_installer_when_tag_applies ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 776, in test_should_use_fastpath_installer_when_tag_applies node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_should_use_traditional_installer_by_default ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 761, in test_should_use_traditional_installer_by_default node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_should_use_traditional_installer_not_when_tag_applies ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 769, in test_should_use_traditional_installer_not_when_tag_applies node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_start_commissioning_changes_status_and_starts_node ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 528, in test_start_commissioning_changes_status_and_starts_node status=NODE_STATUS.DECLARED, power_type=POWER_TYPE.WAKE_ON_LAN) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_start_commissioning_clears_node_commissioning_results ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 564, in test_start_commissioning_clears_node_commissioning_results node = factory.make_node(status=NODE_STATUS.DECLARED) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_start_commissioning_ignores_other_commissioning_results ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 573, in test_start_commissioning_ignores_other_commissioning_results node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_start_commissioning_sets_user_data ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 553, in test_start_commissioning_sets_user_data node = factory.make_node(status=NODE_STATUS.DECLARED) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_start_commisssioning_doesnt_start_nodes_for_non_admin_users ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 542, in test_start_commisssioning_doesnt_start_nodes_for_non_admin_users status=NODE_STATUS.DECLARED, power_type=POWER_TYPE.WAKE_ON_LAN) File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_system_id ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 94, in test_system_id node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_use_fastpath_installer_associates_tag_with_node ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 811, in test_use_fastpath_installer_associates_tag_with_node self.assertEqual([], find_tag()) File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 810, in Tag.objects.filter(name="use-fastpath-installer")) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 108, in __len__ self._result_cache.extend(self._iter) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_use_fastpath_installer_complains_when_tag_has_expression ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 833, in test_use_fastpath_installer_complains_when_tag_has_expression node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_use_traditional_installer_complains_when_tag_has_expression ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 819, in test_use_traditional_installer_complains_when_tag_has_expression node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_use_traditional_installer_dissociates_tag_from_node ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 799, in test_use_traditional_installer_dissociates_tag_from_node node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_use_xxx_installer ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 785, in test_use_xxx_installer node = factory.make_node() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 139, in make_node nodegroup = self.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_node.NodeTest.test_work_queue_returns_nodegroup_uuid ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_node.py", line 99, in test_work_queue_returns_nodegroup_uuid nodegroup = factory.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_timestampedmodel.TimestampedModelTransactionalTest.test_created_bracketed_by_before_and_after_time ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/test/testcases.py", line 259, in __call__ self._pre_setup() File "/home/ubuntu/maas/src/maastesting/djangotestcase.py", line 137, in _pre_setup verbosity=0, interactive=False, database=DEFAULT_DB_ALIAS) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py", line 56, in handle_noargs cursor = connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_timestampedmodel.TimestampedModelTransactionalTest.test_updated_is_updated_when_object_saved ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/test/testcases.py", line 259, in __call__ self._pre_setup() File "/home/ubuntu/maas/src/maastesting/djangotestcase.py", line 137, in _pre_setup verbosity=0, interactive=False, database=DEFAULT_DB_ALIAS) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py", line 56, in handle_noargs cursor = connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_timestampedmodel.UtilitiesTransactionalTest.test_now_returns_transaction_time ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/models/tests/test_timestampedmodel.py", line 91, in test_now_returns_transaction_time date_now = now() File "/home/ubuntu/maas/src/maasserver/models/timestampedmodel.py", line 28, in now cursor = connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.models.tests.test_timestampedmodel.UtilitiesTransactionalTest.test_now_returns_transaction_time ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/test/testcases.py", line 268, in __call__ self._post_teardown() File "/usr/lib/python2.7/dist-packages/django/test/testcases.py", line 533, in _post_teardown self._fixture_teardown() File "/home/ubuntu/maas/src/maastesting/djangotestcase.py", line 109, in _fixture_teardown cleanup_db(self) File "/home/ubuntu/maas/src/maastesting/djangotestcase.py", line 97, in cleanup_db call_command('flush', verbosity=0, interactive=False, database=db) File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 161, in call_command return klass.execute(*args, **defaults) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 255, in execute output = self.handle(*args, **options) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 385, in handle return self.handle_noargs(**options) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/flush.py", line 46, in handle_noargs sql_list = sql_flush(self.style, connection, only_django=True, reset_sequences=reset_sequences) File "/usr/lib/python2.7/dist-packages/django/core/management/sql.py", line 113, in sql_flush tables = connection.introspection.django_table_names(only_existing=True) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 995, in django_table_names existing_tables = self.table_names() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 965, in table_names cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.testing.tests.test_factory.TestFactory.test_make_node_creates_nodegroup_if_none_given ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/testing/tests/test_factory.py", line 61, in test_make_node_creates_nodegroup_if_none_given nodegroup.id for nodegroup in NodeGroup.objects.all()) File "/home/ubuntu/maas/src/maasserver/testing/tests/test_factory.py", line 61, in nodegroup.id for nodegroup in NodeGroup.objects.all()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 139, in _result_iter self._fill_cache() File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 941, in _fill_cache self._result_cache.append(next(self._iter)) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.testing.tests.test_factory.TestFactory.test_make_node_uses_given_nodegroup ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/testing/tests/test_factory.py", line 67, in test_make_node_uses_given_nodegroup nodegroup = factory.make_node_group() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 216, in make_node_group name=name, uuid=uuid, **interface_settings) File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 78, in new nodegroup.save() File "/home/ubuntu/maas/src/maasserver/models/nodegroup.py", line 202, in save api_token = create_auth_token(get_worker_user()) File "/home/ubuntu/maas/src/maasserver/worker_user.py", line 40, in get_worker_user is_staff=False, is_superuser=False)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.tests.test_api.APIErrorsTest.test_internal_error_generates_proper_api_response ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/tests/test_api.py", line 452, in test_internal_error_generates_proper_api_response response = self.client.post(self.get_uri('nodes/'), {'op': 'new'}) File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 463, in post response = super(Client, self).post(path, data=data, content_type=content_type, **extra) File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 297, in post return self.request(**r) File "/usr/lib/python2.7/dist-packages/django/test/client.py", line 424, in request six.reraise(*exc_info) File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 187, in get_response response = middleware_method(request, response) File "/home/ubuntu/maas/src/maasserver/middleware.py", line 227, in process_response if Config.objects.get_config("response_log_debug"): File "/home/ubuntu/maas/src/maasserver/models/config.py", line 92, in get_config return self.get(name=name).value File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 143, in get return self.get_query_set().get(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.tests.test_api.APIErrorsTest.test_internal_error_generates_proper_api_response ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/test/testcases.py", line 268, in __call__ self._post_teardown() File "/usr/lib/python2.7/dist-packages/django/test/testcases.py", line 533, in _post_teardown self._fixture_teardown() File "/home/ubuntu/maas/src/maastesting/djangotestcase.py", line 109, in _fixture_teardown cleanup_db(self) File "/home/ubuntu/maas/src/maastesting/djangotestcase.py", line 97, in cleanup_db call_command('flush', verbosity=0, interactive=False, database=db) File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 161, in call_command return klass.execute(*args, **defaults) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 255, in execute output = self.handle(*args, **options) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 385, in handle return self.handle_noargs(**options) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/flush.py", line 46, in handle_noargs sql_list = sql_flush(self.style, connection, only_django=True, reset_sequences=reset_sequences) File "/usr/lib/python2.7/dist-packages/django/core/management/sql.py", line 113, in sql_flush tables = connection.introspection.django_table_names(only_existing=True) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 995, in django_table_names existing_tables = self.table_names() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 965, in table_names cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.tests.test_commands.TestApikeyCommand.test_api_key_rejects_deletion_of_nonexistent_key ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/tests/test_commands.py", line 206, in test_api_key_rejects_deletion_of_nonexistent_key user = factory.make_user() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 306, in make_user username=username, password=password, email=email) File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 186, in create_user user.save(using=self._db) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 546, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 650, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 215, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1675, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 935, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.tests.test_commands.TestApikeyCommand.test_apikey_deletes_key ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/tests/test_commands.py", line 173, in test_apikey_deletes_key user = factory.make_user() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 306, in make_user username=username, password=password, email=email) File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 186, in create_user user.save(using=self._db) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 546, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 650, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 215, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1675, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 935, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.tests.test_commands.TestApikeyCommand.test_apikey_generates_key ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/tests/test_commands.py", line 156, in test_apikey_generates_key user = factory.make_user() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 306, in make_user username=username, password=password, email=email) File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 186, in create_user user.save(using=self._db) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 546, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 650, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 215, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1675, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 935, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.tests.test_commands.TestApikeyCommand.test_apikey_gets_keys ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/tests/test_commands.py", line 141, in test_apikey_gets_keys user = factory.make_user() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 306, in make_user username=username, password=password, email=email) File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 186, in create_user user.save(using=self._db) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 546, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 650, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 215, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1675, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 935, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.tests.test_commands.TestApikeyCommand.test_apikey_rejects_deletion_of_bad_key ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/tests/test_commands.py", line 196, in test_apikey_rejects_deletion_of_bad_key user = factory.make_user() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 306, in make_user username=username, password=password, email=email) File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 186, in create_user user.save(using=self._db) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 546, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 650, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 215, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1675, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 935, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.tests.test_commands.TestApikeyCommand.test_apikey_rejects_mutually_exclusive_options ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/tests/test_commands.py", line 187, in test_apikey_rejects_mutually_exclusive_options user = factory.make_user() File "/home/ubuntu/maas/src/maasserver/testing/factory.py", line 306, in make_user username=username, password=password, email=email) File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 186, in create_user user.save(using=self._db) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 546, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 650, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 215, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1675, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 935, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.tests.test_commands.TestCommands.test_createadmin_creates_admin ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/tests/test_commands.py", line 104, in test_createadmin_creates_admin email=email, stderr=stderr, stdout=stdout) File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 161, in call_command return klass.execute(*args, **defaults) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 255, in execute output = self.handle(*args, **options) File "/home/ubuntu/maas/src/maasserver/management/commands/createadmin.py", line 49, in handle username, email=email, password=password) File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 190, in create_superuser u = self.create_user(username, email, password, **extra_fields) File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py", line 186, in create_user user.save(using=self._db) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 546, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 650, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 215, in _insert return insert_query(self.model, objs, fields, **kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1675, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 935, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.tests.test_maasavahi.TestMAASAvahiService.test_publish_exports_name_over_avahi ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/tests/test_maasavahi.py", line 74, in test_publish_exports_name_over_avahi Config.objects.set_config('maas_name', 'My Test') File "/home/ubuntu/maas/src/maasserver/models/config.py", line 116, in set_config name=name, defaults=dict(value=value)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.tests.test_maasavahi.TestMAASAvahiService.test_publish_twice_unpublishes_first ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/tests/test_maasavahi.py", line 89, in test_publish_twice_unpublishes_first Config.objects.set_config('maas_name', 'My Test') File "/home/ubuntu/maas/src/maasserver/models/config.py", line 116, in set_config name=name, defaults=dict(value=value)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.tests.test_maasavahi.TestMAASAvahiService.test_setup_maas_avahi_service ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/tests/test_maasavahi.py", line 104, in test_setup_maas_avahi_service Config.objects.set_config('maas_name', 'First Name') File "/home/ubuntu/maas/src/maasserver/models/config.py", line 116, in set_config name=name, defaults=dict(value=value)) File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 146, in get_or_create return self.get_query_set().get_or_create(**kwargs) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 484, in get_or_create return self.get(**lookup), False File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 398, in get num = len(clone) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 106, in __len__ self._result_cache = list(self.iterator()) File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 317, in iterator for row in compiler.results_iter(): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 775, in results_iter for rows in self.execute_sql(MULTI): File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 839, in execute_sql cursor = self.connection.cursor() File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: test suite for ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 208, in run self.setUp() File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/suite.py", line 314, in setupContext try_run(context, names) File "/home/ubuntu/.buildout/eggs/nose-1.1.2-py2.7.egg/nose/util.py", line 478, in try_run return func() File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 52, in setUpClass register_mac_type(connection.cursor()) File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 326, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor self.connection = Database.connect(**conn_params) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/home/ubuntu/maas/db/.s.PGSQL.5432"? ====================================================================== ERROR: maasserver.tests.test_views_nodes.NodeLLDPExpanderTest.test_lldp_output_expands ---------------------------------------------------------------------- _StringException: traceback-1: {{{ Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/testing/testcase.py", line 179, in tearDown cleanup_db(self) File "/home/ubuntu/maas/src/maastesting/djangotestcase.py", line 97, in cleanup_db call_command('flush', verbosity=0, interactive=False, database=db) File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 161, in call_command return klass.execute(*args, **defaults) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 255, in execute output = self.handle(*args, **options) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 385, in handle return self.handle_noargs(**options) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/flush.py", line 70, in handle_noargs The full error: %s""" % (connection.settings_dict['NAME'], e)) CommandError: Database test_maas couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin.py sqlflush'. That's the SQL this command wasn't able to run. The full error: cannot TRUNCATE "maasserver_node" because it has pending trigger events }}} Traceback (most recent call last): File "/home/ubuntu/maas/src/maasserver/tests/test_views_nodes.py", line 885, in test_lldp_output_expands "Show discovered network data", self.find_button_link().text) File "/home/ubuntu/maas/src/maasserver/tests/test_views_nodes.py", line 871, in find_button_link return self.selenium.find_element_by_id('lldp-trigger') File "/home/ubuntu/.buildout/eggs/selenium-2.32.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 198, in find_element_by_id return self.find_element(by=By.ID, value=id_) File "/home/ubuntu/.buildout/eggs/selenium-2.32.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 680, in find_element {'using': by, 'value': value})['value'] File "/home/ubuntu/.buildout/eggs/selenium-2.32.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 165, in execute self.error_handler.check_response(response) File "/home/ubuntu/.buildout/eggs/selenium-2.32.0-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 152, in check_response raise exception_class(message, screen, stacktrace) NoSuchElementException: Message: u'Unable to locate element: {"method":"id","selector":"lldp-trigger"}' ; Stacktrace: Method FirefoxDriver.prototype.findElementInternal_ threw an error in file:///