bsddb: Test failures on windows (HELP!)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Trent, I was wondering if you could look at some test failures in MS Windows builds. I can't debug Windows issues myself :-(. This is a MS free environment... Details: http://www.python.org/dev/buildbot/all/x86%20XP-4%20trunk/builds/1364/step-t... Thanks in advance for your time and attention. Of course, any other help appreciated :-) - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:jcea@jabber.org _/_/ _/_/ _/_/_/_/_/ . _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBSIdPJJlgi5GaxT1NAQLzFwP9E0huY63jOZWx9v/H7NhDGwIqFl5OGfhO EZ6uCdRBuyH4Y4jQBaIKTFN9jXu2sSONNMBDgOZznkBuYtFIA8Xmn9KDrkuZ5k8G 1GlcG+DcoG1aP1PANgrPMkEpptw5/TNBlA3s6p/F4oDSye1kMW0CbGcSHeECYF9R CIhZztqZvWk= =aZoO -----END PGP SIGNATURE-----
Trent, I was wondering if you could look at some test failures in MS Windows builds. I can't debug Windows issues myself :-(. This is a MS free environment...
In these errors I see lots of bsdbd errors, many of the form:
| DBFileExistsError: (17, 'File exists -- __fop_file_setup: Retry limit
(100) exceeded')
Maybe an old test file isn't being nuked? Others of the form:
| self.assertTrue(time.time()
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark Hammond wrote:
Trent, I was wondering if you could look at some test failures in MS Windows builds. I can't debug Windows issues myself :-(. This is a MS free environment...
In these errors I see lots of bsdbd errors, many of the form:
| DBFileExistsError: (17, 'File exists -- __fop_file_setup: Retry limit (100) exceeded')
Maybe this one is due to the fact that Windows, unlike POSIX, doesn't allow unlinking an open file?
Maybe an old test file isn't being nuked? Others of the form:
| self.assertTrue(time.time()
which also look more related to the test suite than to Windows.
Perhaps this is due to differing timer granularity on Windows?
There are also lots of errors due to the environment having a unicode object in it:
| test test_site failed -- Traceback (most recent call last): | ... | TypeError: environment can only contain strings
| test test_subprocess failed -- errors occurred; run in verbose mode for details | [Possibly the same error as below?]
| test test_sys failed -- Traceback (most recent call last): | File "...\subprocess.py", line 817, in _execute_child | startupinfo) | TypeError: environment can only contain strings
That definitely shouldn't happen on Unix either. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@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 iD8DBQFIiHfr+gerLs4ltQ4RAk5KAJ9It0Am1VfFNQNaE+wA8uWkkTZ6wQCgtwlx o16eVKpEXTHED4X1/Vi0Nk0= =zzKd -----END PGP SIGNATURE-----
Tres Seaver wrote:
Mark Hammond wrote:
Trent, I was wondering if you could look at some test failures in MS Windows builds. I can't debug Windows issues myself :-(. This is a MS free environment...
In these errors I see lots of bsdbd errors, many of the form:
| DBFileExistsError: (17, 'File exists -- __fop_file_setup: Retry limit (100) exceeded')
Maybe this one is due to the fact that Windows, unlike POSIX, doesn't allow unlinking an open file?
I see that some tests use os.unlink. They should use test_support.unlink() instead. -- Amaury Forgeot d'Arc
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jesus Cea wrote: | Trent, I was wondering if you could look at some test failures in MS | Windows builds. I can't debug Windows issues myself :-(. This is a MS | free environment... I will be out of the city, 100% offline, until monday/tuesday. I will read your suggestions and do some tests as soon as possible. Please, keep the brainstorming going :) Feel free to (minimally };-)) touch the testcases trying to improve the situation. If that does the trick, please let me know to integrate the changes in my code. Remember this code must work in python 2.[3-6] (reason, for example, because I have my own "test_support" code, in pybsddb). Thanks a lot for your invaluable suggestions. - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:jcea@jabber.org _/_/ _/_/ _/_/_/_/_/ . _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBSIinuplgi5GaxT1NAQK6qQP+LOv1lU6G6+GaSrxUqrnFM62bTcmXCMay S0ic3rWYUL4YTvWT/Ips/qBgYvRCPl3uHnmIDia9UAOnYh3EYjkFN+/4GDofGwM+ 1UBRu86C7LsYdJl2VlHJyHGWmz6tgbbtAue306CNX01yD+pwYsCUqMSTuzjiiNCx /q1DHdJv8Qo= =OpNx -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Amaury Forgeot d'Arc wrote: | I see that some tests use os.unlink. They should use | test_support.unlink() instead. Old stuff. Fix just committed. - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:jcea@jabber.org _/_/ _/_/ _/_/_/_/_/ . _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBSI8gQ5lgi5GaxT1NAQJyHwQAiU6izAcI5eI3tizxWkvsw4MBRmQzlGNi Ib+U/ZxuO9bqYOXZLqIQWkH2Ry1/Li7KeepVRehdkVlSnFEkWVXPhNofxvlXoQpl Rt0T8aGJ1GhWkdojkWE7Ab2L8mdTCunHuVyiAQBagTET1E9iRnjrf5//XsRvd09Z SUfPgEnvqv4= =96Vt -----END PGP SIGNATURE-----
On Wed, Jul 23, 2008 at 10:44 PM, Mark Hammond
Trent, I was wondering if you could look at some test failures in MS Windows builds. I can't debug Windows issues myself :-(. This is a MS free environment...
In these errors I see lots of bsdbd errors, many of the form:
| DBFileExistsError: (17, 'File exists -- __fop_file_setup: Retry limit (100) exceeded')
I've had this a few times in the past (Retry limit (100) exceeded)and it has always been caused by cruft left behind by a previous run of the test that didn't end well. Somehow these tests do not do a good job of cleaning up old cruft before they run. -- --Guido van Rossum (home page: http://www.python.org/~guido/)
participants (5)
-
Amaury Forgeot d'Arc
-
Guido van Rossum
-
Jesus Cea
-
Mark Hammond
-
Tres Seaver