[Erp5-report] ERP5 r24589: 2273 Tests, 8 Errors, 18 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Nov 14 09:50:45 CET 2008


Test Suite: ERP5
Revision: 24589
Result: FAIL

All tests: 2273
Failures: 18
Errors: 8


The following tests failed:

  testERP5Web                                        (1 errors)
   Make sure that getDocumentValueList works.

  testImmobilisation                                 (1 failures)
   test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)

  testPackingListRoundingPrecision                   (3 failures)
   test_05_SimulationChangeQuantity (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_05b_SimulationChangeQuantityForMergedLine (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)

  testPackingList                                    (6 failures)
   test_05_SimulationChangeQuantity (testPackingList.TestPackingList)
   test_05b_SimulationChangeQuantityForMergedLine (testPackingList.TestPackingList)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPackingList)
   test_05_SimulationChangeQuantity (testPackingList.TestPurchasePackingList)
   test_05b_SimulationChangeQuantityForMergedLine (testPackingList.TestPurchasePackingList)
   test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPurchasePackingList)

  testConversionInSimulation                         (6 errors)
   test_01_destination_total_asset_price_on_accounting_lines (testConversionInSimulation.TestConversionInSimulation)
   test_01_destination_total_asset_price_on_accounting_lines (testConversionInSimulation.TestConversionInSimulation)
   test_01_diverged_purchase_packing_list_source_total_asset_price (testConversionInSimulation.TestConversionInSimulation)
   test_01_diverged_sale_packing_list_destination_total_asset_price (testConversionInSimulation.TestConversionInSimulation)
   test_01_simulation_movement_destination_asset_price (testConversionInSimulation.TestConversionInSimulation)
   test_01_simulation_movement_source_asset_price (testConversionInSimulation.TestConversionInSimulation)

  testProductionPackingListApparel                   (1 failures)
   test_01_sourcingDelivery (testProductionPackingListApparel.TestProductionDeliveryApparel)

  testProductionPackingList                          (1 failures)
   test_01_sourcingDelivery (testProductionPackingList.TestProductionDelivery)

  testERP5Catalog                                    (5 failures)
   test_SearchedStringIsNotStripped (testERP5Catalog.TestERP5Catalog)
   test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog)
   test_complex_query (testERP5Catalog.TestERP5Catalog)
   test_multipleRelatedKeyDoMultipleJoins (testERP5Catalog.TestERP5Catalog)
   test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog)

  testCMFCategory                                    (1 failures)
   test_getSingleCategoryAcquiredMembershipListOnParent (testCMFCategory.TestCMFCategory)

  testSessionTool                                    (1 errors)
   Create portal_sessions tool and needed cache factory.
-------------- next part --------------

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/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Web.py", line 890, in test_15_getDocumentValueList
    sort_on=[('translated_portal_type', 'ascending')])
  File "/home/buildbot/buildbot_slave/full.ERP5/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/buildbot_slave/full.ERP5/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/buildbot_slave/full.ERP5/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/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/patches/DA.py", line 220, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/buildbot_slave/full.ERP5/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/buildbot_slave/full.ERP5/build/unit_test/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ZMySQLDA/db.py", line 421, in query
    c = self._query(qs)
  File "/home/buildbot/buildbot_slave/full.ERP5/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_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 3711, in test_19_TestAccountingBuildingAndDivergence
    sequence_list.play(self)
  File "/home/buildbot/buildbot_slave/full.ERP5/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.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      SetTest19SequenceData
      DeleteAccounting
      Tic
      DeleteAllPackingLists
      Tic
      TestAllAppliedRulesAreEmpty
      CreatePackingList
      DeliverPackingList
      AggregateItems
      Tic
      BuildAccounting
      Tic
      TestSimpleAccountingBuild
      SetTest19SequenceData2
      CreatePackingList
      DeliverPackingList
      AggregateItems
      Tic
      TestSimulationBuildAfterFirstAccountingChange
      BuildAccounting
      Tic
      TestAccountingBuildAfterFirstChange
      DeletePackingList
      Tic
      TestSimulationBuildAfterSecondAccountingChange
      BuildAccounting
      Tic
      TestAccountingBuildAfterSecondChange
      AdoptPrevision
      Tic
    > TestAccountingBuildAfterAdoptPrevision
      Test19ModifyPackingList
      Tic
      TestSimulationBuildAfterPackingListModification
      BuildAccounting
      Tic
      TestAccountingBuildAfterPackingListModification
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 2663, in stepTestAccountingBuildAfterAdoptPrevision
    self._testAccountingBuild(c_transaction_list, e_transaction_list)
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 3011, in _testAccountingBuild
    self.failUnless(e_found_transaction is not None)
