This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_sys: sys.hash_info.algorithm failure on SPARC Solaris buildbot
Type: behavior Stage: patch review
Components: Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: christian.heimes Nosy List: christian.heimes, python-dev, vstinner
Priority: high Keywords: patch

Created on 2013-11-24 12:46 by vstinner, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_sys_hashinfo.patch vstinner, 2013-11-24 17:52 review
Messages (4)
msg204205 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-11-24 12:46
http://buildbot.python.org/all/builders/SPARC%20Solaris%2010%20%28cc%2C%2032b%29%20%5BSB%5D%203.x/builds/1574/steps/test/logs/stdio

======================================================================
FAIL: test_attributes (test.test_sys.SysModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/cpython/buildslave/cc-32/3.x.snakebite-sol10-sparc-cc-32/build/Lib/test/test_sys.py", line 462, in test_attributes
    self.assertEqual(sys.hash_info.algorithm, "fnv")
AssertionError: 'siphash24' != 'fnv'
- siphash24
+ fnv
msg204245 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-11-24 17:52
Extract of configure output on SPARC buildbot:
> checking aligned memory access is required... no

Here is a patch for test_sys.

Checking the processor type is not reliable, the test should not be so strict.
msg204258 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-11-24 19:05
I'll look into it.
msg205987 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-12-12 22:13
New changeset 7c116d7c6c65 by Victor Stinner in branch 'default':
Issue #19751: Fix typo in configuration option
http://hg.python.org/cpython/rev/7c116d7c6c65

New changeset c1a7ba57b4ff by Victor Stinner in branch 'default':
Issue #19751: Fix hash_info test of test_sys on SPARC Solaris
http://hg.python.org/cpython/rev/c1a7ba57b4ff
History
Date User Action Args
2022-04-11 14:57:54adminsetgithub: 63950
2014-02-11 17:49:46vstinnersetstatus: open -> closed
resolution: fixed
2013-12-12 22:13:25python-devsetnosy: + python-dev
messages: + msg205987
2013-11-24 19:05:05christian.heimessetpriority: normal -> high
messages: + msg204258

assignee: christian.heimes
type: behavior
stage: patch review
2013-11-24 17:52:34vstinnersetfiles: + test_sys_hashinfo.patch
keywords: + patch
messages: + msg204245
2013-11-24 12:46:27vstinnercreate