Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: CMF

GenericSetup test failures on Python 2.5's tarfile

 

 

Zope cmf RSS feed   Index | Next | Previous | View Threaded


tseaver at palladion

Feb 16, 2009, 10:10 AM

Post #1 of 6 (709 views)
Permalink
GenericSetup test failures on Python 2.5's tarfile

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anybody have a clue what changed in the Python 2.5 tarfile module which
triggers these failures?

> [/home/tseaver/projects/CMF/CMF.buildout-trunk]
> $ bin/test -s Products.GenericSetup
> Running Testing.ZopeTestCase.layer.ZopeLite tests:
> Set up Testing.ZopeTestCase.layer.ZopeLite in 0.091 seconds.
>
>
> Failure in test test_getLastModified_directory (Products.GenericSetup.tests.test_context.TarballImportContextTests)
> Traceback (most recent call last):
> File "/home/tseaver/projects/Zope-CVS/lib/python2.5/unittest.py", line 260, in run
> testMethod()
> File "/home/tseaver/projects/CMF/CMF.buildout-trunk/src/Products.GenericSetup/Products/GenericSetup/tests/test_context.py", line 601, in test_getLastModified_directory
> self.assertEqual( ctx.getLastModified( SUBDIR ), WHEN )
> File "/home/tseaver/projects/Zope-CVS/lib/python2.5/unittest.py", line 334, in failUnlessEqual
> (msg or '%r != %r' % (first, second))
> AssertionError: None != DateTime('2004/01/01')
>
>
>
> Failure in test test_isDirectory_subdir (Products.GenericSetup.tests.test_context.TarballImportContextTests)
> Traceback (most recent call last):
> File "/home/tseaver/projects/Zope-CVS/lib/python2.5/unittest.py", line 260, in run
> testMethod()
> File "/home/tseaver/projects/CMF/CMF.buildout-trunk/src/Products.GenericSetup/Products/GenericSetup/tests/test_context.py", line 643, in test_isDirectory_subdir
> self.assertEqual( ctx.isDirectory( SUBDIR ), True )
> File "/home/tseaver/projects/Zope-CVS/lib/python2.5/unittest.py", line 334, in failUnlessEqual
> (msg or '%r != %r' % (first, second))
> AssertionError: None != True
>
>
>
> Error in test test_listDirectory_multiple (Products.GenericSetup.tests.test_context.TarballImportContextTests)
> Traceback (most recent call last):
> File "/home/tseaver/projects/Zope-CVS/lib/python2.5/unittest.py", line 260, in run
> testMethod()
> File "/home/tseaver/projects/CMF/CMF.buildout-trunk/src/Products.GenericSetup/Products/GenericSetup/tests/test_context.py", line 717, in test_listDirectory_multiple
> self.assertEqual( len( names ), 2 )
> TypeError: object of type 'NoneType' has no len()
>
>
>
> Error in test test_listDirectory_single (Products.GenericSetup.tests.test_context.TarballImportContextTests)
> Traceback (most recent call last):
> File "/home/tseaver/projects/Zope-CVS/lib/python2.5/unittest.py", line 260, in run
> testMethod()
> File "/home/tseaver/projects/CMF/CMF.buildout-trunk/src/Products.GenericSetup/Products/GenericSetup/tests/test_context.py", line 699, in test_listDirectory_single
> self.assertEqual( len( names ), 1 )
> TypeError: object of type 'NoneType' has no len()
>
>
>
> Error in test test_listDirectory_skip (Products.GenericSetup.tests.test_context.TarballImportContextTests)
> Traceback (most recent call last):
> File "/home/tseaver/projects/Zope-CVS/lib/python2.5/unittest.py", line 260, in run
> testMethod()
> File "/home/tseaver/projects/CMF/CMF.buildout-trunk/src/Products.GenericSetup/Products/GenericSetup/tests/test_context.py", line 740, in test_listDirectory_skip
> self.assertEqual( len( names ), 1 )
> TypeError: object of type 'NoneType' has no len()
>
> Ran 113 tests with 2 failures and 3 errors in 0.427 seconds.



Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver[at]palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJmawT+gerLs4ltQ4RAp+OAKCDQ12U6OhZgGz0o49IiUE0JSW2hgCfVw0V
2aC5puF5Y27LDKTkdUrJyTM=
=xxVI
-----END PGP SIGNATURE-----

_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


jens at dataflake

Feb 16, 2009, 11:40 AM

Post #2 of 6 (662 views)
Permalink
Re: GenericSetup test failures on Python 2.5's tarfile [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Feb 16, 2009, at 19:10 , Tres Seaver wrote:

> Anybody have a clue what changed in the Python 2.5 tarfile module
> which
> triggers these failures?

Running against Python 2.5.2 using the same CMF.buildout I see no such
failure.



> Ran 113 tests with 2 failures and 3 errors in 0.427 seconds.

According to your attached screen dump you ran "bin/test -
sProducts.GenericSetup". I'm wondering why you only show 113 tests
being run. I get 459 tests with that command line on my setup.

jens



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkmZwRYACgkQRAx5nvEhZLKq/QCfVdhoy897JiJmUu26gMrAo+qm
vacAn1AvPBmYLCfhGYj+VxSNdfzJgG2I
=/nfE
-----END PGP SIGNATURE-----
_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