AssertionError



FAIL: test_05_SimulationChangeQuantity (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 956, in test_05_SimulationChangeQuantity
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.ERP5/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.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineQuantity
      Tic
      CheckPackingListIsDiverged
      AdoptPrevisionQuantity
      Tic
    > CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckPackingListLineWithNewQuantityPrevision
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 207, in stepCheckPackingListIsNotDivergent
    self.assertFalse(packing_list.isDivergent())
AssertionError



FAIL: test_05b_SimulationChangeQuantityForMergedLine (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 994, in test_05b_SimulationChangeQuantityForMergedLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.ERP5/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.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineQuantityForMergedLine
      Tic
      CheckPackingListIsDiverged
      AdoptPrevisionQuantity
      Tic
    > CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckPackingListLineWithNewQuantityPrevisionForMergedLine
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 207, in stepCheckPackingListIsNotDivergent
    self.assertFalse(packing_list.isDivergent())
AssertionError



FAIL: test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingListRoundingPrecision.TestPackingListRoundingPrecision)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1251, in test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.ERP5/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.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      DecreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      DecreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckNewPackingListIsDivergent
      NewPackingListAdoptPrevisionQuantity
      Tic
      CheckPackingListIsSolved
    > CheckPackingListSplittedTwoTimes
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 307, in stepCheckPackingListSplittedTwoTimes
    self.assertEquals(2,line.getQuantity())
AssertionError: 2 != 1.0



FAIL: test_05_SimulationChangeQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 956, in test_05_SimulationChangeQuantity
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.ERP5/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.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineQuantity
      Tic
      CheckPackingListIsDiverged
      AdoptPrevisionQuantity
      Tic
    > CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckPackingListLineWithNewQuantityPrevision
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 207, in stepCheckPackingListIsNotDivergent
    self.assertFalse(packing_list.isDivergent())
AssertionError



FAIL: test_05b_SimulationChangeQuantityForMergedLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 994, in test_05b_SimulationChangeQuantityForMergedLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.ERP5/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.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineQuantityForMergedLine
      Tic
      CheckPackingListIsDiverged
      AdoptPrevisionQuantity
      Tic
    > CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckPackingListLineWithNewQuantityPrevisionForMergedLine
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 207, in stepCheckPackingListIsNotDivergent
    self.assertFalse(packing_list.isDivergent())
AssertionError



FAIL: test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPackingList)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1251, in test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.ERP5/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.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      DecreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      DecreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckNewPackingListIsDivergent
      NewPackingListAdoptPrevisionQuantity
      Tic
      CheckPackingListIsSolved
    > CheckPackingListSplittedTwoTimes
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 307, in stepCheckPackingListSplittedTwoTimes
    self.assertEquals(2,line.getQuantity())
AssertionError: 2 != 1.0



FAIL: test_05_SimulationChangeQuantity (testPackingList.TestPurchasePackingList)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 956, in test_05_SimulationChangeQuantity
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.ERP5/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.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineQuantity
      Tic
      CheckPackingListIsDiverged
      AdoptPrevisionQuantity
      Tic
    > CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckPackingListLineWithNewQuantityPrevision
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 207, in stepCheckPackingListIsNotDivergent
    self.assertFalse(packing_list.isDivergent())
AssertionError



FAIL: test_05b_SimulationChangeQuantityForMergedLine (testPackingList.TestPurchasePackingList)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 994, in test_05b_SimulationChangeQuantityForMergedLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.ERP5/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.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineQuantityForMergedLine
      Tic
      CheckPackingListIsDiverged
      AdoptPrevisionQuantity
      Tic
    > CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckPackingListLineWithNewQuantityPrevisionForMergedLine
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 207, in stepCheckPackingListIsNotDivergent
    self.assertFalse(packing_list.isDivergent())
AssertionError



FAIL: test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPurchasePackingList)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1251, in test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.ERP5/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.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      DecreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckPackingListIsSolved
      CheckPackingListSplitted
      DecreasePackingListLineQuantity
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      SplitAndDeferPackingList
      Tic
      CheckNewPackingListIsDivergent
      NewPackingListAdoptPrevisionQuantity
      Tic
      CheckPackingListIsSolved
    > CheckPackingListSplittedTwoTimes
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testPackingList.py", line 307, in stepCheckPackingListSplittedTwoTimes
    self.assertEquals(2,line.getQuantity())
