[Erp5-report] ERP5 r42591 : 4468 Tests, 10 Errors, 10 Failures, 197 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Jan 22 02:07:05 CET 2011


Test Suite: ERP5
Revision: 42591
Result: FAIL

All tests: 4468
Failures: 10
Errors: 10
Skips: 197


The following tests have an unknown status:
extra_sql_connection_string_list='test3a test,test3b test' Products/ERP5Type/tests/runUnitTest.py --verbose '--erp5_sql_connection_string=test3 test' --instance_home=unit_test.3 testBPMEvaluation

The following tests failed:

  testAccounting                                     (5 errors)
   test_SaleInvoiceTransactionValidationDate (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
   test_UneededDestinationAssetPrice (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
   test_UneededSourceAssetPrice (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
   test_UnusedSectionTransactionValidationDate (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
   test_export_transaction (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)

  testBusinessTemplate                               (1 errors, 3 skips)
   test_updateBusinessTemplateFromUrl_keep_list (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)

  testDms                                            (1 errors, 3 skips)
   test_ImageSizePreference (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)

  testKMGadget                                       (2 errors)
   test_02 (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase), Check Gadgets
   test_03DefaultKnowledgePadFromPreference (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase), Check Gadgets

  testLegacySimulationItem                           (2 failures)
   test_Item_getCurrentSiteTitle (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
   test_Item_getCurrentSiteValue (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)

  testLegacyTradeModelLine                           (2 failures)
   test_tradeModelLineWithRounding (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
   test_tradeModelLineWithRounding (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)

  testOOoConversionCache                             (1 failures, 1 errors)
   test_04_PersistentCacheConversionWithFlare (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
   test_04_PersistentCacheConversionWithFlare (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)

  testPayroll                                        (2 failures)
   test_sourceSectionIsSetOnMovements (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
   test_updatePaysheetAfterModelModification (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase), generate a paysheet using a model, modify the model by adding a new

  testTradeModelLine                                 (1 failures)
   test_tradeModelLineWithRounding (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)

  testTradeModelLinePurchase                         (1 failures)
   test_tradeModelLineWithRounding (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)

  testWebCrawler                                     (1 failures)
   test_01_check_URLTransformations (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase), Check crawlable functionalities regarding URL handling

The following tests were at least partly skipped:

  testAccountingRules                                (26 skips)

  testAdvancedInvoicing                              (4 skips)

  testBPMCore                                        (12 skips)

  testBase                                           (3 skips)
   test_NonIndexable (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase), 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'
   test_NonIndexable2 (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase), 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'
   test_NonIndexable3 (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase), 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                               (3 skips)

  testCRM                                            (2 skips)

  testConversionInSimulation                         (4 skips)

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDivergenceTester                               (5 skips)

  testDms                                            (3 skips)

  testDmsWithFlare                                   (3 skips)

  testDynamicClassGeneration                         (1 skips)

  testERP5Base                                       (1 skips)

  testERP5Catalog                                    (4 skips)
   test_49_IndexInOrderedSearchFolder (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'TODO ERP5'
   test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'TODO ERP5'
   test_sortOnRelatedKeyWithUnsetRelation (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'TODO ERP5'

  testERP5Interfaces                                 (9 skips)

  testERP5Type                                       (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testERP5Web                                        (2 skips)

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

  testICal                                           (1 skips)

  testImmobilisation                                 (2 skips)

  testIngestion                                      (4 skips)

  testIngestionWithFlare                             (4 skips)

  testInventoryAPI                                   (2 skips)

  testInvoice                                        (7 skips)

  testItem                                           (13 skips)

  testLegacyMRP                                      (4 skips)
   test_TransformationRule_expand_concurrent (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_expand_reexpand (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_getHeadProductionPathList (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'Unfinished experimental feature'
   test_TransformationSourcingRule_expand (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'Unfinished experimental feature'

  testLegacyProjectAndTask                           (1 skips)

  testLegacySimulationInventoryAPI                   (2 skips)

  testMRP                                            (5 skips)
   test_TransformationRule_expand_concurrent (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_expand_reexpand (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_getHeadProductionPathList (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'Unfinished experimental feature'
   test_TransformationSourcingRule_expand (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'Unfinished experimental feature'

  testOpenOrder                                      (2 skips)

  testOrderBuilder                                   (4 skips)

  testPackingList                                    (16 skips)

  testPackingListRoundingPrecision                   (8 skips)

  testPreferences                                    (1 skips)

  testProductionOrder                                (8 skips)

  testProductionOrderApparel                         (6 skips)

  testProductionPackingList                          (1 skips)

  testProductionPackingListApparel                   (1 skips)

  testProject                                        (1 skips)

  testReturnedSalePackingList                        (3 skips)

  testSQLCachedWorklist                              (1 skips)
   test_02_related_key (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'TODO ERP5'

  testSelectionTool                                  (7 skips)
   skipped 'Test to be written'
   testPage (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'Test to be written'
   testView (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'Test to be written'
   skipped 'Test to be written'
   testDeleteGlobalSelection (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'To be decided if implementation is required'
   testPage (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'Test to be written'
   testView (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase) ... skipped 'Test to be written'

  testTaskReportDivergence                           (4 skips)

  testTemplate                                       (1 skips)

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

ERROR: test_SaleInvoiceTransactionValidationDate (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 811, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5/tests/testAccounting.py", line 305, in afterSetUp
    self.tic()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 173, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2006', 'recursiveImmediateReindexObject', -2, 1), ('/erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2007', 'recursiveImmediateReindexObject', -2, 1)]
Last error message:
ValueError
uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2006> is 1200L and is already assigned to /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/portal_types/Contribution Predicate in catalog !!! This can be fatal.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 1248, in invokeGroup
  Module Products.ERP5Catalog.CatalogTool, line 769, in catalogObjectList
  Module Products.ZSQLCatalog.ZSQLCatalog, line 835, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1370, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1490, in _catalogObjectList
ValueError: uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2006> is 1200L and is already assigned to /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/portal_types/Contribution Predicate in catalog !!! This can be fatal.



ERROR: test_UneededDestinationAssetPrice (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 811, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5/tests/testAccounting.py", line 284, in afterSetUp
    super(TestTransactionValidation, self).afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5/tests/testAccounting.py", line 196, in afterSetUp
    self.tic()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 173, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2006', 'recursiveImmediateReindexObject', -2, 1), ('/erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2007', 'recursiveImmediateReindexObject', -2, 1)]
Last error message:
ValueError
uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2006> is 1200L and is already assigned to /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/portal_types/Contribution Predicate in catalog !!! This can be fatal.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 1248, in invokeGroup
  Module Products.ERP5Catalog.CatalogTool, line 769, in catalogObjectList
  Module Products.ZSQLCatalog.ZSQLCatalog, line 835, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1370, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1490, in _catalogObjectList
ValueError: uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2006> is 1200L and is already assigned to /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/portal_types/Contribution Predicate in catalog !!! This can be fatal.



ERROR: test_UneededSourceAssetPrice (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 811, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5/tests/testAccounting.py", line 284, in afterSetUp
    super(TestTransactionValidation, self).afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5/tests/testAccounting.py", line 196, in afterSetUp
    self.tic()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 173, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2006', 'recursiveImmediateReindexObject', -2, 1), ('/erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2007', 'recursiveImmediateReindexObject', -2, 1)]
Last error message:
ValueError
uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2006> is 1200L and is already assigned to /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/portal_types/Contribution Predicate in catalog !!! This can be fatal.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 1248, in invokeGroup
  Module Products.ERP5Catalog.CatalogTool, line 769, in catalogObjectList
  Module Products.ZSQLCatalog.ZSQLCatalog, line 835, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1370, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1490, in _catalogObjectList
ValueError: uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2006> is 1200L and is already assigned to /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/portal_types/Contribution Predicate in catalog !!! This can be fatal.



ERROR: test_UnusedSectionTransactionValidationDate (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 811, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5/tests/testAccounting.py", line 284, in afterSetUp
    super(TestTransactionValidation, self).afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5/tests/testAccounting.py", line 196, in afterSetUp
    self.tic()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 173, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2006', 'recursiveImmediateReindexObject', -2, 1), ('/erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2007', 'recursiveImmediateReindexObject', -2, 1)]
Last error message:
ValueError
uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2006> is 1200L and is already assigned to /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/portal_types/Contribution Predicate in catalog !!! This can be fatal.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 1248, in invokeGroup
  Module Products.ERP5Catalog.CatalogTool, line 769, in catalogObjectList
  Module Products.ZSQLCatalog.ZSQLCatalog, line 835, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1370, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1490, in _catalogObjectList
ValueError: uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2006> is 1200L and is already assigned to /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/portal_types/Contribution Predicate in catalog !!! This can be fatal.



ERROR: test_export_transaction (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 140, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 811, in setUp
    PortalTestCase.setUp(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5/tests/testAccounting.py", line 196, in afterSetUp
    self.tic()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 173, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2006', 'recursiveImmediateReindexObject', -2, 1), ('/erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2007', 'recursiveImmediateReindexObject', -2, 1)]
Last error message:
ValueError
uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2006> is 1200L and is already assigned to /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/portal_types/Contribution Predicate in catalog !!! This can be fatal.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 1248, in invokeGroup
  Module Products.ERP5Catalog.CatalogTool, line 769, in catalogObjectList
  Module Products.ZSQLCatalog.ZSQLCatalog, line 835, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1370, in catalogObjectList
  Module Products.ZSQLCatalog.SQLCatalog, line 1490, in _catalogObjectList
ValueError: uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/organisation_module/main_organisation/accounting_period_2006> is 1200L and is already assigned to /erp5_portal_edd1bbc81bf29b909b9f27aeed65c737/portal_types/Contribution Predicate in catalog !!! This can be fatal.


Loading Zope ... 
Cleaning static files ... 
Instance at '/home/buildbot/slave/full.ERP5/build/unit_test.3' loaded ... 
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/Products/ERP5Type/tests/runUnitTest.py", line 740, in ?
    sys.exit(main())
  File "/home/buildbot/slave/full.ERP5/build/Products/ERP5Type/tests/runUnitTest.py", line 723, in main
    run_only=run_only,
  File "/home/buildbot/slave/full.ERP5/build/Products/ERP5Type/tests/runUnitTest.py", line 514, in runUnitTestList
    suite = loader.loadTestsFromNames(test_list)
  File "/usr/lib64/python2.4/unittest.py", line 556, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/home/buildbot/slave/full.ERP5/build/Products/ERP5Type/tests/runUnitTest.py", line 288, in loadTestsFromName
    return super(ERP5TypeTestLoader, self).loadTestsFromName(name, module)
  File "/usr/lib64/python2.4/unittest.py", line 535, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/home/buildbot/slave/full.ERP5/build/Products/ERP5Type/tests/runUnitTest.py", line 294, in loadTestsFromModule
    return self.suiteClass(module.test_suite())
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5/tests/testBPMEvaluation.py", line 894, in test_suite
    suite.addTest(unittest.makeSuite(decorate(test_case)))
  File "/usr/lib64/python2.4/unittest.py", line 593, in makeSuite
    return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromTestCase(testCaseClass)
  File "/usr/lib64/python2.4/unittest.py", line 493, in loadTestsFromTestCase
    if issubclass(testCaseClass, TestSuite):
TypeError: issubclass() arg 1 must be a class

ERROR: test_updateBusinessTemplateFromUrl_keep_list (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5/tests/testBusinessTemplate.py", line 5739, in test_updateBusinessTemplateFromUrl_keep_list
    keep_original_list=keep_original_list)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/Tool/TemplateTool.py", line 1235, in updateBusinessTemplateFromUrl
    update_catalog=update_catalog)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/Document/BusinessTemplate.py", line 4798, in install
    return self._install(**kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/Document/BusinessTemplate.py", line 4730, in _install
    trashbin=trashbin, installed_bt=installed_bt)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/Document/BusinessTemplate.py", line 1564, in install
    folder = p.unrestrictedTraverse(relative_url)
  File "/usr/lib/erp5/lib/python/OFS/Traversable.py", line 233, in unrestrictedTraverse
    next=obj[name]
  File "/usr/lib/erp5/lib/python/OFS/ObjectManager.py", line 715, in __getitem__
    raise KeyError, key
KeyError: 'test_file'


ERROR: test_ImageSizePreference (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5OOo/tests/testDms.py", line 2399, in test_ImageSizePreference
    super(TestDocument, self).login('yusei')
TypeError: super(type, obj): obj must be an instance or subtype of type


ERROR: test_02 (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase), Check Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/bt5/erp5_km/TestTemplateItem/testKMGadget.py", line 139, in test_02
    portal.ERP5Site_createDefaultKnowledgePadListForUser()
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1298, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 71, in ERP5Site_createDefaultKnowledgePadListForUser
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/JSON.py", line 39, in dumps
    raise RuntimeError('You must install simplejson to use Products.ERP5Type.JSON.dumps.')
RuntimeError: You must install simplejson to use Products.ERP5Type.JSON.dumps.


ERROR: test_03DefaultKnowledgePadFromPreference (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase), Check Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/bt5/erp5_km/TestTemplateItem/testKMGadget.py", line 353, in test_03DefaultKnowledgePadFromPreference
    portal.ERP5Site_createDefaultKnowledgePadListForUser(mode='erp5_front')
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1298, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 71, in ERP5Site_createDefaultKnowledgePadListForUser
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/JSON.py", line 39, in dumps
    raise RuntimeError('You must install simplejson to use Products.ERP5Type.JSON.dumps.')
RuntimeError: You must install simplejson to use Products.ERP5Type.JSON.dumps.


FAIL: test_Item_getCurrentSiteTitle (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5/tests/testItem.py", line 1111, in test_Item_getCurrentSiteTitle
    self.item.Item_getCurrentSiteTitle(at_date=DateTime() - 2))
AssertionError: None != 'Node'


FAIL: test_Item_getCurrentSiteValue (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5/tests/testItem.py", line 1102, in test_Item_getCurrentSiteValue
    self.assertEquals(None, self.item.Item_getCurrentSiteValue(
AssertionError: None != <Organisation at /erp5_portal_17eea1d41baa0283f12648309ececf63/organisation_module/13>


FAIL: test_tradeModelLineWithRounding (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 1099, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_tradeModelLineWithRounding (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 1080, in test_tradeModelLineWithRounding
    amount, = order.getAggregatedAmountList(rounding=True)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/mixin/amount_generator.py", line 354, in getAggregatedAmountList
    generate_empty_amounts=generate_empty_amounts)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/mixin/amount_generator.py", line 335, in getGeneratedAmountList
    accumulateAmountList(self)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/mixin/amount_generator.py", line 207, in accumulateAmountList
    accumulateAmountList(amount_generator_line)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/mixin/amount_generator.py", line 319, in accumulateAmountList
    amount = getRoundingProxy(amount, context=self)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/Tool/RoundingTool.py", line 111, in getRoundingProxy
    target_object = rounding_model.getRoundingProxy(target_object)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/Document/RoundingModel.py", line 104, in getRoundingProxy
    document._applyRoundingModel(self)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5/Document/RoundingModel.py", line 128, in _applyRoundingModel
    assert property_id not in self._rounding_model_dict
AssertionError


ERROR: test_04_PersistentCacheConversionWithFlare (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 168, in run
    self.tearDown()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1085, in tearDown
    PortalTestCase.tearDown(self)
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5OOo/tests/testDms.py", line 160, in beforeTearDown
    assert not activity_status
AssertionError


FAIL: test_04_PersistentCacheConversionWithFlare (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5OOo/tests/testOOoConversionCache.py", line 210, in test_04_PersistentCacheConversionWithFlare
    'Cache Storage failed for %s' % (format))
AssertionError: Cache Storage failed for txt


FAIL: test_sourceSectionIsSetOnMovements (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testPayroll.py", line 2246, in test_sourceSectionIsSetOnMovements
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 115, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateUrssafService
      CreateLabourService
      CreateEmployer
      CreateEmployee
      CreatePriceCurrency
      CreateBasicModel
      Tic
      ModelCreateUrssafModelLine
      UrssafModelLineCreateMovements
      CreateBasicPaysheet
      PaysheetCreateLabourPaySheetLine
      Tic
      CreateBusinessProcess
      CreateBusinessLink
      CreateUrssafRoubaixOrganisation
      ModifyBusinessLinkTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      PaysheetApplyTransformation
      Tic
    > CheckSourceSectionOnMovements
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testPayroll.py", line 1060, in stepCheckSourceSectionOnMovements
    self.assertEquals(paysheet_line.getSourceSectionValue(), urssaf_roubaix)
AssertionError: <Person at /erp5_portal_7b7a3575330a52ab2ff14077272db47e/person_module/22> != <Organisation at /erp5_portal_7b7a3575330a52ab2ff14077272db47e/organisation_module/43>


FAIL: test_updatePaysheetAfterModelModification (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase), generate a paysheet using a model, modify the model by adding a new
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testPayroll.py", line 3432, in test_updatePaysheetAfterModelModification
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 195, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 115, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateUrssafService
      CreateLabourService
      CreateEmployer
      CreateEmployee
      CreatePriceCurrency
      CreateModelWithSlices
      Tic
      ModelCreateUrssafModelLine
      UrssafModelLineCreateMovements
      CreateBasicPaysheet
      PaysheetCreateLabourPaySheetLine
      Tic
      CreateBusinessProcess
      CreateBusinessLink
      CreateUrssafRoubaixOrganisation
      ModifyBusinessLinkTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      CheckUpdateAggregatedAmountListReturn
      PaysheetApplyTransformation
      Tic
      CheckPaysheetLineAreCreated
      CheckPaysheetLineAmounts
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmounts
      ModelCreateUrssafModelLineWithSlices
      Tic
      UrssafModelLineWithSlicesCreateMovements
      Tic
      PaysheetApplyTransformation
      Tic
    > CheckPaysheetLineAreCreatedAfterUpdateWithLinesWithSameResource
      CheckPaysheetLineAmountsAfterUpdateWithLinesWithSameResource
      CheckUpdateAggregatedAmountListReturnNothing
      CheckPaysheetLineAmountsAfterUpdateWithLinesWithSameResource
  File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 98, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testPayroll.py", line 744, in stepCheckPaysheetLineAreCreatedAfterUpdateWithLinesWithSameResource
    self.assertEqual(len(paysheet_line_list), 9)
AssertionError: 7 != 9


FAIL: test_tradeModelLineWithRounding (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 1099, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_tradeModelLineWithRounding (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 1099, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_01_check_URLTransformations (Products.ERP5Type.tests.ERP5TypeTestCase.TempTestCase), Check crawlable functionalities regarding URL handling
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5/build/unit_test.3/Products/ERP5/tests/testWebCrawler.py", line 218, in test_01_check_URLTransformations
    ["http://www.example.com/I%20don't%20care%20I%20put%20what/%20I%20want/",
AssertionError: ["http://www.example.com/I don't care I put what/ I want/", 'http://www.example.com/section', 'http://www.example.com/section2', 'http://www.example.com/?title=\xc3\xa9crit'] != ["http://www.example.com/I%20don't%20care%20I%20put%20what/%20I%20want/", 'http://www.example.com/section', 'http://www.example.com/section2', 'http://www.example.com/?title=\xc3\xa9crit']


More information about the Erp5-report mailing list