The attempt to merge lp:~mandel/desktopcouch/import_default_context into lp:desktopcouch failed. Below is the output from the failed tests. Apache CouchDB has started, time to relax. Browse your desktop CouchDB at file:///tmp/tmpXbTNfB/data/couchdb.html desktopcouch.application.tests.test_start_local_couchdb TestUpdateDesignDocuments test_create_databases_and_design_docs ... [OK] desktopcouch.application.tests.test_service TestService test_start_desktopcouch_replication ... [OK] test_start_new_desktopcouch_extensions ... [OK] test_start_new_desktopcouch_no_extensions ... [OK] desktopcouch.application.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.application.tests.test_replication TestReplication test_creation ... Apache CouchDB has started, time to relax. Browse your desktop CouchDB at file:///tmp/tmpqRAr89/data/couchdb.html [OK] TestUbuntuoneReplication test_exclusion ... Apache CouchDB has started, time to relax. Browse your desktop CouchDB at file:///tmp/tmp9tr2Ez/data/couchdb.html [OK] desktopcouch.application.migration.tests.test_migration TestMigration test_migration_script_is_run ... [OK] test_migration_script_is_run_and_can_access_view ... [OK] TestRegistration test_register_migration_add_view_to_a_given_db ... [OK] test_register_migration_add_view_to_all_the_dbs ... [OK] test_register_migration_is_added_to_the_registry ... [OK] desktopcouch.application.pair.tests.test_couchdb_io TestCouchdbIo test_get_database_names_replicatable ... [OK] test_get_my_host_unique_id ... [OK] test_mkuri ... [OK] test_obsfuscation ... [OK] test_put_dynamic_paired_host ... [OK] test_put_static_paired_service ... [OK] desktopcouch.application.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.application.pair.tests.test_network_io TestNetworkIO test_successful_lifespan ... [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_from_app_with_record ... [OK] test_run_doctests ... [OK] test_to_app ... [OK] test_to_app_with_dictionary ... [OK] desktopcouch.records.tests.test_server TestCouchDatabase test_attachments ... [OK] test_database_not_exists ... Apache CouchDB has started, time to relax. /var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py:76: DeprecationWarning: Deprecated import path; use desktopcouch.application.start_local_couchdb instead. Browse your desktop CouchDB at file:///home/otto/.local/share/desktop-couch/couchdb.html [OK] 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_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/tests/test_server.py:131: DeprecationWarning: .get_records is deprecated, use .get_all_records instead 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 144, in _run_user return fn(*args) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 425, in _run_test_method testMethod() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 133, in test_func_get_records self.assertTrue(8 <= len(results.rows)) # our 8, plus callers' data File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 893, in rows self._fetch() File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 881, in _fetch data = self.view._exec(self.options) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 766, in _exec resp, data = self.resource.get(**self._encode_options(options)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 978, in get return self._request('GET', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1014, in _request resp, data = _make_request() File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1009, in _make_request body=body, headers=headers) File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 1129, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 901, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 875, in _conn_request conn.connect() File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 750, in connect raise socket.error, msg error: [Errno 111] Connection refused ------------ Text attachment: traceback-1 ------------ Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 144, in _run_user return fn(*args) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 404, in _run_teardown self.tearDown() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 77, in tearDown del self.database._server[self.database._database_name] File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 156, in __delitem__ self.resource.delete(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 975, in delete return self._request('DELETE', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1014, in _request resp, data = _make_request() File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1009, in _make_request body=body, headers=headers) File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 1129, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 901, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 871, in _conn_request response = conn.getresponse() File "/usr/lib/python2.6/httplib.py", line 988, in getresponse method=self._method) File "/usr/lib/python2.6/httplib.py", line 330, in __init__ self.fp = sock.makefile('rb', 0) AttributeError: 'NoneType' object has no attribute 'makefile' ------------ [ERROR] test_get_records_by_record_type_save_view ... 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 144, in _run_user return fn(*args) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 389, in _run_setup self.setUp() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 63, in setUp ctx=get_test_context()) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 74, in __init__ server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server_base.py", line 186, in __init__ self._reconnect() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 105, in _reconnect port = find_port(ctx=self.ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/__init__.py", line 40, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 94, in platform_find_port return direct_access_find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 183, in direct_access_find_port raise RuntimeError("Unable to find listening port") RuntimeError: Unable to find listening port ------------ [ERROR] test_get_view_by_type_createxcl_fail ... 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 144, in _run_user return fn(*args) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 389, in _run_setup self.setUp() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 63, in setUp ctx=get_test_context()) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 74, in __init__ server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server_base.py", line 186, in __init__ self._reconnect() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 105, in _reconnect port = find_port(ctx=self.ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/__init__.py", line 40, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 94, in platform_find_port return direct_access_find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 183, in direct_access_find_port raise RuntimeError("Unable to find listening port") RuntimeError: Unable to find listening port ------------ [ERROR] test_get_view_by_type_new_but_already ... 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 144, in _run_user return fn(*args) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 389, in _run_setup self.setUp() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 63, in setUp ctx=get_test_context()) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 74, in __init__ server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server_base.py", line 186, in __init__ self._reconnect() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 105, in _reconnect port = find_port(ctx=self.ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/__init__.py", line 40, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 94, in platform_find_port return direct_access_find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 183, in direct_access_find_port raise RuntimeError("Unable to find listening port") RuntimeError: Unable to find listening port ------------ [ERROR] desktopcouch.records.tests.test_record TestMergeableList test_abc ... [OK] test_append ... [OK] test_del ... [OK] test_index ... [OK] test_insert ... [OK] test_is_mergeable_list ... [OK] test_pop ... [OK] test_pop_no_index ... [OK] test_pop_wrong_index ... [OK] test_remove ... [OK] test_remove_missing ... [OK] TestRecordDict test_abc ... [OK] 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_no_record_type ... [OK] test_record_id ... [OK] test_record_type ... [OK] test_record_type_version ... [OK] test_revision ... Apache CouchDB has started, time to relax. Removing stale, deceptive pid file. Browse your desktop CouchDB at file:///tmp/tmpXbTNfB/data/couchdb.html [OK] test_run_doctests ... [OK] test_setitem_internal ... [OK] test_uuid_like_keys ... [OK] test_validate ... [OK] desktopcouch.recordtypes.tests.test_tasks TestTaskRecord test_task_record ... [OK] desktopcouch.recordtypes.tests.test_bookmarks TestBookmarkRecord test_bookmark_record ... [OK] TestFeedRecord test_feed_record ... [OK] TestFolderRecord test_folder_record ... [OK] TestSeparatorRecord test_separator_record ... [OK] desktopcouch.recordtypes.tests.test_notes TestNoteRecord test_note_record ... [OK] desktopcouch.recordtypes.contacts.tests.test_create TestCreate test_create_many_contacts ... [OK] test_head_or_tails ... [OK] test_random_bools ... [OK] desktopcouch.recordtypes.contacts.tests.test_record TestContactRecord test_contact_record ... [OK] desktopcouch.recordtypes.contacts.tests.test_view TestLocalFiles test_find_contact_starting ... [OK] test_find_contacts_exact ... [OK] =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabaseDeprecated.test_func_get_records 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 144, in _run_user return fn(*args) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 425, in _run_test_method testMethod() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 133, in test_func_get_records self.assertTrue(8 <= len(results.rows)) # our 8, plus callers' data File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 893, in rows self._fetch() File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 881, in _fetch data = self.view._exec(self.options) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 766, in _exec resp, data = self.resource.get(**self._encode_options(options)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 978, in get return self._request('GET', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1014, in _request resp, data = _make_request() File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1009, in _make_request body=body, headers=headers) File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 1129, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 901, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 875, in _conn_request conn.connect() File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 750, in connect raise socket.error, msg error: [Errno 111] Connection refused ------------ Text attachment: traceback-1 ------------ Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 144, in _run_user return fn(*args) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 404, in _run_teardown self.tearDown() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 77, in tearDown del self.database._server[self.database._database_name] File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 156, in __delitem__ self.resource.delete(validate_dbname(name)) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 975, in delete return self._request('DELETE', path, headers=headers, **params) File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1014, in _request resp, data = _make_request() File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1009, in _make_request body=body, headers=headers) File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 1129, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 901, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 871, in _conn_request response = conn.getresponse() File "/usr/lib/python2.6/httplib.py", line 988, in getresponse method=self._method) File "/usr/lib/python2.6/httplib.py", line 330, in __init__ self.fp = sock.makefile('rb', 0) AttributeError: 'NoneType' object has no attribute 'makefile' ------------ =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabaseDeprecated.test_get_records_by_record_type_save_view 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 144, in _run_user return fn(*args) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 389, in _run_setup self.setUp() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 63, in setUp ctx=get_test_context()) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 74, in __init__ server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server_base.py", line 186, in __init__ self._reconnect() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 105, in _reconnect port = find_port(ctx=self.ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/__init__.py", line 40, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 94, in platform_find_port return direct_access_find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 183, in direct_access_find_port raise RuntimeError("Unable to find listening port") RuntimeError: Unable to find listening port ------------ =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabaseDeprecated.test_get_view_by_type_createxcl_fail 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 144, in _run_user return fn(*args) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 389, in _run_setup self.setUp() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 63, in setUp ctx=get_test_context()) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 74, in __init__ server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server_base.py", line 186, in __init__ self._reconnect() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 105, in _reconnect port = find_port(ctx=self.ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/__init__.py", line 40, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 94, in platform_find_port return direct_access_find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 183, in direct_access_find_port raise RuntimeError("Unable to find listening port") RuntimeError: Unable to find listening port ------------ =============================================================================== [ERROR]: desktopcouch.records.tests.test_server.TestCouchDatabaseDeprecated.test_get_view_by_type_new_but_already 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 144, in _run_user return fn(*args) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 389, in _run_setup self.setUp() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 63, in setUp ctx=get_test_context()) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 74, in __init__ server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server_base.py", line 186, in __init__ self._reconnect() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/server.py", line 105, in _reconnect port = find_port(ctx=self.ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/__init__.py", line 40, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 94, in platform_find_port return direct_access_find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 182, in direct_access_find_port return direct_access_find_port(pid, ctx, retries_left - 1) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/application/platform/linux/__init__.py", line 183, in direct_access_find_port raise RuntimeError("Unable to find listening port") RuntimeError: Unable to find listening port ------------ ------------------------------------------------------------------------------- Ran 109 tests in 29.423s FAILED (errors=4, successes=105) Apache CouchDB has been shutdown. DEBUG:root:starting dbus main loop DEBUG:root:ending dbus main loop INFO:root:exiting. WARNING:root:shutting down personal couchdb. dbus 2010-11-23 17:16:15,233 - shutting down personal couchdb. WARNING:root:Starting up personal couchdb. dbus 2010-11-23 17:16:15,260 - 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-23 17:16:15,261 - shutting down personal couchdb. dbus 2010-11-23 17:16:15,261 - shutting down personal couchdb. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Migrating DB: test_migration_script_is_run INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Migrating DB: test_migration_script_is_run_and_can_access_view INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Migrating DB: test_register_migration_add_view_to_a_given_db INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Migrating DB: test_register_migration_add_view_to_all_the_dbs INFO:root:Connecting to discovered local port. INFO:root:Migrating DB: one_more_database INFO:root:Connecting to discovered local port. INFO:root:Migrating DB: apple INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Migrating DB: test_register_migration_is_added_to_the_registry INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. DEBUG:root:Got list of databases from : set(['foo', 'management', 'bar', 'apple', '_users']) INFO:root:Connecting to http://localhost:39020. DEBUG:root:found 1 excluded_names records INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. DEBUG:root:found 0 self_identity records DEBUG:root:set new self-identity value: '5afc8942-652c-4dbb-88e4-3349540ee91a' INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. DEBUG:root:found 1 self_identity records INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. DEBUG:root:Pairing desktopcouch with Ubuntu One DEBUG:root:Pairing desktopcouch with Ubuntu One DEBUG:root:Not adding desktopcouch pairing since we are already paired DEBUG:root:Not adding desktopcouch pairing since the user has explicitly unpaired with Ubuntu One INFO:ListenForInvitations:local port to receive invitations is 36286 DEBUG:SendInvitationFactory:initialized DEBUG:SendInvitationProtocol:initialized DEBUG:SendInvitationProtocol:connection made INFO:ProcessAnInvitationProtocol:User secret 'sek' is wrong. INFO:ProcessAnInvitationProtocol:User secret '' is wrong. INFO:ProcessAnInvitationProtocol:User secret ' fs' is wrong. DEBUG:ProcessAnInvitationProtocol:User knew secret! DEBUG:ProcessAnInvitationProtocol:connection lost INFO:SendInvitationProtocol:connection lost. INFO:SendInvitationFactory:connection lost. [Failure instance: Traceback (failure with no frames): : Connection was closed cleanly. ] INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Desktop CouchDB is not running; starting it. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Desktop CouchDB is not running; starting it. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port. INFO:root:Connecting to discovered local port.