[Erp5-report] cloudooo r41755 : 121 Tests, 9 Errors, 8 Failures, 0 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Dec 24 16:42:54 CET 2010


Test Suite: cloudooo
Revision: 41755
Result: FAIL

All tests: 121
Failures: 8
Errors: 9
Skips: 0



The following tests failed:

  testAllFormats                                     (6 errors)
   Test all drawing formats
   Test all global formats
   Test all presentation formats
   Test all spreadsheet formats
   Test all text formats
   Test all web formats

  testFileSystemDocument                             (1 failures)
   Tests if the htm is extrated from zipfile

  testServer                                         (5 failures, 1 errors)
   Convert compressed html to txt
   Try convert one document to format not possible
   Test if filter name returns correctly with ERP5 API
   Test run_generate method. This test if returns good png files
   Test run_convert method with invalid file
   Test run_generate method with invalid document

  testUnoMimemapper                                  (2 errors)
   Test call unomimemapper without uno_path and office_binary_path
   Test if filters returns correctly the filters and types in dict

  testXvfb                                           (2 failures)
   Test pid function to validate if the return is correctly
   Test if xvfb is started and stopped correctly

-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 1141 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20101224/21b63dde/attachment-0001.diff>
-------------- next part --------------

ERROR: Test all drawing formats
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testAllFormats.py", line 54, in testDrawingFormats
    self.runTestForType('odg', 'drawing', 'data/test.odg')
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testAllFormats.py", line 72, in runTestForType
    extension_list = self.proxy.getAllowedExtensionList(request)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1235, in request
    self.send_content(h, request_body)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1349, in send_content
    connection.endheaders()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 908, in endheaders
    self._send_output()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 780, in _send_output
    self.send(msg)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 739, in send
    self.connect()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 720, in connect
    self.timeout)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/socket.py", line 561, in create_connection
    raise error, msg
error: [Errno 111] Connection refused


ERROR: Test all global formats
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testAllFormats.py", line 66, in testGlobalFormats
    self.runTestForType('sxg', 'global', 'data/test.sxg')
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testAllFormats.py", line 72, in runTestForType
    extension_list = self.proxy.getAllowedExtensionList(request)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1235, in request
    self.send_content(h, request_body)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1349, in send_content
    connection.endheaders()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 908, in endheaders
    self._send_output()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 780, in _send_output
    self.send(msg)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 739, in send
    self.connect()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 720, in connect
    self.timeout)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/socket.py", line 561, in create_connection
    raise error, msg
error: [Errno 111] Connection refused


ERROR: Test all presentation formats
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testAllFormats.py", line 50, in testPresentationFormats
    self.runTestForType('odp', 'presentation', 'data/test.odp')
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testAllFormats.py", line 72, in runTestForType
    extension_list = self.proxy.getAllowedExtensionList(request)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1235, in request
    self.send_content(h, request_body)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1349, in send_content
    connection.endheaders()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 908, in endheaders
    self._send_output()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 780, in _send_output
    self.send(msg)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 739, in send
    self.connect()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 720, in connect
    self.timeout)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/socket.py", line 561, in create_connection
    raise error, msg
error: [Errno 111] Connection refused


ERROR: Test all spreadsheet formats
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testAllFormats.py", line 58, in testSpreadSheetFormats
    self.runTestForType('ods', 'spreadsheet', 'data/test.ods')
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testAllFormats.py", line 72, in runTestForType
    extension_list = self.proxy.getAllowedExtensionList(request)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1235, in request
    self.send_content(h, request_body)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1349, in send_content
    connection.endheaders()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 908, in endheaders
    self._send_output()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 780, in _send_output
    self.send(msg)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 739, in send
    self.connect()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 720, in connect
    self.timeout)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/socket.py", line 561, in create_connection
    raise error, msg
error: [Errno 111] Connection refused


ERROR: Test all text formats
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testAllFormats.py", line 46, in testTextFormats
    self.runTestForType('odt', 'text', 'data/test.odt')
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testAllFormats.py", line 72, in runTestForType
    extension_list = self.proxy.getAllowedExtensionList(request)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1235, in request
    self.send_content(h, request_body)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1349, in send_content
    connection.endheaders()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 908, in endheaders
    self._send_output()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 780, in _send_output
    self.send(msg)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 739, in send
    self.connect()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 720, in connect
    self.timeout)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/socket.py", line 561, in create_connection
    raise error, msg
