[Erp5-report] ERP5-z2.12 : 3852 Tests, 0 Errors, 8 Failures, 161 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Oct 7 09:08:34 CEST 2013


Test Suite: ERP5-z2.12
Revision: slapos=5562-e22de8e406dd3f7ee9e7753bab35c8d9e1346c60,erp5=42960-ff45fe0a06953872df3e3e4e929d5a95329370d8
Result: FAIL

Building Failed

All tests: 3852
Failures: 8
Errors: 0
Skips: 161

 https://nexedi.erp5.net/test_result_module/20131007-39C8AF24/view

The following tests have an unknown status:
runUnitTest --verbose '--erp5_sql_connection_string=testdb_6 at 10.0.212.214:45678 testuser_6 insecure' --xvfb_bin=/srv/slapgrid/slappart0/srv/slapos/soft/aaadf85c9e4385dc6d50e68b0c9cf13a/parts/xserver/bin/Xvfb --firefox_bin=/srv/slapgrid/slappart0/srv/slapos/soft/aaadf85c9e4385dc6d50e68b0c9cf13a/parts/firefox/firefox-slapos '--extra_sql_connection_string_list=testdb_7 at 10.0.212.214:45678 testuser_7 insecure,testdb_8 at 10.0.212.214:45678 testuser_8 insecure' --bt5_path=None --instance_home=unit_test.3 testXHTML

The following tests failed:

  testAccounting                                     (3 failures)
   test_Account_getDestinationSectionItemList (testAccounting.TestTransactions)
   test_createBalanceOnMirrorSectionMultiCurrency (testAccounting.TestClosingPeriod)
   test_createBalanceOnMirrorSectionMultiCurrencySameMirrorSection (testAccounting.TestClosingPeriod)

  testInventoryAPI                                   (4 failures, 2 skips)
   test_ResourceCategory (testInventoryAPI.TestInventory)
   test_ResourcePortalType (testInventoryAPI.TestInventory)
   test_SimulationState (testInventoryAPI.TestInventory)
   test_GroupByNode (testInventoryAPI.TestInventoryList)

  testPayroll                                        (1 failures)
   test_PayrollTaxesReport (testPayroll.TestPayroll)

