lib-python/3/test/test_hash.py::unmodified
== PyPy 3.12.13 (e99dc7a98783, Jul 10 2026, 07:10:46) [PyPy 8.0.0-alpha0 with GCC Apple LLVM 16.0.0 (clang-1600.0.26.6)]
== macOS-15.7.7-x86_64-i386-64bit little-endian
== Python build: release with_assert
== cwd: /private/tmp/buildbot-x86_64/pytest/test_python_worker_29510æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1504110874
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 1.60 Run 1 test sequentially in a single process
0:00:00 load avg: 1.60 [1/1] test_hash
test_empty_string (test.test_hash.BytesHashRandomizationTests.test_empty_string) ... FAIL
test_fixed_hash (test.test_hash.BytesHashRandomizationTests.test_fixed_hash) ... ok
test_long_fixed_hash (test.test_hash.BytesHashRandomizationTests.test_long_fixed_hash) ... ok
test_null_hash (test.test_hash.BytesHashRandomizationTests.test_null_hash) ... ok
test_randomized_hash (test.test_hash.BytesHashRandomizationTests.test_randomized_hash) ... ok
test_randomized_hash (test.test_hash.DatetimeDateTests.test_randomized_hash) ... ok
test_randomized_hash (test.test_hash.DatetimeDatetimeTests.test_randomized_hash) ... ok
test_randomized_hash (test.test_hash.DatetimeTimeTests.test_randomized_hash) ... ok
test_hashes (test.test_hash.HashBuiltinsTestCase.test_hashes) ... ok
test_hash_distribution (test.test_hash.HashDistributionTestCase.test_hash_distribution) ... ok
test_coerced_floats (test.test_hash.HashEqualityTestCase.test_coerced_floats) ... ok
test_coerced_integers (test.test_hash.HashEqualityTestCase.test_coerced_integers) ... ok
test_numeric_literals (test.test_hash.HashEqualityTestCase.test_numeric_literals) ... ok
test_unaligned_buffers (test.test_hash.HashEqualityTestCase.test_unaligned_buffers) ... ok
test_default_hash (test.test_hash.HashInheritanceTestCase.test_default_hash) ... ok
test_error_hash (test.test_hash.HashInheritanceTestCase.test_error_hash) ... ok
test_fixed_hash (test.test_hash.HashInheritanceTestCase.test_fixed_hash) ... ok
test_hashable (test.test_hash.HashInheritanceTestCase.test_hashable) ... ok
test_not_hashable (test.test_hash.HashInheritanceTestCase.test_not_hashable) ... ok
test_empty_string (test.test_hash.MemoryviewHashRandomizationTests.test_empty_string) ... FAIL
test_fixed_hash (test.test_hash.MemoryviewHashRandomizationTests.test_fixed_hash) ... ok
test_long_fixed_hash (test.test_hash.MemoryviewHashRandomizationTests.test_long_fixed_hash) ... ok
test_null_hash (test.test_hash.MemoryviewHashRandomizationTests.test_null_hash) ... ok
test_randomized_hash (test.test_hash.MemoryviewHashRandomizationTests.test_randomized_hash) ... ok
test_empty_string (test.test_hash.StrHashRandomizationTests.test_empty_string) ... FAIL
test_fixed_hash (test.test_hash.StrHashRandomizationTests.test_fixed_hash) ... ok
test_long_fixed_hash (test.test_hash.StrHashRandomizationTests.test_long_fixed_hash) ... ok
test_null_hash (test.test_hash.StrHashRandomizationTests.test_null_hash) ... ok
test_randomized_hash (test.test_hash.StrHashRandomizationTests.test_randomized_hash) ... ok
test_ucs2_string (test.test_hash.StrHashRandomizationTests.test_ucs2_string) ... FAIL
======================================================================
FAIL: test_empty_string (test.test_hash.BytesHashRandomizationTests.test_empty_string)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_hash.py", line 315, in test_empty_string
self.assertEqual(hash(b""), 0)
^^^^^^^^^^^
AssertionError: -5128270258463483754 != 0
======================================================================
FAIL: test_empty_string (test.test_hash.MemoryviewHashRandomizationTests.test_empty_string)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_hash.py", line 324, in test_empty_string
self.assertEqual(hash(memoryview(b"")), 0)
^^^^^^^^^^^
AssertionError: -5128270258463483754 != 0
======================================================================
FAIL: test_empty_string (test.test_hash.StrHashRandomizationTests.test_empty_string)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_hash.py", line 299, in test_empty_string
self.assertEqual(hash(""), 0)
^^^^^^^^^^^
AssertionError: -5128270258463483754 != 0
======================================================================
FAIL: test_ucs2_string (test.test_hash.StrHashRandomizationTests.test_ucs2_string)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_hash.py", line 304, in test_ucs2_string
self.assertEqual(self.get_hash(self.repr_ucs2, seed=0), h)
^^^^^^^^^^^
AssertionError: 6366690566833080022 != 5749986484189612790
----------------------------------------------------------------------
Ran 30 tests in 1.289s
FAILED (failures=4)
0:00:01 load avg: 1.60 [1/1/1] test_hash failed (4 failures)
== Tests result: FAILURE ==
1 test failed:
test_hash
Total duration: 1.4 sec
Total tests: run=30 failures=4
Total test files: run=1/1 failed=1
Result: FAILURE
test test_hash failed
builder: pypy-c-jit-macos-x86-64 build #1329+
test: lib-python/3/test/test_hash.py::unmodified