[Erp5-report] ERP5-FULLTEXT : 4862 Tests, 0 Errors, 14 Failures, 206 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Oct 29 22:44:33 CET 2014


Test Suite: ERP5-FULLTEXT
Revision: slapos=7314-3db3834c3f03fe60b7d1d1465f7c8db4c3706289,erp5=43958-899115c14c28fb879d498a01d9d7947bf3afb0b3
Result: FAIL

All tests: 4862
Failures: 14
Errors: 0
Skips: 206



The following tests failed:

  erp5_test_result:testTaskDistribution              (1 failures)
   test_07_reportTaskFailure (erp5.component.test.erp5_version.testTaskDistribution.TestTaskDistribution)

  testERP5BankingCounterRendering                    (1 failures)
   test_01_ERP5BankingCounterRendering (testERP5BankingCounterRendering.TestERP5BankingCounterRendering)

  testERP5Catalog                                    (1 failures, 4 skips)
   test_20_SearchFolderWithDynamicRelatedKey (testERP5Catalog.TestERP5Catalog)

  testFunctionalCore                                 (6 failures, 8 skips)
   testFunctionalTestRunner (testFunctionalCore.TestZeleniumCore)

  testSQLCatalog                                     (5 failures)
   test_005_SearchText (testSQLCatalog.TestSQLCatalog)
   test_009_testFullTextKey (testSQLCatalog.TestSQLCatalog)
   test_FullTextBooleanMode (testSQLCatalog.TestSQLCatalog)
   test_FullTextQuoting (testSQLCatalog.TestSQLCatalog)
   test_FullTextSearchMergesQueries (testSQLCatalog.TestSQLCatalog)

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)

  testCalendar                                       (5 skips)
   test_2OverlappedLeaveRequestOverlappingAfterGroupCalendar (testCalendar.TestCalendar) ... skipped 'Need to check if we want later to support this again. Drop support for now'
   test_LeaveRequestOverlappingAfterGroupCalendar (testCalendar.TestCalendar) ... skipped 'Need to check if we want later to support this again. Drop support for now'
   test_LeaveRequestOverlappingBeforeGroupCalendar (testCalendar.TestCalendar) ... skipped 'Need to check if we want later to support this again. Drop support for now'
   test_LeaveRequestWithSameDateAsGroupCalendar (testCalendar.TestCalendar) ... skipped 'Need to check if we want later to support this again. Drop support for now'
   test_LeaveRequestWithSameDateAsRepeatedGroupCalendar (testCalendar.TestCalendar) ... skipped 'Need to check if we want later to support this again. Drop support for now'

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDms                                            (1 skips)

  testDmsWithFlare                                   (1 skips)

  testDmsWithPreConversion                           (1 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'

  testFunctionalAnonymousSelection                   (36 skips)
        So this part is skipped -->
        So this part is skipped -->
        So this part is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->
        So this test is skipped -->

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

  testFunctionalKM                                   (3 skips)

  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)

  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)
   testCallSelectionFor (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   testCallSelectionFor (testSelectionTool.TestSelectionToolMemcachedStorage) ... 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: 1192 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20141029/bd1aca96/attachment.diff>
-------------- next part --------------

FAIL: test_07_reportTaskFailure (erp5.component.test.erp5_version.testTaskDistribution.TestTaskDistribution)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<portal_components/test.erp5.testTaskDistribution>", line 341, in test_07_reportTaskFailure
    checkNodeState("started", "started")
  File "<portal_components/test.erp5.testTaskDistribution>", line 340, in checkNodeState
    [(x.getTitle(), x.getSimulationState()) for x in node_list])