The following tests were at least partly skipped:

  erp5_configurator_maxma_demo:testMaxmaDemoConfigurationWorkflow (1 skips)

  erp5_web_shacache:testShaCache                     (1 skips)

  erp5_web_shadir:testShaDir                         (1 skips)

  networkcache_erp5:testShaCacheExternal             (1 skips)

  testAccountingReports                              (1 skips)
   test_Resource_zGetMovementHistoryList (testAccountingReports.TestAccountingReports) ... skipped 'TODO ERP5'

  testAccountingRules                                (22 skips)

  testAdvancedInvoicing                              (1 skips)

  testBPMCore                                        (1 skips)
   test_payBeforeDelivery (testBPMCore.TestBPMImplementation) ... skipped 'TODO ERP5'

  testBase                                           (3 skips)
   check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent(). ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'

  testBusinessTemplate                               (6 skips)
   test_BusinessTemplateUpgradeDocumentFromFilesystemToZodb (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocument (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocumentMigrated (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'
   test_BusinessTemplateWithZodbDocumentNonExistingBefore (testBusinessTemplate.TestConstraintTemplateItem) ... skipped 'Not implemented yet'

  testCRM                                            (1 skips)

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDms                                            (2 skips)

  testDmsWithFlare                                   (2 skips)

  testDmsWithPreConversion                           (2 skips)

  testERP5Base                                       (1 skips)

  testERP5Catalog                                    (4 skips)
   Tests that buildSQLQuery works with another query_table than 'catalog' ... skipped 'TODO ERP5'
   test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'

  testERP5Commerce                                   (1 skips)
   test_22_createShoppingCartWithAnonymousAndLogin (testERP5Commerce.TestCommerce) ... skipped 'WebSite_createWebSiteAccount is disabled by default.'

  testERP5DocumentSyncML                             (4 skips)

  testERP5Interfaces                                 (7 skips)

  testERP5SyncML                                     (2 skips)

  testERP5Type                                       (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testERP5Web                                        (3 skips)
   test_03_CreateWebSiteUser (testERP5Web.TestERP5Web) ... skipped 'WebSite_createWebSiteAccount is disabled by default.'

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

  testFunctionalCore                                 (4 skips)
        So this test is skipped -->
        So this test is skipped -->

  testIngestion                                      (4 skips)

  testIngestionWithFlare                             (4 skips)

  testInventory                                      (2 skips)

  testInventoryAPI                                   (2 skips)

  testInvoice                                        (6 skips)

  testItem                                           (13 skips)

  testKM                                             (3 skips)

  testMRP                                            (5 skips)
   test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'

  testOpenOrder                                      (3 skips)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder) ... skipped "can't run if machine timezone is UTC"

  testOrderBuilder                                   (4 skips)

  testOxatisSynchronization                          (1 skips)

  testPreferences                                    (1 skips)

  testProductionOrder                                (8 skips)

  testProductionOrderApparel                         (6 skips)

  testProductionPackingList                          (1 skips)

  testProductionPackingListApparel                   (1 skips)

  testProxyField                                     (1 skips)

  testResource                                       (1 skips)

  testReturnedSalePackingList                        (3 skips)

  testSQLCachedWorklist                              (2 skips)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'
   test_04_dynamic_variables (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'

  testSelectionTool                                  (7 skips)
   skipped 'Test to be written'
   testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   skipped 'Test to be written'
   testDeleteGlobalSelection (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'To be decided if implementation is required'
   testPage (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'

  testTaskReportDivergence                           (1 skips)

  testTemplate                                       (1 skips)

  testTradeModelLine                                 (1 skips)

  testTradeModelLinePurchase                         (1 skips)

  testUbercartSynchronisation                        (1 skips)

  testVirtuemartSynchronization                      (1 skips)

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

FAIL: test_Account_getDestinationSectionItemList (testAccounting.TestTransactions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5/tests/testAccounting.py", line 3264, in test_Account_getDestinationSectionItemList
    self.portal.Account_getDestinationSectionItemList())
AssertionError: [('', ''), ('Organisation 1 (Organisation)', 'organisation_module/1')] != [('', ''), ('My Organisation (Organisation)', 'organisation_module/my_organisation'), ('Organisation 1 (Organisation)', 'organisation_module/1')]


FAIL: test_createBalanceOnMirrorSectionMultiCurrency (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5/tests/testAccounting.py", line 1297, in test_createBalanceOnMirrorSectionMultiCurrency
    "'Balance Transaction Line'")[0][0])
AssertionError: 1 != 2L


FAIL: test_createBalanceOnMirrorSectionMultiCurrencySameMirrorSection (testAccounting.TestClosingPeriod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5/tests/testAccounting.py", line 1433, in test_createBalanceOnMirrorSectionMultiCurrencySameMirrorSection
    "'Balance Transaction Line'")[0][0])
AssertionError: 1 != 2L


FAIL: test_ResourceCategory (testInventoryAPI.TestInventory)
Tests inventory on resource_category
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5/tests/testInventoryAPI.py", line 519, in test_ResourceCategory
    self.assertInventoryEquals(100, resource_category='product_line/level1')
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5/tests/testInventoryAPI.py", line 270, in assertInventoryEquals
    self.assertEquals(value, self.getInventory(**inventory_kw))
AssertionError: 100 != 0.0


FAIL: test_ResourcePortalType (testInventoryAPI.TestInventory)
Tests inventory on resource_portal_type
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5/tests/testInventoryAPI.py", line 536, in test_ResourcePortalType
    resource_portal_type=self.resource.portal_type)
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5/tests/testInventoryAPI.py", line 270, in assertInventoryEquals
    self.assertEquals(value, self.getInventory(**inventory_kw))
AssertionError: 2 != 0.0


FAIL: test_SimulationState (testInventoryAPI.TestInventory)
Tests inventory on simulation state.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5/tests/testInventoryAPI.py", line 601, in test_SimulationState
    self.assertInventoryEquals(100)
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5/tests/testInventoryAPI.py", line 270, in assertInventoryEquals
    self.assertEquals(value, self.getInventory(**inventory_kw))
AssertionError: 100 != 0.0


FAIL: test_GroupByNode (testInventoryAPI.TestInventoryList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart11/srv/testnode/cj/soft/6d67700bfcdbb19d3bf8ec829e39e3bb/parts/erp5/Products/ERP5/tests/testInventoryAPI.py", line 837, in test_GroupByNode
    self.assertEquals(3, len(inventory_list))
AssertionError: 3 != 4


FAIL: test_PayrollTaxesReport (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/erp5/Products/ERP5Type/tests/backportUnittest.py", line 136, in run
    testMethod()
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/erp5/Products/ERP5/tests/testPayroll.py", line 2554, in test_PayrollTaxesReport
    self.portal.accounting_module\
AssertionError: [('', ''), ('Another Service Provider', 'organisation_module/8'), ('Service Provider', 'organisation_module/7')] != [('', ''), ('Another Service Provider', 'organisation_module/8'), ('Employer', 'organisation_module/6'), ('Service Provider', 'organisation_module/7')]

Loading Zope ... 
Cleaning static files ... 
Instance at '/srv/slapgrid/slappart0/srv/testnode/cj/test_suite/unit_test.3' loaded ... 
Traceback (most recent call last):
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/bin/runUnitTest", line 190, in <module>
    sys.exit(runUnitTest.main())
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 909, in main
    run_only=run_only,
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 667, in runUnitTestList
    suite = loader.loadTestsFromNames(test_list)
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 432, in loadTestsFromNames
    return super(ERP5TypeTestLoader, self).loadTestsFromNames(test_list)
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/python2.6/lib/python2.6/unittest.py", line 613, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 323, in loadTestsFromName
    return super(ERP5TypeTestLoader, self).loadTestsFromName(name, module)
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/python2.6/lib/python2.6/unittest.py", line 587, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 329, in loadTestsFromModule
    return self.suiteClass(module.test_suite())
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/erp5/Products/ERP5/tests/testXHTML.py", line 708, in test_suite
    ('erp5_core',) + TestXHTML.getBusinessTemplateList())
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/erp5/Products/ERP5/tests/testXHTML.py", line 650, in addTestMethodDynamically
    business_template_info = BusinessTemplateInfoDir(url)
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/erp5/Products/ERP5/tests/utils.py", line 48, in __init__
    self.setUp()
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/erp5/Products/ERP5/tests/utils.py", line 59, in setUp
    self.setUpActions()
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/erp5/Products/ERP5/tests/utils.py", line 122, in setUpActions
    data = parse(i)
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/erp5/Products/ERP5/tests/utils.py", line 108, in parse
    action_information = importXML(_connection, file_path)
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/eggs/Zope2-2.12.26-py2.6-linux-x86_64.egg/OFS/XMLExportImport.py", line 124, in importXML
    return jar.importFile(outfile,clue)
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/ExportImport.py", line 92, in importFile
    t.savepoint(optimistic=True)
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/eggs/transaction-1.0.1-py2.6.egg/transaction/_transaction.py", line 253, in savepoint
    self._saveAndRaiseCommitishError() # reraises!
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/eggs/transaction-1.0.1-py2.6.egg/transaction/_transaction.py", line 250, in savepoint
    savepoint = Savepoint(self, optimistic, *self._resources)
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/eggs/transaction-1.0.1-py2.6.egg/transaction/_transaction.py", line 647, in __init__
    savepoint = savepoint()
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1136, in savepoint
    tmpstore = TmpStore(self._normal_storage)
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/eggs/ZODB3-3.9.7-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 1264, in __init__
    self._file = tempfile.TemporaryFile()
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/python2.6/lib/python2.6/tempfile.py", line 475, in TemporaryFile
    (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags)
  File "/srv/slapgrid/slappart0/srv/testnode/cj/soft/0a0aeb0c6a3b466767ad0b05ababd4dd/parts/python2.6/lib/python2.6/tempfile.py", line 228, in _mkstemp_inner
    fd = _os.open(file, flags, 0600)
OSError: [Errno 24] Too many open files: '/tmp/tmpdQMrcp'


More information about the Erp5-report mailing list