[Erp5-report] ERP5-z2.12 : 4587 Tests, 15 Errors, 1 Failures, 161 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Oct 28 13:30:35 CET 2013


Test Suite: ERP5-z2.12
Revision: slapos=5562-e22de8e406dd3f7ee9e7753bab35c8d9e1346c60,erp5=43001-badb7a60b80b574b4dcb1177b8e240042ca4a8a2
Result: FAIL

All tests: 4587
Failures: 1
Errors: 15
Skips: 161

 https://nexedi.erp5.net/test_result_module/20131028-45187696/view


The following tests failed:

  erp5_pdf_merge:testERP5PDFMerge                    (2 errors)
   test_erp5_merge_pdf (erp5.component.test.erp5_version.testERP5PDFMerge.TestERP5PDFMerge)
   test_erp5_merge_pdf_start_on_recto (erp5.component.test.erp5_version.testERP5PDFMerge.TestERP5PDFMerge)

  testDms                                            (4 errors, 2 skips)
   test_PDF_content_information_extra_metadata (testDms.TestDocument)
   test_PDF_watermark (testDms.TestDocument)
   test_PDF_watermark_repeat (testDms.TestDocument)
   test_PDF_watermark_start_page (testDms.TestDocument)

  testDmsWithFlare                                   (4 errors, 2 skips)
   test_PDF_content_information_extra_metadata (testDmsWithFlare.TestDocumentWithFlare)
   test_PDF_watermark (testDmsWithFlare.TestDocumentWithFlare)
   test_PDF_watermark_repeat (testDmsWithFlare.TestDocumentWithFlare)
   test_PDF_watermark_start_page (testDmsWithFlare.TestDocumentWithFlare)

  testDmsWithPreConversion                           (4 errors, 2 skips)
   test_PDF_content_information_extra_metadata (testDmsWithPreConversion.TestDocumentWithPreConversion)
   test_PDF_watermark (testDmsWithPreConversion.TestDocumentWithPreConversion)
   test_PDF_watermark_repeat (testDmsWithPreConversion.TestDocumentWithPreConversion)
   test_PDF_watermark_start_page (testDmsWithPreConversion.TestDocumentWithPreConversion)

  testERP5BankingCounterRendering                    (1 failures)
   test_01_ERP5BankingCounterRendering (testERP5BankingCounterRendering.TestERP5BankingCounterRendering)

  testFields                                         (1 errors)
   test_using_cache_or_not (testFields.TestFieldValueCache)

