[Erp5-report] cloudooo r42012 : 88 Tests, 11 Errors, 5 Failures, 0 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 5 09:43:23 CET 2011


Test Suite: cloudooo
Revision: 42012
Result: FAIL

All tests: 88
Failures: 5
Errors: 11
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

  testOpenOffice                                     (7 errors)
   Test lock and unlock
   Test if the requisition amount is increasing right
   Test if the method restart works correctly
   Test if the start method works correclty
   Test if the stop method works correctly
   Test pid function to validate if the return is correctly
   Check if starting two openoffice using the same address, the second

  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

  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: 682 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110105/330471ac/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/handler/ooo/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/handler/ooo/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/handler/ooo/helper/unoconverter.py", line 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/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/handler/ooo/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/handler/ooo/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/handler/ooo/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/handler/ooo/helper/unoconverter.py", line 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/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/handler/ooo/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/handler/ooo/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/handler/ooo/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/handler/ooo/helper/unoconverter.py", line 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/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/handler/ooo/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/handler/ooo/helper/unoconverter.py", line 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/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/handler/ooo/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/handler/ooo/helper/unoconverter.py", line 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/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/handler/ooo/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/handler/ooo/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/handler/ooo/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/handler/ooo/helper/unoconverter.py", line 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/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/handler/ooo/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/handler/ooo/helper/unoconverter.py", line 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/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/handler/ooo/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/handler/ooo/helper/unoconverter.py", line 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/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/handler/ooo/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/handler/ooo/helper/unoconverter.py", line 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/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/handler/ooo/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/handler/ooo/helper/unoconverter.py", line 355, in <module>\n    main()\n  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/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/handler/ooo/helper/unoconverter.py", line 203, in convert\n    tuple(property_list))\n__main__.ErrorCodeIOException\n'>


ERROR: Test lock and unlock
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/cloudoooTestCase.py", line 150, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOpenOffice.py", line 47, in afterSetUp
    self.uno_path)
TypeError: loadSettings() takes exactly 8 arguments (7 given)


ERROR: Test if the requisition amount is increasing right
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/cloudoooTestCase.py", line 150, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOpenOffice.py", line 47, in afterSetUp
    self.uno_path)
TypeError: loadSettings() takes exactly 8 arguments (7 given)


ERROR: Test if the method restart works correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/cloudoooTestCase.py", line 150, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOpenOffice.py", line 47, in afterSetUp
    self.uno_path)
TypeError: loadSettings() takes exactly 8 arguments (7 given)


ERROR: Test if the start method works correclty
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/cloudoooTestCase.py", line 150, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOpenOffice.py", line 47, in afterSetUp
    self.uno_path)
TypeError: loadSettings() takes exactly 8 arguments (7 given)


ERROR: Test if the stop method works correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/cloudoooTestCase.py", line 150, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOpenOffice.py", line 47, in afterSetUp
    self.uno_path)
TypeError: loadSettings() takes exactly 8 arguments (7 given)


ERROR: 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/handler/ooo/tests/cloudoooTestCase.py", line 150, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOpenOffice.py", line 47, in afterSetUp
    self.uno_path)
TypeError: loadSettings() takes exactly 8 arguments (7 given)


ERROR: Check if starting two openoffice using the same address, the second
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/cloudoooTestCase.py", line 150, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOpenOffice.py", line 47, in afterSetUp
    self.uno_path)
TypeError: loadSettings() takes exactly 8 arguments (7 given)


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/handler/ooo/tests/testServer.py", line 442, in testPNGFileToConvertOdpToHTML
    self.assertEquals(stdout.startswith('PNG image data'), True, stdout)
AssertionError: PNG image, 640 x 409, 8-bit colormap, 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/handler/ooo/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/handler/ooo/helper/unoconverter.py", line 355, in <module>
    main()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/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/handler/ooo/helper/unoconverter.py", line 83, in __init__
    self._load()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/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/handler/ooo/tests/testServer.py", line 281, in testSendZipAndReturnTxt
    self.assertEquals(open(output_url).read().endswith('cloudooo Test\n \n'), True)
AssertionError: False != True


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/handler/ooo/tests/testXvfb.py", line 55, in testPid
    self.assertEquals(self.xvfb.pid(), None)
AssertionError: 2169 != 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/handler/ooo/tests/testXvfb.py", line 59, in testStatus
    self.assertEquals(self.xvfb.status(), False)
AssertionError: True != False


More information about the Erp5-report mailing list