[Erp5-report] CLOUDOOO-MASTER : 153 Tests, 2 Errors, 10 Failures, 5 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Sep 15 21:20:56 CEST 2014


Test Suite: CLOUDOOO-MASTER
Revision: slapos=7214-32d4a14c5bc34ffb538df5c53f6b0ccfe1a5370e,cloudooo-repository=594-b5cd79deabddd1452708f2175a5d2d9cca93a868
Result: FAIL

All tests: 153
Failures: 10
Errors: 2
Skips: 5



The following tests failed:

  testOooMimemapper                                  (5 failures)
   testGetAllAllowedExtensionListForDrawing (testOooMimemapper.TestMimeMapper)
   testGetAllAllowedExtensionListForPresentation (testOooMimemapper.TestMimeMapper)
   testGetAllAllowedExtensionListForSpreadsheet (testOooMimemapper.TestMimeMapper)
   testGetAllowedExtensionListByExtension (testOooMimemapper.TestMimeMapper)
   testGetAllowedExtensionListForText (testOooMimemapper.TestMimeMapper)

  testOooServer                                      (5 failures, 2 skips)
   testGetAllowedExtensionListByExtension (testOooServer.TestServer)
   testGetAllowedExtensionListByMimetype (testOooServer.TestServer)
   testGetAllowedPresentationExtensionListByType (testOooServer.TestServer)
   testGetAllowedTargetItemList (testOooServer.TestServer)
   testGetAllowedTextExtensionListByType (testOooServer.TestServer)

  testPdfHandler                                     (1 errors)
   testsetMetadata (testPdfHandler.TestHandler)

  testPdfServer                                      (1 errors)
   testSetMetadata (testPdfServer.TestServer)

The following tests were at least partly skipped:

  testOooInterface                                   (3 skips)

  testOooServer                                      (2 skips)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 4826 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20140915/63f5ea86/attachment-0001.diff>
-------------- next part --------------

FAIL: testGetAllAllowedExtensionListForDrawing (testOooMimemapper.TestMimeMapper)
Passing document_type equal to 'drawing', the return must be equal
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/handler/ooo/tests/testOooMimemapper.py", line 246, in testGetAllAllowedExtensionListForDrawing
    "%s not in %s" % (arg, drawing_expected_list))
AssertionError: (u'fodg', u'OpenDocument Drawing (Flat XML)') not in [('bmp', 'BMP - Windows Bitmap'), ('emf', 'EMF - Enhanced Metafile'), ('eps', 'EPS - Encapsulated PostScript'), ('gif', 'GIF - Graphics Interchange Format'), ('html', 'HTML Document (Draw)'), ('jpg', 'JPEG - Joint Photographic Experts Group'), ('met', 'MET - OS/2 Metafile'), ('odg', 'ODF Drawing'), ('pbm', 'PBM - Portable Bitmap'), ('pct', 'PCT - Mac Pict'), ('pdf', 'PDF - Portable Document Format'), ('pgm', 'PGM - Portable Graymap'), ('png', 'PNG - Portable Network Graphic'), ('ppm', 'PPM - Portable Pixelmap'), ('ras', 'RAS - Sun Raster Image'), ('svg', 'SVG - Scalable Vector Graphics'), ('svm', 'SVM - StarView Metafile'), ('tif', 'TIFF - Tagged Image File Format'), ('wmf', 'WMF - Windows Metafile'), ('xpm', 'XPM - X PixMap')]


FAIL: testGetAllAllowedExtensionListForPresentation (testOooMimemapper.TestMimeMapper)
Passing document_type equal to 'presentation', the return must be equal
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/handler/ooo/tests/testOooMimemapper.py", line 266, in testGetAllAllowedExtensionListForPresentation
    "%s not in %s" % (arg, presentation_expected_list))
AssertionError: (u'fodp', u'OpenDocument Presentation (Flat XML)') not in [('bmp', 'BMP - Windows Bitmap'), ('emf', 'EMF - Enhanced Metafile'), ('eps', 'EPS - Encapsulated PostScript'), ('gif', 'GIF - Graphics Interchange Format'), ('html', 'HTML Document (Impress)'), ('jpg', 'JPEG - Joint Photographic Experts Group'), ('met', 'MET - OS/2 Metafile'), ('ms.ppsx', 'Microsoft PowerPoint 2007/2010/2013 XML AutoPlay'), ('ms.pptx', 'Microsoft PowerPoint 2007/2010/2013 XML'), ('odg', 'ODF Drawing (Impress)'), ('odp', 'ODF Presentation'), ('pbm', 'PBM - Portable Bitmap'), ('pct', 'PCT - Mac Pict'), ('pdf', 'PDF - Portable Document Format'), ('pgm', 'PGM - Portable Graymap'), ('png', 'PNG - Portable Network Graphic'), ('ppm', 'PPM - Portable Pixelmap'), ('pps', 'Microsoft PowerPoint 97/2000/XP/2003 AutoPlay'), ('ppsx', 'Office Open XML Presentation AutoPlay'), ('ppt', 'Microsoft PowerPoint 97/2000/XP/2003'), ('pptx', 'Office Open XML Presentation'), ('ras', 'RAS - Sun Raster Image'), ('svg', 'SVG - Scalable Vector Graphics'), ('svm', 'SVM - StarView Metafile'), ('tif', 'TIFF - Tagged Image File Format'), ('wmf', 'WMF - Windows Metafile'), ('xpm', 'XPM - X PixMap')]


