[Erp5-report] cloudooo r41898 : 123 Tests, 4 Errors, 4 Failures, 0 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Dec 31 01:21:24 CET 2010


Test Suite: cloudooo
Revision: 41898
Result: FAIL

All tests: 123
Failures: 4
Errors: 4
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

  testServer                                         (3 failures)
   Test run_generate method. This test if returns good png files
   Test run_convert method with invalid file
   Convert compressed html to txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 595 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20101231/1980fad7/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', 'tmpLy0EIy.zip'] != ['logo.gif', 'test.htm']


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: 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 380, 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 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 173, in _load
    raise AttributeError, "This document can not be loaded or is empty"
AttributeError: This document can not be loaded or is empty
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
 != This document can not be loaded or is empty



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