[Erp5-report] cloudooo r44863 : 161 Tests, 11 Errors, 3 Failures, 0 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 31 11:54:54 CEST 2011


Test Suite: cloudooo
Revision: None
Result: FAIL

All tests: 161
Failures: 3
Errors: 11
Skips: 0



The following tests failed:

  testAllVideoSupportedFormat                        (6 errors)
   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 WebM format and the reverse convertion

  testFFMPEGHandler                                  (2 errors)
   Test coversion of video to another format
   Test if metadata is extracted from

  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

  testServer                                         (1 errors)
   Converts ogv video to mpeg format

-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 1212 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110331/cc7df8f0/attachment.diff>
-------------- next part --------------

ERROR: 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/testAllVideoSupportedFormat.py", line 50, in testAviFormat
    avi_data = self.input.convert("avi")
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/handler.py", line 72, in convert
    return self.input.getContent()
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/file.py", line 112, in getContent
    return open(self.url, 'r').read()
IOError: [Errno 2] No such file or directory: '/home/buildbot/slave/full.Oood/build/instance/var/run/tmp/tmpC1Ebjs/tmpmHAtdc.avi'


ERROR: 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/testAllVideoSupportedFormat.py", line 78, in testFlvFormat
    flv_data = self.input.convert("flv")
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/handler.py", line 72, in convert
    return self.input.getContent()
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/file.py", line 112, in getContent
    return open(self.url, 'r').read()
IOError: [Errno 2] No such file or directory: '/home/buildbot/slave/full.Oood/build/instance/var/run/tmp/tmpHJbuxq/tmph4UsWB.flv'


ERROR: 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/testAllVideoSupportedFormat.py", line 98, in testMkvFormat
    mkv_data = self.input.convert("mkv")
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/handler.py", line 72, in convert
    return self.input.getContent()
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/file.py", line 112, in getContent
    return open(self.url, 'r').read()
IOError: [Errno 2] No such file or directory: '/home/buildbot/slave/full.Oood/build/instance/var/run/tmp/tmpHbj854/tmpvwYOFd.mkv'


ERROR: 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/testAllVideoSupportedFormat.py", line 60, in testMp4Format
    mp4_data = self.input.convert("mp4")
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/handler.py", line 72, in convert
    return self.input.getContent()
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/file.py", line 112, in getContent
    return open(self.url, 'r').read()
IOError: [Errno 2] No such file or directory: '/home/buildbot/slave/full.Oood/build/instance/var/run/tmp/tmp4csYy1/tmpsJMHpM.mp4'


ERROR: 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/testAllVideoSupportedFormat.py", line 89, in testMpegFormat
    mpeg_data = self.input.convert("mpeg")
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/handler.py", line 72, in convert
    return self.input.getContent()
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/file.py", line 112, in getContent
    return open(self.url, 'r').read()
IOError: [Errno 2] No such file or directory: '/home/buildbot/slave/full.Oood/build/instance/var/run/tmp/tmpqh5Vxr/tmpKjgL2B.mpeg'


ERROR: 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/testAllVideoSupportedFormat.py", line 69, in testWebMFormat
    webm_data = self.input.convert("webm")
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/handler.py", line 72, in convert
    return self.input.getContent()
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/file.py", line 112, in getContent
    return open(self.url, 'r').read()
IOError: [Errno 2] No such file or directory: '/home/buildbot/slave/full.Oood/build/instance/var/run/tmp/tmpl7h7xc/tmpxgSJfY.webm'


ERROR: Test coversion of video to another format
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/tests/testFFMPEGHandler.py", line 44, in testConvertVideo
    output_data = self.input.convert("mpeg")
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/handler.py", line 72, in convert
    return self.input.getContent()
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/file.py", line 112, in getContent
    return open(self.url, 'r').read()
IOError: [Errno 2] No such file or directory: '/home/buildbot/slave/full.Oood/build/instance/var/run/tmp/tmp2XtxQS/tmpwvoZKP.mpeg'


ERROR: Test if metadata is extracted from
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/tests/testFFMPEGHandler.py", line 50, in testgetMetadata
    output_metadata = self.input.getMetadata()
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/handler.py", line 85, in getMetadata
    metadata = stderr.split('Metadata:')[1].split('\n')
IndexError: list index out of range


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">


ERROR: Converts ogv video to mpeg format
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ffmpeg/tests/testServer.py", line 51, in testConvertVideo
    "mpeg")
  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.IOError'>:[Errno 2] No such file or directory: '/home/buildbot/slave/full.Oood/build/instance/var/run/tmp/tmp1ZR0Aw/tmpUW8vUo.mpeg'">


More information about the Erp5-report mailing list