[Erp5-report] cloudooo r42438 : 127 Tests, 0 Errors, 10 Failures, 0 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jan 19 08:39:28 CET 2011
Test Suite: cloudooo
Revision: 42438
Result: FAIL
All tests: 127
Failures: 10
Errors: 0
Skips: 0
The following tests failed:
testAllFormats (2 failures)
Test all spreadsheet formats
Test all text formats
testMimemapper (3 failures)
Passing document_type equal to 'web', the return must be equal
Passing document_type equal to 'global', the return must be equal
Test if passing the extension the filter returns corretcly.
testOOHandler (1 failures)
Test convert ODT to DOC
testServer (3 failures)
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: 1250 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110119/321d6aee/attachment.diff>
-------------- next part --------------
FAIL: 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 89, in runTestForType
self.fail('Failed Conversions:\n' + message)
AssertionError: Failed Conversions:
input_format: 'ods'
output_format: 'html'
traceback:
<type 'exceptions.Exception'>:Traceback (most recent call last):
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 355, in <module>
main()
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 340, in main
output = unoconverter.convert(destination_format)
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 203, in convert
tuple(property_list))
__main__.ErrorCodeIOException
input_format: 'ods'
output_format: 'html'
traceback:
<type 'exceptions.Exception'>:Traceback (most recent call last):
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 355, in <module>
main()
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 340, in main
output = unoconverter.convert(destination_format)
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 203, in convert
tuple(property_list))
__main__.ErrorCodeIOException
FAIL: 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 89, in runTestForType
self.fail('Failed Conversions:\n' + message)
AssertionError: Failed Conversions:
input_format: 'odt'
output_format: 'pdb'
traceback:
<type 'exceptions.Exception'>:Traceback (most recent call last):
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 355, in <module>
main()
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 340, in main
output = unoconverter.convert(destination_format)
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 203, in convert
tuple(property_list))
__main__.ErrorCodeIOException
input_format: 'odt'
output_format: 'html'
traceback:
<type 'exceptions.Exception'>:Traceback (most recent call last):
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 355, in <module>
main()
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 340, in main
output = unoconverter.convert(destination_format)
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 203, in convert
tuple(property_list))
__main__.ErrorCodeIOException
input_format: 'odt'
output_format: 'html'
traceback:
<type 'exceptions.Exception'>:Traceback (most recent call last):
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 355, in <module>
main()
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 340, in main
output = unoconverter.convert(destination_format)
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 203, in convert
tuple(property_list))
__main__.ErrorCodeIOException
input_format: 'odt'
output_format: 'psw'
traceback:
<type 'exceptions.Exception'>:Traceback (most recent call last):
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 355, in <module>
main()
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 340, in main
output = unoconverter.convert(destination_format)
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/helper/unoconverter.py", line 203, in convert
tuple(property_list))
__main__.ErrorCodeIOException
FAIL: Passing document_type equal to 'web', the return must be equal
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testMimemapper.py", line 317, in testGetAllAllowedExtensionListForWeb
self.assertEquals(got_tuple, web_expected_list)
AssertionError: [(u'html', u'HTML Document'), (u'odt', u'OpenOffice.org Text (OpenOffice.org Writer/Web)'), (u'pdf', u'PDF - Portable Document Format'), (u'sdw', u'StarWriter 3.0 (OpenOffice.org Writer/Web)'), (u'sdw', u'StarWriter 4.0 (OpenOffice.org Writer/Web)'), (u'sdw', u'StarWriter 5.0 (OpenOffice.org Writer/Web)'), (u'sxw', u'OpenOffice.org 1.0 Text Document (OpenOffice.org Writer/Web)'), (u'txt', u'Text (OpenOffice.org Writer/Web)'), (u'txt', u'Text Encoded (OpenOffice.org Writer/Web)')] != [('htm', 'HTML Document'), ('html', 'HTML Document'), ('odt', 'OpenOffice.org Text (OpenOffice.org Writer/Web)'), ('pdf', 'PDF - Portable Document Format'), ('sdw', 'StarWriter 3.0 (OpenOffice.org Writer/Web)'), ('sdw', 'StarWriter 4.0 (OpenOffice.org Writer/Web)'), ('sdw', 'StarWriter 5.0 (OpenOffice.org Writer/Web)'), ('sxw', 'OpenOffice.org 1.0 Text Document (OpenOffice.org Writer/Web)'), ('txt', 'Text (OpenOffice.org Writer/Web)'), ('txt', 'Text Encoded (OpenOffice.org Writer/Web)')]
FAIL: Passing document_type equal to 'global', the return must be equal
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testMimemapper.py", line 298, in testGetAllowedExtensionListForGlobal
self.assertEquals(got_list, global_expected_list)
AssertionError: [(u'html', u'HTML (Writer/Global)'), (u'odm', u'ODF Master Document'), (u'odt', u'ODF Text Document'), (u'pdf', u'PDF - Portable Document Format'), (u'sdw', u'StarWriter 3.0'), (u'sdw', u'StarWriter 4.0'), (u'sdw', u'StarWriter 5.0'), (u'sxg', u'OpenOffice.org 1.0 Master Document'), (u'sxw', u'OpenOffice.org 1.0 Text Document'), (u'txt', u'Text Encoded (OpenOffice.org Master Document)')] != [('htm', 'HTML (Writer/Global)'), ('html', 'HTML (Writer/Global)'), ('odm', 'ODF Master Document'), ('odt', 'ODF Text Document'), ('pdf', 'PDF - Portable Document Format'), ('sdw', 'StarWriter 3.0'), ('sdw', 'StarWriter 4.0'), ('sdw', 'StarWriter 5.0'), ('sxg', 'OpenOffice.org 1.0 Master Document'), ('sxw', 'OpenOffice.org 1.0 Text Document'), ('txt', 'Text Encoded (OpenOffice.org Master Document)')]
FAIL: Test if passing the extension the filter returns corretcly.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/parts/bot_nifty04/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testMimemapper.py", line 241, in testGetFilterByExt
self.assertEquals(len(xls_filter_list), 5)
AssertionError: 4 != 5
FAIL: 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 58, in _assert_document_output
self.assertEquals(mimetype, expected_mimetype)
AssertionError: 'application/octet-stream' != 'application/msword'
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: 25 != 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