[Erp5-report] ERP5 r20241: 1320 Tests, 10 Errors, 5 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 1 07:27:12 CEST 2008


Test Suite: ERP5
Revision: 20241
Result: FAIL

All tests: 1320
Failures: 5
Errors: 10


The following tests failed:

  testDomainTool                                     (2 failures)
   test_01_SearchPredidateListWithNoTest (testDomainTool.TestDomainTool)
   test_02_SearchPredidateListWithTest (testDomainTool.TestDomainTool)

  testInvoiceVAT                                     (4 errors)
   Test VAT for an invoice that cames from a packing list with two
   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

  testDms                                            (1 failures, 1 errors)
   test_08_EmbeddedDocumentState (testDms.TestDocument)
   test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)

  testGUIwithSecurity                                (1 errors)
   test_01_relationFieldToInaccessibleObject (testGUIwithSecurity.TestGUISecurity)

  testScribusUtils                                   (2 errors)
   Create a module with the option_html. That mean, a background will be
   Update a module created with a scribus file and pdf file.

  testERP5Catalog                                    (1 failures)
   test_complex_query (testERP5Catalog.TestERP5Catalog)

  testERP5LdapCatalog                                (2 errors)
   test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog)
   test_02_person_ldap_cataloging (testERP5LdapCatalog.TestERP5LdapCatalog)

  testCMFCategory                                    (1 failures)
   Test if acquired_portal_type works correctly.
-------------- next part --------------