FAIL: testGetAllAllowedExtensionListForSpreadsheet (testOooMimemapper.TestMimeMapper)
Passing document_type equal to 'spreadsheet', the return must be equal
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/handler/ooo/tests/testOooMimemapper.py", line 274, in testGetAllAllowedExtensionListForSpreadsheet
    "%s not in %s" % (arg, spreadsheet_expected_tuple))
AssertionError: (u'fods', u'OpenDocument Spreadsheet (Flat XML)') not in (('csv', 'Text CSV'), ('html', 'HTML Document (Calc)'), ('ods', 'ODF Spreadsheet'), ('pdf', 'PDF - Portable Document Format'), ('slk', 'SYLK'), ('xls', 'Microsoft Excel 97/2000/XP/2003'), ('ms.xlsx', 'Microsoft Excel 2007/2010/2013 XML'), ('xlsx', 'Office Open XML Spreadsheet'))


FAIL: testGetAllowedExtensionListByExtension (testOooMimemapper.TestMimeMapper)
Test if function getAllowedExtensionList returns correctly a list with
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/handler/ooo/tests/testOooMimemapper.py", line 205, in testGetAllowedExtensionListByExtension
    "%s not in %s" % (arg, text_expected_tuple))
AssertionError: (u'fodt', u'OpenDocument Text (Flat XML)') not in (('doc', 'Microsoft Word 97/2000/XP/2003'), ('ms.docx', 'Microsoft Word 2007/2010/2013 XML'), ('docx', 'Office Open XML Text'), ('html', 'HTML Document (Writer)'), ('odt', 'ODF Text Document'), ('pdf', 'PDF - Portable Document Format'), ('rtf', 'Rich Text'), ('txt', 'Text Encoded'))


FAIL: testGetAllowedExtensionListForText (testOooMimemapper.TestMimeMapper)
Passing document_type equal to 'text', the return must be equal
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/handler/ooo/tests/testOooMimemapper.py", line 227, in testGetAllowedExtensionListForText
    "%s not in %s" % (arg, text_expected_list))
AssertionError: (u'fodt', u'OpenDocument Text (Flat XML)') not in [('doc', 'Microsoft Word 97/2000/XP/2003'), ('ms.docx', 'Microsoft Word 2007/2010/2013 XML'), ('docx', 'Office Open XML Text'), ('html', 'HTML Document (Writer)'), ('odt', 'ODF Text Document'), ('pdf', 'PDF - Portable Document Format'), ('rtf', 'Rich Text'), ('txt', 'Text Encoded')]


FAIL: testGetAllowedExtensionListByExtension (testOooServer.TestServer)
Verify if getAllowedExtensionList returns is a list with extension and
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/handler/ooo/tests/testOooServer.py", line 72, in testGetAllowedExtensionListByExtension
    "%s not in %s" % (arg, text_expected_tuple))
AssertionError: ['fodt', 'OpenDocument Text (Flat XML)'] not in (('doc', 'Microsoft Word 97/2000/XP/2003'), ('ms.docx', 'Microsoft Word 2007/2010/2013 XML'), ('docx', 'Office Open XML Text'), ('html', 'HTML Document (Writer)'), ('odt', 'ODF Text Document'), ('pdf', 'PDF - Portable Document Format'), ('rtf', 'Rich Text'), ('txt', 'Text Encoded'))


FAIL: testGetAllowedExtensionListByMimetype (testOooServer.TestServer)
Verify if getAllowedExtensionList returns is a list with extension and
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/handler/ooo/tests/testOooServer.py", line 82, in testGetAllowedExtensionListByMimetype
    "%s not in %s" % (arg, text_expected_tuple))
AssertionError: ['fodt', 'OpenDocument Text (Flat XML)'] not in (('doc', 'Microsoft Word 97/2000/XP/2003'), ('ms.docx', 'Microsoft Word 2007/2010/2013 XML'), ('docx', 'Office Open XML Text'), ('html', 'HTML Document (Writer)'), ('odt', 'ODF Text Document'), ('pdf', 'PDF - Portable Document Format'), ('rtf', 'Rich Text'), ('txt', 'Text Encoded'))


FAIL: testGetAllowedPresentationExtensionListByType (testOooServer.TestServer)
Verify if getAllowedExtensionList returns is a list with extension and
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/handler/ooo/tests/testOooServer.py", line 63, in testGetAllowedPresentationExtensionListByType
    "%s not in %s" % (arg, presentation_expected_tuple))
