hashlib SHA-2 test failures on ppc64el (and ppc64 big endian)
SHA-2 tests seem to have regressed since 7.3.1 on ppc64el:
======================================================================
FAIL: test_case_sha224_3 (test.test_hashlib.HashLibTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/lib-python/2.7/test/test_hashlib.py", line 293, in test_case_sha224_3
"20794655980c91d8bbb4c1ea97618a4bf03f42581948b2ee4ee7ad67")
File "/<<PKGBUILDDIR>>/lib-python/2.7/test/test_hashlib.py", line 179, in check
computed, len(data), digest))
AssertionError: Hash algorithm sha224 constructed using <class '_sha256.sha224'> returned hexdigest '339b8902f2504a606b444df5b264b5d5227597bfb12528f7441a2824' for 1000000 byte input data that should have hashed to '20794655980c91d8bbb4c1ea97618a4bf03f42581948b2ee4ee7ad67'.
======================================================================
FAIL: test_case_sha256_0 (test.test_hashlib.HashLibTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/lib-python/2.7/test/test_hashlib.py", line 298, in test_case_sha256_0
"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855")
File "/<<PKGBUILDDIR>>/lib-python/2.7/test/test_hashlib.py", line 179, in check
computed, len(data), digest))
AssertionError: Hash algorithm sha256 constructed using <class '_sha256.sha256'> returned hexdigest '701c9d40a7f04e17451f00a47dbfdd6f92ea8fb63a2cbf85759be9a88b3035f0' for 0 byte input data that should have hashed to 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'.
======================================================================
FAIL: test_case_sha256_1 (test.test_hashlib.HashLibTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/lib-python/2.7/test/test_hashlib.py", line 302, in test_case_sha256_1
"ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad")
File "/<<PKGBUILDDIR>>/lib-python/2.7/test/test_hashlib.py", line 179, in check
computed, len(data), digest))
AssertionError: Hash algorithm sha256 constructed using <class '_sha256.sha256'> returned hexdigest '76ec7ef85e8c3ec5952671817691fa530e5495b82c5a745dd985f5e0c2c2ba87' for 3 byte input data that should have hashed to 'ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad'.
======================================================================
FAIL: test_case_sha256_2 (test.test_hashlib.HashLibTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/lib-python/2.7/test/test_hashlib.py", line 307, in test_case_sha256_2
"248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1")
File "/<<PKGBUILDDIR>>/lib-python/2.7/test/test_hashlib.py", line 179, in check
computed, len(data), digest))
AssertionError: Hash algorithm sha256 constructed using <class '_sha256.sha256'> returned hexdigest '308dab8d3ce6f2918b8998da7ec7f536f05a325e7b7d1a29740d5c8d0c27c5da' for 56 byte input data that should have hashed to '248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1'.
etc.
Full build log: https://buildd.debian.org/status/fetch.php?pkg=pypy&arch=ppc64el&ver=7.3.2%7Erc2%2Bdfsg-1&stamp=1600921085&raw=0
There are a whole load of other failures, but these stand out as a regression.
7.3.1:
FAIL: test_deeply_nested_repr (test.test_dictviews.DictSetTest)
FAIL: test_reorganize (test.test_gdbm.TestGdbm)
FAIL: test_getsitepackages (test.test_site.HelperFunctionsTests)
7.3.2 rc2 (and patches on the release branch since then):
FAIL: test_deeply_nested_repr (test.test_dictviews.DictSetTest)
FAIL: test_reorganize (test.test_gdbm.TestGdbm)
FAIL: test_case_sha224_3 (test.test_hashlib.HashLibTestCase)
FAIL: test_case_sha256_0 (test.test_hashlib.HashLibTestCase)
FAIL: test_case_sha256_1 (test.test_hashlib.HashLibTestCase)
FAIL: test_case_sha256_2 (test.test_hashlib.HashLibTestCase)
FAIL: test_case_sha256_3 (test.test_hashlib.HashLibTestCase)
FAIL: test_case_sha384_3 (test.test_hashlib.HashLibTestCase)
FAIL: test_case_sha512_0 (test.test_hashlib.HashLibTestCase)
FAIL: test_case_sha512_1 (test.test_hashlib.HashLibTestCase)
FAIL: test_case_sha512_2 (test.test_hashlib.HashLibTestCase)
FAIL: test_case_sha512_3 (test.test_hashlib.HashLibTestCase)
FAIL: test_unicode (test.test_hashlib.HashLibTestCase)
FAIL: test_builtin_assign (lib2to3.tests.test_fixers.Test_next)
FAIL: test_builtin_assign_in_list (lib2to3.tests.test_fixers.Test_next)
FAIL: test_builtin_assign_in_tuple (lib2to3.tests.test_fixers.Test_next)
FAIL: test_noncall_access_1 (lib2to3.tests.test_fixers.Test_next)
FAIL: test_noncall_access_2 (lib2to3.tests.test_fixers.Test_next)
FAIL: test_noncall_access_3 (lib2to3.tests.test_fixers.Test_next)
FAIL: test_unchanged (lib2to3.tests.test_fixers.Test_reduce)
FAIL: test_import_module_usage (lib2to3.tests.test_fixers.Test_renames)
FAIL: test_import_from (lib2to3.tests.test_fixers.Test_urllib)
FAIL: test_import_module (lib2to3.tests.test_fixers.Test_urllib)
FAIL: test_import_module_as (lib2to3.tests.test_fixers.Test_urllib)
FAIL: test_import_module_usage (lib2to3.tests.test_fixers.Test_urllib)
FAIL: test_star (lib2to3.tests.test_fixers.Test_urllib)
FAIL: test_filename_changing_on_output_single_dir (lib2to3.tests.test_main.TestMain)
FAIL: testWholeText (test.test_minidom.MinidomTest)
FAIL: test_others (test.test_pyclbr.PyclbrTest)