[Erp5-report] cloudooo r44089 : 161 Tests, 3 Errors, 9 Failures, 0 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 10 01:11:00 CET 2011


Test Suite: cloudooo
Revision: 44089
Result: FAIL

All tests: 161
Failures: 9
Errors: 3
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

  testOOGranulator                                   (1 failures, 1 errors)
   Test if getChapterItem() returns the right chapter
   Test if getChapterItemList() returns the right chapters 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 --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 130 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110310/e397d980/attachment-0001.diff>
-------------- 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/x-empty' != '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/x-empty' != '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 100, in testOggFormat
    self.assertEquals(ogg_mimetype, 'application/ogg')
AssertionError: 'application/x-empty' != 'application/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'


ERROR: Test if getChapterItem() returns the right chapter
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOOGranulator.py", line 168, in testGetChapterItem
    'chapter_id')
  File "/home/buildbot/slave/full.Oood/build/software/parts/python2.6/lib/python2.6/unittest.py", line 336, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/granulator.py", line 244, in getChapterItem
    chapter = chapter_list[chapter_id].encode('utf-8')
TypeError: list indices must be integers, not str


FAIL: Test if getChapterItemList() returns the right chapters list
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOOGranulator.py", line 163, in testGetChapterItemList
    self.assertRaises(NotImplementedError, self.oogranulator.getChapterItemList)
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