[Zope-CMF] GenericSetup failures on Mac OS X
Florent Guillaume
fg at nuxeo.com
Mon Jan 2 10:22:24 EST 2006
These tests fail on Mac OS X, any similar experience on linux?
Something to do with filesystem accesses...
I don't have the time to investigate and fix them right now.
Florent
Ran 322 tests with 13 failures and 4 errors in 13.569 seconds:
Failure in test test_getLastModified_directory
(Products.GenericSetup.tests.test_context.SnapshotImportContextTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_context.py", line 1259, in test_getLastModified_directory
self.assertEqual( ctx.getLastModified( SUBDIR ), WHEN )
File "/usr/local/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: None != DateTime('2004/01/01')
..
Failure in test test_getLastModified_simple
(Products.GenericSetup.tests.test_context.SnapshotImportContextTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_context.py", line 1228, in test_getLastModified_simple
self.assertEqual( ctx.getLastModified( FILENAME ), WHEN )
File "/usr/local/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: None != DateTime('2004/01/01')
.
Failure in test test_getLastModified_subdir
(Products.GenericSetup.tests.test_context.SnapshotImportContextTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_context.py", line 1244, in test_getLastModified_subdir
self.assertEqual( ctx.getLastModified( PATH ), WHEN )
File "/usr/local/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: None != DateTime('2004/01/01')
..
Failure in test test_isDirectory_nested
(Products.GenericSetup.tests.test_context.SnapshotImportContextTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_context.py", line 1295, in test_isDirectory_nested
self.assertEqual( ctx.isDirectory( PATH ), False )
File "/usr/local/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: None != False
..
Failure in test test_isDirectory_simple
(Products.GenericSetup.tests.test_context.SnapshotImportContextTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_context.py", line 1280, in test_isDirectory_simple
self.assertEqual( ctx.isDirectory( FILENAME ), False )
File "/usr/local/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: None != False
.
Failure in test test_isDirectory_subdir
(Products.GenericSetup.tests.test_context.SnapshotImportContextTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_context.py", line 1310, in test_isDirectory_subdir
self.assertEqual( ctx.isDirectory( SUBDIR ), True )
File "/usr/local/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: None != True
.
Error in test test_listDirectory_multiple
(Products.GenericSetup.tests.test_context.SnapshotImportContextTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_context.py", line 1393, in test_listDirectory_multiple
self.assertEqual( len( names ), 2 )
TypeError: len() of unsized object
...
Error in test test_listDirectory_root
(Products.GenericSetup.tests.test_context.SnapshotImportContextTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_context.py", line 1331, in test_listDirectory_root
self.assertEqual( len( ctx.listDirectory( None ) ), 1 )
TypeError: len() of unsized object
..
Error in test test_listDirectory_single
(Products.GenericSetup.tests.test_context.SnapshotImportContextTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_context.py", line 1374, in test_listDirectory_single
self.assertEqual( len( names ), 1 )
TypeError: len() of unsized object
.
Error in test test_listDirectory_skip
(Products.GenericSetup.tests.test_context.SnapshotImportContextTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_context.py", line 1413, in test_listDirectory_skip
self.assertEqual( len( names ), 1 )
TypeError: len() of unsized object
..
Failure in test test_readDataFile_simple
(Products.GenericSetup.tests.test_context.SnapshotImportContextTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_context.py", line 1189, in test_readDataFile_simple
self.assertEqual( ctx.readDataFile( FILENAME ), printable )
File "/usr/local/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: None !=
'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&
\'()*+,-./:;<=>?@[\\]^_`{|}~ \t\n\r\x0b\x0c'
.
Failure in test test_readDataFile_subdir
(Products.GenericSetup.tests.test_context.SnapshotImportContextTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_context.py", line 1203, in test_readDataFile_subdir
self.assertEqual( ctx.readDataFile( FILENAME, SUBDIR ), printable )
File "/usr/local/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: None !=
'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&
\'()*+,-./:;<=>?@[\\]^_`{|}~ \t\n\r\x0b\x0c'
.....
Failure in test test_compare_added_file_missing_as_empty
(Products.GenericSetup.tests.test_differ.ConfigDiffTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_differ.py", line 324, in test_compare_added_file_missing_as_empty
self.assertEqual( diffs, ADDED_FILE_DIFFS_MAE % AFTER )
File "/usr/local/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: '' != 'Index: sub/again.txt
\n===================================================================
\n--- sub/again.txt 0\n+++ sub/again.txt 2004/02/29 23:59:59 GMT+0
\n@@ -1,0 +1,1 @@\n+GHIJKL'
.
Failure in test test_compare_added_file_no_missing_as_empty
(Products.GenericSetup.tests.test_differ.ConfigDiffTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_differ.py", line 306, in
test_compare_added_file_no_missing_as_empty
self.assertEqual( diffs, ADDED_FILE_DIFFS_NO_MAE )
File "/usr/local/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: '' != '** File sub/again.txt added\n'
.
Failure in test test_compare_changed_file
(Products.GenericSetup.tests.test_differ.ConfigDiffTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_differ.py", line 228, in test_compare_changed_file
self.assertEqual( diffs, TEST_TXT_DIFFS % ( BEFORE, AFTER ) )
File "/usr/local/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: '' != 'Index: test.txt
\n===================================================================
\n--- test.txt 2004/01/01\n+++ test.txt 2004/02/29 23:59:59 GMT+0\n@@
-1,2 +1,2 @@\n ABCDEF\n-WXYZ\n+QRST'
......
Failure in test test_compare_removed_file_missing_as_empty
(Products.GenericSetup.tests.test_differ.ConfigDiffTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_differ.py", line 358, in test_compare_removed_file_missing_as_empty
self.assertEqual( diffs, REMOVED_FILE_DIFFS_MAE % BEFORE )
File "/usr/local/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: '' != 'Index: sub/again.txt
\n===================================================================
\n--- sub/again.txt 2004/01/01\n+++ sub/again.txt 0\n@@ -1,1 +1,0 @@
\n-GHIJKL'
.
Failure in test test_compare_removed_file_no_missing_as_empty
(Products.GenericSetup.tests.test_differ.ConfigDiffTests)
Traceback (most recent call last):
File "/Users/fguillaume/zope/zope29-zope/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/Users/fguillaume/zope/zope29/Products/GenericSetup/tests/
test_differ.py", line 340, in
test_compare_removed_file_no_missing_as_empty
self.assertEqual( diffs, REMOVED_FILE_DIFFS_NO_MAE )
File "/usr/local/lib/python2.4/unittest.py", line 333, in
failUnlessEqual
raise self.failureException, \
AssertionError: '' != '** File sub/again.txt removed\n'
.........
..................................................
..................................................
......................
Ran 322 tests with 13 failures and 4 errors in 13.569 seconds.
--
Florent Guillaume, Nuxeo (Paris, France) Director of R&D
+33 1 40 33 71 59 http://nuxeo.com fg at nuxeo.com
More information about the Zope-CMF
mailing list