The attempt to merge lp:~cmiller/desktopcouch/service-exits-properly 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/tmpaiH_vP/data/couchdb.html desktopcouch.application.migration.tests.test_migration TestMigration test_migration_deleted_flag_to_trash ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/migration/tests/test_migration.py", line 105, in setUp super(TestMigration, self).setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/migration/tests/test_migration.py", line 57, in setUp self.database = DesktopDatabase(self.dbname, create=True, ctx=self.ctx) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_migration_in_face_of_broken_records ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/migration/tests/test_migration.py", line 105, in setUp super(TestMigration, self).setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/migration/tests/test_migration.py", line 57, in setUp self.database = DesktopDatabase(self.dbname, create=True, ctx=self.ctx) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_migration_script_is_run ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/migration/tests/test_migration.py", line 105, in setUp super(TestMigration, self).setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/migration/tests/test_migration.py", line 57, in setUp self.database = DesktopDatabase(self.dbname, create=True, ctx=self.ctx) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_migration_script_is_run_and_can_access_view ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/migration/tests/test_migration.py", line 105, in setUp super(TestMigration, self).setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/migration/tests/test_migration.py", line 57, in setUp self.database = DesktopDatabase(self.dbname, create=True, ctx=self.ctx) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] TestRegistration test_register_migration_is_added_to_the_registry ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/migration/tests/test_migration.py", line 79, in setUp super(TestRegistration, self).setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/migration/tests/test_migration.py", line 57, in setUp self.database = DesktopDatabase(self.dbname, create=True, ctx=self.ctx) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] desktopcouch.application.plugins.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] TestUbuntuOnePlugin test_got_new_credentials ... [OK] test_got_new_credentials_other ... [OK] test_listen_to_dbus ... [OK] desktopcouch.application.plugins.tests.test_plugins TestLoadPlugins test_load_plugins ... [OK] desktopcouch.application.pair.tests.test_network_io TestNetworkIO test_successful_lifespan ... [OK] desktopcouch.application.pair.tests.test_couchdb_io TestCouchdbIo test_get_database_names_replicatable ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/pair/tests/test_couchdb_io.py", line 41, in setUp ctx=test_environment.test_context) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_get_my_host_unique_id ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/pair/tests/test_couchdb_io.py", line 41, in setUp ctx=test_environment.test_context) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_mkuri ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/pair/tests/test_couchdb_io.py", line 41, in setUp ctx=test_environment.test_context) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_obsfuscation ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/pair/tests/test_couchdb_io.py", line 41, in setUp ctx=test_environment.test_context) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_put_dynamic_paired_host ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/pair/tests/test_couchdb_io.py", line 41, in setUp ctx=test_environment.test_context) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_put_static_paired_service ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/pair/tests/test_couchdb_io.py", line 41, in setUp ctx=test_environment.test_context) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] desktopcouch.application.tests.test_service TestService test_start_desktopcouch_replication ... [OK] test_start_migrate_data ... [OK] test_start_new_desktopcouch_with_plugins ... [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_start_local_couchdb TestUpdateDesignDocuments test_create_databases_and_design_docs ... [OK] desktopcouch.application.tests.test_replication TestReplication test_creation ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 321, in run testMethod() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/tests/test_replication.py", line 21, in test_creation "apple", create=True, ctx=test_environment.test_context) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] TestUbuntuoneReplication test_exclusion ... Apache CouchDB has started, time to relax. Browse your desktop CouchDB at file:///tmp/tmpcG2ccj/data/couchdb.html Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 321, in run testMethod() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/tests/test_replication.py", line 39, in test_exclusion ValueError, ubuntuone.ReplicationExclusion, ctx=self.ctx) File "/usr/lib/python2.7/unittest/case.py", line 465, in assertRaises callableObj(*args, **kwargs) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/replication_services/ubuntuone.py", line 149, in __init__ "management", uri=url, create=True, ctx=ctx) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] desktopcouch.application.platform.linux.tests.test_keyring TestGnomeKeyring test_get_aouth_no_keyring ... [OK] test_get_oauth_canceled_store ... [OK] test_get_oauth_data_stored ... [OK] test_get_user_name_password_keyring ... [OK] test_get_user_name_password_no_daemon ... [OK] test_get_user_name_password_not_in_keyring ... [OK] test_get_user_name_password_user_cancel ... [OK] desktopcouch.application.platform.windows.tests.test_base_dirs BaseDirsTestCase test_get_special_folders ... [OK] test_get_special_folders_cannot_get_data ... [OK] test_get_special_folders_cannot_open_hive ... [OK] test_get_special_folders_cannot_open_key ... [OK] desktopcouch.application.platform.windows.tests.test_keyring TestKeyring test_get_oauth_data ... [OK] test_get_user_name_password ... [OK] test_get_user_name_password_no_key ... [OK] test_get_user_name_password_no_value ... [OK] desktopcouch.records.tests.test_record TestMergeableList test_abc ... [OK] test_append ... [OK] test_del ... [OK] test_eq ... [OK] test_eq2 ... [OK] test_index ... [OK] test_insert ... [OK] test_is_mergeable_list ... [OK] test_ne ... [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 ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 321, in run testMethod() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_record.py", line 209, in test_revision db = DesktopDatabase('testing', create=True, ctx=ctx) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_run_doctests ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 321, in run testMethod() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_record.py", line 352, in test_run_doctests globs = {"db": DesktopDatabase('testing', create=True, ctx=ctx)} File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_setitem_internal ... [OK] test_uuid_like_keys ... [OK] test_validate ... [OK] desktopcouch.records.tests.test_mocked_server TestMockedCouchDatabaseCreateStates test_create_already_exists ... [OK] test_create_new ... [OK] test_no_create_already_exists ... [OK] test_no_create_not_exists ... [OK] TestMockedCouchDatabaseDeprecated test_get_records_by_record_type_new_view ... [OK] test_get_records_by_record_type_new_view_not_create ... [OK] test_get_records_by_record_type_saved_view ... [OK] test_get_records_by_record_type_saved_view_false_create ... [OK] TestMockedDesktopDatabase test_database_not_exists ... [OK] test_delete_not_present_view ... [OK] test_delete_present_view_is_last ... [OK] test_delete_present_view_not_last ... [OK] test_delete_record_no_attachments ... [OK] test_delete_record_not_exist ... [OK] test_get_deleted_record ... [OK] test_get_present_record_no_attachments ... [OK] test_get_records_by_record_type_missing_view ... [OK] test_get_records_by_record_type_present_view ... [OK] test_list_views ... [OK] test_list_views_no_design_doc ... [OK] test_put_record_no_attachments ... [OK] test_put_record_no_attachments_or_id ... [OK] test_put_record_with_attachments ... [OK] test_put_records_batch ... [OK] test_record_exists ... [OK] test_update_fields ... [OK] desktopcouch.records.tests.test_server TestCouchDatabaseDeprecated test_func_get_records ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 64, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_get_records_by_record_type_save_view ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 64, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_get_view_by_type_createxcl_fail ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 64, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_get_view_by_type_new_but_already ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 64, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] TestDesktopDatabase test_database_not_exists ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_delete_and_recreate_record ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_delete_record ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_func_get_all_records ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_get_changes ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_get_deleted_record ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_get_record ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_get_records_by_record_type_save_view ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_get_view_by_type_new_but_already ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_list_views ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_put_record ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_put_records_batch ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_record_exists ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_report_changes_all_ops_give_known_keys ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_report_changes_exceptions ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_report_changes_nochanges ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_report_changes_polite ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_update_fields ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_update_fields_failure ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_update_fields_success ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_view_add_and_delete ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_view_fetch ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] desktopcouch.records.tests.test_field_registry TestFieldMapping test_list_to_mergeable_list_field_mapping1 ... [OK] test_list_to_mergeable_list_field_mapping2 ... [OK] test_list_to_mergeable_list_with_subfield1 ... [OK] test_list_to_mergeable_list_with_subfield2 ... [OK] 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.recordtypes.contacts.tests.test_create TestCreate test_create_many_contacts ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 321, in run testMethod() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/recordtypes/contacts/tests/test_create.py", line 63, in test_create_many_contacts create.create_many_contacts() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/recordtypes/contacts/testing/create.py", line 189, in create_many_contacts db = server[db_name] if db_name in server else server.create(db_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 93, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 377, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, '') [ERROR] 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 ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/recordtypes/contacts/tests/test_view.py", line 155, in setUp self.dbname, create=True, ctx=test_environment.test_context) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] test_find_contacts_exact ... Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/recordtypes/contacts/tests/test_view.py", line 155, in setUp self.dbname, create=True, ctx=test_environment.test_context) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) [ERROR] 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.tests.test_tasks TestTaskRecord test_task_record ... [OK] =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/migration/tests/test_migration.py", line 105, in setUp super(TestMigration, self).setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/migration/tests/test_migration.py", line 57, in setUp self.database = DesktopDatabase(self.dbname, create=True, ctx=self.ctx) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) desktopcouch.application.migration.tests.test_migration.TestMigration.test_migration_deleted_flag_to_trash desktopcouch.application.migration.tests.test_migration.TestMigration.test_migration_in_face_of_broken_records desktopcouch.application.migration.tests.test_migration.TestMigration.test_migration_script_is_run desktopcouch.application.migration.tests.test_migration.TestMigration.test_migration_script_is_run_and_can_access_view =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/migration/tests/test_migration.py", line 79, in setUp super(TestRegistration, self).setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/migration/tests/test_migration.py", line 57, in setUp self.database = DesktopDatabase(self.dbname, create=True, ctx=self.ctx) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) desktopcouch.application.migration.tests.test_migration.TestRegistration.test_register_migration_is_added_to_the_registry =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/pair/tests/test_couchdb_io.py", line 41, in setUp ctx=test_environment.test_context) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) desktopcouch.application.pair.tests.test_couchdb_io.TestCouchdbIo.test_get_database_names_replicatable desktopcouch.application.pair.tests.test_couchdb_io.TestCouchdbIo.test_get_my_host_unique_id desktopcouch.application.pair.tests.test_couchdb_io.TestCouchdbIo.test_mkuri desktopcouch.application.pair.tests.test_couchdb_io.TestCouchdbIo.test_obsfuscation desktopcouch.application.pair.tests.test_couchdb_io.TestCouchdbIo.test_put_dynamic_paired_host desktopcouch.application.pair.tests.test_couchdb_io.TestCouchdbIo.test_put_static_paired_service =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 321, in run testMethod() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/tests/test_replication.py", line 21, in test_creation "apple", create=True, ctx=test_environment.test_context) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) desktopcouch.application.tests.test_replication.TestReplication.test_creation =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 321, in run testMethod() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/tests/test_replication.py", line 39, in test_exclusion ValueError, ubuntuone.ReplicationExclusion, ctx=self.ctx) File "/usr/lib/python2.7/unittest/case.py", line 465, in assertRaises callableObj(*args, **kwargs) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/replication_services/ubuntuone.py", line 149, in __init__ "management", uri=url, create=True, ctx=ctx) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) desktopcouch.application.tests.test_replication.TestUbuntuoneReplication.test_exclusion =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 321, in run testMethod() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_record.py", line 209, in test_revision db = DesktopDatabase('testing', create=True, ctx=ctx) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) desktopcouch.records.tests.test_record.TestRecords.test_revision =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 321, in run testMethod() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_record.py", line 352, in test_run_doctests globs = {"db": DesktopDatabase('testing', create=True, ctx=ctx)} File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) desktopcouch.records.tests.test_record.TestRecords.test_run_doctests =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 64, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) desktopcouch.records.tests.test_server.TestCouchDatabaseDeprecated.test_func_get_records desktopcouch.records.tests.test_server.TestCouchDatabaseDeprecated.test_get_records_by_record_type_save_view desktopcouch.records.tests.test_server.TestCouchDatabaseDeprecated.test_get_view_by_type_createxcl_fail desktopcouch.records.tests.test_server.TestCouchDatabaseDeprecated.test_get_view_by_type_new_but_already =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 176, in setUp ctx=get_test_context()) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) desktopcouch.records.tests.test_server.TestDesktopDatabase.test_database_not_exists desktopcouch.records.tests.test_server.TestDesktopDatabase.test_delete_and_recreate_record desktopcouch.records.tests.test_server.TestDesktopDatabase.test_delete_record desktopcouch.records.tests.test_server.TestDesktopDatabase.test_func_get_all_records desktopcouch.records.tests.test_server.TestDesktopDatabase.test_get_changes desktopcouch.records.tests.test_server.TestDesktopDatabase.test_get_deleted_record desktopcouch.records.tests.test_server.TestDesktopDatabase.test_get_record desktopcouch.records.tests.test_server.TestDesktopDatabase.test_get_records_by_record_type_save_view desktopcouch.records.tests.test_server.TestDesktopDatabase.test_get_view_by_type_new_but_already desktopcouch.records.tests.test_server.TestDesktopDatabase.test_list_views desktopcouch.records.tests.test_server.TestDesktopDatabase.test_put_record desktopcouch.records.tests.test_server.TestDesktopDatabase.test_put_records_batch desktopcouch.records.tests.test_server.TestDesktopDatabase.test_record_exists desktopcouch.records.tests.test_server.TestDesktopDatabase.test_report_changes_all_ops_give_known_keys desktopcouch.records.tests.test_server.TestDesktopDatabase.test_report_changes_exceptions desktopcouch.records.tests.test_server.TestDesktopDatabase.test_report_changes_nochanges desktopcouch.records.tests.test_server.TestDesktopDatabase.test_report_changes_polite desktopcouch.records.tests.test_server.TestDesktopDatabase.test_update_fields desktopcouch.records.tests.test_server.TestDesktopDatabase.test_update_fields_failure desktopcouch.records.tests.test_server.TestDesktopDatabase.test_update_fields_success desktopcouch.records.tests.test_server.TestDesktopDatabase.test_view_add_and_delete desktopcouch.records.tests.test_server.TestDesktopDatabase.test_view_fetch =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 321, in run testMethod() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/recordtypes/contacts/tests/test_create.py", line 63, in test_create_many_contacts create.create_many_contacts() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/recordtypes/contacts/testing/create.py", line 189, in create_many_contacts db = server[db_name] if db_name in server else server.create(db_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 93, in __contains__ self.resource.head(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 377, in head return self._request('HEAD', path, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, '') desktopcouch.recordtypes.contacts.tests.test_create.TestCreate.test_create_many_contacts =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 312, in run self.setUp() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/recordtypes/contacts/tests/test_view.py", line 155, in setUp self.dbname, create=True, ctx=test_environment.test_context) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 75, in __init__ oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 123, in __init__ self._reconnect() File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/application/server.py", line 85, in _reconnect super(DesktopDatabase, self)._reconnect(uri=uri) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/database.py", line 139, in _reconnect self._server.create(self._database_name) File "/usr/lib/pymodules/python2.7/couchdb/client.py", line 193, in create self.resource.put_json(validate_dbname(name)) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 405, in put_json status, headers, data = self.put(*a, **k) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 384, in put return self._request('PUT', path, body=body, headers=headers, **params) File "/usr/lib/pymodules/python2.7/couchdb/http.py", line 419, in _request credentials=self.credentials) File "/home/otto/tarmac-builds/desktopcouch/trunk/desktopcouch/records/http.py", line 259, in request raise ServerError((status, error)) couchdb.http.ServerError: (400, ('invalid_consumer_token_pair', 'Invalid consumer and token pair.')) desktopcouch.recordtypes.contacts.tests.test_view.TestLocalFiles.test_find_contact_starting desktopcouch.recordtypes.contacts.tests.test_view.TestLocalFiles.test_find_contacts_exact ------------------------------------------------------------------------------- Ran 160 tests in 2.857s FAILED (errors=44, successes=116) Name Stmts Exec Cover ------------------------------------------------------------------------------------ desktopcouch/__init__ 10 2 20% desktopcouch/application/__init__ 0 0 100% desktopcouch/application/local_files 170 144 84% desktopcouch/application/migration/__init__ 75 68 90% desktopcouch/application/migration/tests/__init__ 0 0 100% desktopcouch/application/migration/tests/test_migration 111 34 30% desktopcouch/application/pair/__init__ 2 2 100% desktopcouch/application/pair/couchdb_pairing/__init__ 1 1 100% desktopcouch/application/pair/couchdb_pairing/couchdb_io 195 32 16% desktopcouch/application/pair/couchdb_pairing/dbus_io 131 37 28% desktopcouch/application/pair/couchdb_pairing/network_io 173 161 93% desktopcouch/application/pair/tests/__init__ 1 1 100% desktopcouch/application/pair/tests/test_couchdb_io 68 22 32% desktopcouch/application/pair/tests/test_network_io 58 54 93% desktopcouch/application/platform/__init__ 23 13 56% desktopcouch/application/platform/linux/__init__ 104 65 62% desktopcouch/application/platform/linux/base_dirs 13 8 61% desktopcouch/application/platform/linux/ipc 15 7 46% desktopcouch/application/platform/linux/keyring 91 78 85% desktopcouch/application/platform/linux/tests/__init__ 0 0 100% desktopcouch/application/platform/linux/tests/test_keyring 144 140 97% desktopcouch/application/platform/windows/__init__ 2 1 50% desktopcouch/application/platform/windows/base_dirs 56 34 60% desktopcouch/application/platform/windows/keyring 84 65 77% desktopcouch/application/platform/windows/tests/__init__ 0 0 100% desktopcouch/application/platform/windows/tests/test_base_dirs 52 52 100% desktopcouch/application/platform/windows/tests/test_keyring 150 150 100% desktopcouch/application/plugins/__init__ 22 19 86% desktopcouch/application/plugins/tests/__init__ 0 0 100% desktopcouch/application/plugins/tests/test_plugins 25 25 100% desktopcouch/application/plugins/tests/test_ubuntuone_pairing 99 98 98% desktopcouch/application/plugins/ubuntuone_pairing 52 47 90% 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 108 34 31% desktopcouch/application/server 38 32 84% desktopcouch/application/service 125 108 86% desktopcouch/application/start_local_couchdb 104 74 71% desktopcouch/application/stop_local_couchdb 17 6 35% desktopcouch/application/tests/__init__ 44 36 81% desktopcouch/application/tests/test_local_files 57 56 98% desktopcouch/application/tests/test_replication 34 17 50% desktopcouch/application/tests/test_service 118 118 100% desktopcouch/application/tests/test_start_local_couchdb 43 43 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__ 266 217 81% desktopcouch/records/database 278 208 74% desktopcouch/records/field_registry 150 121 80% desktopcouch/records/http 162 88 54% desktopcouch/records/record 3 0 0% 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 118 115 97% desktopcouch/records/tests/test_mocked_server 430 422 98% desktopcouch/records/tests/test_record 204 186 91% desktopcouch/records/tests/test_server 394 58 14% 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 37 44% 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 18 32% desktopcouch/recordtypes/contacts/view 20 7 35% 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 3 100% desktopcouch/util 3 0 0% ------------------------------------------------------------------------------------ TOTAL 5152 3542 68% Apache CouchDB has been shutdown. Apache CouchDB has been shutdown. + u1trial -c desktopcouch WARNING:root:There is no keyring to store our admin credentials. WARNING:root:There is no keyring to store our admin credentials. WARNING:root:Failed to load plug-in: desktopcouch.application.plugins.test_ubuntuone_pairing WARNING:root:Failed to load plug-in: desktopcouch.application.plugins.test_plugins WARNING:root:Personal couchdb is already running at PID#32. WARNING:root:Starting up personal couchdb. WARNING:root:Starting up personal couchdb. INFO:root:Loaded Ubuntu One extension for desktopcouch. INFO:root:adding desktopcouch.application.plugins.ubuntuone_pairing to to blocking semaphore list DEBUG:root:starting dbus main loop DEBUG:root:ending dbus main loop INFO:root:exiting. WARNING:root:Sent SIGTERM to 32 dbus 2011-05-20 10:45:36,501 - Sent SIGTERM to 32 WARNING:root:Sent SIGTERM to 234 dbus 2011-05-20 10:45:36,502 - Sent SIGTERM to 234 WARNING:root:Sent SIGTERM to 345 dbus 2011-05-20 10:45:36,502 - Sent SIGTERM to 345 WARNING:root:Sent SIGKILL to 32 dbus 2011-05-20 10:45:36,503 - Sent SIGKILL to 32 WARNING:root:Sent SIGKILL to 234 dbus 2011-05-20 10:45:36,503 - Sent SIGKILL to 234 WARNING:root:Sent SIGKILL to 345 dbus 2011-05-20 10:45:36,503 - Sent SIGKILL to 345 DEBUG:root:Not adding desktopcouch pairing since the user has explicitly unpaired with Ubuntu One INFO:root:removing semaphore for desktopcouch.application.plugins.ubuntuone_pairing INFO:root:Updating database cfg_and_design_one_view_map_no_reduce INFO:root:Updating database cfg_and_design_one_view_map_reduce INFO:root:Updating database cfg_and_empty_design INFO:root:Updating database cfg_and_design_one_view_no_map INFO:root:Updating database cfg INFO:root:Updating database cfg_and_design_two_views_map_reduce INFO:root:Updating database cfg_and_design_no_views WARNING:root:There is no keyring to store our oauth credentials. dbus 2011-05-20 10:45:37,185 - There is no keyring to store our oauth credentials. WARNING:root:There is no keyring to store our admin credentials. dbus 2011-05-20 10:45:37,191 - There is no keyring to store our admin credentials. WARNING:root:There is no keyring to store our admin credentials. dbus 2011-05-20 10:45:37,197 - There is no keyring to store our admin credentials. WARNING:root:There is no keyring to store our admin credentials. dbus 2011-05-20 10:45:37,200 - There is no keyring to store our admin credentials. WARNING:root:Error when retrieving shell folders info dbus 2011-05-20 10:45:37,205 - Error when retrieving shell folders info WARNING:root:Cannot connect to registry hive HKEY_CURRENT_USER. dbus 2011-05-20 10:45:37,207 - Cannot connect to registry hive HKEY_CURRENT_USER. WARNING:root:Cannot open registry key Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders dbus 2011-05-20 10:45:37,208 - Cannot open registry key Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders