Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

lib-python/3/test/test_hash.py::unmodified

== PyPy 3.12.13 (a3c6b428e7a8, Jul 09 2026, 03:54:00) [PyPy 8.0.0-alpha0 with GCC Apple LLVM 16.0.0 (clang-1600.0.26.6)]
== macOS-15.7.7-arm64-arm-64bit little-endian
== Python build: release with_assert
== cwd: /private/tmp/buildbot-arm64/pytest/test_python_worker_55508æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 446259961
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 5.27 Run 1 test sequentially in a single process
0:00:00 load avg: 5.27 [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-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_hash.py", line 315, in test_empty_string
    self.assertEqual(hash(b""), 0)
         ^^^^^^^^^^^
AssertionError: -4685146319334460706 != 0

======================================================================
FAIL: test_empty_string (test.test_hash.MemoryviewHashRandomizationTests.test_empty_string)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_hash.py", line 324, in test_empty_string
    self.assertEqual(hash(memoryview(b"")), 0)
         ^^^^^^^^^^^
AssertionError: -4685146319334460706 != 0

======================================================================
FAIL: test_empty_string (test.test_hash.StrHashRandomizationTests.test_empty_string)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_hash.py", line 299, in test_empty_string
    self.assertEqual(hash(""), 0)
         ^^^^^^^^^^^
AssertionError: -4685146319334460706 != 0

======================================================================
FAIL: test_ucs2_string (test.test_hash.StrHashRandomizationTests.test_ucs2_string)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/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 0.590s

FAILED (failures=4)
0:00:00 load avg: 5.27 [1/1/1] test_hash failed (4 failures)

== Tests result: FAILURE ==

1 test failed:
    test_hash

Total duration: 662 ms
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-arm64 build #1306+
test: lib-python/3/test/test_hash.py::unmodified