[Erp5-report] cloudooo r41847 : 122 Tests, 5 Errors, 3 Failures, 0 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Dec 29 00:44:58 CET 2010


Test Suite: cloudooo
Revision: 41847
Result: FAIL

All tests: 122
Failures: 3
Errors: 5
Skips: 0



The following tests failed:

  testAllFormats                                     (4 errors)
   Test all drawing formats
   Test all presentation formats
   Test all spreadsheet formats
   Test all text formats

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

  testOOHandler                                      (1 errors)
   Test setMetadata with openoffice stopped

  testServer                                         (2 failures)
   Test run_generate method. This test if returns good png files
   Convert compressed html to txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 594 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20101228/6ab3e28c/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 92, in runTestForType
    raise Fault(1, "\n".join(fault_list))
Fault: <Fault 1: 'odg >> xhtml - <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 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 340, in main\n    output = unoconverter.convert(destination_format)\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 203, in convert\n    tuple(property_list))\n__main__.ErrorCodeIOException\n'>


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 92, in runTestForType
    raise Fault(1, "\n".join(fault_list))
Fault: <Fault 1: 'odp >> xhtml - <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 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 340, in main\n    output = unoconverter.convert(destination_format)\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 203, in convert\n    tuple(property_list))\n__main__.ErrorCodeIOException\n'>


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 92, in runTestForType
    raise Fault(1, "\n".join(fault_list))
Fault: <Fault 1: 'ods >> html - <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 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 340, in main\n    output = unoconverter.convert(destination_format)\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 203, in convert\n    tuple(property_list))\n__main__.ErrorCodeIOException\n\nods >> xhtml - <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 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 340, in main\n    output = unoconverter.convert(destination_format)\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 203, in convert\n    tuple(property_list))\n__main__.ErrorCodeIOException\n\nods >> html - <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 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 340, in main\n    output = unoconverter.convert(destination_format)\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 203, in convert\n    tuple(property_list))\n__main__.ErrorCodeIOException\n'>


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 92, in runTestForType
    raise Fault(1, "\n".join(fault_list))
Fault: <Fault 1: 'odt >> pdb - <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 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 340, in main\n    output = unoconverter.convert(destination_format)\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 203, in convert\n    tuple(property_list))\n__main__.ErrorCodeIOException\n\nodt >> html - <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 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 340, in main\n    output = unoconverter.convert(destination_format)\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 203, in convert\n    tuple(property_list))\n__main__.ErrorCodeIOException\n\nodt >> html - <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 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 340, in main\n    output = unoconverter.convert(destination_format)\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 203, in convert\n    tuple(property_list))\n__main__.ErrorCodeIOException\n\nodt >> xhtml - <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 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 340, in main\n    output = unoconverter.convert(destination_format)\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 203, in convert\n    tuple(property_list))\n__main__.ErrorCodeIOException\n\nodt >> psw - <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 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 340, in main\n    output = unoconverter.convert(destination_format)\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 203, in convert\n    tuple(property_list))\n__main__.ErrorCodeIOException\n'>


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', 'tmprqO2k7.zip'] != ['logo.gif', 'test.htm']


ERROR: Test setMetadata with openoffice stopped
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/tests/testOOHandler.py", line 166, in testSetMetadataWithOpenOfficeStopped
    new_data = handler.setMetadata({"Title": "cloudooo Test -"})
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/oohandler.py", line 212, in setMetadata
    stdout, stderr = self._callUnoConverter(*['setmetadata'], **kw)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/oohandler.py", line 131, in _callUnoConverter
    raise Exception, stderr
Exception: Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 355, in <module>
    main()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/unoconverter.py", line 335, 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 168, in _load
    service_manager = helper_utils.getServiceManager(self.hostname, self.port)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/helper/helper_utils.py", line 12, in getServiceManager
    uno_connection = resolver.resolve("uno:socket,host=%s,port=%s;urp;StarOffice.ComponentContext" % (host, port))
helper_utils.NoConnectException: Connector : couldn't connect to socket (Success)



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 441, in testPNGFileToConvertOdpToHTML
    self.assertEquals(stdout.startswith('PNG image data'), True, stdout)
AssertionError: PNG image, 640 x 409, 8-bit/color RGB, non-interlaced



FAIL: 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 281, in testSendZipAndReturnTxt
    self.assertEquals(open(output_url).read().endswith('cloudooo Test\n \n'), True)
AssertionError: False != True


More information about the Erp5-report mailing list