The attempt to merge lp:~jml/canonical-identity-provider/trivial-bad into lp:canonical-identity-provider failed. Below is the output from the failed tests. Creating test database for alias 'default'... [localhost] local: . /tmp/tmpxAm9dk/.env/bin/activate && python django_project/manage.py test --noinput WARNING:root:File /tmp/tmpxAm9dk/django_project/../../../local_config/local.cfg could not be read. Skipping. WARNING:root:File /tmp/tmpxAm9dk/django_project/config/config/devel.cfg could not be read. Skipping. WARNING:root:File /tmp/tmpxAm9dk/django_project/../../../local_config/local.cfg could not be read. Skipping. WARNING:root:File /tmp/tmpxAm9dk/django_project/config/config/devel.cfg could not be read. Skipping. Traceback (most recent call last): File "django_project/manage.py", line 11, in execute_manager(settings) File "/tmp/tmpxAm9dk/.env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager utility.execute() File "/tmp/tmpxAm9dk/.env/local/lib/python2.7/site-packages/django_configglue/management/__init__.py", line 71, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/tmp/tmpxAm9dk/.env/local/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv self.execute(*args, **options.__dict__) File "/tmp/tmpxAm9dk/.env/local/lib/python2.7/site-packages/django/core/management/base.py", line 220, in execute output = self.handle(*args, **options) File "/tmp/tmpxAm9dk/.env/local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 37, in handle failures = test_runner.run_tests(test_labels) File "/tmp/tmpxAm9dk/.env/local/lib/python2.7/site-packages/django/test/simple.py", line 359, in run_tests old_config = self.setup_databases() File "/tmp/tmpxAm9dk/.env/local/lib/python2.7/site-packages/django/test/simple.py", line 296, in setup_databases test_db_name = connection.creation.create_test_db(self.verbosity, autoclobber=not self.interactive) File "/tmp/tmpxAm9dk/.env/local/lib/python2.7/site-packages/django/db/backends/creation.py", line 351, in create_test_db self._create_test_db(verbosity, autoclobber) File "/tmp/tmpxAm9dk/.env/local/lib/python2.7/site-packages/django/db/backends/creation.py", line 415, in _create_test_db cursor = self.connection.cursor() File "/tmp/tmpxAm9dk/identityprovider/backend/old/base.py", line 25, in cursor cursor = super(DatabaseWrapper, self).cursor() File "/tmp/tmpxAm9dk/.env/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 252, in cursor cursor = util.CursorWrapper(self._cursor(), self) File "/tmp/tmpxAm9dk/identityprovider/backend/base.py", line 179, in _cursor cursor = super(DatabaseWrapper, self)._cursor(*args) File "/tmp/tmpxAm9dk/identityprovider/backend/old/base.py", line 15, in _cursor cursor = super(DatabaseWrapper, self)._cursor(*args) File "/tmp/tmpxAm9dk/.env/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 140, in _cursor self.connection = Database.connect(**conn_params) psycopg2.OperationalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/tmpxAm9dk/.env/db/.s.PGSQL.5432"? Fatal error: local() encountered an error (return code 1) while executing '. /tmp/tmpxAm9dk/.env/bin/activate && python django_project/manage.py test --noinput ' Aborting.