The following tests were at least partly skipped:

  erp5_configurator_maxma_demo:testMaxmaDemoConfigurationWorkflow (1 skips)

  erp5_web_shacache:testShaCache                     (1 skips)

  erp5_web_shadir:testShaDir                         (1 skips)

  networkcache_erp5:testShaCacheExternal             (1 skips)

  testAccountingReports                              (1 skips)
   test_Resource_zGetMovementHistoryList (testAccountingReports.TestAccountingReports) ... skipped 'TODO ERP5'

  testAccountingRules                                (22 skips)

  testAdvancedInvoicing                              (1 skips)

  testBPMCore                                        (1 skips)
   test_payBeforeDelivery (testBPMCore.TestBPMImplementation) ... skipped 'TODO ERP5'

  testBase                                           (3 skips)
   check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent(). ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'

  testBusinessTemplate                               (6 skips)
   test_BusinessTemplateUpgradeDocumentFromFilesystemToZodb (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocument (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocumentMigrated (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocumentNonExistingBefore (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'

  testCRM                                            (1 skips)

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDms                                            (2 skips)

  testDmsWithFlare                                   (2 skips)

  testDmsWithPreConversion                           (2 skips)

  testERP5Base                                       (1 skips)

  testERP5Catalog                                    (4 skips)
   Tests that buildSQLQuery works with another query_table than 'catalog' ... skipped 'TODO ERP5'
   test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'

  testERP5Commerce                                   (1 skips)
   test_22_createShoppingCartWithAnonymousAndLogin (testERP5Commerce.TestCommerce) ... skipped 'WebSite_createWebSiteAccount is disabled by default.'

  testERP5DocumentSyncML                             (4 skips)

  testERP5Interfaces                                 (7 skips)

  testERP5SyncML                                     (2 skips)

  testERP5Type                                       (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testERP5Web                                        (3 skips)
   test_03_CreateWebSiteUser (testERP5Web.TestERP5Web) ... skipped 'WebSite_createWebSiteAccount is disabled by default.'

  testFormPrintoutAsODT                              (1 skips)
   test_09_FieldReplacementWithValidation (testFormPrintoutAsODT.TestFormPrintoutAsODT) ... skipped 'Disable validation because OOo does not produce compliant xml, and RelaxNG status is still draft'

  testFunctionalCore                                 (4 skips)
        So this test is skipped -->
        So this test is skipped -->

  testIngestion                                      (4 skips)

  testIngestionWithFlare                             (4 skips)

  testInventory                                      (2 skips)

  testInventoryAPI                                   (2 skips)

  testInvoice                                        (6 skips)

  testItem                                           (13 skips)

  testKM                                             (3 skips)

  testMRP                                            (5 skips)
   test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'

  testOpenOrder                                      (3 skips)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder) ... skipped "can't run if machine timezone is UTC"

  testOrderBuilder                                   (4 skips)

  testOxatisSynchronization                          (1 skips)

  testPreferences                                    (1 skips)

  testProductionOrder                                (8 skips)

  testProductionOrderApparel                         (6 skips)

  testProductionPackingList                          (1 skips)

  testProductionPackingListApparel                   (1 skips)

  testProxyField                                     (1 skips)

  testResource                                       (1 skips)

  testReturnedSalePackingList                        (3 skips)

  testSQLCachedWorklist                              (2 skips)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'
   test_04_dynamic_variables (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'

  testSelectionTool                                  (7 skips)
   skipped 'Test to be written'
   testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   skipped 'Test to be written'
   testDeleteGlobalSelection (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'To be decided if implementation is required'
   testPage (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'

  testTaskReportDivergence                           (1 skips)

  testTemplate                                       (1 skips)

  testTradeModelLine                                 (1 skips)

  testTradeModelLinePurchase                         (1 skips)

  testUbercartSynchronisation                        (1 skips)

  testVirtuemartSynchronization                      (1 skips)

  testWebDavSupport                                  (1 skips)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 1282 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20131028/6d908c94/attachment.diff>
-------------- next part --------------

ERROR: test_erp5_merge_pdf (erp5.component.test.erp5_version.testERP5PDFMerge.TestERP5PDFMerge)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "<string>", line 36, in test_erp5_merge_pdf
    [document.getData(), document.getData()])
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/patches/ExternalMethod.py", line 129, in __call__
    return f(self.aq_parent.this(), *args, **kw)
  File "<string>", line 39, in mergePDFList
    from PyPDF2 import PdfFileWriter, PdfFileReader
ImportError: No module named PyPDF2


ERROR: test_erp5_merge_pdf_start_on_recto (erp5.component.test.erp5_version.testERP5PDFMerge.TestERP5PDFMerge)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "<string>", line 46, in test_erp5_merge_pdf_start_on_recto
    [document.getData(), document.getData()], start_on_recto=True)
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/patches/ExternalMethod.py", line 129, in __call__
    return f(self.aq_parent.this(), *args, **kw)
  File "<string>", line 39, in mergePDFList
    from PyPDF2 import PdfFileWriter, PdfFileReader
ImportError: No module named PyPDF2


ERROR: test_PDF_content_information_extra_metadata (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5OOo/tests/testDms.py", line 1297, in test_PDF_content_information_extra_metadata
    self.assertEquals('the value', content_information['NonStandardMetadata'])
KeyError: 'NonStandardMetadata'


ERROR: test_PDF_watermark (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5OOo/tests/testDms.py", line 1380, in test_PDF_watermark
    self.assertTrue(watermarked_data.startswith('%PDF-1.3'))
AttributeError: 'NoneType' object has no attribute 'startswith'


ERROR: test_PDF_watermark_repeat (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5OOo/tests/testDms.py", line 1400, in test_PDF_watermark_repeat
    self.assertTrue(watermarked_data.startswith('%PDF-1.3'))
AttributeError: 'NoneType' object has no attribute 'startswith'


ERROR: test_PDF_watermark_start_page (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5OOo/tests/testDms.py", line 1419, in test_PDF_watermark_start_page
    self.assertTrue(watermarked_data.startswith('%PDF-1.3'))
AttributeError: 'NoneType' object has no attribute 'startswith'


ERROR: test_PDF_content_information_extra_metadata (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5OOo/tests/testDms.py", line 1297, in test_PDF_content_information_extra_metadata
    self.assertEquals('the value', content_information['NonStandardMetadata'])
KeyError: 'NonStandardMetadata'


ERROR: test_PDF_watermark (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5OOo/tests/testDms.py", line 1380, in test_PDF_watermark
    self.assertTrue(watermarked_data.startswith('%PDF-1.3'))
AttributeError: 'NoneType' object has no attribute 'startswith'


ERROR: test_PDF_watermark_repeat (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5OOo/tests/testDms.py", line 1400, in test_PDF_watermark_repeat
    self.assertTrue(watermarked_data.startswith('%PDF-1.3'))
AttributeError: 'NoneType' object has no attribute 'startswith'


ERROR: test_PDF_watermark_start_page (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5OOo/tests/testDms.py", line 1419, in test_PDF_watermark_start_page
    self.assertTrue(watermarked_data.startswith('%PDF-1.3'))
AttributeError: 'NoneType' object has no attribute 'startswith'


ERROR: test_PDF_content_information_extra_metadata (testDmsWithPreConversion.TestDocumentWithPreConversion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5OOo/tests/testDms.py", line 1297, in test_PDF_content_information_extra_metadata
    self.assertEquals('the value', content_information['NonStandardMetadata'])
KeyError: 'NonStandardMetadata'


ERROR: test_PDF_watermark (testDmsWithPreConversion.TestDocumentWithPreConversion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5OOo/tests/testDms.py", line 1380, in test_PDF_watermark
    self.assertTrue(watermarked_data.startswith('%PDF-1.3'))
AttributeError: 'NoneType' object has no attribute 'startswith'


ERROR: test_PDF_watermark_repeat (testDmsWithPreConversion.TestDocumentWithPreConversion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5OOo/tests/testDms.py", line 1400, in test_PDF_watermark_repeat
    self.assertTrue(watermarked_data.startswith('%PDF-1.3'))
AttributeError: 'NoneType' object has no attribute 'startswith'


ERROR: test_PDF_watermark_start_page (testDmsWithPreConversion.TestDocumentWithPreConversion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5OOo/tests/testDms.py", line 1419, in test_PDF_watermark_start_page
    self.assertTrue(watermarked_data.startswith('%PDF-1.3'))
AttributeError: 'NoneType' object has no attribute 'startswith'


FAIL: test_01_ERP5BankingCounterRendering (testERP5BankingCounterRendering.TestERP5BankingCounterRendering)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart50/srv/testnode/cj/soft/b534b9fcbfb4e6f8fdf5a54493b6556c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart50/srv/testnode/cj/soft/b534b9fcbfb4e6f8fdf5a54493b6556c/parts/erp5/Products/ERP5Banking/tests/testERP5BankingCounterRendering.py", line 514, in test_01_ERP5BankingCounterRendering
    sequence_list.play(self)
  File "/srv/slapgrid/slappart50/srv/testnode/cj/soft/b534b9fcbfb4e6f8fdf5a54493b6556c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart50/srv/testnode/cj/soft/b534b9fcbfb4e6f8fdf5a54493b6556c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      Tic
      CheckObjects
      Tic
      CheckInitialInventory
      CheckSource
      CheckDestination
      CreateCounterRendering
      Tic
      CheckBaobabDestination
      CreateValidLine1
      CheckSubTotal
      CreateValidLine2
      CheckTotal
      CheckSource
      CheckDestination
      CreateInvalidLine
      TryConfirmCounterRenderingWithBadInventory
      DelInvalidLine
      Tic
      CheckTotal
      ConfirmCounterRendering
      Tic
    > CheckSourceDebitPlanned
      CheckDestinationCreditPlanned
      CheckSourceDebitPlanned
      CheckDestinationCreditPlanned
      ResetInventory
      Tic
      DeliverFails
      DeleteResetInventory
      Tic
      DeliverCounterRendering
      CheckSourceDebit
      CheckDestinationCredit
  File "/srv/slapgrid/slappart50/srv/testnode/cj/soft/b534b9fcbfb4e6f8fdf5a54493b6556c/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart50/srv/testnode/cj/soft/b534b9fcbfb4e6f8fdf5a54493b6556c/parts/erp5/Products/ERP5Banking/tests/testERP5BankingCounterRendering.py", line 404, in stepCheckSourceDebitPlanned
    self.assertEqual(self.simulation_tool.getFutureInventory(node=self.counter_vault.getRelativeUrl(), resource = self.billet_10000.getRelativeUrl()), 0.0)
AssertionError: 5.0 != 0.0


ERROR: test_using_cache_or_not (testFields.TestFieldValueCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Form/tests/testFields.py", line 948, in test_using_cache_or_not
    cache_size = self._getCacheSize('Form.get_value')
  File "/srv/slapgrid/slappart4/srv/testnode/cj/soft/7f7fc7bcff3ef950a5dc9676ad585c4c/parts/erp5/Products/ERP5Form/tests/testFields.py", line 939, in _getCacheSize
    for cache_key in field_value_cache.viewkeys():
AttributeError: 'FieldValueCacheDict' object has no attribute 'viewkeys'


More information about the Erp5-report mailing list