AssertionError: ['fodp', 'OpenDocument Presentation (Flat XML)'] not in (('bmp', 'BMP - Windows Bitmap'), ('emf', 'EMF - Enhanced Metafile'), ('eps', 'EPS - Encapsulated PostScript'), ('gif', 'GIF - Graphics Interchange Format'), ('html', 'HTML Document (Impress)'), ('jpg', 'JPEG - Joint Photographic Experts Group'), ('met', 'MET - OS/2 Metafile'), ('odg', 'ODF Drawing (Impress)'), ('odp', 'ODF Presentation'), ('pbm', 'PBM - Portable Bitmap'), ('pct', 'PCT - Mac Pict'), ('pdf', 'PDF - Portable Document Format'), ('pgm', 'PGM - Portable Graymap'), ('png', 'PNG - Portable Network Graphic'), ('ppm', 'PPM - Portable Pixelmap'), ('pps', 'Microsoft PowerPoint 97/2000/XP/2003 AutoPlay'), ('ms.ppsx', 'Microsoft PowerPoint 2007/2010/2013 XML AutoPlay'), ('ppsx', 'Office Open XML Presentation AutoPlay'), ('ppt', 'Microsoft PowerPoint 97/2000/XP/2003'), ('ms.pptx', 'Microsoft PowerPoint 2007/2010/2013 XML'), ('pptx', 'Office Open XML Presentation'), ('ras', 'RAS - Sun Raster Image'), ('svg', 'SVG - Scalable Vector Graphics'), ('svm', 'SVM - StarView Metafile'), ('tif', 'TIFF - Tagged Image File Format'), ('wmf', 'WMF - Windows Metafile'), ('xpm', 'XPM - X PixMap'))


FAIL: testGetAllowedTargetItemList (testOooServer.TestServer)
Test if filter name returns correctly with ERP5 API
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/handler/ooo/tests/testOooServer.py", line 391, in testGetAllowedTargetItemList
    "%s not in %s" % (arg, text_expected_tuple))
AssertionError: ['fodt', 'OpenDocument Text (Flat XML)'] not in (('doc', 'Microsoft Word 97/2000/XP/2003'), ('ms.docx', 'Microsoft Word 2007/2010/2013 XML'), ('docx', 'Office Open XML Text'), ('html', 'HTML Document (Writer)'), ('odt', 'ODF Text Document'), ('pdf', 'PDF - Portable Document Format'), ('rtf', 'Rich Text'), ('txt', 'Text Encoded'))


FAIL: testGetAllowedTextExtensionListByType (testOooServer.TestServer)
Verify if getAllowedExtensionList returns is a list with extension and
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/handler/ooo/tests/testOooServer.py", line 53, in testGetAllowedTextExtensionListByType
    "%s not in %s" % (arg, text_expected_tuple))
AssertionError: ['fodt', 'OpenDocument Text (Flat XML)'] not in (('doc', 'Microsoft Word 97/2000/XP/2003'), ('ms.docx', 'Microsoft Word 2007/2010/2013 XML'), ('docx', 'Office Open XML Text'), ('html', 'HTML Document (Writer)'), ('odt', 'ODF Text Document'), ('pdf', 'PDF - Portable Document Format'), ('rtf', 'Rich Text'), ('txt', 'Text Encoded'))


ERROR: testsetMetadata (testPdfHandler.TestHandler)
Test if the metadata is inserted correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/handler/pdf/tests/testPdfHandler.py", line 61, in testsetMetadata
    new_document = handler.setMetadata(metadata_dict)
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/handler/pdf/handler.py", line 112, in setMetadata
    env=self.environment).communicate()
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/python2.7/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/python2.7/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


ERROR: testSetMetadata (testPdfServer.TestServer)
Test if metadata is inserted correctly in pdf file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/handler/pdf/tests/testPdfServer.py", line 87, in testSetMetadata
    self.runUpdateMetadataList(self.UpdateMetadataScenarioList())
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/tests/cloudoooTestCase.py", line 175, in runUpdateMetadataList
    self._testUpdateMetadata(*scenario)
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/cloudooo-repository/cloudooo/tests/cloudoooTestCase.py", line 118, in _testUpdateMetadata
    metadata_dict)
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/python2.7/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/python2.7/lib/python2.7/xmlrpclib.py", line 1578, in __request
    verbose=self.__verbose
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/python2.7/lib/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/python2.7/lib/python2.7/xmlrpclib.py", line 1297, in single_request
    return self.parse_response(response)
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/python2.7/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
    return u.close()
  File "/srv/slapgrid/slappart19/srv/testnode/kt/soft/5266a44a335c1a2789a17eb6e78f4c64/parts/python2.7/lib/python2.7/xmlrpclib.py", line 793, in close
    raise Fault(**self._stack[0])
Fault: <Fault 1: "<type 'exceptions.OSError'>:[Errno 2] No such file or directory">


More information about the Erp5-report mailing list