>>> py3-ecdsa: Building community/py3-ecdsa 0.16.1-r2 (using abuild 3.10.0_rc1-r2) started Fri, 28 Oct 2022 01:10:46 +0000 >>> py3-ecdsa: Checking sanity of /home/buildozer/aports/community/py3-ecdsa/APKBUILD... >>> py3-ecdsa: Analyzing dependencies... >>> py3-ecdsa: Installing for build: build-base python3 py3-six py3-setuptools py3-hypothesis py3-pytest (1/22) Installing libbz2 (1.0.8-r3) (2/22) Installing libffi (3.4.4-r0) (3/22) Installing gdbm (1.23-r0) (4/22) Installing xz-libs (5.2.7-r0) (5/22) Installing mpdecimal (2.5.1-r1) (6/22) Installing readline (8.2.0-r0) (7/22) Installing sqlite-libs (3.39.4-r0) (8/22) Installing python3 (3.10.8-r3) (9/22) Installing py3-six (1.16.0-r3) (10/22) Installing py3-parsing (3.0.9-r0) (11/22) Installing py3-packaging (21.3-r2) (12/22) Installing py3-setuptools (65.5.0-r0) (13/22) Installing py3-attrs (22.1.0-r0) (14/22) Installing py3-sortedcontainers (2.4.0-r1) (15/22) Installing py3-exceptiongroup (1.0.0_rc9-r1) (16/22) Installing py3-hypothesis (6.56.3-r0) (17/22) Installing py3-iniconfig (1.1.1-r3) (18/22) Installing py3-pluggy (1.0.0-r1) (19/22) Installing py3-py (1.11.0-r0) (20/22) Installing py3-tomli (2.0.1-r1) (21/22) Installing py3-pytest (7.1.3-r1) (22/22) Installing .makedepends-py3-ecdsa (20221028.011105) Executing busybox-1.35.0-r27.trigger OK: 323 MiB in 114 packages >>> py3-ecdsa: Cleaning up srcdir >>> py3-ecdsa: Cleaning up pkgdir >>> py3-ecdsa: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/ecdsa-0.16.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> py3-ecdsa: Fetching https://files.pythonhosted.org/packages/source/e/ecdsa/ecdsa-0.16.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 123k 100 123k 0 0 396k 0 --:--:-- --:--:-- --:--:-- 396k >>> py3-ecdsa: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/ecdsa-0.16.1.tar.gz >>> py3-ecdsa: Checking sha512sums... ecdsa-0.16.1.tar.gz: OK >>> py3-ecdsa: Unpacking /var/cache/distfiles/v3.17/ecdsa-0.16.1.tar.gz... running build running build_py creating build creating build/lib creating build/lib/ecdsa copying src/ecdsa/test_pyecdsa.py -> build/lib/ecdsa copying src/ecdsa/_compat.py -> build/lib/ecdsa copying src/ecdsa/ecdh.py -> build/lib/ecdsa copying src/ecdsa/test_keys.py -> build/lib/ecdsa copying src/ecdsa/test_rw_lock.py -> build/lib/ecdsa copying src/ecdsa/ecdsa.py -> build/lib/ecdsa copying src/ecdsa/util.py -> build/lib/ecdsa copying src/ecdsa/test_ellipticcurve.py -> build/lib/ecdsa copying src/ecdsa/__init__.py -> build/lib/ecdsa copying src/ecdsa/test_jacobi.py -> build/lib/ecdsa copying src/ecdsa/_version.py -> build/lib/ecdsa copying src/ecdsa/_rwlock.py -> build/lib/ecdsa copying src/ecdsa/numbertheory.py -> build/lib/ecdsa copying src/ecdsa/rfc6979.py -> build/lib/ecdsa copying src/ecdsa/test_numbertheory.py -> build/lib/ecdsa copying src/ecdsa/test_ecdsa.py -> build/lib/ecdsa copying src/ecdsa/test_malformed_sigs.py -> build/lib/ecdsa copying src/ecdsa/curves.py -> build/lib/ecdsa copying src/ecdsa/ellipticcurve.py -> build/lib/ecdsa copying src/ecdsa/keys.py -> build/lib/ecdsa copying src/ecdsa/test_der.py -> build/lib/ecdsa copying src/ecdsa/der.py -> build/lib/ecdsa copying src/ecdsa/test_ecdh.py -> build/lib/ecdsa UPDATING build/lib/ecdsa/_version.py set build/lib/ecdsa/_version.py to '0.16.1' ============================= test session starts ============================== platform linux -- Python 3.10.8, pytest-7.1.3, pluggy-1.0.0 rootdir: /home/buildozer/aports/community/py3-ecdsa/src/ecdsa-0.16.1 plugins: hypothesis-6.56.3 collected 1380 items src/ecdsa/test_der.py .................................................. [ 3%] ................ [ 4%] src/ecdsa/test_ecdh.py .............................................. [ 8%] src/ecdsa/test_ecdsa.py ........................................... [ 11%] src/ecdsa/test_ellipticcurve.py ........................ [ 12%] src/ecdsa/test_jacobi.py ..F.F.................................. [ 15%] src/ecdsa/test_keys.py ................................................. [ 19%] ........................................................................ [ 24%] ... [ 24%] src/ecdsa/test_malformed_sigs.py ....................................... [ 27%] ........................................................................ [ 32%] ......... [ 33%] src/ecdsa/test_numbertheory.py ......................................... [ 36%] ........................................................................ [ 41%] ........................................................................ [ 46%] ................................................. [ 50%] src/ecdsa/test_pyecdsa.py .............................................. [ 53%] ........................................................................ [ 58%] ........................................................................ [ 64%] ........................................................................ [ 69%] ........................................................................ [ 74%] ........................................................................ [ 79%] ........................................................................ [ 85%] ........................................................................ [ 90%] ........................................................................ [ 95%] .......................................................... [ 99%] src/ecdsa/test_rw_lock.py .... [100%] =================================== FAILURES =================================== _____________________ TestJacobi.test_add_one_scaled_point _____________________ self = @settings(max_examples=10) > @given( st.integers( min_value=1, max_value=int(generator_brainpoolp160r1.order()) ), st.integers( min_value=1, max_value=int(generator_brainpoolp160r1.order()) ), st.integers(min_value=1, max_value=int(curve_brainpoolp160r1.p() - 1)), ) src/ecdsa/test_jacobi.py:241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = a_mul = 1, b_mul = 133229759844004487...0181364212942568457, new_z = 1 @settings(max_examples=10) @given( st.integers( min_value=1, max_value=int(generator_brainpoolp160r1.order()) ), st.integers( min_value=1, max_value=int(generator_brainpoolp160r1.order()) ), st.integers(min_value=1, max_value=int(curve_brainpoolp160r1.p() - 1)), ) def test_add_one_scaled_point(self, a_mul, b_mul, new_z): j_g = PointJacobi.from_affine(generator_brainpoolp160r1) a = PointJacobi.from_affine(j_g * a_mul) b = PointJacobi.from_affine(j_g * b_mul) p = curve_brainpoolp160r1.p() assume(inverse_mod(new_z, p)) new_zz = new_z * new_z % p b = PointJacobi( curve_brainpoolp160r1, > b.x() * new_zz % p, b.y() * new_zz * new_z % p, new_z, ) E TypeError: unsupported operand type(s) for *: 'NoneType' and 'int' E Falsifying example: test_add_one_scaled_point( E new_z=1, E b_mul=1332297598440044874827085038830181364212942568457, E a_mul=1, E self=, E ) src/ecdsa/test_jacobi.py:263: TypeError ____________________ TestJacobi.test_add_same_scale_points _____________________ self = @settings(max_examples=10) > @given( st.integers( min_value=1, max_value=int(generator_brainpoolp160r1.order()) ), st.integers( min_value=1, max_value=int(generator_brainpoolp160r1.order()) ), st.integers(min_value=1, max_value=int(curve_brainpoolp160r1.p() - 1)), ) src/ecdsa/test_jacobi.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = a_mul = 1, b_mul = 133229759844004487...0181364212942568457, new_z = 1 @settings(max_examples=10) @given( st.integers( min_value=1, max_value=int(generator_brainpoolp160r1.order()) ), st.integers( min_value=1, max_value=int(generator_brainpoolp160r1.order()) ), st.integers(min_value=1, max_value=int(curve_brainpoolp160r1.p() - 1)), ) @example(1, 1, 1) @example(3, 3, 3) @example(2, int(generator_brainpoolp160r1.order() - 2), 1) @example(2, int(generator_brainpoolp160r1.order() - 2), 3) def test_add_same_scale_points(self, a_mul, b_mul, new_z): j_g = PointJacobi.from_affine(generator_brainpoolp160r1) a = PointJacobi.from_affine(j_g * a_mul) b = PointJacobi.from_affine(j_g * b_mul) p = curve_brainpoolp160r1.p() assume(inverse_mod(new_z, p)) new_zz = new_z * new_z % p a = PointJacobi( curve_brainpoolp160r1, a.x() * new_zz % p, a.y() * new_zz * new_z % p, new_z, ) b = PointJacobi( curve_brainpoolp160r1, > b.x() * new_zz % p, b.y() * new_zz * new_z % p, new_z, ) E TypeError: unsupported operand type(s) for *: 'NoneType' and 'int' E Falsifying example: test_add_same_scale_points( E new_z=1, E b_mul=1332297598440044874827085038830181364212942568457, E a_mul=1, E self=, E ) src/ecdsa/test_jacobi.py:305: TypeError =============================== warnings summary =============================== src/ecdsa/test_der.py::TestEncodeBitstring::test_implicit_unused_bits src/ecdsa/test_der.py::TestEncodeBitstring::test_new_call_convention src/ecdsa/test_der.py::TestRemoveBitstring::test_implicit_unexpected_unused src/ecdsa/test_der.py::TestRemoveBitstring::test_new_call_convention /usr/lib/python3.10/unittest/case.py:549: PytestRemovedIn8Warning: Passing None has been deprecated. See https://docs.pytest.org/en/latest/how-to/capture-warnings.html#additional-use-cases-of-warnings-in-tests for alternatives in common use cases. method() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED src/ecdsa/test_jacobi.py::TestJacobi::test_add_one_scaled_point - Type... FAILED src/ecdsa/test_jacobi.py::TestJacobi::test_add_same_scale_points - Typ... ================= 2 failed, 1378 passed, 4 warnings in 35.56s ================== >>> ERROR: py3-ecdsa: check failed >>> py3-ecdsa: Uninstalling dependencies... (1/22) Purging .makedepends-py3-ecdsa (20221028.011105) (2/22) Purging py3-six (1.16.0-r3) (3/22) Purging py3-setuptools (65.5.0-r0) (4/22) Purging py3-hypothesis (6.56.3-r0) (5/22) Purging py3-sortedcontainers (2.4.0-r1) (6/22) Purging py3-exceptiongroup (1.0.0_rc9-r1) (7/22) Purging py3-pytest (7.1.3-r1) (8/22) Purging py3-attrs (22.1.0-r0) (9/22) Purging py3-iniconfig (1.1.1-r3) (10/22) Purging py3-packaging (21.3-r2) (11/22) Purging py3-parsing (3.0.9-r0) (12/22) Purging py3-pluggy (1.0.0-r1) (13/22) Purging py3-py (1.11.0-r0) (14/22) Purging py3-tomli (2.0.1-r1) (15/22) Purging python3 (3.10.8-r3) (16/22) Purging libbz2 (1.0.8-r3) (17/22) Purging libffi (3.4.4-r0) (18/22) Purging gdbm (1.23-r0) (19/22) Purging xz-libs (5.2.7-r0) (20/22) Purging mpdecimal (2.5.1-r1) (21/22) Purging readline (8.2.0-r0) (22/22) Purging sqlite-libs (3.39.4-r0) Executing busybox-1.35.0-r27.trigger OK: 258 MiB in 92 packages