tseaver at palladion

Feb 16, 2009, 12:25 PM

Post #3 of 6 (657 views)
Permalink
Re: GenericSetup test failures on Python 2.5's tarfile [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jens Vagelpohl wrote:
>
> On Feb 16, 2009, at 19:10 , Tres Seaver wrote:
>
>> Anybody have a clue what changed in the Python 2.5 tarfile module
>> which
>> triggers these failures?
>
> Running against Python 2.5.2 using the same CMF.buildout I see no such
> failure.

Hmm.... "'Curiouser and curiouser,' said Alice." I am running 2.5.1: I
will try with 2.5.2.

>> Ran 113 tests with 2 failures and 3 errors in 0.427 seconds.
>
> According to your attached screen dump you ran "bin/test -
> sProducts.GenericSetup". I'm wondering why you only show 113 tests
> being run. I get 459 tests with that command line on my setup.

I trimmed off the tests which didnt fail. The total in 456, with 2
failures and 3 errors.


- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver[at]palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJmcvU+gerLs4ltQ4RAiv5AJ0flH4vfISr3h5mofK8YJERwE5YDgCfbVzB
MI5JfRUni20/Lm6rn9zTsW4=
=VDjk
-----END PGP SIGNATURE-----

_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


tseaver at palladion

Feb 16, 2009, 12:25 PM

Post #4 of 6 (656 views)
Permalink
Re: GenericSetup test failures on Python 2.5's tarfile [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jens Vagelpohl wrote:
>
> On Feb 16, 2009, at 19:10 , Tres Seaver wrote:
>
>> Anybody have a clue what changed in the Python 2.5 tarfile module
>> which
>> triggers these failures?
>
> Running against Python 2.5.2 using the same CMF.buildout I see no such
> failure.

Hmm.... "'Curiouser and curiouser,' said Alice." I am running 2.5.1: I
will try with 2.5.2.

>> Ran 113 tests with 2 failures and 3 errors in 0.427 seconds.
>
> According to your attached screen dump you ran "bin/test -
> sProducts.GenericSetup". I'm wondering why you only show 113 tests
> being run. I get 459 tests with that command line on my setup.

I trimmed off the tests which didnt fail. The total in 456, with 2
failures and 3 errors.


- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver[at]palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJmcvU+gerLs4ltQ4RAiv5AJ0flH4vfISr3h5mofK8YJERwE5YDgCfbVzB
MI5JfRUni20/Lm6rn9zTsW4=
=VDjk
-----END PGP SIGNATURE-----

_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


tseaver at palladion

Feb 16, 2009, 12:44 PM

Post #5 of 6 (659 views)
Permalink
Re: GenericSetup test failures on Python 2.5's tarfile [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tres Seaver wrote:
> Jens Vagelpohl wrote:
>> On Feb 16, 2009, at 19:10 , Tres Seaver wrote:
>
>>> Anybody have a clue what changed in the Python 2.5 tarfile module
>>> which
>>> triggers these failures?
>> Running against Python 2.5.2 using the same CMF.buildout I see no such
>> failure.
>
> Hmm.... "'Curiouser and curiouser,' said Alice." I am running 2.5.1: I
> will try with 2.5.2.

The changelog for Python 2.5.2[1] has quite a large number of references
to the 'tarfile' module. One in particular looks like it might be the
culprit:

- tarfile.py: Fix directory names to have only one trailing slash.

[1] http://www.python.org/download/releases/2.5.2/NEWS.txt

(Later) OK, after installing 2.5.2, all tests pass cleanly. Somebody
really screwed the pooch in there.



Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver[at]palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJmdA++gerLs4ltQ4RAmaPAKCM9lVMNnP4IbpVTkMfSPKz7e1cQgCgkAXc
CUEdtKeVL+ekXqyzmYkYdMI=
=Q/od
-----END PGP SIGNATURE-----
_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


tseaver at palladion

Feb 16, 2009, 12:44 PM

Post #6 of 6 (658 views)
Permalink
Re: GenericSetup test failures on Python 2.5's tarfile [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tres Seaver wrote:
> Jens Vagelpohl wrote:
>> On Feb 16, 2009, at 19:10 , Tres Seaver wrote:
>
>>> Anybody have a clue what changed in the Python 2.5 tarfile module
>>> which
>>> triggers these failures?
>> Running against Python 2.5.2 using the same CMF.buildout I see no such
>> failure.
>
> Hmm.... "'Curiouser and curiouser,' said Alice." I am running 2.5.1: I
> will try with 2.5.2.

The changelog for Python 2.5.2[1] has quite a large number of references
to the 'tarfile' module. One in particular looks like it might be the
culprit:

- tarfile.py: Fix directory names to have only one trailing slash.

[1] http://www.python.org/download/releases/2.5.2/NEWS.txt

(Later) OK, after installing 2.5.2, all tests pass cleanly. Somebody
really screwed the pooch in there.



Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver[at]palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJmdA++gerLs4ltQ4RAmaPAKCM9lVMNnP4IbpVTkMfSPKz7e1cQgCgkAXc
CUEdtKeVL+ekXqyzmYkYdMI=
=Q/od
-----END PGP SIGNATURE-----

_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Zope cmf RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.