AssertionError: 2 != 1.0



ERROR: test_01_destination_total_asset_price_on_accounting_lines (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testConversionInSimulation.py", line 470, in test_01_destination_total_asset_price_on_accounting_lines
    self.tic()
  File "/home/buildbot/buildbot_slave/full.ERP5/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_c7a0e6cbef69e8ac3d2383e7527ac0c3/portal_deliveries/sale_packing_list_builder', 'build', -1, 1), ('/erp5_portal_c7a0e6cbef69e8ac3d2383e7527ac0c3/sale_order_module/1', 'expand', -2, 6)] 
Last error message:
AttributeError
'str' object has no attribute 'getQuantityPrecision'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 281, in __call__
  Module Products.ERP5.Document.Delivery, line 753, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5.Document.Delivery, line 761, in _expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.OrderRule, line 143, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 277, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoicingRule, line 158, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 277, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoiceTransactionRule, line 208, in expand
AttributeError: 'str' object has no attribute 'getQuantityPrecision'





ERROR: test_01_destination_total_asset_price_on_accounting_lines (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 111, in __call__
    self.tearDown()
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 226, in tearDown
    self.tic()
  File "/home/buildbot/buildbot_slave/full.ERP5/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_c7a0e6cbef69e8ac3d2383e7527ac0c3/portal_deliveries/sale_packing_list_builder', 'build', -1, 1), ('/erp5_portal_c7a0e6cbef69e8ac3d2383e7527ac0c3/sale_order_module/1', 'expand', -2, 6)] 
Last error message:
AttributeError
'str' object has no attribute 'getQuantityPrecision'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 281, in __call__
  Module Products.ERP5.Document.Delivery, line 753, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5.Document.Delivery, line 761, in _expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.OrderRule, line 143, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 277, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoicingRule, line 158, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 277, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoiceTransactionRule, line 208, in expand
AttributeError: 'str' object has no attribute 'getQuantityPrecision'





ERROR: test_01_diverged_purchase_packing_list_source_total_asset_price (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 193, in setUp
    self.tic()
  File "/home/buildbot/buildbot_slave/full.ERP5/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_c7a0e6cbef69e8ac3d2383e7527ac0c3/portal_deliveries/sale_packing_list_builder', 'build', -1, 1), ('/erp5_portal_c7a0e6cbef69e8ac3d2383e7527ac0c3/sale_order_module/1', 'expand', -2, 6)] 
Last error message:
AttributeError
'str' object has no attribute 'getQuantityPrecision'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 281, in __call__
  Module Products.ERP5.Document.Delivery, line 753, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5.Document.Delivery, line 761, in _expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.OrderRule, line 143, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 277, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoicingRule, line 158, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 277, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoiceTransactionRule, line 208, in expand
AttributeError: 'str' object has no attribute 'getQuantityPrecision'





ERROR: test_01_diverged_sale_packing_list_destination_total_asset_price (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 193, in setUp
    self.tic()
  File "/home/buildbot/buildbot_slave/full.ERP5/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_c7a0e6cbef69e8ac3d2383e7527ac0c3/portal_deliveries/sale_packing_list_builder', 'build', -1, 1), ('/erp5_portal_c7a0e6cbef69e8ac3d2383e7527ac0c3/sale_order_module/1', 'expand', -2, 6)] 
Last error message:
AttributeError
'str' object has no attribute 'getQuantityPrecision'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 281, in __call__
  Module Products.ERP5.Document.Delivery, line 753, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5.Document.Delivery, line 761, in _expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.OrderRule, line 143, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 277, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoicingRule, line 158, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 277, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoiceTransactionRule, line 208, in expand
AttributeError: 'str' object has no attribute 'getQuantityPrecision'





ERROR: test_01_simulation_movement_destination_asset_price (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 193, in setUp
    self.tic()
  File "/home/buildbot/buildbot_slave/full.ERP5/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_c7a0e6cbef69e8ac3d2383e7527ac0c3/portal_deliveries/sale_packing_list_builder', 'build', -1, 1), ('/erp5_portal_c7a0e6cbef69e8ac3d2383e7527ac0c3/sale_order_module/1', 'expand', -2, 6)] 
Last error message:
AttributeError
'str' object has no attribute 'getQuantityPrecision'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 281, in __call__
  Module Products.ERP5.Document.Delivery, line 753, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5.Document.Delivery, line 761, in _expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.OrderRule, line 143, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 277, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoicingRule, line 158, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 277, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoiceTransactionRule, line 208, in expand
AttributeError: 'str' object has no attribute 'getQuantityPrecision'





ERROR: test_01_simulation_movement_source_asset_price (testConversionInSimulation.TestConversionInSimulation)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 193, in setUp
    self.tic()
  File "/home/buildbot/buildbot_slave/full.ERP5/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_c7a0e6cbef69e8ac3d2383e7527ac0c3/portal_deliveries/sale_packing_list_builder', 'build', -1, 1), ('/erp5_portal_c7a0e6cbef69e8ac3d2383e7527ac0c3/sale_order_module/1', 'expand', -2, 6)] 
Last error message:
AttributeError
'str' object has no attribute 'getQuantityPrecision'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 281, in __call__
  Module Products.ERP5.Document.Delivery, line 753, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5.Document.Delivery, line 761, in _expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.OrderRule, line 143, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 277, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoicingRule, line 158, in expand
  Module Products.ERP5.Document.Rule, line 139, in expand
  Module Products.ERP5Type.Document.SimulationMovement, line 277, in expand
  Module Products.ERP5Type.Document.AppliedRule, line 98, in expand
  Module Products.ERP5Type.UnrestrictedMethod, line 97, in __call__
  Module Products.ERP5Type.Document.AppliedRule, line 114, in _expand
  Module Products.ERP5Type.Document.InvoiceTransactionRule, line 208, in expand
AttributeError: 'str' object has no attribute 'getQuantityPrecision'





FAIL: test_01_sourcingDelivery (testProductionPackingListApparel.TestProductionDeliveryApparel)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testProductionPackingList.py", line 778, in test_01_sourcingDelivery
    sequence_list.play(self)
  File "/home/buildbot/buildbot_slave/full.ERP5/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.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      ClearActivities
      CreateProductionOrganisation1
      CreateSupplyOrganisation1
      CreateSourcingSC
      CreateVariatedResource
      CreateComponent1
      CreateTransformation
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      Tic
      OrderOrder
      Tic
      CheckSourcingSimulation
      ConfirmOrder
      Tic
      CheckSourcingSimulation
      CheckSourcingDeliverySimulation
      CheckProducedDeliveryPackingListIsConfirmed
      CheckProducedDeliveryPackingListIsSolved
      CheckSupplyDeliveryPackingListIsConfirmed
      CheckSupplyDeliveryPackingListIsSolved
      CheckProducedReportIsConfirmed
      CheckProducedReportIsSolved
      CheckConsumedReportIsConfirmed
      CheckConsumedReportIsSolved
      DecreaseProducedDeliveryPackingListQuantity
      CheckProducedDeliveryPackingListIsCalculating
      Tic
      CheckProducedDeliveryPackingListIsDiverged
      AcceptDecisionProducedDeliveryPackingList
      Tic
      CheckProducedDeliveryPackingListIsSolved
      CheckSourcingDeliverySimulationDecreasedQuantity
      CheckSupplyDeliveryPackingListIsConfirmed
      CheckSupplyDeliveryPackingListIsDiverged
      CheckProducedReportIsConfirmed
      CheckProducedReportIsDiverged
      CheckConsumedReportIsConfirmed
      CheckConsumedReportIsDiverged
      SetReadyProducedDeliveryPackingList
      StartProducedDeliveryPackingList
      StopProducedDeliveryPackingList
      DeliverProducedDeliveryPackingList
      Tic
      CheckSourcingDeliverySimulationDecreasedQuantity
      CheckProducedDeliveryPackingListIsDelivered
      CheckProducedDeliveryPackingListIsSolved
      CheckSupplyDeliveryPackingListIsConfirmed
      CheckSupplyDeliveryPackingListIsDiverged
      CheckProducedReportIsConfirmed
      CheckProducedReportIsDiverged
      CheckConsumedReportIsConfirmed
      CheckConsumedReportIsDiverged
      AdoptPrevisionSupplyDeliveryPackingList
      Tic
    > CheckSupplyDeliveryPackingListIsSolved
      CheckProducedReportIsConfirmed
      CheckProducedReportIsDiverged
      CheckConsumedReportIsConfirmed
      CheckConsumedReportIsDiverged
      SetReadySupplyDeliveryPackingList
      StartSupplyDeliveryPackingList
      StopSupplyDeliveryPackingList
      DeliverSupplyDeliveryPackingList
      Tic
      CheckSourcingDeliverySimulationDecreasedQuantity
      CheckProducedDeliveryPackingListIsDelivered
      CheckProducedDeliveryPackingListIsSolved
      CheckSupplyDeliveryPackingListIsDelivered
      CheckSupplyDeliveryPackingListIsSolved
      CheckProducedReportIsConfirmed
      CheckProducedReportIsDiverged
      CheckConsumedReportIsConfirmed
      CheckConsumedReportIsDiverged
      AdoptPrevisionProducedReport
      Tic
      CheckProducedReportIsSolved
      CheckConsumedReportIsConfirmed
      CheckConsumedReportIsDiverged
      SetReadyProducedReport
      StartProducedReport
      StopProducedReport
      DeliverProducedReport
      Tic
      CheckSourcingDeliverySimulationDecreasedQuantity
      CheckProducedDeliveryPackingListIsDelivered
      CheckProducedDeliveryPackingListIsSolved
      CheckSupplyDeliveryPackingListIsDelivered
      CheckSupplyDeliveryPackingListIsSolved
      CheckProducedReportIsDelivered
      CheckProducedReportIsSolved
      CheckConsumedReportIsConfirmed
      CheckConsumedReportIsDiverged
      AdoptPrevisionConsumedReport
      Tic
      CheckProducedReportIsSolved
      SetReadyConsumedReport
      StartConsumedReport
      StopConsumedReport
      DeliverConsumedReport
      Tic
      CheckSourcingDeliverySimulationDecreasedQuantity
      CheckProducedDeliveryPackingListIsDelivered
      CheckProducedDeliveryPackingListIsSolved
      CheckSupplyDeliveryPackingListIsDelivered
      CheckSupplyDeliveryPackingListIsSolved
      CheckProducedReportIsDelivered
      CheckProducedReportIsSolved
      CheckConsumedReportIsDelivered
      CheckConsumedReportIsSolved
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testProductionPackingList.py", line 330, in stepCheckSupplyDeliveryPackingListIsSolved
    packing_list.getCausalityState()
AssertionError: 'solved' != 'diverged'



FAIL: test_01_sourcingDelivery (testProductionPackingList.TestProductionDelivery)
----------------------------------------------------------------------
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.ERP5/build/unit_test/Products/ERP5/tests/testProductionPackingList.py", line 778, in test_01_sourcingDelivery
    sequence_list.play(self)
  File "/home/buildbot/buildbot_slave/full.ERP5/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.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      ClearActivities
      CreateProductionOrganisation1
      CreateSupplyOrganisation1
      CreateSourcingSC
      CreateNotVariatedResource
      CreateComponent1
      CreateTransformation
      CreateOrganisation
      CreateOrder
      CreateOrderLine
      Tic
      OrderOrder
      Tic
      CheckSourcingSimulation
      ConfirmOrder
      Tic
      CheckSourcingSimulation
      CheckSourcingDeliverySimulation
      CheckProducedDeliveryPackingListIsConfirmed
      CheckProducedDeliveryPackingListIsSolved
      CheckSupplyDeliveryPackingListIsConfirmed
      CheckSupplyDeliveryPackingListIsSolved
      CheckProducedReportIsConfirmed
      CheckProducedReportIsSolved
      CheckConsumedReportIsConfirmed
      CheckConsumedReportIsSolved
      DecreaseProducedDeliveryPackingListQuantity
      CheckProducedDeliveryPackingListIsCalculating
      Tic
      CheckProducedDeliveryPackingListIsDiverged
      AcceptDecisionProducedDeliveryPackingList
      Tic
      CheckProducedDeliveryPackingListIsSolved
      CheckSourcingDeliverySimulationDecreasedQuantity
      CheckSupplyDeliveryPackingListIsConfirmed
      CheckSupplyDeliveryPackingListIsDiverged
      CheckProducedReportIsConfirmed
      CheckProducedReportIsDiverged
      CheckConsumedReportIsConfirmed
      CheckConsumedReportIsDiverged
      SetReadyProducedDeliveryPackingList
      StartProducedDeliveryPackingList
      StopProducedDeliveryPackingList
      DeliverProducedDeliveryPackingList
      Tic
      CheckSourcingDeliverySimulationDecreasedQuantity
      CheckProducedDeliveryPackingListIsDelivered
      CheckProducedDeliveryPackingListIsSolved
      CheckSupplyDeliveryPackingListIsConfirmed
      CheckSupplyDeliveryPackingListIsDiverged
      CheckProducedReportIsConfirmed
      CheckProducedReportIsDiverged
      CheckConsumedReportIsConfirmed
      CheckConsumedReportIsDiverged
      AdoptPrevisionSupplyDeliveryPackingList
      Tic
    > CheckSupplyDeliveryPackingListIsSolved
      CheckProducedReportIsConfirmed
      CheckProducedReportIsDiverged
      CheckConsumedReportIsConfirmed
      CheckConsumedReportIsDiverged
      SetReadySupplyDeliveryPackingList
      StartSupplyDeliveryPackingList
      StopSupplyDeliveryPackingList
      DeliverSupplyDeliveryPackingList
      Tic
      CheckSourcingDeliverySimulationDecreasedQuantity
      CheckProducedDeliveryPackingListIsDelivered
      CheckProducedDeliveryPackingListIsSolved
      CheckSupplyDeliveryPackingListIsDelivered
      CheckSupplyDeliveryPackingListIsSolved
      CheckProducedReportIsConfirmed
      CheckProducedReportIsDiverged
      CheckConsumedReportIsConfirmed
      CheckConsumedReportIsDiverged
      AdoptPrevisionProducedReport
      Tic
      CheckProducedReportIsSolved
      CheckConsumedReportIsConfirmed
      CheckConsumedReportIsDiverged
      SetReadyProducedReport
      StartProducedReport
      StopProducedReport
      DeliverProducedReport
      Tic
      CheckSourcingDeliverySimulationDecreasedQuantity
      CheckProducedDeliveryPackingListIsDelivered
      CheckProducedDeliveryPackingListIsSolved
      CheckSupplyDeliveryPackingListIsDelivered
      CheckSupplyDeliveryPackingListIsSolved
      CheckProducedReportIsDelivered
      CheckProducedReportIsSolved
      CheckConsumedReportIsConfirmed
      CheckConsumedReportIsDiverged
      AdoptPrevisionConsumedReport
      Tic
      CheckProducedReportIsSolved
      SetReadyConsumedReport
      StartConsumedReport
      StopConsumedReport
      DeliverConsumedReport
      Tic
      CheckSourcingDeliverySimulationDecreasedQuantity
      CheckProducedDeliveryPackingListIsDelivered
      CheckProducedDeliveryPackingListIsSolved
      CheckSupplyDeliveryPackingListIsDelivered
      CheckSupplyDeliveryPackingListIsSolved
      CheckProducedReportIsDelivered
      CheckProducedReportIsSolved
      CheckConsumedReportIsDelivered
      CheckConsumedReportIsSolved
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testProductionPackingList.py", line 330, in stepCheckSupplyDeliveryPackingListIsSolved
    packing_list.getCausalityState()
AssertionError: 'solved' != 'diverged'



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/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2715, in test_SearchedStringIsNotStripped
    compareSet(' foo', [second_doc])
  File "/home/buildbot/buildbot_slave/full.ERP5/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/buildbot_slave/full.ERP5/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/buildbot_slave/full.ERP5/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/buildbot_slave/full.ERP5/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/buildbot_slave/full.ERP5/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_multipleRelatedKeyDoMultipleJoins (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.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2818, in test_multipleRelatedKeyDoMultipleJoins
    operator='AND'))
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2776, in check
    '%s:\nExpected: %r\nGot: %r' % (description,
  File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 546, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: site_reference="foo" AND site_description="bar":
Expected: ['object_1', 'object_12', 'object_13', 'object_14', 'object_23']
Got: ['object_14', 'object_13', 'object_12', 'object_1']



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/buildbot_slave/full.ERP5/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: 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/buildbot_slave/full.ERP5/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: Create portal_sessions tool and needed cache factory.
----------------------------------------------------------------------
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.ERP5/build/Products/ERP5Type/tests/testSessionTool.py", line 70, in test_01_CheckSessionTool
    portal.manage_addProduct['ERP5Type'].manage_addTool('ERP5 Session Tool')
  File "/usr/lib/erp5/lib/python/Products/CMFCore/utils.py", line 490, in manage_addTool
    self._setObject(obj.getId(), obj)
  File "/usr/lib/erp5/lib/python/OFS/ObjectManager.py", line 281, in _setObject
    v=self._checkId(id)
  File "/usr/lib/erp5/lib/python/Products/CMFCore/Skinnable.py", line 204, in _checkId
    return superCheckId(self, id, allow_dup)
  File "/usr/lib/erp5/lib/python/OFS/ObjectManager.py", line 84, in checkValidId
    raise BadRequest, (
BadRequest: The id "portal_sessions" is invalid - it is already in use.



More information about the Erp5-report mailing list