Tests broken in windows cause of the search filter branch

Bug #1070991 reported by Diego Sarmentero
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Status tracked in Trunk
Stable-4-2
Fix Released
Undecided
Unassigned
Trunk
Fix Released
Undecided
Diego Sarmentero

Bug Description

Jenkins is failing with:

_StringException: Traceback (most recent call last):
  File "c:\jenkins\workspace\devsetup\eggs\twisted-11.1.0-py2.7-win32.egg\twisted\internet\defer.py", line 1039, in _inlineCallbacks
    result = g.send(result)
  File "c:\jenkins\workspace\ubuntuone-client-windows-test\ubuntuone\platform\tools\perspective_broker.py", line 162, in call_method
    method = getattr(client, method_name)
AttributeError: 'FileSystemClient' object has no attribute 'search_files'

StringException: Traceback (most recent call last):
  File "c:\jenkins\workspace\devsetup\eggs\twisted-11.1.0-py2.7-win32.egg\twisted\internet\defer.py", line 1037, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "c:\jenkins\workspace\devsetup\eggs\twisted-11.1.0-py2.7-win32.egg\twisted\python\failure.py", line 382, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "c:\jenkins\workspace\ubuntuone-client-windows-test\tests\platform\ipc\test_external_interface.py", line 282, in test_search_files
    'search_files', result, 'file')
  File "c:\jenkins\workspace\devsetup\eggs\twisted-11.1.0-py2.7-win32.egg\twisted\internet\defer.py", line 1039, in _inlineCallbacks
    result = g.send(result)
  File "c:\jenkins\workspace\ubuntuone-client-windows-test\tests\platform\ipc\test_perspective_broker.py", line 463, in assert_method_called
    actual = yield client.call_method(method, *args, **kwargs)
  File "c:\jenkins\workspace\ubuntuone-client-windows-test\tests\platform\ipc\test_perspective_broker.py", line 438, in <lambda>
    getattr(result, method)(*a, **kw)
AttributeError: 'FileSystemClient' object has no attribute 'search_files'

Related branches

Revision history for this message
Diego Sarmentero (diegosarmentero) wrote :

Nightlies broken:

[FAIL]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
    result = g.send(result)
  File "/build/buildd/ubuntuone-client-4.1+r1350/tests/platform/test_tools.py", line 223, in test_search_files
    self.assertEqual(result, expected)
  File "/usr/lib/python2.7/dist-packages/twisted/trial/unittest.py", line 270, in assertEqual
    % (msg, pformat(first), pformat(second)))
twisted.trial.unittest.FailTest: not equal:
a = dbus.Array([], signature=dbus.Signature('s'))
b = ['/build/buildd/ubuntuone-client-4.1+r1350/_trial_temp/trial/_trial_temp/tests.platform.test_tools/TestToolsBasic/test_search_files/root_dir/path/to/file_test',
 '/build/buildd/ubuntuone-client-4.1+r1350/_trial_temp/trial/_trial_temp/tests.platform.test_tools/TestToolsBasic/test_search_files/root_dir/path/to/my_files']

tests.platform.test_tools.TestToolsBasic.test_search_files

Leo Arias (elopio)
Changed in ubuntuone-client:
status: New → Confirmed
Changed in ubuntuone-client:
status: Confirmed → In Progress
Changed in ubuntuone-client:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.