From: Archetypes U. T. <plo...@ep...> - 2005-12-13 10:42:27
|
Archetypes Unit Tests : FAILED (failures=1) AT-1_3-branch Plone-2_0-branch Zope-2_7-branch Python-2.3.5 Running /usr/local/python2.3/bin/python /autotest/temp/python23-zope27/test.py -C zope.conf --libdir . --dir Archetypes !test_cmfessentials Installing CMFCore ... done (0.464s) Installing CMFDefault ... done (0.228s) Installing CMFCalendar ... done (0.720s) Installing CMFTopic ... done (0.095s) Installing DCWorkflow ... done (2.464s) Installing CMFActionIcons ... done (0.368s) Installing CMFQuickInstallerTool ... done (1.414s) Installing CMFFormController ... done (4.141s) Installing GroupUserFolder ... done (3.875s) Installing ZCTextIndex ... done (1.760s) Installing CMFPlone ... done (12.770s) Installing MimetypesRegistry ... done (0.245s) Installing PortalTransforms ... done (0.248s) Installing Archetypes ... done (12.902s) Installing ArchetypesTestUpdateSchema ... done (0.996s) Adding Plone Site ... done (39.020s) Adding CMFFormController ... done (0.012s) Adding Archetypes ... /autotest/temp/python23-zope27/lib/python/Products/ZCatalog/ZCatalog.py:484: DeprecationWarning: catalog_object interface of CatalogTool not up to date DeprecationWarning) done (30.519s) Failed to import ZPsycopgDA Failed to import ZMySQLDA ====================================================================== FAIL: Doctest: reindex_sanity.txt ---------------------------------------------------------------------- Traceback (most recent call last): File "/autotest/temp/python23-zope27/lib/python/Testing/ZopeTestCase/zopedoctest/doctest.py", line 2154, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for reindex_sanity.txt File "/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 0 ---------------------------------------------------------------------- File "/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 88, in reindex_sanity.txt Failed example: _ = self.folder.invokeFactory(type_name='DDocument', id='new_doc1') Differences (ndiff with -expected +actual): Catalog: /plone/uid_catalog Indexing: Members/test_user_1_/new_doc1 [] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_doc1 [] + ------------------------------------------------------------ + Catalog: /plone/portal_catalog + Indexing: /plone/Members/test_user_1_/new_doc1 ['portal_type', 'Type'] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_doc1 ['review_state'] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_doc1 ['allowedRolesAndUsers'] ------------------------------------------------------------ Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/new_doc1 [] + Indexing: /plone/Members/test_user_1_/new_doc1 ['allowedRolesAndUsers'] ? ++++++++++++++++++++++ ------------------------------------------------------------ - Catalog: /plone/uid_catalog - Indexing: Members/test_user_1_/new_doc1 [] - ------------------------------------------------------------ ---------------------------------------------------------------------- File "/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 117, in reindex_sanity.txt Failed example: _ = self.folder.invokeFactory(type_name='DDocument', id='new_doc2', title='Title', description='Description') Differences (ndiff with -expected +actual): Catalog: /plone/uid_catalog Indexing: Members/test_user_1_/new_doc2 [] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_doc2 [] + ------------------------------------------------------------ + Catalog: /plone/portal_catalog + Indexing: /plone/Members/test_user_1_/new_doc2 ['portal_type', 'Type'] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_doc2 ['review_state'] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_doc2 ['allowedRolesAndUsers'] ------------------------------------------------------------ Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/new_doc2 [] + Indexing: /plone/Members/test_user_1_/new_doc2 ['allowedRolesAndUsers'] ? ++++++++++++++++++++++ ------------------------------------------------------------ - Catalog: /plone/uid_catalog - Indexing: Members/test_user_1_/new_doc2 [] - ------------------------------------------------------------ ---------------------------------------------------------------------- File "/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 153, in reindex_sanity.txt Failed example: self.folder.manage_renameObjects(ids=['new_doc1'], new_ids=['new_doc11']) Differences (ndiff with -expected +actual): Catalog: /plone/uid_catalog UnIndexing: Members/test_user_1_/new_doc1 ------------------------------------------------------------ Catalog: /plone/portal_catalog UnIndexing: /plone/Members/test_user_1_/new_doc1 ------------------------------------------------------------ Catalog: /plone/uid_catalog Indexing: Members/test_user_1_/new_doc11 [] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_doc11 [] ------------------------------------------------------------ - Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/sub ['getObjPositionInParent'] - ------------------------------------------------------------ - Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/new_doc2 ['getObjPositionInParent'] - ------------------------------------------------------------ - Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/new_doc11 ['getObjPositionInParent'] - ------------------------------------------------------------ ---------------------------------------------------------------------- File "/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 180, in reindex_sanity.txt Failed example: _ = self.folder.sub.manage_pasteObjects(cp) Differences (ndiff with -expected +actual): Catalog: /plone/uid_catalog Indexing: Members/test_user_1_/sub/new_doc2 [] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/sub/new_doc2 [] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/sub/new_doc2 ['review_state'] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/sub/new_doc2 ['allowedRolesAndUsers'] ------------------------------------------------------------ + Catalog: /plone/portal_catalog + Indexing: /plone/Members/test_user_1_/sub/new_doc2 ['allowedRolesAndUsers'] + ------------------------------------------------------------ ---------------------------------------------------------------------- File "/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 217, in reindex_sanity.txt Failed example: _ = self.folder.invokeFactory(type_name='SimpleFolder', id='new_folder1') Differences (ndiff with -expected +actual): Catalog: /plone/uid_catalog Indexing: Members/test_user_1_/new_folder1 [] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_folder1 [] + ------------------------------------------------------------ + Catalog: /plone/portal_catalog + Indexing: /plone/Members/test_user_1_/new_folder1 ['portal_type', 'Type'] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_folder1 ['review_state'] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_folder1 ['allowedRolesAndUsers'] ------------------------------------------------------------ Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/new_folder1 [] + Indexing: /plone/Members/test_user_1_/new_folder1 ['allowedRolesAndUsers'] ? ++++++++++++++++++++++ ------------------------------------------------------------ - Catalog: /plone/uid_catalog - Indexing: Members/test_user_1_/new_folder1 [] - ------------------------------------------------------------ ---------------------------------------------------------------------- File "/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 246, in reindex_sanity.txt Failed example: _ = self.folder.invokeFactory(type_name='SimpleFolder', id='new_folder2', title='Title', description='Description') Differences (ndiff with -expected +actual): Catalog: /plone/uid_catalog Indexing: Members/test_user_1_/new_folder2 [] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_folder2 [] + ------------------------------------------------------------ + Catalog: /plone/portal_catalog + Indexing: /plone/Members/test_user_1_/new_folder2 ['portal_type', 'Type'] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_folder2 ['review_state'] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_folder2 ['allowedRolesAndUsers'] ------------------------------------------------------------ Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/new_folder2 [] + Indexing: /plone/Members/test_user_1_/new_folder2 ['allowedRolesAndUsers'] ? ++++++++++++++++++++++ ------------------------------------------------------------ - Catalog: /plone/uid_catalog - Indexing: Members/test_user_1_/new_folder2 [] - ------------------------------------------------------------ ---------------------------------------------------------------------- File "/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 283, in reindex_sanity.txt Failed example: self.folder.manage_renameObjects(ids=['new_folder1'], new_ids=['new_folder11']) Differences (ndiff with -expected +actual): Catalog: /plone/uid_catalog UnIndexing: Members/test_user_1_/new_folder1 ------------------------------------------------------------ Catalog: /plone/portal_catalog UnIndexing: /plone/Members/test_user_1_/new_folder1 ------------------------------------------------------------ Catalog: /plone/uid_catalog Indexing: Members/test_user_1_/new_folder11 [] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_folder11 [] ------------------------------------------------------------ - Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/sub ['getObjPositionInParent'] - ------------------------------------------------------------ - Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/new_doc2 ['getObjPositionInParent'] - ------------------------------------------------------------ - Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/new_folder2 ['getObjPositionInParent'] - ------------------------------------------------------------ - Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/new_folder11 ['getObjPositionInParent'] - ------------------------------------------------------------ ---------------------------------------------------------------------- File "/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 313, in reindex_sanity.txt Failed example: _ = self.folder.sub.manage_pasteObjects(cp) Differences (ndiff with -expected +actual): Catalog: /plone/uid_catalog Indexing: Members/test_user_1_/sub/new_folder2 [] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/sub/new_folder2 [] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/sub/new_folder2 ['review_state'] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/sub/new_folder2 ['allowedRolesAndUsers'] ------------------------------------------------------------ + Catalog: /plone/portal_catalog + Indexing: /plone/Members/test_user_1_/sub/new_folder2 ['allowedRolesAndUsers'] + ------------------------------------------------------------ ---------------------------------------------------------------------- File "/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 350, in reindex_sanity.txt Failed example: _ = self.folder.invokeFactory(type_name='SimpleBTreeFolder', id='new_btree_folder1') Differences (ndiff with -expected +actual): Catalog: /plone/uid_catalog Indexing: Members/test_user_1_/new_btree_folder1 [] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_btree_folder1 [] + ------------------------------------------------------------ + Catalog: /plone/portal_catalog + Indexing: /plone/Members/test_user_1_/new_btree_folder1 ['portal_type', 'Type'] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_btree_folder1 ['review_state'] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_btree_folder1 ['allowedRolesAndUsers'] ------------------------------------------------------------ Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/new_btree_folder1 [] + Indexing: /plone/Members/test_user_1_/new_btree_folder1 ['allowedRolesAndUsers'] ? ++++++++++++++++++++++ ------------------------------------------------------------ - Catalog: /plone/uid_catalog - Indexing: Members/test_user_1_/new_btree_folder1 [] - ------------------------------------------------------------ ---------------------------------------------------------------------- File "/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 379, in reindex_sanity.txt Failed example: _ = self.folder.invokeFactory(type_name='SimpleBTreeFolder', id='new_btree_folder2', title='Title', description='Description') Differences (ndiff with -expected +actual): Catalog: /plone/uid_catalog Indexing: Members/test_user_1_/new_btree_folder2 [] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_btree_folder2 [] + ------------------------------------------------------------ + Catalog: /plone/portal_catalog + Indexing: /plone/Members/test_user_1_/new_btree_folder2 ['portal_type', 'Type'] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_btree_folder2 ['review_state'] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_btree_folder2 ['allowedRolesAndUsers'] ------------------------------------------------------------ Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/new_btree_folder2 [] + Indexing: /plone/Members/test_user_1_/new_btree_folder2 ['allowedRolesAndUsers'] ? ++++++++++++++++++++++ ------------------------------------------------------------ - Catalog: /plone/uid_catalog - Indexing: Members/test_user_1_/new_btree_folder2 [] - ------------------------------------------------------------ ---------------------------------------------------------------------- File "/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 415, in reindex_sanity.txt Failed example: self.folder.manage_renameObjects(ids=['new_btree_folder1'], new_ids=['new_btree_folder11']) Differences (ndiff with -expected +actual): Catalog: /plone/uid_catalog UnIndexing: Members/test_user_1_/new_btree_folder1 ------------------------------------------------------------ Catalog: /plone/portal_catalog UnIndexing: /plone/Members/test_user_1_/new_btree_folder1 ------------------------------------------------------------ Catalog: /plone/uid_catalog Indexing: Members/test_user_1_/new_btree_folder11 [] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/new_btree_folder11 [] ------------------------------------------------------------ - Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/sub ['getObjPositionInParent'] - ------------------------------------------------------------ - Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/new_doc2 ['getObjPositionInParent'] - ------------------------------------------------------------ - Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/new_folder2 ['getObjPositionInParent'] - ------------------------------------------------------------ - Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/new_btree_folder2 ['getObjPositionInParent'] - ------------------------------------------------------------ - Catalog: /plone/portal_catalog - Indexing: /plone/Members/test_user_1_/new_btree_folder11 ['getObjPositionInParent'] - ------------------------------------------------------------ ---------------------------------------------------------------------- File "/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 448, in reindex_sanity.txt Failed example: _ = self.folder.sub.manage_pasteObjects(cp) Differences (ndiff with -expected +actual): Catalog: /plone/uid_catalog Indexing: Members/test_user_1_/sub/new_btree_folder2 [] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/sub/new_btree_folder2 [] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/sub/new_btree_folder2 ['review_state'] ------------------------------------------------------------ Catalog: /plone/portal_catalog Indexing: /plone/Members/test_user_1_/sub/new_btree_folder2 ['allowedRolesAndUsers'] ------------------------------------------------------------ + Catalog: /plone/portal_catalog + Indexing: /plone/Members/test_user_1_/sub/new_btree_folder2 ['allowedRolesAndUsers'] + ------------------------------------------------------------ ---------------------------------------------------------------------- Ran 330 tests in 1335.475s FAILED (failures=1) |