[Erp5-report] ERP5_z28 r24083: 2257 Tests, 20 Errors, 11 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Oct 8 21:52:32 CEST 2008


Test Suite: ERP5_z28
Revision: 24083
Result: FAIL

All tests: 2257
Failures: 11
Errors: 20


The following tests failed:

  testXHTML                                          (1 failures)
   test.erp5_immobilisation.Immobilisation.Base_viewHistory (testXHTML.TestXHTML)

  testERP5Web                                        (1 errors)
   Make sure that getDocumentValueList works.

  testDocumentationHelper                            (2 failures)
   test_02_BusinessTemplate (testDocumentationHelper.TestDocumentationHelper)
   test_03_PortalType (testDocumentationHelper.TestDocumentationHelper)

  testERP5Type                                       (1 failures)
   test_18_SimpleContentAccessorWithGeneratedAccessor (testERP5Type.TestERP5Type)

  testIngestion                                      (4 errors)
   test_09_Contribute (testIngestion.TestIngestion)
   test_10_MetadataSettingPreferenceOrder (testIngestion.TestIngestion)
   test_11_EmailIngestion (testIngestion.TestIngestion)
   test_12_UploadTextFromContributionTool (testIngestion.TestIngestion)

  testDms                                            (1 failures)
   test_07_testImplicitRelations (testDms.TestDocument)

  testERP5Catalog                                    (1 failures, 4 errors)
   test_48_ERP5Site_hotReindexAll (testERP5Catalog.TestERP5Catalog)
   test_SearchedStringIsNotStripped (testERP5Catalog.TestERP5Catalog)
   test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog)
   test_complex_query (testERP5Catalog.TestERP5Catalog)
   test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog)

  testCMFCategory                                    (2 failures)
   Checks on sorting child categories
   test_getSingleCategoryAcquiredMembershipListOnParent (testCMFCategory.TestCMFCategory)

  testGadgets                                        (14 errors)
   Check that it's properly initialized
   Check Gadgets
   Check Gadgets
   Check different Web / KM Gadgets
   Check My Task Gadgets
   Check My Document Gadgets
   Check My Contacts Gadgets
   Check Web Section Gadgets
   Check Subsection Gadgets
   Check Latest Content Gadgets
   Check Assigned Members Gadgets
   Check  Web Section Content Gadgets
   Check  Relation Gadgets
   Check admin toolbox gadget
-------------- next part --------------

FAIL: test.erp5_immobilisation.Immobilisation.Base_viewHistory (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testXHTML.py", line 282, in testMethod
    bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "Base_viewHistory" (from erp5_immobilisation bt) with warning NOT displayed :
Error: line 722 column 39 : ID "fieldset_bottom" already defined
Error: line 1018 column 39 : ID "fieldset_bottom" already defined



ERROR: Make sure that getDocumentValueList works.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testERP5Web.py", line 890, in test_15_getDocumentValueList
    sort_on=[('translated_portal_type', 'ascending')])
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/Document/WebSection.py", line 257, in getDocumentValueList
    fallback_script_id='WebSection_getDocumentValueList')(**kw)
  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_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 986, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 3, in WebSection_getDocumentValueList
  File "/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py", line 341, in guarded_apply
    return builtin_guarded_apply(func, args, kws)
  File "/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py", line 363, in builtin_guarded_apply
    return func(*arglist, **argdict)
  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_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 986, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 68, in WebSection_getDocumentValueListBase
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/patches/DA.py", line 220, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ZMySQLDA/db.py", line 421, in query
    c = self._query(qs)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ZMySQLDA/db.py", line 396, in _query
    raise OperationalError(m[0], '%s: %s' % (m[1], query))
