The attempt to merge lp:~cmiller/desktopcouch/get-port-through-dbus-again into lp:desktopcouch failed. Below is the output from the failed tests. running build running build_py creating build creating build/lib.linux-i686-2.6 creating build/lib.linux-i686-2.6/desktopcouch copying desktopcouch/stop_local_couchdb.py -> build/lib.linux-i686-2.6/desktopcouch copying desktopcouch/start_local_couchdb.py -> build/lib.linux-i686-2.6/desktopcouch copying desktopcouch/util.py -> build/lib.linux-i686-2.6/desktopcouch copying desktopcouch/replication.py -> build/lib.linux-i686-2.6/desktopcouch copying desktopcouch/local_files.py -> build/lib.linux-i686-2.6/desktopcouch copying desktopcouch/__init__.py -> build/lib.linux-i686-2.6/desktopcouch copying desktopcouch/service.py -> build/lib.linux-i686-2.6/desktopcouch creating build/lib.linux-i686-2.6/desktopcouch/tests copying desktopcouch/tests/test_start_local_couchdb.py -> build/lib.linux-i686-2.6/desktopcouch/tests copying desktopcouch/tests/test_service.py -> build/lib.linux-i686-2.6/desktopcouch/tests copying desktopcouch/tests/test_local_files.py -> build/lib.linux-i686-2.6/desktopcouch/tests copying desktopcouch/tests/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/tests copying desktopcouch/tests/test_replication.py -> build/lib.linux-i686-2.6/desktopcouch/tests creating build/lib.linux-i686-2.6/desktopcouch/platform copying desktopcouch/platform/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/platform creating build/lib.linux-i686-2.6/desktopcouch/tasks copying desktopcouch/tasks/record.py -> build/lib.linux-i686-2.6/desktopcouch/tasks copying desktopcouch/tasks/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/tasks creating build/lib.linux-i686-2.6/desktopcouch/pair copying desktopcouch/pair/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/pair creating build/lib.linux-i686-2.6/desktopcouch/records copying desktopcouch/records/field_registry.py -> build/lib.linux-i686-2.6/desktopcouch/records copying desktopcouch/records/record.py -> build/lib.linux-i686-2.6/desktopcouch/records copying desktopcouch/records/server.py -> build/lib.linux-i686-2.6/desktopcouch/records copying desktopcouch/records/couchgrid.py -> build/lib.linux-i686-2.6/desktopcouch/records copying desktopcouch/records/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/records copying desktopcouch/records/server_base.py -> build/lib.linux-i686-2.6/desktopcouch/records creating build/lib.linux-i686-2.6/desktopcouch/replication_services copying desktopcouch/replication_services/ubuntuone.py -> build/lib.linux-i686-2.6/desktopcouch/replication_services copying desktopcouch/replication_services/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/replication_services copying desktopcouch/replication_services/example.py -> build/lib.linux-i686-2.6/desktopcouch/replication_services creating build/lib.linux-i686-2.6/desktopcouch/notes copying desktopcouch/notes/record.py -> build/lib.linux-i686-2.6/desktopcouch/notes copying desktopcouch/notes/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/notes creating build/lib.linux-i686-2.6/desktopcouch/bookmarks copying desktopcouch/bookmarks/record.py -> build/lib.linux-i686-2.6/desktopcouch/bookmarks copying desktopcouch/bookmarks/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/bookmarks creating build/lib.linux-i686-2.6/desktopcouch/contacts copying desktopcouch/contacts/record.py -> build/lib.linux-i686-2.6/desktopcouch/contacts copying desktopcouch/contacts/view.py -> build/lib.linux-i686-2.6/desktopcouch/contacts copying desktopcouch/contacts/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/contacts creating build/lib.linux-i686-2.6/desktopcouch/platform/linux copying desktopcouch/platform/linux/ipc.py -> build/lib.linux-i686-2.6/desktopcouch/platform/linux copying desktopcouch/platform/linux/keyring.py -> build/lib.linux-i686-2.6/desktopcouch/platform/linux copying desktopcouch/platform/linux/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/platform/linux creating build/lib.linux-i686-2.6/desktopcouch/platform/windows copying desktopcouch/platform/windows/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/platform/windows creating build/lib.linux-i686-2.6/desktopcouch/tasks/tests copying desktopcouch/tasks/tests/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/tasks/tests copying desktopcouch/tasks/tests/test_record.py -> build/lib.linux-i686-2.6/desktopcouch/tasks/tests creating build/lib.linux-i686-2.6/desktopcouch/pair/tests copying desktopcouch/pair/tests/test_couchdb_io.py -> build/lib.linux-i686-2.6/desktopcouch/pair/tests copying desktopcouch/pair/tests/test_ubuntuone_pairing.py -> build/lib.linux-i686-2.6/desktopcouch/pair/tests copying desktopcouch/pair/tests/test_network_io.py -> build/lib.linux-i686-2.6/desktopcouch/pair/tests copying desktopcouch/pair/tests/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/pair/tests creating build/lib.linux-i686-2.6/desktopcouch/pair/couchdb_pairing copying desktopcouch/pair/couchdb_pairing/dbus_io.py -> build/lib.linux-i686-2.6/desktopcouch/pair/couchdb_pairing copying desktopcouch/pair/couchdb_pairing/network_io.py -> build/lib.linux-i686-2.6/desktopcouch/pair/couchdb_pairing copying desktopcouch/pair/couchdb_pairing/couchdb_io.py -> build/lib.linux-i686-2.6/desktopcouch/pair/couchdb_pairing copying desktopcouch/pair/couchdb_pairing/ubuntuone_pairing.py -> build/lib.linux-i686-2.6/desktopcouch/pair/couchdb_pairing copying desktopcouch/pair/couchdb_pairing/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/pair/couchdb_pairing creating build/lib.linux-i686-2.6/desktopcouch/records/tests copying desktopcouch/records/tests/test_field_registry.py -> build/lib.linux-i686-2.6/desktopcouch/records/tests copying desktopcouch/records/tests/test_server.py -> build/lib.linux-i686-2.6/desktopcouch/records/tests copying desktopcouch/records/tests/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/records/tests copying desktopcouch/records/tests/test_record.py -> build/lib.linux-i686-2.6/desktopcouch/records/tests creating build/lib.linux-i686-2.6/desktopcouch/notes/tests copying desktopcouch/notes/tests/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/notes/tests copying desktopcouch/notes/tests/test_record.py -> build/lib.linux-i686-2.6/desktopcouch/notes/tests creating build/lib.linux-i686-2.6/desktopcouch/bookmarks/tests copying desktopcouch/bookmarks/tests/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/bookmarks/tests copying desktopcouch/bookmarks/tests/test_record.py -> build/lib.linux-i686-2.6/desktopcouch/bookmarks/tests creating build/lib.linux-i686-2.6/desktopcouch/contacts/tests copying desktopcouch/contacts/tests/test_create.py -> build/lib.linux-i686-2.6/desktopcouch/contacts/tests copying desktopcouch/contacts/tests/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/contacts/tests copying desktopcouch/contacts/tests/test_record.py -> build/lib.linux-i686-2.6/desktopcouch/contacts/tests copying desktopcouch/contacts/tests/test_view.py -> build/lib.linux-i686-2.6/desktopcouch/contacts/tests creating build/lib.linux-i686-2.6/desktopcouch/contacts/testing copying desktopcouch/contacts/testing/__init__.py -> build/lib.linux-i686-2.6/desktopcouch/contacts/testing copying desktopcouch/contacts/testing/create.py -> build/lib.linux-i686-2.6/desktopcouch/contacts/testing running build_scripts creating build/scripts-2.6 copying and adjusting bin/desktopcouch-pair -> build/scripts-2.6 changing mode of build/scripts-2.6/desktopcouch-pair from 644 to 755 running build_i18n intltool-update -p -g desktopcouch intltool-merge -d po desktopcouch-pair.desktop.in build/share/applications/desktopcouch-pair.desktop Merging translations into build/share/applications/desktopcouch-pair.desktop. running build_icons running clean Apache CouchDB has started, time to relax. Apache CouchDB has started, time to relax. Apache CouchDB has started, time to relax. Apache CouchDB has started, time to relax. Apache CouchDB has started, time to relax. Apache CouchDB has started, time to relax. Apache CouchDB has started, time to relax. Apache CouchDB has started, time to relax. Apache CouchDB has started, time to relax. Apache CouchDB has started, time to relax. desktopcouch.bookmarks.tests.test_record TestBookmarkRecord test_bookmark_record ... [OK] TestFeedRecord test_feed_record ... [OK] TestFolderRecord test_folder_record ... [OK] TestSeparatorRecord test_separator_record ... [OK] desktopcouch.contacts tests test_create ... [ERROR] desktopcouch.contacts.tests.test_record TestContactRecord test_contact_record ... [OK] desktopcouch.contacts tests test_view ... [ERROR] desktopcouch.notes.tests.test_record TestNoteRecord test_note_record ... [OK] desktopcouch.pair tests test_couchdb_io ... [ERROR] desktopcouch.pair.tests.test_network_io TestNetworkIO test_successful_lifespan ... [OK] desktopcouch.pair tests test_ubuntuone_pairing ... [ERROR] desktopcouch.records.tests.test_field_registry TestFieldMapping test_mergeable_list_field_mapping0 ... [OK] test_mergeable_list_field_mapping1 ... [OK] test_mergeable_list_field_mapping_empty_field ... [OK] test_simple_field_mapping ... [OK] TestTransformer test_from_app ... [OK] test_run_doctests ... [OK] test_to_app ... [OK] desktopcouch.records tests test_record ... [ERROR] test_server ... [ERROR] desktopcouch.tasks.tests.test_record TestTaskRecord test_task_record ... [OK] desktopcouch tests test_local_files ... [ERROR] test_replication ... [ERROR] test_service ... [ERROR] test_start_local_couchdb ... [ERROR] =============================================================================== [ERROR]: desktopcouch.contacts.tests.test_create Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/trial/runner.py", line 584, in loadPackage module = modinfo.load() File "/usr/lib/python2.6/dist-packages/twisted/python/modules.py", line 383, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 464, in namedAny topLevelPackage = _importAndCheckStack(trialname) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 400, in _importAndCheckStack return __import__(importName) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/contacts/tests/test_create.py", line 30, in from desktopcouch.contacts.testing import create as create File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/contacts/testing/create.py", line 24, in import desktopcouch.tests as test_environment File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 133, in test_context = create_new_test_environment() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 121, in create_new_test_environment start_couchdb(ctx=new_context) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 213, in start_couchdb pid, port = run_couchdb(ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 103, in run_couchdb port = find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/__init__.py", line 23, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/linux/__init__.py", line 98, in platform_find_port if ctx != local_files.DEFAULT_CONTEXT or pid is not None: exceptions.NameError: global name 'local_files' is not defined =============================================================================== [ERROR]: desktopcouch.contacts.tests.test_view Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/trial/runner.py", line 584, in loadPackage module = modinfo.load() File "/usr/lib/python2.6/dist-packages/twisted/python/modules.py", line 383, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 464, in namedAny topLevelPackage = _importAndCheckStack(trialname) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 400, in _importAndCheckStack return __import__(importName) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/contacts/tests/test_view.py", line 19, in import desktopcouch.tests as test_environment File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 133, in test_context = create_new_test_environment() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 121, in create_new_test_environment start_couchdb(ctx=new_context) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 213, in start_couchdb pid, port = run_couchdb(ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 103, in run_couchdb port = find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/__init__.py", line 23, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/linux/__init__.py", line 98, in platform_find_port if ctx != local_files.DEFAULT_CONTEXT or pid is not None: exceptions.NameError: global name 'local_files' is not defined =============================================================================== [ERROR]: desktopcouch.pair.tests.test_couchdb_io Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/trial/runner.py", line 584, in loadPackage module = modinfo.load() File "/usr/lib/python2.6/dist-packages/twisted/python/modules.py", line 383, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 464, in namedAny topLevelPackage = _importAndCheckStack(trialname) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 400, in _importAndCheckStack return __import__(importName) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/pair/tests/test_couchdb_io.py", line 21, in import desktopcouch.tests as test_environment File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 133, in test_context = create_new_test_environment() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 121, in create_new_test_environment start_couchdb(ctx=new_context) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 213, in start_couchdb pid, port = run_couchdb(ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 103, in run_couchdb port = find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/__init__.py", line 23, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/linux/__init__.py", line 98, in platform_find_port if ctx != local_files.DEFAULT_CONTEXT or pid is not None: exceptions.NameError: global name 'local_files' is not defined =============================================================================== [ERROR]: desktopcouch.pair.tests.test_ubuntuone_pairing Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/trial/runner.py", line 584, in loadPackage module = modinfo.load() File "/usr/lib/python2.6/dist-packages/twisted/python/modules.py", line 383, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 464, in namedAny topLevelPackage = _importAndCheckStack(trialname) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 400, in _importAndCheckStack return __import__(importName) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/pair/tests/test_ubuntuone_pairing.py", line 21, in import desktopcouch.tests as test_environment File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 133, in test_context = create_new_test_environment() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 121, in create_new_test_environment start_couchdb(ctx=new_context) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 213, in start_couchdb pid, port = run_couchdb(ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 103, in run_couchdb port = find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/__init__.py", line 23, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/linux/__init__.py", line 98, in platform_find_port if ctx != local_files.DEFAULT_CONTEXT or pid is not None: exceptions.NameError: global name 'local_files' is not defined =============================================================================== [ERROR]: desktopcouch.records.tests.test_record Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/trial/runner.py", line 584, in loadPackage module = modinfo.load() File "/usr/lib/python2.6/dist-packages/twisted/python/modules.py", line 383, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 464, in namedAny topLevelPackage = _importAndCheckStack(trialname) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 400, in _importAndCheckStack return __import__(importName) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/tests/test_record.py", line 30, in import desktopcouch.tests as test_environment File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 133, in test_context = create_new_test_environment() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 121, in create_new_test_environment start_couchdb(ctx=new_context) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 213, in start_couchdb pid, port = run_couchdb(ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 103, in run_couchdb port = find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/__init__.py", line 23, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/linux/__init__.py", line 98, in platform_find_port if ctx != local_files.DEFAULT_CONTEXT or pid is not None: exceptions.NameError: global name 'local_files' is not defined =============================================================================== [ERROR]: desktopcouch.records.tests.test_server Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/trial/runner.py", line 584, in loadPackage module = modinfo.load() File "/usr/lib/python2.6/dist-packages/twisted/python/modules.py", line 383, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 464, in namedAny topLevelPackage = _importAndCheckStack(trialname) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 400, in _importAndCheckStack return __import__(importName) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/records/tests/test_server.py", line 25, in import desktopcouch.tests as test_environment File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 133, in test_context = create_new_test_environment() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 121, in create_new_test_environment start_couchdb(ctx=new_context) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 213, in start_couchdb pid, port = run_couchdb(ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 103, in run_couchdb port = find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/__init__.py", line 23, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/linux/__init__.py", line 98, in platform_find_port if ctx != local_files.DEFAULT_CONTEXT or pid is not None: exceptions.NameError: global name 'local_files' is not defined =============================================================================== [ERROR]: desktopcouch.tests.test_local_files Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/trial/runner.py", line 584, in loadPackage module = modinfo.load() File "/usr/lib/python2.6/dist-packages/twisted/python/modules.py", line 383, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 464, in namedAny topLevelPackage = _importAndCheckStack(trialname) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 400, in _importAndCheckStack return __import__(importName) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 133, in test_context = create_new_test_environment() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 121, in create_new_test_environment start_couchdb(ctx=new_context) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 213, in start_couchdb pid, port = run_couchdb(ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 103, in run_couchdb port = find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/__init__.py", line 23, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/linux/__init__.py", line 98, in platform_find_port if ctx != local_files.DEFAULT_CONTEXT or pid is not None: exceptions.NameError: global name 'local_files' is not defined =============================================================================== [ERROR]: desktopcouch.tests.test_replication Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/trial/runner.py", line 584, in loadPackage module = modinfo.load() File "/usr/lib/python2.6/dist-packages/twisted/python/modules.py", line 383, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 464, in namedAny topLevelPackage = _importAndCheckStack(trialname) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 400, in _importAndCheckStack return __import__(importName) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 133, in test_context = create_new_test_environment() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 121, in create_new_test_environment start_couchdb(ctx=new_context) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 213, in start_couchdb pid, port = run_couchdb(ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 103, in run_couchdb port = find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/__init__.py", line 23, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/linux/__init__.py", line 98, in platform_find_port if ctx != local_files.DEFAULT_CONTEXT or pid is not None: exceptions.NameError: global name 'local_files' is not defined =============================================================================== [ERROR]: desktopcouch.tests.test_service Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/trial/runner.py", line 584, in loadPackage module = modinfo.load() File "/usr/lib/python2.6/dist-packages/twisted/python/modules.py", line 383, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 464, in namedAny topLevelPackage = _importAndCheckStack(trialname) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 400, in _importAndCheckStack return __import__(importName) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 133, in test_context = create_new_test_environment() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 121, in create_new_test_environment start_couchdb(ctx=new_context) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 213, in start_couchdb pid, port = run_couchdb(ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 103, in run_couchdb port = find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/__init__.py", line 23, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/linux/__init__.py", line 98, in platform_find_port if ctx != local_files.DEFAULT_CONTEXT or pid is not None: exceptions.NameError: global name 'local_files' is not defined =============================================================================== [ERROR]: desktopcouch.tests.test_start_local_couchdb Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/trial/runner.py", line 584, in loadPackage module = modinfo.load() File "/usr/lib/python2.6/dist-packages/twisted/python/modules.py", line 383, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 464, in namedAny topLevelPackage = _importAndCheckStack(trialname) File "/usr/lib/python2.6/dist-packages/twisted/python/reflect.py", line 400, in _importAndCheckStack return __import__(importName) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 133, in test_context = create_new_test_environment() File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py", line 121, in create_new_test_environment start_couchdb(ctx=new_context) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 213, in start_couchdb pid, port = run_couchdb(ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/start_local_couchdb.py", line 103, in run_couchdb port = find_port(pid=pid, ctx=ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/__init__.py", line 23, in find_port return platform_find_port(pid, ctx) File "/var/cache/tarmac/desktopcouch/trunk/desktopcouch/platform/linux/__init__.py", line 98, in platform_find_port if ctx != local_files.DEFAULT_CONTEXT or pid is not None: exceptions.NameError: global name 'local_files' is not defined ------------------------------------------------------------------------------- Ran 25 tests in 1.142s FAILED (errors=10, successes=15) Pylint started! Linting changed files: desktopcouch/platform/linux/__init__.py po/desktopcouch.pot == Pylint notices == ************* Module desktopcouch.platform.linux W: 25: Reimport 'os' (imported line 19) C: 56:platform_read_pidfile: Invalid name "fp" (should match [a-z_][a-z0-9_]{2,30}$) C: 65:platform_read_pidfile: Invalid name "e" (should match [a-z_][a-z0-9_]{2,30}$) E: 84:platform_find_pid: Module 'desktopcouch.start_local_couchdb' has no 'update_pairing_service' member E: 98:platform_find_port: Undefined variable 'local_files' R:106:direct_access_find_port: Too many local variables (18/15) W:134:direct_access_find_port: Specify string format arguments as logging function parameters W:143:direct_access_find_port: Used builtin function 'map' /var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py:10: Warning: g_set_application_name() called multiple times gobject.set_application_name("desktopcouch testing") /var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py:10: Warning: g_set_application_name() called multiple times gobject.set_application_name("desktopcouch testing") /var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py:10: Warning: g_set_application_name() called multiple times gobject.set_application_name("desktopcouch testing") /var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py:10: Warning: g_set_application_name() called multiple times gobject.set_application_name("desktopcouch testing") /var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py:10: Warning: g_set_application_name() called multiple times gobject.set_application_name("desktopcouch testing") /var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py:10: Warning: g_set_application_name() called multiple times gobject.set_application_name("desktopcouch testing") /var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py:10: Warning: g_set_application_name() called multiple times gobject.set_application_name("desktopcouch testing") /var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py:10: Warning: g_set_application_name() called multiple times gobject.set_application_name("desktopcouch testing") /var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py:10: Warning: g_set_application_name() called multiple times gobject.set_application_name("desktopcouch testing") /var/cache/tarmac/desktopcouch/trunk/desktopcouch/tests/__init__.py:10: Warning: g_set_application_name() called multiple times gobject.set_application_name("desktopcouch testing") No config file found, using default configuration