The attempt to merge lp:~cmiller/desktopcouch/get-port-through-dbus-again into lp:desktopcouch failed. Below is the output from the failed tests. running build running build_py creating build creating build/lib.linux-i686-2.6 creating build/lib.linux-i686-2.6/desktopcouch copying desktopcouch/stop_local_couchdb.py -> build/lib.linux-i686-2.6/desktopcouch copying desktopcouch/start_local_couchdb.py -> build/lib.linux-i686-2.6/desktopcouch copying desktopcouch/util.py -> build/lib.linux-i686-2.6/desktopcouch copying desktopcouch/replication.py -> build/lib.linux-i686-2.6/desktopcouch copying desktopcouch/local_files.py -> build/lib.linux-i686-2.6/desktopcouch copying desktopcouch/__init__.py -> build/lib.linux-i686-2.6/desktopcouch copying desktopcouch/service.py -> build/lib.linux-i686-2.6/desktopcouch creating build/lib.linux-i686-2.6/desktopcouch/tests copying desktopcouch/tests/test_start_local_couchdb.py -> build/lib.linux-i686-2.6/desktopcouch/tests copying desktopcouch/tests/test_service.py -> build/lib.linux-i686-2.6/desktopcouch/tests copying desktopcouch/tests/test_local_files.py -> build/lib.linux-i686-2.6/desktopcouch/tests copying desktopcouch/tests/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/tests copying desktopcouch/tests/test_replication.py -> build/lib.linux-i686-2.6/desktopcouch/tests creating build/lib.linux-i686-2.6/desktopcouch/platform copying desktopcouch/platform/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/platform creating build/lib.linux-i686-2.6/desktopcouch/tasks copying desktopcouch/tasks/record.py -> build/lib.linux-i686-2.6/desktopcouch/tasks copying desktopcouch/tasks/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/tasks creating build/lib.linux-i686-2.6/desktopcouch/pair copying desktopcouch/pair/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/pair creating build/lib.linux-i686-2.6/desktopcouch/records copying desktopcouch/records/field_registry.py -> build/lib.linux-i686-2.6/desktopcouch/records copying desktopcouch/records/record.py -> build/lib.linux-i686-2.6/desktopcouch/records copying desktopcouch/records/server.py -> build/lib.linux-i686-2.6/desktopcouch/records copying desktopcouch/records/couchgrid.py -> build/lib.linux-i686-2.6/desktopcouch/records copying desktopcouch/records/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/records copying desktopcouch/records/server_base.py -> build/lib.linux-i686-2.6/desktopcouch/records creating build/lib.linux-i686-2.6/desktopcouch/replication_services copying desktopcouch/replication_services/ubuntuone.py -> build/lib.linux-i686-2.6/desktopcouch/replication_services copying desktopcouch/replication_services/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/replication_services copying desktopcouch/replication_services/example.py -> build/lib.linux-i686-2.6/desktopcouch/replication_services creating build/lib.linux-i686-2.6/desktopcouch/notes copying desktopcouch/notes/record.py -> build/lib.linux-i686-2.6/desktopcouch/notes copying desktopcouch/notes/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/notes creating build/lib.linux-i686-2.6/desktopcouch/bookmarks copying desktopcouch/bookmarks/record.py -> build/lib.linux-i686-2.6/desktopcouch/bookmarks copying desktopcouch/bookmarks/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/bookmarks creating build/lib.linux-i686-2.6/desktopcouch/contacts copying desktopcouch/contacts/record.py -> build/lib.linux-i686-2.6/desktopcouch/contacts copying desktopcouch/contacts/view.py -> build/lib.linux-i686-2.6/desktopcouch/contacts copying desktopcouch/contacts/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/contacts creating build/lib.linux-i686-2.6/desktopcouch/platform/linux copying desktopcouch/platform/linux/ipc.py -> build/lib.linux-i686-2.6/desktopcouch/platform/linux copying desktopcouch/platform/linux/keyring.py -> build/lib.linux-i686-2.6/desktopcouch/platform/linux copying desktopcouch/platform/linux/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/platform/linux creating build/lib.linux-i686-2.6/desktopcouch/platform/windows copying desktopcouch/platform/windows/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/platform/windows creating build/lib.linux-i686-2.6/desktopcouch/tasks/tests copying desktopcouch/tasks/tests/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/tasks/tests copying desktopcouch/tasks/tests/test_record.py -> build/lib.linux-i686-2.6/desktopcouch/tasks/tests creating build/lib.linux-i686-2.6/desktopcouch/pair/tests copying desktopcouch/pair/tests/test_couchdb_io.py -> build/lib.linux-i686-2.6/desktopcouch/pair/tests copying desktopcouch/pair/tests/test_ubuntuone_pairing.py -> build/lib.linux-i686-2.6/desktopcouch/pair/tests copying desktopcouch/pair/tests/test_network_io.py -> build/lib.linux-i686-2.6/desktopcouch/pair/tests copying desktopcouch/pair/tests/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/pair/tests creating build/lib.linux-i686-2.6/desktopcouch/pair/couchdb_pairing copying desktopcouch/pair/couchdb_pairing/dbus_io.py -> build/lib.linux-i686-2.6/desktopcouch/pair/couchdb_pairing copying desktopcouch/pair/couchdb_pairing/network_io.py -> build/lib.linux-i686-2.6/desktopcouch/pair/couchdb_pairing copying desktopcouch/pair/couchdb_pairing/couchdb_io.py -> build/lib.linux-i686-2.6/desktopcouch/pair/couchdb_pairing copying desktopcouch/pair/couchdb_pairing/ubuntuone_pairing.py -> build/lib.linux-i686-2.6/desktopcouch/pair/couchdb_pairing copying desktopcouch/pair/couchdb_pairing/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/pair/couchdb_pairing creating build/lib.linux-i686-2.6/desktopcouch/records/tests copying desktopcouch/records/tests/test_field_registry.py -> build/lib.linux-i686-2.6/desktopcouch/records/tests copying desktopcouch/records/tests/test_server.py -> build/lib.linux-i686-2.6/desktopcouch/records/tests copying desktopcouch/records/tests/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/records/tests copying desktopcouch/records/tests/test_record.py -> build/lib.linux-i686-2.6/desktopcouch/records/tests creating build/lib.linux-i686-2.6/desktopcouch/notes/tests copying desktopcouch/notes/tests/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/notes/tests copying desktopcouch/notes/tests/test_record.py -> build/lib.linux-i686-2.6/desktopcouch/notes/tests creating build/lib.linux-i686-2.6/desktopcouch/bookmarks/tests copying desktopcouch/bookmarks/tests/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/bookmarks/tests copying desktopcouch/bookmarks/tests/test_record.py -> build/lib.linux-i686-2.6/desktopcouch/bookmarks/tests creating build/lib.linux-i686-2.6/desktopcouch/contacts/tests copying desktopcouch/contacts/tests/test_create.py -> build/lib.linux-i686-2.6/desktopcouch/contacts/tests copying desktopcouch/contacts/tests/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/contacts/tests copying desktopcouch/contacts/tests/test_record.py -> build/lib.linux-i686-2.6/desktopcouch/contacts/tests copying desktopcouch/contacts/tests/test_view.py -> build/lib.linux-i686-2.6/desktopcouch/contacts/tests creating build/lib.linux-i686-2.6/desktopcouch/contacts/testing copying desktopcouch/contacts/testing/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/contacts/testing copying desktopcouch/contacts/testing/create.py -> build/lib.linux-i686-2.6/desktopcouch/contacts/testing running build_scripts creating build/scripts-2.6 copying and adjusting bin/desktopcouch-pair -> build/scripts-2.6 changing mode of build/scripts-2.6/desktopcouch-pair from 644 to 755 running build_i18n intltool-update -p -g desktopcouch intltool-merge -d po desktopcouch-pair.desktop.in build/share/applications/desktopcouch-pair.desktop Merging translations into build/share/applications/desktopcouch-pair.desktop. running build_icons running clean Apache CouchDB has started, time to relax. Browse your desktop CouchDB at file:///tmp/tmptfBf39/data/couchdb.html desktopcouch.bookmarks.tests.test_record TestBookmarkRecord test_bookmark_record ... [OK] TestFeedRecord test_feed_record ... [OK] TestFolderRecord test_folder_record ... [OK] TestSeparatorRecord test_separator_record ... [OK] desktopcouch.contacts.tests.test_create TestCreate test_create_many_contacts ... [OK] test_head_or_tails ... [OK] test_random_bools ... [OK] desktopcouch.contacts.tests.test_record TestContactRecord test_contact_record ... [OK] desktopcouch.contacts.tests.test_view TestLocalFiles test_find_contact_starting ... [OK] test_find_contacts_exact ... [OK] desktopcouch.notes.tests.test_record TestNoteRecord test_note_record ... [OK] desktopcouch.pair.tests.test_couchdb_io TestCouchdbIo test_get_database_names_replicatable ... [OK] test_get_database_names_replicatable_bad_server ... [OK] test_get_my_host_unique_id ... [ERROR] test_mkuri ... [OK] test_obsfuscation ... [OK] test_put_dynamic_paired_host ... [OK] test_put_static_paired_service ... [OK] desktopcouch.pair.tests.test_network_io TestNetworkIO test_successful_lifespan ... [OK] desktopcouch.pair.tests.test_ubuntuone_pairing TestUbuntonePairing test_pair_with_ubuntuone_no_record ... [OK] test_pair_with_ubuntuone_no_view ... [OK] test_pair_with_ubuntuone_record_present ... [OK] test_pair_with_ubuntuone_user_deleted_record ... [OK] desktopcouch.records.tests.test_field_registry TestFieldMapping test_mergeable_list_field_mapping0 ... [OK] test_mergeable_list_field_mapping1 ... [OK] test_mergeable_list_field_mapping_empty_field ... [OK] test_simple_field_mapping ... [OK] TestTransformer test_from_app ... [OK] test_run_doctests ... [OK] test_to_app ... [OK] desktopcouch.records.tests.test_record TestRecordFactory test_build ... [OK] TestRecords test_application_annotations ... [OK] test_delitem ... [OK] test_dictionary_access_to_mergeable_list ... [OK] test_get ... [OK] test_get_item ... [OK] test_iter ... [OK] test_keys ... [OK] test_list ... [OK] test_loads_dict_multi_subdict ... [OK] test_loads_dict_subdict ... [OK] test_mergeable_list ... [OK] test_mergeable_list_append ... [OK] test_mergeable_list_append_record_dict ... [OK] test_mergeable_list_del ... [OK] test_mergeable_list_index ... [OK] test_mergeable_list_pop_correct_index ... [OK] test_mergeable_list_pop_last ... [OK] test_mergeable_list_pop_wrong_index ... [OK] test_mergeable_list_remove ... [OK] test_mergeable_list_remove_last ... [OK] test_mergeable_list_remove_list ... [OK] test_mergeable_list_remove_missing ... [OK] test_mergeable_list_remove_record_dict ... [OK] test_mergeable_list_remove_tuple ... [OK] test_mergeable_list_set_value_in_list_item ... [OK] test_no_record_type ... [OK] test_record_id ... [OK] test_record_type ... [OK] test_record_type_version ... [OK] test_revision ... [OK] test_run_doctests ... [OK] test_setitem_internal ... [OK] test_uuid_like_keys ... [OK] test_validate ... [OK] desktopcouch.records.tests.test_server TestCouchDatabase test_attachments ... [OK] test_database_not_exists ... [ERROR] test_delete_and_recreate_record ... [OK] test_delete_record ... [OK] test_func_get_all_records ... [OK] test_get_changes ... [OK] test_get_deleted_record ... [OK] test_get_deleted_record_not_hidden ... [OK] test_get_record ... [OK] test_get_records_by_record_type_save_view ... [OK] test_get_view_by_type_new_but_already ... [OK] test_list_views ... [OK] test_put_record ... [OK] test_put_records_batch ... [OK] test_record_exists ... [OK] test_report_changes_all_ops_give_known_keys ... [OK] test_report_changes_exceptions ... [OK] test_report_changes_nochanges ... [OK] test_report_changes_polite ... [OK] test_update_fields ... [OK] test_update_fields_failure ... [OK] test_update_fields_success ... [OK] test_view_add_and_delete ... [OK] test_view_fetch ... [OK] TestCouchDatabaseDeprecated test_func_get_records ... /var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server_base.py:510: DeprecationWarning: .get_records is deprecated, use .get_all_records instead [OK] test_get_records_by_record_type_save_view ... /var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server_base.py:510: DeprecationWarning: .get_records is deprecated, use .get_all_records instead [OK] test_get_view_by_type_createxcl_fail ... /var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server_base.py:510: DeprecationWarning: .get_records is deprecated, use .get_all_records instead [OK] test_get_view_by_type_new_but_already ... /var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server_base.py:510: DeprecationWarning: .get_records is deprecated, use .get_all_records instead [OK] desktopcouch.tasks.tests.test_record TestTaskRecord test_task_record ... [OK] desktopcouch.tests.test_local_files TestKeyringIntegration test_with_auth ... [OK] test_with_no_auth ... [OK] TestLocalFiles test_all_files_returned ... [OK] test_bind_address ... [OK] test_couch_chain_ini_files ... [OK] test_xdg_overwrite_works ... [OK] desktopcouch.tests.test_replication TestReplication test_creation ... Apache CouchDB has started, time to relax. Browse your desktop CouchDB at file:///tmp/tmpIvUcMG/data/couchdb.html [OK] TestUbuntuoneReplication test_exclusion ... Apache CouchDB has started, time to relax. Browse your desktop CouchDB at file:///tmp/tmpFPXegk/data/couchdb.html [OK] desktopcouch.tests.test_service TestService test_start_desktopcouch_replication ... [OK] test_start_new_desktopcouch_extensions ... [OK] test_start_new_desktopcouch_no_extensions ... [OK] desktopcouch.tests.test_start_local_couchdb TestUpdateDesignDocuments test_create_databases_and_design_docs ... [OK] =============================================================================== [ERROR]: desktopcouch.pair.tests.test_couchdb_io.TestCouchdbIo.test_get_my_host_unique_id Traceback (most recent call last): File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/pair/tests/test_couchdb_io.py", line 145, in test_get_my_host_unique_id got = couchdb_io.get_my_host_unique_id(uri=URI, ctx=test_environment.test_context) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/pair/couchdb_pairing/couchdb_io.py", line 168, in get_my_host_unique_id ids = _get_management_data(MY_ID_RECORD_TYPE, "self_identity", uri=uri) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/pair/couchdb_pairing/couchdb_io.py", line 209, in _get_management_data db = _get_db("management", uri=uri, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/pair/couchdb_pairing/couchdb_io.py", line 63, in _get_db return server.CouchDatabase(name, create=create, uri=uri, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 57, in __init__ server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server_base.py", line 172, in __init__ self._reconnect() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 61, in _reconnect port = find_port(ctx=self.ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/__init__.py", line 28, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/linux/__init__.py", line 100, in platform_find_port bus = dbus.SessionBus() File "/usr/lib/pymodules/python2.6/dbus/_dbus.py", line 219, in __new__ mainloop=mainloop) File "/usr/lib/pymodules/python2.6/dbus/_dbus.py", line 108, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 125, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed. =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabase.test_database_not_exists Traceback (most recent call last): Failure: testtools.testresult.real._StringException: Text attachment: traceback ------------ Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 128, in _run_user return fn(*args) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 368, in _run_test_method testMethod() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 207, in test_database_not_exists NoSuchDatabase, CouchDatabase, "this-must-not-exist", create=False) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 234, in assertRaises ret = callableObj(*args, **kwargs) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 57, in __init__ server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server_base.py", line 172, in __init__ self._reconnect() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 61, in _reconnect port = find_port(ctx=self.ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/__init__.py", line 28, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/linux/__init__.py", line 100, in platform_find_port bus = dbus.SessionBus() File "/usr/lib/pymodules/python2.6/dbus/_dbus.py", line 219, in __new__ mainloop=mainloop) File "/usr/lib/pymodules/python2.6/dbus/_dbus.py", line 108, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 125, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed. ------------ ------------------------------------------------------------------------------- Ran 106 tests in 24.463s FAILED (errors=2, successes=104) Pylint started! Linting changed files: desktopcouch/platform/linux/__init__.py po/desktopcouch.pot Apache CouchDB has been shutdown. Apache CouchDB has been shutdown. Apache CouchDB has been shutdown. /var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py:10: Warning: g_set_application_name() called multiple times gobject.set_application_name("desktopcouch testing") WARNING:root:Pid file does not contain int: '' WARNING:root:Personal couchdb is already running at PID#32. WARNING:root:Starting up personal couchdb. DEBUG:root:starting dbus main loop DEBUG:root:ending dbus main loop INFO:root:exiting. WARNING:root:shutting down personal couchdb. dbus 2010-11-03 17:46:05,364 - shutting down personal couchdb. WARNING:root:Starting up personal couchdb. dbus 2010-11-03 17:46:05,365 - Starting up personal couchdb. DEBUG:root:starting dbus main loop DEBUG:root:ending dbus main loop INFO:root:exiting. WARNING:root:shutting down personal couchdb. dbus 2010-11-03 17:46:05,367 - shutting down personal couchdb. dbus 2010-11-03 17:46:05,367 - shutting down personal couchdb. No config file found, using default configuration cat: /tmp/tmpIvUcMG/cache/desktop-couchdb.pid: No such file or directory