===============================================================================
[ERROR]
Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/case.py", line 327, in run
testMethod()
File "/usr/lib/python2.7/dist-packages/mocker.py", line 146, in test_method_wrapper
result = test_method()
File "/var/tmp/tarmac/landscape-charm/trunk/hooks/test_hooks.py", line 886, in test_db_admin_relation_changed
hooks.db_admin_relation_changed()
File "/var/tmp/tarmac/landscape-charm/trunk/hooks/hooks.py", line 179, in db_admin_relation_changed
with closing(util.connect(host, admin, admin_password)):
File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect
connection_factory=connection_factory, async=async)
psycopg2.OperationalError: missing "=" after "postgres/0" in connection info string
hooks.test_hooks.TestHooksService.test_db_admin_relation_changed
-------------------------------------------------------------------------------
Ran 70 tests in 0.790s
The attempt to merge lp:~davidpbritton/landscape-charm/vhost-config-relation into lp:landscape-charm/trunk failed. Below is the output from the failed tests.
trial hooks _download_ file_failure ... [OK] _download_ file_success ... [OK] _enable_ service ... [OK] _enable_ wrong_service ... [OK] _install_ license_ text ... [OK] _install_ license_ url ... [OK] _replace_ in_file ... [OK] amqp_relation_ changed_ no_hostname_ password ... [OK] amqp_relation_ joined ... [OK] calc_daemon_ count ... [OK] config_ changed ... [OK] config_ changed_ service_ count_bare ... [OK] config_ changed_ service_ count_labeled ... [OK] config_ changed_ service_ count_update_ haproxy ... [OK] config_ changed_ starts_ landscape ... [OK] config_ changed_ without_ amqp_skips_ start ... [OK] config_ changed_ without_ db_skips_ start ... [OK] config_ changed_ zero ... [OK] data_relation_ changed_ creates_ new_log_ and_repository_ paths ... [OK] data_relation_ changed_ error_on_ mountpoint_ from_subordinat e ... [OK] data_relation_ changed_ sets_mountpoint _awaits_ init ... [OK] data_relation_ changed_ success_ no_repository_ data ... [OK] data_relation_ changed_ success_ no_repository_ path ... [OK] data_relation_ changed_ success_ with_repository _data ... [OK] db_admin_ relation_ changed ... [ERROR] db_admin_ relation_ changed_ failover_ state_ignore ... [OK] db_admin_ relation_ changed_ hot_standby_ state_ignore ... [OK] db_admin_ relation_ changed_ no_config_ if_db_down ... [OK] db_admin_ relation_ changed_ no_user ... [OK] db_admin_ relation_ changed_ not_in_ allowed_ units ... [OK] db_admin_ relation_ changed_ standalone_ state_ignore ... [OK] get_requested_ service_ count ... [OK] get_requested_ services ... [OK] get_services_ dict ... [OK] get_services_ non_proxied ... [OK] handle_ empty_license ... [OK] handle_ no_license ... [OK] is_db_up_ db_not_ configured ... [OK] is_db_up_ no_service_ config ... [OK] is_db_up_ service_ config_ missing_ keys ... [OK] is_db_up_ service_ config_ missing_ stores ... [OK] is_db_up_ with_db_ configured ... [OK] maintenance ... [OK] maintenance_ file_not_ removed_ if_amqp_ is_not_ up ... [OK] maintenance_ file_not_ removed_ if_db_is_ not_up ... [OK] maintenance_ file_only_ removed_ if_db_and_ amqp_are ... [OK] upgrade_ schema ... [OK] wb_chown_ sets_dir_ and_file_ ownership_ to_landscape ... [OK] wb_create_ maintenance_ user_creates_ on_lds_ less_than_ 14_01 ... [OK] wb_create_ maintenance_ user_not_ created_ if_lds_ not_installed ... [OK] wb_create_ maintenance_ user_not_ created_ on_14_01 ... [OK] wb_get_ installed_ version_ error_when_ not_installed ... [OK] wb_get_ installed_ version_ success_ when_installed ... [OK] iceMock format_ service ... [OK] format_ service_ with_errorfile_ not_found ... [OK] format_ service_ with_errorfiles ... [OK] format_ service_ with_more_ options ... [OK] format_ service_ with_option ... [OK] get_services ... [OK] notify_ vhost_config_ relation ... [OK] notify_ vhost_config_ relation_ specify_ id ... [OK] notify_ website_ relation ... [OK] vhost_config_ relation_ changed_ cert_not_ provided ... [OK] vhost_config_ relation_ changed_ exit_no_ configuration ... [OK] vhost_config_ relation_ changed_ fail_root_ url ... [OK] vhost_config_ relation_ changed_ fail_root_ url_db_ update ... [OK] vhost_config_ relation_ changed_ ssl_cert_ provided ... [OK] vhost_config_ relation_ changed_ wait_apache_ servername ... [OK] website_ relation_ joined ... [OK] _setup_ apache ... [OK]
hooks.test_hooks
TestHooksService
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
TestHooksServ
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
TestHooksUtils
test_
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == python2. 7/unittest/ case.py" , line 327, in run python2. 7/dist- packages/ mocker. py", line 146, in test_method_wrapper tarmac/ landscape- charm/trunk/ hooks/test_ hooks.py" , line 886, in test_db_ admin_relation_ changed db_admin_ relation_ changed( ) tarmac/ landscape- charm/trunk/ hooks/hooks. py", line 179, in db_admin_ relation_ changed util.connect( host, admin, admin_password)): python2. 7/dist- packages/ psycopg2/ __init_ _.py", line 179, in connect factory= connection_ factory, async=async) OperationalErro r: missing "=" after "postgres/0" in connection info string
[ERROR]
Traceback (most recent call last):
File "/usr/lib/
testMethod()
File "/usr/lib/
result = test_method()
File "/var/tmp/
hooks.
File "/var/tmp/
with closing(
File "/usr/lib/
connection_
psycopg2.
hooks.test_ hooks.TestHooks Service. test_db_ admin_relation_ changed ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --
-------
Ran 70 tests in 0.790s
FAILED (errors=1, successes=69)
make: *** [test] Error 1