[Erp5-report] cloudooo r42444 : 120 Tests, 10 Errors, 4 Failures, 0 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 19 11:39:04 CET 2011


Test Suite: cloudooo
Revision: 42444
Result: FAIL

All tests: 120
Failures: 4
Errors: 10
Skips: 0



The following tests failed:

  testOOHandler                                      (3 errors)
   Test convert DOC to ODT
   Test convert ODT to DOC
   Test convert with openoffice stopped

  testServer                                         (3 failures, 7 errors)
   Convert compressed html to txt
   Test if send a zipfile returns a document correctly
   Test Convert Doc -> Pdf
   Test server using method getFileMetadataItemList. With data converted
   Test server using method updateFileMetadata
   Test server using method updateFileMetadata when the same metadata is
   Test server using method updateFileMetadata with unsual metadata
   Test export pptx to odp
   Test if filter name returns correctly with ERP5 API
   Test run_generate method. This test is to validate a bug convertions to

  testUnoConverter                                   (1 failures)
   Test script unoconverter

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

ERROR: Test convert DOC to ODT
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOOHandler.py", line 86, in testConvertDocToOdt
    "application/vnd.oasis.opendocument.text")
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOOHandler.py", line 56, in _assert_document_output
    mime = magic.Magic(mime=True)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 51, in __init__
    magic_load(self.cookie, magic_file)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 135, in errorcheck
    raise MagicException(err)
MagicException: File 4.26 supports only 6 version magic files. `/usr/share/file/magic.mgc' is version 7


ERROR: Test convert ODT to DOC
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOOHandler.py", line 76, in testConvertOdtToDoc
    self._assert_document_output(doc_exported, "application/msword")
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOOHandler.py", line 56, in _assert_document_output
    mime = magic.Magic(mime=True)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 51, in __init__
    magic_load(self.cookie, magic_file)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 135, in errorcheck
    raise MagicException(err)
MagicException: File 4.26 supports only 6 version magic files. `/usr/share/file/magic.mgc' is version 7


ERROR: Test convert with openoffice stopped
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOOHandler.py", line 134, in testConvertWithOpenOfficeStopped
    "application/vnd.oasis.opendocument.text")
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testOOHandler.py", line 56, in _assert_document_output
    mime = magic.Magic(mime=True)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 51, in __init__
    magic_load(self.cookie, magic_file)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 135, in errorcheck
    raise MagicException(err)
MagicException: File 4.26 supports only 6 version magic files. `/usr/share/file/magic.mgc' is version 7


ERROR: 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 278, in testSendZipAndReturnTxt
    'text/plain')
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 112, in _testConvertFile
    content_type = self._getFileType(output_url)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 117, in _getFileType
    mime = magic.Magic(mime=True)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 51, in __init__
    magic_load(self.cookie, magic_file)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 135, in errorcheck
    raise MagicException(err)
MagicException: File 4.26 supports only 6 version magic files. `/usr/share/file/magic.mgc' is version 7


ERROR: Test if send a zipfile returns a document correctly
----------------------------------------------------------------------
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 269, in testWithZipFile
    True)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 112, in _testConvertFile
    content_type = self._getFileType(output_url)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 117, in _getFileType
    mime = magic.Magic(mime=True)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 51, in __init__
    magic_load(self.cookie, magic_file)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 135, in errorcheck
    raise MagicException(err)
MagicException: File 4.26 supports only 6 version magic files. `/usr/share/file/magic.mgc' is version 7


ERROR: Test Convert Doc -> Pdf
----------------------------------------------------------------------
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 169, in testconvertDocToPdf
    'application/pdf')
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 112, in _testConvertFile
    content_type = self._getFileType(output_url)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 117, in _getFileType
    mime = magic.Magic(mime=True)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 51, in __init__
    magic_load(self.cookie, magic_file)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 135, in errorcheck
    raise MagicException(err)
MagicException: File 4.26 supports only 6 version magic files. `/usr/share/file/magic.mgc' is version 7


ERROR: Test server using method getFileMetadataItemList. With data converted
----------------------------------------------------------------------
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 194, in testgetFileMetadataItemListWithData
    content_type = self._getFileType(document_output_url)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 117, in _getFileType
    mime = magic.Magic(mime=True)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 51, in __init__
    magic_load(self.cookie, magic_file)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 135, in errorcheck
    raise MagicException(err)
MagicException: File 4.26 supports only 6 version magic files. `/usr/share/file/magic.mgc' is version 7


ERROR: Test server using method updateFileMetadata
----------------------------------------------------------------------
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 210, in testupdateFileMetadata
    content_type = self._getFileType(document_output_url)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 117, in _getFileType
    mime = magic.Magic(mime=True)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 51, in __init__
    magic_load(self.cookie, magic_file)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 135, in errorcheck
    raise MagicException(err)
MagicException: File 4.26 supports only 6 version magic files. `/usr/share/file/magic.mgc' is version 7


ERROR: Test server using method updateFileMetadata when the same metadata is
----------------------------------------------------------------------
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 241, in testupdateFileMetadataUpdateSomeMetadata
    content_type = self._getFileType(document_output_url)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 117, in _getFileType
    mime = magic.Magic(mime=True)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 51, in __init__
    magic_load(self.cookie, magic_file)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 135, in errorcheck
    raise MagicException(err)
MagicException: File 4.26 supports only 6 version magic files. `/usr/share/file/magic.mgc' is version 7


ERROR: Test server using method updateFileMetadata with unsual metadata
----------------------------------------------------------------------
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 226, in testupdateFileMetadataWithUserMetadata
    content_type = self._getFileType(document_output_url)
  File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 117, in _getFileType
    mime = magic.Magic(mime=True)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 51, in __init__
    magic_load(self.cookie, magic_file)
  File "/home/buildbot/.buildout/eggs/python_magic-0.4.0.1-py2.6.egg/magic.py", line 135, in errorcheck
    raise MagicException(err)
MagicException: File 4.26 supports only 6 version magic files. `/usr/share/file/magic.mgc' is version 7


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 296, 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 113, in _testConvertFile
    self.assertEquals(content_type, stdout_msg)
AssertionError: 'application/octet-stream' != 'application/vnd.oasis.opendocument.presentation'


FAIL: Test if filter name returns correctly with ERP5 API
----------------------------------------------------------------------
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 508, in testGetAllowedTargetItemList
    self.assertEquals(len(response_dict['response_data']), 29)
AssertionError: 27 != 29


FAIL: Test run_generate method. This test is to validate a bug convertions to
----------------------------------------------------------------------
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 384, in testRunGenerateMethodConvertOdsToHTML
    self.assertEquals(response_code, 200)
AssertionError: 402 != 200


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 84, in testUnoConverterOdtToDoc
    self.assertEquals(mime.from_file(output_url), 'application/vnd.ms-office')
AssertionError: 'application/octet-stream' != 'application/vnd.ms-office'


More information about the Erp5-report mailing list