FAIL: test_01_SearchPredidateListWithNoTest (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testDomainTool.py", line 291, in test_01_SearchPredidateListWithNoTest
    self.checkPredicate(test=0)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testDomainTool.py", line 155, in checkPredicate
    self.assertEquals(len(predicate_list),1) # Actually, a predicate where
AssertionError: 9 != 1



FAIL: test_02_SearchPredidateListWithTest (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testDomainTool.py", line 298, in test_02_SearchPredidateListWithTest
    self.checkPredicate(test=1)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testDomainTool.py", line 155, in checkPredicate
    self.assertEquals(len(predicate_list),1) # Actually, a predicate where
AssertionError: 2 != 1



ERROR: Test VAT for an invoice that cames from a packing list with two
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 463, in test_InvoiceTwoLinesWithSameResource
    self._stopPackingList(packing_list)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 243, in _stopPackingList
    self.tic()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 517, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_bdbe8b4dc76e95029b7948430f4145c1/sale_packing_list_module/1', 'updateCausalityState', -1, 1), ('/erp5_portal_bdbe8b4dc76e95029b7948430f4145c1/portal_deliveries/sale_invoice_builder', 'build', -1, 1), ('/erp5_portal_bdbe8b4dc76e95029b7948430f4145c1/sale_packing_list_module/1', 'expand', -2, 6), ('/erp5_portal_bdbe8b4dc76e95029b7948430f4145c1/sale_packing_list_module/1', 'expand', -2, 6)] 
Last error message:
AttributeError
getDestinationPaymentValue
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 214, in __call__
  Module Products.ERP5.Document.Delivery, line 754, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5.Document.Delivery, line 762, in _expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.DeliveryRule, line 169, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 259, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoicingRule, line 144, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 259, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoiceTransactionRule, line 183, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 259, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.PaymentRule, line 139, in expand
AttributeError: getDestinationPaymentValue





ERROR: Test VAT for an invoice that cames from a packing list with two
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 495, in test_InvoiceTwoLinesWithSameResourceDifferentDate
    self._stopPackingList(packing_list)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 243, in _stopPackingList
    self.tic()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 517, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_bdbe8b4dc76e95029b7948430f4145c1/sale_packing_list_module/2', 'updateCausalityState', -1, 1), ('/erp5_portal_bdbe8b4dc76e95029b7948430f4145c1/portal_deliveries/sale_invoice_builder', 'build', -1, 1), ('/erp5_portal_bdbe8b4dc76e95029b7948430f4145c1/sale_packing_list_module/2', 'expand', -2, 6), ('/erp5_portal_bdbe8b4dc76e95029b7948430f4145c1/sale_packing_list_module/2', 'expand', -2, 6)] 
Last error message:
AttributeError
getDestinationPaymentValue
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 214, in __call__
  Module Products.ERP5.Document.Delivery, line 754, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5.Document.Delivery, line 762, in _expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.DeliveryRule, line 169, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 259, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoicingRule, line 144, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 259, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoiceTransactionRule, line 183, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 259, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.PaymentRule, line 139, in expand
AttributeError: getDestinationPaymentValue





ERROR: Test VAT for a simple invoice created directly.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 375, in test_SimpleInvoice
    self.tic()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 517, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_bdbe8b4dc76e95029b7948430f4145c1/accounting_module/1', 'expand', -2, 6)] 
Last error message:
AttributeError
getDestinationPaymentValue
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 214, in __call__
  Module Products.ERP5.Document.Delivery, line 754, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5.Document.Delivery, line 762, in _expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoiceRule, line 82, in expand
  Module Products.ERP5.Document.DeliveryRule, line 169, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 259, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoiceTransactionRule, line 183, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 259, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.PaymentRule, line 139, in expand
AttributeError: getDestinationPaymentValue





ERROR: Test VAT for a simple invoice created directly; empty lines should not
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 400, in test_SimpleInvoiceEmptyLines
    self.tic()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 517, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_bdbe8b4dc76e95029b7948430f4145c1/accounting_module/2', 'expand', -2, 6)] 
Last error message:
AttributeError
getDestinationPaymentValue
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 214, in __call__
  Module Products.ERP5.Document.Delivery, line 754, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5.Document.Delivery, line 762, in _expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoiceRule, line 82, in expand
  Module Products.ERP5.Document.DeliveryRule, line 169, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 259, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoiceTransactionRule, line 183, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 259, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 82, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.PaymentRule, line 139, in expand
AttributeError: getDestinationPaymentValue





ERROR: test_08_EmbeddedDocumentState (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 650, in test_08_EmbeddedDocumentState
    document.convert(format='html')
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 401, in convert
    mime, data = self._convert(format)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 330, in _convert
    return response_dict['mime'], Pdata(dec(response_dict['data']))
KeyError: 'mime'



FAIL: test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 729, in test_ShowPreviewAfterSubmitted
    self.assert_('I use reference to look up TEST' in preview_html)
AssertionError



ERROR: test_01_relationFieldToInaccessibleObject (testGUIwithSecurity.TestGUISecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/tests/testGUIwithSecurity.py", line 158, in test_01_relationFieldToInaccessibleObject
    sequence_list.play(self, quiet=quiet)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/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 "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/tests/testGUIwithSecurity.py", line 99, in stepAccessFoo
    self.getPortal().foo_module.foo.Foo_view()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/Form.py", line 526, in __call__
    def __call__(self, *args, **kwargs):
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/Form.py", line 564, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 190, in __call__
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 650, in do_defineMacro
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 671, in do_useMacro
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 671, in do_useMacro
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 671, in do_useMacro
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 702, in do_defineSlot
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 694, in do_defineSlot
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 694, in do_defineSlot
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 694, in do_defineSlot
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 671, in do_useMacro
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 613, in do_loop_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 637, in do_condition
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 613, in do_loop_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 671, in do_useMacro
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 637, in do_condition
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 409, in do_optTag_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 394, in do_optTag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 389, in no_tag
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 234, in interpret
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/TAL/TALInterpreter.py", line 460, in do_setLocal_tal
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/TALES.py", line 221, in evaluate
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
  File "Python expression "field.render_htmlgrid(value, request)"", line 1, in <expression>
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/FormulatorPatch.py", line 1413, in Field_render_htmlgrid
    value = self._get_default(widget_key, value, REQUEST)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/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 "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/RelationField.py", line 179, in get_value
    result = ZMIField.get_value(self, id, REQUEST=REQUEST, **kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/Form.py", line 261, in get_value
    def get_value(self, id, **kw):
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/Form.py", line 293, in get_value
    return value(field, id, **kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/Form.py", line 202, in __call__
    value = ob.getProperty(self.key)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Base.py", line 1338, in getProperty
    return method(**kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Accessor/Value.py", line 202, in __call__
    def __call__(self, instance, *args, **kw):
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Accessor/Value.py", line 203, in __call__
    o = instance._getDefaultAcquiredValue(self._key, **kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/Base.py", line 1998, in _getDefaultAcquiredValue
    return self._getCategoryTool().resolveCategory(path)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/CMFCategory/CategoryTool.py", line 1550, in resolveCategory
    def resolveCategory(self, relative_url):
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/CMFCategory/CategoryTool.py", line 1651, in resolveCategory
    obj = restrictedGetOb(container, key)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/CMFCategory/CategoryTool.py", line 1631, in restrictedGetOb
    if not validate(container, container, key, obj):
Unauthorized: You are not allowed to access 'a' in this context



ERROR: Create a module with the option_html. That mean, a background will be
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/tests/testScribusUtils.py", line 111, in test_02_ModuleCreationWithBackground
    import_scribus_file=self.makeFileUpload('test_background.sla'),)
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/Products/ExternalMethod/ExternalMethod.py", line 225, in __call__
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/Extensions/ERP5Site_createModuleScribus.py", line 244, in ERP5Site_createModuleScribus
    import_pdf_file)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/ScribusUtils.py", line 745, in getPageattributes
    real_size_x[i]= \
IndexError: list index out of range



ERROR: Update a module created with a scribus file and pdf file.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/tests/testScribusUtils.py", line 199, in test_04_SimpleModuleUpdate
    import_scribus_file=self.makeFileUpload('test_2.sla'),
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/tests/testScribusUtils.py", line 61, in makeFileUpload
    'data', filename), 'rb')
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/utils.py", line 44, in __init__
    file.__init__(self, path)
IOError: [Errno 2] No such file or directory: '/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/tests/data/test_2.sla'



FAIL: test_complex_query (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2175, in test_complex_query
    self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3



ERROR: test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/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/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
    self.setUp()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
    erp5_catalog_storage=erp5_catalog_storage)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/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



FAIL: Test if acquired_portal_type works correctly.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 791, in test_21_AcquiredPortalType
    self.assertEquals(packing_list.getDestinationAdministrationPersonTitle(), 'toto')
AssertionError: None != 'toto'



More information about the Erp5-report mailing list