[Erp5-report] cloudooo r44659 : 160 Tests, 2 Errors, 12 Failures, 0 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 28 13:16:04 CEST 2011


Test Suite: cloudooo
Revision: None
Result: FAIL

All tests: 160
Failures: 12
Errors: 2
Skips: 0



The following tests failed:

  testAllSupportedFormat                             (7 failures)
   Test convert file to avi format the reverse convertion
   Test convert file to flash format the reverse convertion
   Test convert file to matroska format the reverse convertion
   Test convert file to mp4 format the reverse convertion
   Test convert file to Mpeg format the reverse convertion
   Test convert file to ogg format the reverse convertion
   Test convert file to WebM format and the reverse convertion

  testInterface                                      (2 failures)
   Test if Manager implements ITableGranulator
   Test if Manager implements ITextGranulator

  testMimemapper                                     (1 failures)
   Passing document_type equal to 'spreadsheet', the return must be equal

  testOOGranulator                                   (1 failures)
   Test if getColumnItemList() returns the right table columns list

  testPDFHandler                                     (1 errors)
   Test if the metadata is inserted correctly

  testServer                                         (1 failures)
   Test export png to svg

  testServer                                         (1 errors)
   Test if metadata is inserted correctly in document

-------------- next part --------------

FAIL: Test convert file to avi format the reverse convertion
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/tests/testAllSupportedFormat.py", line 52, in testAviFormat
    self.assertEquals(avi_mimetype, 'video/avi')
AssertionError: 'video/x-msvideo' != 'video/avi'


FAIL: Test convert file to flash format the reverse convertion
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/tests/testAllSupportedFormat.py", line 76, in testFlvFormat
    self.assertEquals(flv_mimetype, 'application/x-shockwave-flash')
AssertionError: 'application/x-empty' != 'application/x-shockwave-flash'


FAIL: Test convert file to matroska format the reverse convertion
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/tests/testAllSupportedFormat.py", line 92, in testMkvFormat
    self.assertEquals(mkv_mimetype, 'video/x-matroska')
AssertionError: 'application/octet-stream' != 'video/x-matroska'


FAIL: Test convert file to mp4 format the reverse convertion
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/tests/testAllSupportedFormat.py", line 62, in testMp4Format
    self.assertEquals(ogv_mimetype, 'video/ogg')
AssertionError: 'application/ogg' != 'video/ogg'


FAIL: Test convert file to Mpeg format the reverse convertion
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/tests/testAllSupportedFormat.py", line 86, in testMpegFormat
    self.assertEquals(ogv_mimetype, 'video/ogg')
AssertionError: 'application/ogg' != 'video/ogg'


FAIL: Test convert file to ogg format the reverse convertion
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/tests/testAllSupportedFormat.py", line 102, in testOggFormat
    self.assertEquals(ogv_mimetype, 'video/ogg')
AssertionError: 'application/ogg' != 'video/ogg'


FAIL: Test convert file to WebM format and the reverse convertion
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/tests/testAllSupportedFormat.py", line 68, in testWebMFormat
    self.assertEquals(webm_mimetype, 'video/webm')
AssertionError: 'application/x-empty' != 'video/webm'


FAIL: Test if Manager implements ITableGranulator
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testInterface.py", line 62, in testITableGranulator
    self.assertEquals(sorted(ITableGranulator.names()), sorted(method_list))
AssertionError: ['getColumnItemList', 'getLineItemList', 'getTable', 'getTableItemList'] != ['getColumnItemList', 'getLineItemList', 'getTableItem', 'getTableItemList', 'getTableMatrix']


FAIL: Test if Manager implements ITextGranulator
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testInterface.py", line 71, in testITextGranulator
    self.assertEquals(ITextGranulator.names(), method_list)
AssertionError: ['getChapterItemList', 'getParagraph', 'getChapterItem', 'getParagraphItemList'] != ['getChapterItemList', 'getParagraphItem', 'getChapterItem', 'getParagraphItemList']


FAIL: Passing document_type equal to 'spreadsheet', the return must be equal
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testMimemapper.py", line 306, in testGetAllAllowedExtensionListForSpreadsheet
    "%s not in %s" % (arg, spreadsheet_expected_list))
AssertionError: (u'xlsx', u'Microsoft Excel 2007 XML') not in (('csv', 'Text CSV'), ('html', 'HTML Document (OpenOffice.org Calc)'), ('html', 'XHTML'), ('ods', 'ODF Spreadsheet'), ('ots', 'ODF Spreadsheet Template'), ('pdf', 'PDF - Portable Document Format'), ('sdc', 'StarCalc 3.0'), ('sdc', 'StarCalc 4.0'), ('sdc', 'StarCalc 5.0'), ('sxc', 'OpenOffice.org 1.0 Spreadsheet'), ('xls', 'Microsoft Excel 5.0'), ('xls', 'Microsoft Excel 95'), ('xls', 'Microsoft Excel 97/2000/XP'), ('xlt', 'Microsoft Excel 5.0 Template'), ('xlt', 'Microsoft Excel 95 Template'), ('xlt', 'Microsoft Excel 97/2000/XP Template'))


FAIL: Test if getColumnItemList() returns the right table columns list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOOGranulator.py", line 88, in testGetColumnItemList
    'table_id')
AssertionError: NotImplementedError not raised


ERROR: Test if the metadata is inserted correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/pdf/tests/testPDFHandler.py", line 61, in testsetMetadata
    new_document = handler.setMetadata(metadata_dict)
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/pdf/handler.py", line 107, in setMetadata
    env=self.environment).communicate()
  File "/home/buildbot/slave/full.Oood/build/software/parts/python2.6/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/home/buildbot/slave/full.Oood/build/software/parts/python2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


FAIL: Test export png to svg
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 285, in testConvertPNGToSVG
    'image/svg+xml')
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 119, in _testConvertFile
    self.assertEquals(content_type, stdout_msg)
AssertionError: 'application/xml' != 'image/svg+xml'


ERROR: Test if metadata is inserted correctly in document
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/pdf/tests/testServer.py", line 69, in testSetMetadata
    metadata = self.proxy.getFileMetadataItemList(new_data, "pdf")
  File "/home/buildbot/slave/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/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/home/buildbot/slave/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/full.Oood/build/software/parts/python2.6/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "/home/buildbot/slave/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.ValueError'>:too many values to unpack">


More information about the Erp5-report mailing list