OperationalError: (1054, 'Unknown column \'related_translation_0.translated_message\' in \'order clause\': SELECT\n  catalog.path AS path, catalog.uid AS uid, catalog.modification_date,\n  catalog.reference, catalog.int_index,  catalog.creation_date , catalog.title, \n  catalog.priority\nFROM\n  (\n    SELECT\n      catalog.uid, catalog.path, catalog.int_index, catalog.modification_date,\n      catalog.reference, my_versioning.language, my_versioning.version,\n      catalog.creation_date, catalog.title\n      , MAX(CONCAT(CASE my_versioning.language\n                                       WHEN  \'en\' THEN \'3\'\n                                       WHEN \'en\' THEN \'2\'\n                                       ELSE \'1\' END,\n                            my_versioning.version)) AS priority\n    FROM\n                catalog AS catalog,\n                translation AS related_translation_0,\n            versioning AS my_versioning\n    WHERE\n      my_versioning.uid = catalog.uid\n                AND (((catalog.security_uid IN (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)) OR (((((((catalog.viewable_owner = \'zope\'))))))))) AND (((((catalog.portal_type = \'Document\'))))) AND ((((((catalog.validation_state = \'released\')))) OR ((((catalog.validation_state = \'released_alive\')))) OR ((((catalog.validation_state = \'published\')))) OR ((((catalog.validation_state = \'published_alive\')))) OR ((((catalog.validation_state = \'shared\')))) OR ((((catalog.validation_state = \'shared_alive\')))) OR ((((catalog.validation_state = \'public\')))) OR ((((catalog.validation_state = \'validated\')))))) AND (related_translation_0.original_message = catalog.portal_type\n AND related_translation_0.message_context = "portal_type"\n AND related_translation_0.language = \'en\')\n            AND my_versioning.language = \'en\' \n    GROUP BY\n      catalog.uid\n    ORDER BY\n      priority DESC\n  ) AS catalog, versioning AS my_versioning\n     WHERE\n          catalog.uid = my_versioning.uid\n     GROUP BY\n       catalog.reference\n     HAVING \n         MAX(CONCAT(CASE my_versioning.language\n                                       WHEN  \'en\' THEN \'3\'\n                                       WHEN \'en\' THEN \'2\'\n                                       ELSE \'1\' END,\n                            my_versioning.version)) = catalog.priority\n  ORDER BY\n   related_translation_0.translated_message\n\n  LIMIT 1000')



FAIL: test_02_BusinessTemplate (testDocumentationHelper.TestDocumentationHelper)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/Products/ERP5Type/tests/testDocumentationHelper.py", line 84, in test_02_BusinessTemplate
    self.assertEquals(len(bt_do.getSectionList()), 7)
AssertionError: 5 != 7



FAIL: test_03_PortalType (testDocumentationHelper.TestDocumentationHelper)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/Products/ERP5Type/tests/testDocumentationHelper.py", line 100, in test_03_PortalType
    self.assertEquals(len(portal_type_do.getSectionList()), 8)
AssertionError: 6 != 8