AssertionError: Lists differ: [('Node0', 'started'), ('Node1... != [('Node1', 'started')]

First differing element 0:
('Node0', 'started')
('Node1', 'started')

First list contains 1 additional elements.
First extra element 1:
('Node1', 'started')

- [('Node0', 'started'), ('Node1', 'started')]
+ [('Node1', 'started')]


FAIL: test_01_ERP5BankingCounterRendering (testERP5BankingCounterRendering.TestERP5BankingCounterRendering)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ERP5Banking/tests/testERP5BankingCounterRendering.py", line 514, in test_01_ERP5BankingCounterRendering
    sequence_list.play(self)
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 206, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 127, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      Tic
      CheckObjects
      Tic
      CheckInitialInventory
      CheckSource
      CheckDestination
      CreateCounterRendering
      Tic
      CheckBaobabDestination
      CreateValidLine1
      CheckSubTotal
      CreateValidLine2
      CheckTotal
      CheckSource
      CheckDestination
      CreateInvalidLine
      TryConfirmCounterRenderingWithBadInventory
      DelInvalidLine
      Tic
      CheckTotal
      ConfirmCounterRendering
      Tic
    > CheckSourceDebitPlanned
      CheckDestinationCreditPlanned
      CheckSourceDebitPlanned
      CheckDestinationCreditPlanned
      ResetInventory
      Tic
      DeliverFails
      DeleteResetInventory
      Tic
      DeliverCounterRendering
      CheckSourceDebit
      CheckDestinationCredit
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ERP5Type/tests/Sequence.py", line 91, in play
    method(sequence=sequence)
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ERP5Banking/tests/testERP5BankingCounterRendering.py", line 404, in stepCheckSourceDebitPlanned
    self.assertEqual(self.simulation_tool.getFutureInventory(node=self.counter_vault.getRelativeUrl(), resource = self.billet_10000.getRelativeUrl()), 0.0)
AssertionError: 5.0 != 0.0


FAIL: test_20_SearchFolderWithDynamicRelatedKey (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ERP5Catalog/tests/testERP5Catalog.py", line 727, in test_20_SearchFolderWithDynamicRelatedKey
    self.assertEqual(organisation_list,[])
AssertionError: Lists differ: [<Organisation at /erp5_portal... != []

First list contains 2 additional elements.
First extra element 0:
<Organisation at 6>

+ []
- [<Organisation at /erp5_portal_e01eabc00682932df9e26c109b9e36e3/organisation_module/6>,
-  <Organisation at /erp5_portal_e01eabc00682932df9e26c109b9e36e3/organisation_module/5>]


FAIL: testFunctionalTestRunner (testFunctionalCore.TestZeleniumCore)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 436, in testFunctionalTestRunner
    self.assertEqual([], error_title_list, '\n'.join(error_title_list))
AssertionError: Test display of Account Module, with at_date parameter
Test Transactions related to an account, with at date parameter
Test Transactions related to an account, with from date parameter
Test Transactions related to an Organisation, with stop date
Test Transactions related to an Organisation, with start date
Test Transactions related to an Organisation, with multiple pages and date range


FAIL: test_005_SearchText (testSQLCatalog.TestSQLCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 501, in test_005_SearchText
    self.catalog(reference_query, {'fulltext': 'a NOT b'})
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 241, in catalog
    (query, search_text, reference_param_dict, search_text_param_dict))
AssertionError: Query: <ComplexQuery of 'and'.join([<ComplexQuery of 'and'.join([<ComplexQuery of 'not'.join([<SimpleQuery 'fulltext' match 'b'>])>, <SimpleQuery 'fulltext' match 'a'>])>])>
SearchText: 'NOT fulltext:"b" AND fulltext:"a"'
Reference: {'limit_expression': '', 'select_expression': "MATCH (`foo`.`fulltext`) AGAINST ('b') + MATCH (`foo`.`fulltext`) AGAINST ('a') AS `fulltext__score__`", 'where_expression': "((NOT MATCH (`foo`.`fulltext`) AGAINST ('b'))\n  AND MATCH (`foo`.`fulltext`) AGAINST ('a'))", 'sort_on': '', 'from_expression': 'foo AS `foo`', 'group_by_expression': '', 'from_table_list': None}
Second rendering: {'limit_expression': '', 'select_expression': 'MATCH (`foo`.`fulltext`) AGAINST (\'"b"\') + MATCH (`foo`.`fulltext`) AGAINST (\'"a"\') AS `fulltext__score__`', 'where_expression': '((NOT MATCH (`foo`.`fulltext`) AGAINST (\'"b"\'))\n  AND MATCH (`foo`.`fulltext`) AGAINST (\'"a"\'))', 'sort_on': '', 'from_expression': 'foo AS `foo`', 'group_by_expression': '', 'from_table_list': None}


FAIL: test_009_testFullTextKey (testSQLCatalog.TestSQLCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 544, in test_009_testFullTextKey
    {'fulltext': 'a'})
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 241, in catalog
    (query, search_text, reference_param_dict, search_text_param_dict))
AssertionError: Query: <ComplexQuery of 'and'.join([<SimpleQuery 'fulltext' match 'a'>])>
SearchText: 'fulltext:"a"'
Reference: {'limit_expression': '', 'select_expression': "MATCH (`foo`.`fulltext`) AGAINST ('a') AS `fulltext__score__`", 'where_expression': "MATCH (`foo`.`fulltext`) AGAINST ('a')", 'sort_on': '', 'from_expression': 'foo AS `foo`', 'group_by_expression': '', 'from_table_list': None}
Second rendering: {'limit_expression': '', 'select_expression': 'MATCH (`foo`.`fulltext`) AGAINST (\'"a"\') AS `fulltext__score__`', 'where_expression': 'MATCH (`foo`.`fulltext`) AGAINST (\'"a"\')', 'sort_on': '', 'from_expression': 'foo AS `foo`', 'group_by_expression': '', 'from_table_list': None}


FAIL: test_FullTextBooleanMode (testSQLCatalog.TestSQLCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 591, in test_FullTextBooleanMode
    {'fulltext': 'a*'})
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 241, in catalog
    (query, search_text, reference_param_dict, search_text_param_dict))
AssertionError: Query: <ComplexQuery of 'and'.join([<SimpleQuery 'fulltext' match_boolean 'a*'>])>
SearchText: 'fulltext:"a*"'
Reference: {'limit_expression': '', 'select_expression': "MATCH (`foo`.`fulltext`) AGAINST ('a*' IN BOOLEAN MODE) AS `fulltext__score__`", 'where_expression': "MATCH (`foo`.`fulltext`) AGAINST ('a*' IN BOOLEAN MODE)", 'sort_on': '', 'from_expression': 'foo AS `foo`', 'group_by_expression': '', 'from_table_list': None}
Second rendering: {'limit_expression': '', 'select_expression': 'MATCH (`foo`.`fulltext`) AGAINST (\'"a*"\') AS `fulltext__score__`', 'where_expression': 'MATCH (`foo`.`fulltext`) AGAINST (\'"a*"\')', 'sort_on': '', 'from_expression': 'foo AS `foo`', 'group_by_expression': '', 'from_table_list': None}


FAIL: test_FullTextQuoting (testSQLCatalog.TestSQLCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 622, in test_FullTextQuoting
    {'fulltext': '"a"'})
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 241, in catalog
    (query, search_text, reference_param_dict, search_text_param_dict))
AssertionError: Query: <ComplexQuery of 'and'.join([<SimpleQuery 'fulltext' match '"a"'>])>
SearchText: 'fulltext:"\\"a\\""'
Reference: {'limit_expression': '', 'select_expression': 'MATCH (`foo`.`fulltext`) AGAINST (\'"a"\') AS `fulltext__score__`', 'where_expression': 'MATCH (`foo`.`fulltext`) AGAINST (\'"a"\')', 'sort_on': '', 'from_expression': 'foo AS `foo`', 'group_by_expression': '', 'from_table_list': None}
Second rendering: {'limit_expression': '', 'select_expression': 'MATCH (`foo`.`fulltext`) AGAINST (\'"\\\\"a\\\\""\') AS `fulltext__score__`', 'where_expression': 'MATCH (`foo`.`fulltext`) AGAINST (\'"\\\\"a\\\\""\')', 'sort_on': '', 'from_expression': 'foo AS `foo`', 'group_by_expression': '', 'from_table_list': None}


FAIL: test_FullTextSearchMergesQueries (testSQLCatalog.TestSQLCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 558, in test_FullTextSearchMergesQueries
    {'fulltext': 'a AND b'})
  File "/srv/slapgrid/slappart4/srv/testnode/an/soft/84947ae8f37fcb1f9b3a149c3991f5fb/parts/erp5/Products/ZSQLCatalog/tests/testSQLCatalog.py", line 231, in catalog
    assertEqual(reference_tree, query)
AssertionError: <ReferenceQuery <ReferenceQuery 'fulltext' 'match' <MatchList ['a b']>>> != <ComplexQuery of 'and'.join([<ComplexQuery of 'and'.join([<SimpleQuery 'fulltext' match 'a'>, <SimpleQuery 'fulltext' match 'b'>])>])>


More information about the Erp5-report mailing list