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 <module>
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 '
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'... .env/bin/ activate && python django_ project/ manage. py test --noinput
[localhost] local: . /tmp/tmpxAm9dk/
WARNING:root:File /tmp/tmpxAm9dk/ django_ project/ ../../. ./local_ config/ local.cfg could not be read. Skipping. django_ project/ config/ config/ devel.cfg could not be read. Skipping. django_ project/ ../../. ./local_ config/ local.cfg could not be read. Skipping. django_ project/ config/ config/ devel.cfg could not be read. Skipping. project/ manage. py", line 11, in <module> manager( settings) /.env/local/ lib/python2. 7/site- packages/ django/ core/management /__init_ _.py", line 438, in execute_manager execute( ) /.env/local/ lib/python2. 7/site- packages/ django_ configglue/ management/ __init_ _.py", line 71, in execute fetch_command( subcommand) .run_from_ argv(self. argv) /.env/local/ lib/python2. 7/site- packages/ django/ core/management /base.py" , line 191, in run_from_argv execute( *args, **options.__dict__) /.env/local/ lib/python2. 7/site- packages/ django/ core/management /base.py" , line 220, in execute /.env/local/ lib/python2. 7/site- packages/ django/ core/management /commands/ test.py" , line 37, in handle run_tests( test_labels) /.env/local/ lib/python2. 7/site- packages/ django/ test/simple. py", line 359, in run_tests databases( ) /.env/local/ lib/python2. 7/site- packages/ django/ test/simple. py", line 296, in setup_databases creation. create_ test_db( self.verbosity, autoclobber=not self.interactive) /.env/local/ lib/python2. 7/site- packages/ django/ db/backends/ creation. py", line 351, in create_test_db _create_ test_db( verbosity, autoclobber) /.env/local/ lib/python2. 7/site- packages/ django/ db/backends/ creation. py", line 415, in _create_test_db .cursor( ) /identityprovid er/backend/ old/base. py", line 25, in cursor rapper, self).cursor() /.env/local/ lib/python2. 7/site- packages/ django/ db/backends/ __init_ _.py", line 252, in cursor per(self. _cursor( ), self) /identityprovid er/backend/ base.py" , line 179, in _cursor rapper, self)._ cursor( *args) /identityprovid er/backend/ old/base. py", line 15, in _cursor rapper, self)._ cursor( *args) /.env/local/ lib/python2. 7/site- packages/ django/ db/backends/ postgresql_ psycopg2/ base.py" , line 140, in _cursor connect( **conn_ params) OperationalErro r: could not connect to server: No such file or directory /.env/db/ .s.PGSQL. 5432"?
WARNING:root:File /tmp/tmpxAm9dk/
WARNING:root:File /tmp/tmpxAm9dk/
WARNING:root:File /tmp/tmpxAm9dk/
Traceback (most recent call last):
File "django_
execute_
File "/tmp/tmpxAm9dk
utility.
File "/tmp/tmpxAm9dk
self.
File "/tmp/tmpxAm9dk
self.
File "/tmp/tmpxAm9dk
output = self.handle(*args, **options)
File "/tmp/tmpxAm9dk
failures = test_runner.
File "/tmp/tmpxAm9dk
old_config = self.setup_
File "/tmp/tmpxAm9dk
test_db_name = connection.
File "/tmp/tmpxAm9dk
self.
File "/tmp/tmpxAm9dk
cursor = self.connection
File "/tmp/tmpxAm9dk
cursor = super(DatabaseW
File "/tmp/tmpxAm9dk
cursor = util.CursorWrap
File "/tmp/tmpxAm9dk
cursor = super(DatabaseW
File "/tmp/tmpxAm9dk
cursor = super(DatabaseW
File "/tmp/tmpxAm9dk
self.connection = Database.
psycopg2.
Is the server running locally and accepting
connections on Unix domain socket "/tmp/tmpxAm9dk
Fatal error: local() encountered an error (return code 1) while executing '. /tmp/tmpxAm9dk/ .env/bin/ activate && python django_ project/ manage. py test --noinput '
Aborting.