From: Archetypes U. T. <plo...@ep...> - 2005-12-25 03:33:52
|
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 /home/stefan/autotest/temp/python23-zope27/test.py --config-file zope.conf --libdir . --dir Archetypes !test_cmfessentials Installing CMFCore ... done (0.010s) Installing CMFDefault ... done (0.008s) Installing CMFCalendar ... done (0.031s) Installing CMFTopic ... done (0.007s) Installing DCWorkflow ... done (0.079s) Installing CMFActionIcons ... done (0.018s) Installing CMFQuickInstallerTool ... done (0.052s) Installing CMFFormController ... done (0.162s) Installing GroupUserFolder ... done (0.138s) Installing ZCTextIndex ... done (0.072s) Installing CMFPlone ... done (0.480s) Installing MimetypesRegistry ... done (0.009s) Installing PortalTransforms ... done (0.008s) Installing Archetypes ... done (0.477s) Installing ArchetypesTestUpdateSchema ... done (0.019s) Adding Plone Site ... done (0.842s) Adding CMFFormController ... done (0.001s) Adding Archetypes ... /home/stefan/autotest/temp/python23-zope27/lib/python/Products/ZCatalog/ZCatalog.py:484: DeprecationWarning: catalog_object interface of CatalogTool not up to date DeprecationWarning) done (0.706s) Failed to import ZPsycopgDA Failed to import ZMySQLDA /home/stefan/autotest/temp/python23-zope27/lib/python/Interface/_InterfaceClass.py:211: FutureWarning: %u/%o/%x/%X of negative int will return a signed string in Python 2.4 and up return "<%s %s at %x>" % (self.__class__.__name__, name, id(self)) ====================================================================== FAIL: Doctest: reindex_sanity.txt ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/stefan/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 "/home/stefan/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 0 ---------------------------------------------------------------------- File "/home/stefan/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 89, 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 "/home/stefan/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 118, 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 "/home/stefan/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 154, 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 "/home/stefan/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 181, 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 "/home/stefan/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 218, 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 "/home/stefan/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 247, 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 "/home/stefan/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 284, 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 "/home/stefan/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 314, 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 "/home/stefan/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 351, 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 "/home/stefan/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 380, 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 "/home/stefan/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 416, 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 "/home/stefan/autotest/temp/python23-zope27-cmf14-plone20-at13/Products/Archetypes/tests/reindex_sanity.txt", line 449, 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 65.512s FAILED (failures=1) |