error: [Errno 111] Connection refused


ERROR: Test all web formats
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testAllFormats.py", line 62, in testWebFormats
    self.runTestForType('html', 'web', 'data/test.html')
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testAllFormats.py", line 72, in runTestForType
    extension_list = self.proxy.getAllowedExtensionList(request)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1235, in request
    self.send_content(h, request_body)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1349, in send_content
    connection.endheaders()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 908, in endheaders
    self._send_output()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 780, in _send_output
    self.send(msg)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 739, in send
    self.connect()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/httplib.py", line 720, in connect
    self.timeout)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/socket.py", line 561, in create_connection
    raise error, msg
error: [Errno 111] Connection refused


FAIL: Tests if the htm is extrated from zipfile
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testFileSystemDocument.py", line 132, in testSendZipFile
    sorted(['logo.gif', 'test.htm']))
AssertionError: ['logo.gif', 'test.htm', 'tmpfnLXGv.zip'] != ['logo.gif', 'test.htm']


ERROR: Convert compressed html to txt
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testServer.py", line 279, in testSendZipAndReturnTxt
    'ASCII text\n')
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testServer.py", line 109, in _testConvertFile
    destination_format, zip)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])
Fault: <Fault 1: '<type \'exceptions.Exception\'>:Traceback (most recent call last):\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 354, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 334, in main\n    unoconverter = UnoConverter(hostname, port, document_url, **kw)\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 83, in __init__\n    self._load()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 172, in _load\n    raise AttributeError, "This document can not be loaded or is empty"\nAttributeError: This document can not be loaded or is empty\n'>


FAIL: Try convert one document to format not possible
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testServer.py", line 354, in testConvertDocumentToImpossibleFormat
    self.assertEquals(err_str.endswith("ErrorCodeIOException\n"), True)
AssertionError: False != True


FAIL: Test if filter name returns correctly with ERP5 API
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testServer.py", line 529, in testGetAllowedTargetItemList
    self.assertEquals(len(response_dict['response_data']), 29)
AssertionError: 31 != 29


FAIL: Test run_generate method. This test if returns good png files
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testServer.py", line 442, in testPNGFileToConvertOdpToHTML
    self.assertEquals(stdout.startswith('PNG image data'), True, stdout)
AssertionError: PNG image, 640 x 409, 8-bit/color RGB, non-interlaced



FAIL: Test run_convert method with invalid file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testServer.py", line 381, in testRunConvertFailResponse
    "%s != %s" % (response_message, msg))
AssertionError: Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 354, in <module>
    main()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 334, in main
    unoconverter = UnoConverter(hostname, port, document_url, **kw)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 83, in __init__
    self._load()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 172, in _load
    raise AttributeError, "This document can not be loaded or is empty"
AttributeError: This document can not be loaded or is empty
 != No JSON object could be decoded


FAIL: Test run_generate method with invalid document
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testServer.py", line 481, in testRunGenerateMethodFailResponse
    self.assertEquals(response_dict, {})
AssertionError: {'mime': ''} != {}


ERROR: Test call unomimemapper without uno_path and office_binary_path
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testUnoMimemapper.py", line 85, in testCallUnoMimemapperOnlyHostNameAndPort
    exec(stdout)
  File "<string>", line 1, in <module>
NameError: name 'false' is not defined


ERROR: Test if filters returns correctly the filters and types in dict
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testUnoMimemapper.py", line 65, in testCreateLocalAttributes
    exec(stdout)
  File "<string>", line 1, in <module>
NameError: name 'false' is not defined


FAIL: Test pid function to validate if the return is correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testXvfb.py", line 55, in testPid
    self.assertEquals(self.xvfb.pid(), None)
AssertionError: 807 != None


FAIL: Test if xvfb is started and stopped correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testXvfb.py", line 59, in testStatus
    self.assertEquals(self.xvfb.status(), False)
AssertionError: True != False


More information about the Erp5-report mailing list