[Erp5-report] ERP5_z28 r20100: 1716 Tests, 11 Errors, 7 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Mar 22 08:58:47 CET 2008


Test Suite: ERP5_z28
Revision: 20100
Result: FAIL

All tests: 1716
Failures: 7
Errors: 11


The following tests failed:

  testCRM                                            (1 errors)
   test_PersonModule_CreateRelatedEvent (testCRM.TestCRM)

  testBusinessTemplate                               (1 failures)
   test_111_BusinessTemplateWithContentTypeRegistry (testBusinessTemplate.TestBusinessTemplate)

  testInvoiceVAT                                     (3 errors)
   Test VAT for an invoice that cames from a packing list with two
   Test VAT for a simple invoice created directly.
   Test VAT for a simple invoice created directly; empty lines should not

  testAccountingReports                              (3 failures)
   testAccountStatementFromDateDetailedSummary (testAccountingReports.TestAccountingReports)
   testJournal (testAccountingReports.TestAccountingReports)
   testJournalWithBankAccount (testAccountingReports.TestAccountingReports)

  testXHTML                                          (4 errors)
   test.erp5_budget.Budget Transfer Line.BudgetTransferLine_view (testXHTML.TestXHTML)
   test.erp5_core.Mapped Value.mapped_value_view (testXHTML.TestXHTML)
   test.erp5_trade.Purchase Supply Cell.SupplyCell_view (testXHTML.TestXHTML)
   test.erp5_trade.Sale Supply Cell.SupplyCell_view (testXHTML.TestXHTML)

  testGUIwithSecurity                                (1 errors)
   test_01_relationFieldToInaccessibleObject (testGUIwithSecurity.TestGUISecurity)

  testERP5Catalog                                    (3 failures)
   test_complex_query (testERP5Catalog.TestERP5Catalog)
   test_ignore_empty_string (testERP5Catalog.TestERP5Catalog)
   test_ignore_empty_string_related_key (testERP5Catalog.TestERP5Catalog)

  testERP5LdapCatalog                                (2 errors)
   test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog)
   test_02_person_ldap_cataloging (testERP5LdapCatalog.TestERP5LdapCatalog)
-------------- next part --------------

