The attempt to merge lp:~cmiller/desktopcouch/use-test-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/tmpeJDPFg/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/tmpt7ZD4r/data/couchdb.html [OK] TestUbuntuoneReplication test_exclusion ... Apache CouchDB has started, time to relax. Browse your desktop CouchDB at file:///tmp/tmpZ2IutB/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 TestCouchDatabaseDeprecated test_func_get_records ... /var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/tests/test_server.py:129: DeprecationWarning: .get_records is deprecated, use .get_all_records instead /usr/lib/python2.6/dist-packages/testtools/testcase.py:253: 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/tests/test_server.py:102: 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/tests/test_server.py:154: 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/tests/test_server.py:147: DeprecationWarning: .get_records is deprecated, use .get_all_records instead /var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/tests/test_server.py:149: DeprecationWarning: .get_records is deprecated, use .get_all_records instead [OK] TestDesktopDatabase test_attachments ... [OK] test_database_not_exists ... [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] 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 ... [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] ------------------------------------------------------------------------------- Ran 109 tests in 40.939s PASSED (successes=109) Name Stmts Exec Cover ------------------------------------------------------------------------------------- desktopcouch/__init__ 0 0 100% desktopcouch/application/__init__ 0 0 100% desktopcouch/application/local_files 166 146 87% desktopcouch/application/migration/__init__ 45 40 88% desktopcouch/application/migration/tests/__init__ 0 0 100% desktopcouch/application/migration/tests/test_migration 72 70 97% desktopcouch/application/pair/__init__ 2 2 100% desktopcouch/application/pair/couchdb_pairing/__init__ 1 1 100% desktopcouch/application/pair/couchdb_pairing/couchdb_io 188 105 55% desktopcouch/application/pair/couchdb_pairing/dbus_io 131 37 28% desktopcouch/application/pair/couchdb_pairing/network_io 173 161 93% desktopcouch/application/pair/couchdb_pairing/ubuntuone_pairing 21 20 95% desktopcouch/application/pair/tests/__init__ 1 1 100% desktopcouch/application/pair/tests/test_couchdb_io 68 68 100% desktopcouch/application/pair/tests/test_network_io 58 54 93% desktopcouch/application/pair/tests/test_ubuntuone_pairing 51 51 100% desktopcouch/application/platform/__init__ 21 12 57% desktopcouch/application/platform/linux/__init__ 99 61 61% desktopcouch/application/platform/linux/ipc 15 7 46% desktopcouch/application/platform/linux/keyring 40 10 25% desktopcouch/application/platform/windows/__init__ 2 0 0% desktopcouch/application/replication 138 17 12% desktopcouch/application/replication_services/__init__ 2 2 100% desktopcouch/application/replication_services/example 7 5 71% desktopcouch/application/replication_services/ubuntuone 99 52 52% desktopcouch/application/server 40 34 85% desktopcouch/application/service 93 88 94% desktopcouch/application/start_local_couchdb 133 104 78% desktopcouch/application/stop_local_couchdb 17 6 35% desktopcouch/application/tests/__init__ 85 69 81% desktopcouch/application/tests/test_local_files 57 56 98% desktopcouch/application/tests/test_replication 37 37 100% desktopcouch/application/tests/test_service 87 87 100% desktopcouch/application/tests/test_start_local_couchdb 50 50 100% desktopcouch/application/util 6 6 100% desktopcouch/bookmarks/__init__ 0 0 100% desktopcouch/bookmarks/record 3 0 0% desktopcouch/contacts/__init__ 0 0 100% desktopcouch/contacts/record 3 0 0% desktopcouch/contacts/view 3 0 0% desktopcouch/local_files 3 0 0% desktopcouch/notes/__init__ 0 0 100% desktopcouch/notes/record 3 0 0% desktopcouch/pair/__init__ 3 0 0% desktopcouch/pair/couchdb_pairing/__init__ 0 0 100% desktopcouch/pair/couchdb_pairing/couchdb_io 3 0 0% desktopcouch/pair/couchdb_pairing/dbus_io 3 0 0% desktopcouch/pair/couchdb_pairing/network_io 3 0 0% desktopcouch/pair/couchdb_pairing/ubuntuone_pairing 3 0 0% desktopcouch/records/__init__ 255 242 94% desktopcouch/records/database 301 280 93% desktopcouch/records/field_registry 114 91 79% desktopcouch/records/server 3 0 0% desktopcouch/records/server_base 3 0 0% desktopcouch/records/tests/__init__ 1 1 100% desktopcouch/records/tests/test_field_registry 81 78 96% desktopcouch/records/tests/test_record 188 185 98% desktopcouch/records/tests/test_server 385 359 93% desktopcouch/recordtypes/__init__ 0 0 100% desktopcouch/recordtypes/bookmarks 18 18 100% desktopcouch/recordtypes/contacts/__init__ 26 26 100% desktopcouch/recordtypes/contacts/testing/__init__ 1 1 100% desktopcouch/recordtypes/contacts/testing/create 83 82 98% desktopcouch/recordtypes/contacts/tests/__init__ 1 1 100% desktopcouch/recordtypes/contacts/tests/test_create 21 21 100% desktopcouch/recordtypes/contacts/tests/test_record 17 17 100% desktopcouch/recordtypes/contacts/tests/test_view 55 55 100% desktopcouch/recordtypes/contacts/view 20 18 90% desktopcouch/recordtypes/notes 11 11 100% desktopcouch/recordtypes/tasks 7 7 100% desktopcouch/recordtypes/tests/__init__ 0 0 100% desktopcouch/recordtypes/tests/test_bookmarks 19 19 100% desktopcouch/recordtypes/tests/test_notes 15 15 100% desktopcouch/recordtypes/tests/test_tasks 11 11 100% desktopcouch/replication 3 0 0% desktopcouch/replication_services/__init__ 3 0 0% desktopcouch/replication_services/example 3 0 0% desktopcouch/replication_services/ubuntuone 3 0 0% desktopcouch/service 3 0 0% desktopcouch/start_local_couchdb 7 0 0% desktopcouch/stop_local_couchdb 6 0 0% desktopcouch/tasks/__init__ 0 0 100% desktopcouch/tasks/record 3 0 0% desktopcouch/tests/__init__ 3 0 0% desktopcouch/util 3 0 0% ------------------------------------------------------------------------------------- TOTAL 3708 2997 80% Apache CouchDB has been shutdown. Apache CouchDB has been shutdown. Apache CouchDB has been shutdown. == Python Lint Notices == bin/desktopcouch-get-port: 39: [W0511] FIXME log the result of the migration bin/desktopcouch-pair: 286: [W0511] FIXME 296: [W0511] FIXME this call was broken since it was missing the last 344: [W0511] XXX 550: [W0511] XXX 853: [W0511] FIXME I don't think this will reimport anything 901: [W0511] XXX does this do anything? bin/desktopcouch-service: 42: [W0511] TODO desktopcouch/application/pair/__init__.py: 19: [W0511] FIXME constants should be upper case desktopcouch/application/pair/couchdb_pairing/network_io.py: 127: [W0511] FIXME 142: [W0511] FIXME 147: [W0511] FIXME 153: [W0511] FIXME 234: [W0511] FIXME 253: [W0511] FIXME 273: [W0511] FIXME 300: [W0511] FIXME 302: [W0511] FIXME 311: [W0511] FIXME desktopcouch/application/pair/tests/test_ubuntuone_pairing.py: 78: [W0511] FIXME does this do anything? 94: [W0511] FIXME does this do anything? desktopcouch/application/platform/linux/ipc.py: 42: [W0511] FIXME change this to get_port desktopcouch/application/platform/windows/__init__.py: 4: [W0511] FIXME make thisdo something or document why it does not desktopcouch/application/replication.py: 152: [W0511] TODO 174: [W0511] TODO 251: [W0511] TODO desktopcouch/application/replication_services/example.py: 8: [W0511] FIXME all of the constants should be capitalized, but that needs to desktopcouch/application/start_local_couchdb.py: 137: [W0511] FIXME base may have magic chars. assert not glob.has_magic(base)? 149: [W0511] FIXME 170: [W0511] XXX check whether this already exists or not, rather desktopcouch/application/tests/__init__.py: 149: [W0511] TODO desktopcouch/application/tests/test_local_files.py: 50: [W0511] XXX desktopcouch/application/tests/test_replication.py: 29: [W0511] XXX desktopcouch/application/tests/test_service.py: 75: [W0511] XXX 105: [W0511] XXX desktopcouch/records/database.py: 42: [W0611] Unused import logging desktopcouch/records/tests/test_server.py: 630: [W0511] XXX I took out the assertion that data was sorted, since desktopcouch/recordtypes/contacts/tests/test_create.py: 64: [W0511] XXX Asssert something + u1trial -c desktopcouch DEBUG:root:starting dbus main loop DEBUG:root:ending dbus main loop INFO:root:exiting. WARNING:root:shutting down personal couchdb. dbus 2010-11-24 12:30:49,219 - shutting down personal couchdb. WARNING:root:Starting up personal couchdb. dbus 2010-11-24 12:30:49,246 - 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-24 12:30:49,248 - shutting down personal couchdb. dbus 2010-11-24 12:30:49,248 - shutting down personal couchdb. INFO:root:Migrating DB: test_migration_script_is_run INFO:root:Migrating DB: test_migration_script_is_run_and_can_access_view INFO:root:Migrating DB: test_register_migration_add_view_to_a_given_db INFO:root:Migrating DB: test_register_migration_add_view_to_all_the_dbs INFO:root:Migrating DB: one_more_database INFO:root:Migrating DB: apple INFO:root:Migrating DB: test_register_migration_is_added_to_the_registry DEBUG:root:Got list of databases from : set(['foo', 'management', 'bar', 'apple', '_users']) DEBUG:root:found 1 excluded_names records DEBUG:root:found 0 self_identity records DEBUG:root:set new self-identity value: '424e310a-0077-478e-97e4-256350b90d9a' DEBUG:root:found 1 self_identity records 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 40855 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. ] + u1lint /usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display warnings.warn(str(e), _gtk.Warning)