[Erp5-report] cloudooo r42107 : 128 Tests, 6 Errors, 6 Failures, 0 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 7 11:06:25 CET 2011


Test Suite: cloudooo
Revision: 42107
Result: FAIL

All tests: 128
Failures: 6
Errors: 6
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

  testHighLoad                                       (1 failures)
   Sends many request to Server. Calling generate method

  testServer                                         (1 failures)
   Test export pptx to odp

  testUnoConverter                                   (1 failures)
   Test script unoconverter

  testUnoMimemapper                                  (3 failures)
   Test call unomimemapper without uno_path and office_binary_path
   Test if filters returns correctly the filters and types in dict
   Test when the openoffice is stopped

-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 474 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110107/adf4d0b1/attachment.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 55, 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 90, in runTestForType
    stderr=PIPE).communicate()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
AttributeError: type object 'file' has no attribute 'rfind'


ERROR: Test all global 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 67, in testGlobalFormats
    self.runTestForType('sxg', 'global', 'data/test.sxg')
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testAllFormats.py", line 90, in runTestForType
    stderr=PIPE).communicate()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
AttributeError: type object 'file' has no attribute 'rfind'


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 51, 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 90, in runTestForType
    stderr=PIPE).communicate()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
AttributeError: type object 'file' has no attribute 'rfind'


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 59, 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 90, in runTestForType
    stderr=PIPE).communicate()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
AttributeError: type object 'file' has no attribute 'rfind'


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 47, 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 90, in runTestForType
    stderr=PIPE).communicate()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
AttributeError: type object 'file' has no attribute 'rfind'


ERROR: Test all web 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 63, in testWebFormats
    self.runTestForType('html', 'web', 'data/test.html')
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testAllFormats.py", line 90, in runTestForType
    stderr=PIPE).communicate()
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/parts/python2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
AttributeError: type object 'file' has no attribute 'rfind'


FAIL: Sends many request to Server. Calling generate method
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testHighLoad.py", line 72, in testGenerateHighLoad
    self.assertTrue(all(result_list))
AssertionError


FAIL: Test export pptx to odp
----------------------------------------------------------------------
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 297, in testConvertPPTXToODP
    'application/vnd.oasis.opendocument.presentation')
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 114, in _testConvertFile
    self.assertEquals(content_type, stdout_msg)
AssertionError: 'application/octet-stream' != 'application/vnd.oasis.opendocument.presentation'


FAIL: Test script unoconverter
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testUnoConverter.py", line 79, in testUnoConverterOdtToDoc
    self.assertEquals(stderr, '')
AssertionError: '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 335, in main\n    unoconverter = UnoConverter(hostname, port, document_url, **kw)\nUnboundLocalError: local variable \'hostname\' referenced before assignment\n' != ''


FAIL: 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/handler/ooo/tests/testUnoMimemapper.py", line 89, in testCallUnoMimemapperOnlyHostNameAndPort
    self.assertEquals(stderr, '')
AssertionError: '\n\nusage: unomimemapper [options]\n\nOptions:\n  -h, --help            this help screen\n  --hostname=STRING     OpenOffice Instance address\n  \n  --port=STRING         OpenOffice Instance port\n  \n  --office_binary_path=STRING_URL\n                        Folder path were is the binary openoffice\n  --uno_path=STRING_URL\n                        Folter path were is the uno library\n\n' != ''


FAIL: 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/handler/ooo/tests/testUnoMimemapper.py", line 68, in testCreateLocalAttributes
    self.assertEquals(stderr, '')
AssertionError: '\n\nusage: unomimemapper [options]\n\nOptions:\n  -h, --help            this help screen\n  --hostname=STRING     OpenOffice Instance address\n  \n  --port=STRING         OpenOffice Instance port\n  \n  --office_binary_path=STRING_URL\n                        Folder path were is the binary openoffice\n  --uno_path=STRING_URL\n                        Folter path were is the uno library\n\n' != ''


FAIL: Test when the openoffice is stopped
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testUnoMimemapper.py", line 116, in testWithoutOpenOffice
    self.assertTrue(stderr.endswith(error_msg), stderr)
AssertionError: 

usage: unomimemapper [options]

Options:
  -h, --help            this help screen
  --hostname=STRING     OpenOffice Instance address
  
  --port=STRING         OpenOffice Instance port
  
  --office_binary_path=STRING_URL
                        Folder path were is the binary openoffice
  --uno_path=STRING_URL
                        Folter path were is the uno library




More information about the Erp5-report mailing list