FAIL: test_18_SimpleContentAccessorWithGeneratedAccessor (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/Products/ERP5Type/tests/testERP5Type.py", line 1147, in test_18_SimpleContentAccessorWithGeneratedAccessor
    self.assertEquals(1, len([m for m in
AssertionError: 1 != 0



ERROR: test_09_Contribute (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 1261, in test_09_Contribute
    self.playSequence(step_list, quiet)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 973, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CleanUp
    > ContributeFileListWithNoType
      CleanUp
      ContributeFileListWithType
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 866, in stepContributeFileListWithNoType
    self.contributeFileList(with_portal_type=False)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 375, in contributeFileList
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 531, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_9123d6aaa7e1ac41fe394227d787a676/portal_workflow/local_permission_interaction_workflow', 'activeScript', -2, 6), ('/erp5_portal_9123d6aaa7e1ac41fe394227d787a676/portal_workflow/local_permission_interaction_workflow', 'activeScript', -2, 6), ('/erp5_portal_9123d6aaa7e1ac41fe394227d787a676/portal_workflow/local_permission_interaction_workflow', 'activeScript', -2, 6)] 
Last error message:
KeyError
'TEST-en-007.py'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 258, in __call__
  Module Products.ERP5.InteractionWorkflow, line 312, in activeScript
  Module OFS.Traversable, line 221, in unrestrictedTraverse
   - __traceback_info__: ([], 'TEST-en-007.py')
  Module OFS.ObjectManager, line 715, in __getitem__
KeyError: 'TEST-en-007.py'





ERROR: test_10_MetadataSettingPreferenceOrder (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 367, 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_z28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 108, in afterSetUp
    self.createDefaultCategoryList()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 226, in createDefaultCategoryList
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 531, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_9123d6aaa7e1ac41fe394227d787a676/portal_workflow/local_permission_interaction_workflow', 'activeScript', -2, 6), ('/erp5_portal_9123d6aaa7e1ac41fe394227d787a676/portal_workflow/local_permission_interaction_workflow', 'activeScript', -2, 6), ('/erp5_portal_9123d6aaa7e1ac41fe394227d787a676/portal_workflow/local_permission_interaction_workflow', 'activeScript', -2, 6)] 
Last error message:
KeyError
'TEST-en-007.py'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 258, in __call__
  Module Products.ERP5.InteractionWorkflow, line 312, in activeScript
  Module OFS.Traversable, line 221, in unrestrictedTraverse
   - __traceback_info__: ([], 'TEST-en-007.py')
  Module OFS.ObjectManager, line 715, in __getitem__
KeyError: 'TEST-en-007.py'





ERROR: test_11_EmailIngestion (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 367, 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_z28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 108, in afterSetUp
    self.createDefaultCategoryList()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 226, in createDefaultCategoryList
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 531, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_9123d6aaa7e1ac41fe394227d787a676/portal_workflow/local_permission_interaction_workflow', 'activeScript', -2, 6), ('/erp5_portal_9123d6aaa7e1ac41fe394227d787a676/portal_workflow/local_permission_interaction_workflow', 'activeScript', -2, 6), ('/erp5_portal_9123d6aaa7e1ac41fe394227d787a676/portal_workflow/local_permission_interaction_workflow', 'activeScript', -2, 6)] 
Last error message:
KeyError
'TEST-en-007.py'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 258, in __call__
  Module Products.ERP5.InteractionWorkflow, line 312, in activeScript
  Module OFS.Traversable, line 221, in unrestrictedTraverse
   - __traceback_info__: ([], 'TEST-en-007.py')
  Module OFS.ObjectManager, line 715, in __getitem__
KeyError: 'TEST-en-007.py'





ERROR: test_12_UploadTextFromContributionTool (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 367, 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_z28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 108, in afterSetUp
    self.createDefaultCategoryList()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 226, in createDefaultCategoryList
    self.tic()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 531, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_9123d6aaa7e1ac41fe394227d787a676/portal_workflow/local_permission_interaction_workflow', 'activeScript', -2, 6), ('/erp5_portal_9123d6aaa7e1ac41fe394227d787a676/portal_workflow/local_permission_interaction_workflow', 'activeScript', -2, 6), ('/erp5_portal_9123d6aaa7e1ac41fe394227d787a676/portal_workflow/local_permission_interaction_workflow', 'activeScript', -2, 6)] 
Last error message:
KeyError
'TEST-en-007.py'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 258, in __call__
  Module Products.ERP5.InteractionWorkflow, line 312, in activeScript
  Module OFS.Traversable, line 221, in unrestrictedTraverse
   - __traceback_info__: ([], 'TEST-en-007.py')
  Module OFS.ObjectManager, line 715, in __getitem__
KeyError: 'TEST-en-007.py'





FAIL: test_07_testImplicitRelations (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 497, in test_07_testImplicitRelations
    sqlresult_to_document_list(document1.getImplicitPredecessorValueList()))
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 548, in failIfDifferentSet
    self.failUnless(i in a, msg)
AssertionError: [<OOoDocument at /erp5_portal_dc786bf6c20f8a0600f203dfb52d83ce/document_module/35>, <OOoDocument at /erp5_portal_dc786bf6c20f8a0600f203dfb52d83ce/document_module/36>, <OOoDocument at /erp5_portal_dc786bf6c20f8a0600f203dfb52d83ce/document_module/37>, <OOoDocument at /erp5_portal_dc786bf6c20f8a0600f203dfb52d83ce/document_module/38>] != [<OOoDocument at /erp5_portal_dc786bf6c20f8a0600f203dfb52d83ce/document_module/35>, <OOoDocument at /erp5_portal_dc786bf6c20f8a0600f203dfb52d83ce/document_module/34>, <OOoDocument at /erp5_portal_dc786bf6c20f8a0600f203dfb52d83ce/document_module/36>, <OOoDocument at /erp5_portal_dc786bf6c20f8a0600f203dfb52d83ce/document_module/37>, <OOoDocument at /erp5_portal_dc786bf6c20f8a0600f203dfb52d83ce/document_module/38>]



ERROR: test_48_ERP5Site_hotReindexAll (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 111, in __call__
    self.tearDown()
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
    self.beforeTearDown()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 79, in beforeTearDown
    get_transaction().commit()
  File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 373, in commit
    self._callBeforeCommitHooks()
  File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 413, in _callBeforeCommitHooks
    hook(*args, **kws)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/CMFActivity/ActivityBuffer.py", line 140, in tpc_prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/CMFActivity/Activity/SQLQueue.py", line 71, in prepareQueueMessageList
    store=0)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/Tool/IdTool.py", line 209, in generateNewLengthIdList
    result = query(id_group=id_group, id_count=id_count, default=default)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/patches/DA.py", line 220, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ZMySQLDA/db.py", line 421, in query
    c = self._query(qs)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ZMySQLDA/db.py", line 398, in _query
    raise ConflictError('%s: %s: %s' % (m[0], m[1], query))
ConflictError: 1205: Lock wait timeout exceeded; try restarting transaction: INSERT INTO portal_ids (`id_group`, `last_id`)
 VALUES ('portal_activity_queue', 3)
 ON DUPLICATE KEY UPDATE `last_id` = `last_id` + 2



FAIL: test_SearchedStringIsNotStripped (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2715, in test_SearchedStringIsNotStripped
    compareSet(' foo', [second_doc])
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2713, in compareSet
    self.assertSameSet(document_list, [x.getObject() for x in result])
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 546, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: [<Organisation at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/86>] != [<Organisation at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/85>]



FAIL: test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 1974, in test_SubDocumentsWithAcquireLocalRoleSecurityIndexing
    self.assertSameSet([obj, ], [x.getObject() for x in result])
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 546, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: [<Url at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/88/1>] != []



FAIL: test_complex_query (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2261, in test_complex_query
    self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3



FAIL: test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2753, in test_sortOnRelatedKeyWithUnsetRelation
    len(person_module.searchFolder(sort_on=[('subordination_title', 'ascending')])))
AssertionError: 2 != 1



FAIL: Checks on sorting child categories
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 581, in test_15_SortChildValues
    self.assertEquals(category_list[0].getId(), '3')
AssertionError: '1' != '3'



FAIL: test_getSingleCategoryAcquiredMembershipListOnParent (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 973, in test_getSingleCategoryAcquiredMembershipListOnParent
    portal_type='Person Module'))
AssertionError: ['person_module'] != [<Folder at /erp5_portal_375fd2e06bb46325945c05a27d83aefb/person_module>]



ERROR: Check that it's properly initialized
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 366, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 684, in setUpERP5Site
    bt = portal.portal_templates.download(url)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/Tool/TemplateTool.py", line 382, in download
    bt = self._download_local(name, id)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/Tool/TemplateTool.py", line 332, in _download_local
    return self._importBT(path, bt_id)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/Tool/TemplateTool.py", line 227, in _importBT
    file = open(path, 'rb')
IOError: [Errno 2] No such file or directory: 'erp5_km.bt5'



ERROR: Check Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 366, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 589, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_1463e82d37168c9fdc5a622127179ddf already failed, giving up



ERROR: Check Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 366, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 589, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_1463e82d37168c9fdc5a622127179ddf already failed, giving up



ERROR: Check different Web / KM Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 366, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 589, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_1463e82d37168c9fdc5a622127179ddf already failed, giving up



ERROR: Check My Task Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 366, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 589, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_1463e82d37168c9fdc5a622127179ddf already failed, giving up



ERROR: Check My Document Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 366, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 589, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_1463e82d37168c9fdc5a622127179ddf already failed, giving up



ERROR: Check My Contacts Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 366, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 589, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_1463e82d37168c9fdc5a622127179ddf already failed, giving up



ERROR: Check Web Section Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 366, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 589, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_1463e82d37168c9fdc5a622127179ddf already failed, giving up



ERROR: Check Subsection Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 366, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 589, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_1463e82d37168c9fdc5a622127179ddf already failed, giving up



ERROR: Check Latest Content Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 366, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 589, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_1463e82d37168c9fdc5a622127179ddf already failed, giving up



ERROR: Check Assigned Members Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 366, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 589, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_1463e82d37168c9fdc5a622127179ddf already failed, giving up



ERROR: Check  Web Section Content Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 366, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 589, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_1463e82d37168c9fdc5a622127179ddf already failed, giving up



ERROR: Check  Relation Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 366, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 589, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_1463e82d37168c9fdc5a622127179ddf already failed, giving up



ERROR: Check admin toolbox gadget
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 366, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 589, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_1463e82d37168c9fdc5a622127179ddf already failed, giving up



More information about the Erp5-report mailing list