==> Building on minun ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 839 100% 0.00kB/s 0:00:00 839 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-ecdsa-0.18.0-2.log 204 100% 199.22kB/s 0:00:00 204 100% 199.22kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 784 bytes received 69 bytes 568.67 bytes/sec total size is 1,031 speedup is 1.21 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root24 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root24]...done ==> Making package: python-ecdsa 0.18.0-2 (Mon May 8 15:21:11 2023) ==> Retrieving sources...  -> Found ecdsa-0.18.0.tar.gz ==> Validating source files with sha512sums... ecdsa-0.18.0.tar.gz ... Passed ==> Making package: python-ecdsa 0.18.0-2 (Mon May 8 15:21:18 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (3) New Version Net Change core/libnsl 2.0.0-3 0.06 MiB core/python 3.11.3-1 104.68 MiB extra/python-six 1.16.0-8 0.12 MiB Total Installed Size: 104.86 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-six... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (23) New Version Net Change extra/python-attrs 22.2.0-3 0.55 MiB community/python-autocommand 2.2.2-4 0.08 MiB community/python-exceptiongroup 1.1.1-1 0.09 MiB community/python-fastjsonschema 2.16.3-4 0.29 MiB community/python-inflect 6.0.4-2 0.38 MiB community/python-iniconfig 2.0.0-4 0.04 MiB community/python-jaraco.context 4.3.0-3 0.04 MiB community/python-jaraco.functools 3.6.0-3 0.06 MiB community/python-jaraco.text 3.11.1-3 0.09 MiB community/python-more-itertools 9.1.1-4 0.61 MiB extra/python-ordered-set 4.1.0-4 0.07 MiB extra/python-packaging 23.0-3 0.43 MiB extra/python-platformdirs 3.5.0-2 0.20 MiB community/python-pluggy 1.0.0-4 0.13 MiB community/python-pydantic 1.10.7-4 6.36 MiB community/python-sortedcontainers 2.4.0-4 0.41 MiB extra/python-tomli 2.0.1-3 0.11 MiB extra/python-trove-classifiers 2023.4.22-1 0.11 MiB community/python-typing_extensions 4.5.0-4 0.29 MiB extra/python-validate-pyproject 0.12.2-3 0.29 MiB community/python-hypothesis 6.72.0-2 4.13 MiB community/python-pytest 7.3.1-4 3.97 MiB extra/python-setuptools 1:67.7.0-1 4.68 MiB Total Installed Size: 23.43 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-typing_extensions... installing python-pydantic... Optional dependencies for python-pydantic python-dotenv: for .env file support python-email-validator: for email validation installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-packaging... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing python-attrs... installing python-sortedcontainers... installing python-exceptiongroup... installing python-hypothesis... Optional dependencies for python-hypothesis python-pytz: for datetime and django module python-faker: for fakefactory and django module python-django: for django module python-numpy: for numpy module python-pytest: for pytest module [installed] python-lark-parser: for lark module python-libcst: for codemods module [?25h==> Retrieving sources...  -> Found ecdsa-0.18.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting ecdsa-0.18.0.tar.gz with bsdtar ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.3.1, pluggy-1.0.0 rootdir: /build/python-ecdsa/src/ecdsa-0.18.0 plugins: hypothesis-6.72.0 collected 1768 items src/ecdsa/test_curves.py ............................................... [ 2%] ........................................................ [ 5%] src/ecdsa/test_der.py .................................................. [ 8%] .......................... [ 10%] src/ecdsa/test_ecdh.py .................ss.............................. [ 12%] ............ss [ 13%] src/ecdsa/test_ecdsa.py ................................................ [ 16%] ......F. [ 16%] src/ecdsa/test_eddsa.py ................................................ [ 19%] .................................... [ 21%] src/ecdsa/test_ellipticcurve.py ........................ [ 22%] src/ecdsa/test_jacobi.py ............................................... [ 25%] .... [ 25%] src/ecdsa/test_keys.py ................................................. [ 28%] ........................................................................ [ 32%] ........................................... [ 35%] src/ecdsa/test_malformed_sigs.py ....................................... [ 37%] ........................................................................ [ 41%] ................................... [ 43%] src/ecdsa/test_numbertheory.py ......................................... [ 45%] ........................................................................ [ 49%] ........................................................................ [ 53%] ...................................................................... [ 57%] src/ecdsa/test_pyecdsa.py .............................................. [ 60%] ........................................................................ [ 64%] ........................................................................ [ 68%] ........................................................................ [ 72%] ........................................................................ [ 76%] ........................................................................ [ 80%] ........................................................................ [ 84%] ........................................................................ [ 88%] ........................................................................ [ 92%] ........................................................................ [ 97%] ............................. [ 98%] src/ecdsa/test_rw_lock.py .... [ 98%] src/ecdsa/test_sha3.py ......s............ [100%] =================================== FAILURES =================================== _______________________________ test_sig_verify ________________________________ @settings(**SIG_VER_SETTINGS) > @example((generator_224, 4, 1, 1)) src/ecdsa/test_ecdsa.py:641: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/ecdsa/test_ecdsa.py:653: in test_sig_verify signature = privkey.sign(msg, nonce) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , hash = 1 random_k = 269599466671506397...4391721682722368061 def sign(self, hash, random_k): """Return a signature for the provided hash, using the provided random nonce. It is absolutely vital that random_k be an unpredictable number in the range [1, self.public_key.point.order()-1]. If an attacker can guess random_k, he can compute our private key from a single signature. Also, if an attacker knows a few high-order bits (or a few low-order bits) of random_k, he can compute our private key from many signatures. The generation of nonces with adequate cryptographic strength is very difficult and far beyond the scope of this comment. May raise RuntimeError, in which case retrying with a new random value k is in order. """ G = self.public_key.generator n = G.order() k = random_k % n # Fix the bit-length of the random nonce, # so that it doesn't leak via timing. # This does not change that ks = k mod n ks = k + n kt = ks + n if bit_length(ks) == bit_length(n): p1 = kt * G else: p1 = ks * G > r = p1.x() % n E TypeError: unsupported operand type(s) for %: 'NoneType' and 'int' E Generator used: generator_224 E Falsifying example: test_sig_verify( E args=(, E 1, E 1, E 26959946667150639794667015087019625940457807714424391721682722368061), E ) src/ecdsa/ecdsa.py:260: 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.11/unittest/case.py:579: 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. if method() is not None: -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED src/ecdsa/test_ecdsa.py::test_sig_verify - TypeError: unsupported oper... ======= 1 failed, 1762 passed, 5 skipped, 4 warnings in 91.49s (0:01:31) ======= ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root24/build receiving incremental file list python-ecdsa-0.18.0-2-riscv64-check.log sent 43 bytes received 1,905 bytes 1,298.67 bytes/sec total size is 6,380 speedup is 3.28