ERROR: test_PersonModule_CreateRelatedEvent (testCRM.TestCRM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testCRM.py", line 118, in test_PersonModule_CreateRelatedEvent
    raise NotImplementedError
NotImplementedError



FAIL: test_111_BusinessTemplateWithContentTypeRegistry (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 3177, in test_111_BusinessTemplateWithContentTypeRegistry
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      AddEntryToContentTypeRegistry
    > CheckContentTypeRegistryHasNewEntry
      CreateNewBusinessTemplate
      UseExportBusinessTemplate
      CheckModifiedBuildingState
      CheckNotInstalledInstallationState
      AddContentTypeRegistryAsPathToBusinessTemplate
      BuildBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      CheckObjectPropertiesInBusinessTemplate
      SaveBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      RemoveContentTypeRegistryNewEntry
      CheckContentTypeRegistryHasNoNewEntry
      RemoveBusinessTemplate
      RemoveAllTrashBins
      ImportBusinessTemplate
      UseImportBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
      InstallBusinessTemplate
      Tic
      CheckInstalledInstallationState
      CheckBuiltBuildingState
      CheckSkinsLayers
      CheckContentTypeRegistryHasNewEntry
      UninstallBusinessTemplate
      CheckBuiltBuildingState
      CheckNotInstalledInstallationState
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 764, in stepCheckContentTypeRegistryHasNewEntry
    self.failUnless(ctr.findTypeName('bzzz.def', None, None) == 'What Not')
AssertionError



ERROR: Test VAT for an invoice that cames from a packing list with two
----------------------------------------------------------------------
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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 81, in beforeTearDown
    self._safeTic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 64, in _safeTic
    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/buildbot_slave/full.bot_28/build/unit_test/Products/CMFActivity/ActivityBuffer.py", line 140, in tpc_prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/CMFActivity/Activity/SQLQueue.py", line 85, in prepareQueueMessageList
    serialization_tag_list=serialization_tag_list)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/patches/DA.py", line 203, in DA__call__
    try:     query=apply(self.template, (p,), argdata)
  File "/usr/lib/erp5/lib/python/DocumentTemplate/DT_String.py", line 476, in __call__
    try: result = render_blocks(self._v_blocks, md)
  File "/usr/lib/erp5/lib/python/DocumentTemplate/DT_In.py", line 703, in renderwob
    try: append(render(section, md))
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/patches/sqlvar.py", line 69, in SQLVar_render
    raise ValueError, (
ValueError: Invalid datetime value for <em>date_list[loop_item]</em>: None



ERROR: Test VAT for a simple invoice created directly.
----------------------------------------------------------------------
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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 81, in beforeTearDown
    self._safeTic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 64, in _safeTic
    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/buildbot_slave/full.bot_28/build/unit_test/Products/CMFActivity/ActivityBuffer.py", line 140, in tpc_prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/CMFActivity/Activity/SQLQueue.py", line 85, in prepareQueueMessageList
    serialization_tag_list=serialization_tag_list)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/patches/DA.py", line 203, in DA__call__
    try:     query=apply(self.template, (p,), argdata)
  File "/usr/lib/erp5/lib/python/DocumentTemplate/DT_String.py", line 476, in __call__
    try: result = render_blocks(self._v_blocks, md)
  File "/usr/lib/erp5/lib/python/DocumentTemplate/DT_In.py", line 703, in renderwob
    try: append(render(section, md))
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/patches/sqlvar.py", line 69, in SQLVar_render
    raise ValueError, (
ValueError: Invalid datetime value for <em>date_list[loop_item]</em>: None



ERROR: Test VAT for a simple invoice created directly; empty lines should not
----------------------------------------------------------------------
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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 81, in beforeTearDown
    self._safeTic()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 64, in _safeTic
    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/buildbot_slave/full.bot_28/build/unit_test/Products/CMFActivity/ActivityBuffer.py", line 140, in tpc_prepare
    activity.prepareQueueMessageList(activity_tool, message_list)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/CMFActivity/Activity/SQLQueue.py", line 85, in prepareQueueMessageList
    serialization_tag_list=serialization_tag_list)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/patches/DA.py", line 203, in DA__call__
    try:     query=apply(self.template, (p,), argdata)
  File "/usr/lib/erp5/lib/python/DocumentTemplate/DT_String.py", line 476, in __call__
    try: result = render_blocks(self._v_blocks, md)
  File "/usr/lib/erp5/lib/python/DocumentTemplate/DT_In.py", line 703, in renderwob
    try: append(render(section, md))
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/patches/sqlvar.py", line 69, in SQLVar_render
    raise ValueError, (
ValueError: Invalid datetime value for <em>date_list[loop_item]</em>: None



FAIL: testAccountStatementFromDateDetailedSummary (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingReports.py", line 848, in testAccountStatementFromDateDetailedSummary
    self.assertEquals(2, len(data_line_list))
AssertionError: 2 != 4



FAIL: testJournal (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingReports.py", line 216, in testJournal
    credit=0)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingReports.py", line 92, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`title`: expected: 'First One' actual: '1'



FAIL: testJournalWithBankAccount (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingReports.py", line 368, in testJournalWithBankAccount
    credit=0)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingReports.py", line 92, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`title`: expected: 'Good One' actual: '1'



ERROR: test.erp5_budget.Budget Transfer Line.BudgetTransferLine_view (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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testXHTML.py", line 277, in testMethod
    view = getattr(object, view_name)
AttributeError: BudgetTransferLine_view



ERROR: test.erp5_core.Mapped Value.mapped_value_view (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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testXHTML.py", line 277, in testMethod
    view = getattr(object, view_name)
AttributeError: mapped_value_view



ERROR: test.erp5_trade.Purchase Supply Cell.SupplyCell_view (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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testXHTML.py", line 277, in testMethod
    view = getattr(object, view_name)
AttributeError: SupplyCell_view



ERROR: test.erp5_trade.Sale Supply Cell.SupplyCell_view (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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testXHTML.py", line 277, in testMethod
    view = getattr(object, view_name)
AttributeError: SupplyCell_view



ERROR: test_01_relationFieldToInaccessibleObject (testGUIwithSecurity.TestGUISecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/tests/testGUIwithSecurity.py", line 158, in test_01_relationFieldToInaccessibleObject
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateObjects
      CreateTestFoo
      Tic
      AccessFoo
      ChangeCategorySecurity
    > AccessFoo
      ResetCategorySecurity
      AccessFoo
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/tests/testGUIwithSecurity.py", line 99, in stepAccessFoo
    self.getPortal().foo_module.foo.Foo_view()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/Form.py", line 564, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 742, in do_defineSlot
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 653, in do_loop_tal
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 677, in do_condition
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 653, in do_loop_tal
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 677, in do_condition
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 477, in do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "field.render_htmlgrid(value, request)"", line 1, in <expression>
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/FormulatorPatch.py", line 1413, in Field_render_htmlgrid
    value = self._get_default(widget_key, value, REQUEST)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/Form.py", line 312, in _get_default
    return self.get_value('default', REQUEST=REQUEST) # It was missing on Formulator
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/RelationField.py", line 179, in get_value
    result = ZMIField.get_value(self, id, REQUEST=REQUEST, **kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/Form.py", line 293, in get_value
    return value(field, id, **kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/Form.py", line 202, in __call__
    value = ob.getProperty(self.key)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1338, in getProperty
    return method(**kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Accessor/Value.py", line 203, in __call__
    o = instance._getDefaultAcquiredValue(self._key, **kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1998, in _getDefaultAcquiredValue
    return self._getCategoryTool().resolveCategory(path)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/CMFCategory/CategoryTool.py", line 1646, in resolveCategory
    obj = restrictedGetOb(container, key)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/CMFCategory/CategoryTool.py", line 1626, in restrictedGetOb
    if not validate(container, container, key, obj):
Unauthorized: You are not allowed to access 'a' in this context



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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2175, in test_complex_query
    self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3



FAIL: test_ignore_empty_string (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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2095, in test_ignore_empty_string
    searchResults(ignore_empty_string=0, title=''))
AssertionError: set([<Organisation at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/133>]) != set([])



FAIL: test_ignore_empty_string_related_key (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/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2112, in test_ignore_empty_string_related_key
    searchResults(ignore_empty_string=0, region_title=''))
AssertionError: set([<Organisation at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/134>]) != set([])



ERROR: test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 719, in setUpERP5Site
    raise RuntimeError, \
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_a28a575dea15f29ef51928ed670935d0/portal_catalog', 'unindexObject', -2, 6), ('/erp5_portal_a28a575dea15f29ef51928ed670935d0/portal_catalog', 'unindexObject', -2, 6)]



ERROR: test_02_person_ldap_cataloging (testERP5LdapCatalog.TestERP5LdapCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
    self.setUp()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 575, in setUpERP5Site
    raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_a28a575dea15f29ef51928ed670935d0 already failed, giving up



More information about the Erp5-report mailing list