-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test failure in test_hash_equal on py2.6 windows #21
Comments
I have a feeling this is because the tests run on a 32-bit build rather than because it's Windows or because it's Python 2.6. Note that >>> hash('a string') # Python 2.6.5, Linux, 32-bit
1827144452
>>> hash('a string') # Python 2.6.9, Linux, 64-bit
-8411828025894108412
>>> hash('a string') # Python 3.4.2, Linux, 64-bit
-8227545103199816438 |
At some point Travis CI might allow us to test both 32- and 64-bit builds in the build matrix: travis-ci/travis-ci#986 |
Okay, string hashes are irrelevant for this issue: persistent/persistent/_timestamp.c Lines 155 to 167 in 663497d
|
Perhaps it would be sufficient to replace |
Unfortunately the test still fails: http://winbot.zope.org/builders/persistent_py_265_32/builds/972/steps/test/logs/stdio
|
The 1st failure (test_hash_equal_constants) is the same as before. The failure in test_hash_equal is gone. The failure in test_py_hash_32_64_bit is new. |
In As for the constants, sorry I missed those the first time around. I obviously calculated those based on a 64-bit platform. What if we skip that test on a 32-bit platform? |
By the way, these failures don't go to the "zope-dev" mailing list, like, for example, the zope.toolkit failures do. Is there some other list they go to so I could catch them earlier? |
I found a 32-bit Python to test on, so hopefully PR #23 should really do it. |
The failures go to zope-tests@zope.org, and then a daily summary is sent to zope-dev@zope.org (but it's basically delayed by a whole day). I use this script to analyze the daily summaries in a non-painful way. |
Thank you. |
…e C TimeStamp hashcode. Fixes zopefoundation#21
…e C TimeStamp hashcode. Fixes zopefoundation#21
Commit 2a8313c breaks tests on winbot
see here:
http://winbot.zope.org/builders/persistent_py_265_32/builds/971/steps/test/logs/stdio
The text was updated successfully, but these errors were encountered: