==> Building on shellder ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-flask-httpauth ./ PKGBUILD 1,101 100% 0.00kB/s 0:00:00 1,101 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-flask-httpauth-4.7.0-2.log 256 100% 250.00kB/s 0:00:00 256 100% 250.00kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,027 bytes received 110 bytes 454.80 bytes/sec total size is 1,296 speedup is 1.14 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root26 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] -> [root26]...done ==> Making package: python-flask-httpauth 4.7.0-2 (Tue May 9 18:07:37 2023) ==> Retrieving sources...  -> Downloading python-flask-httpauth-4.7.0.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 42618 0 42618 0 0 95029 0 --:--:-- --:--:-- --:--:-- 95029 ==> Validating source files with sha512sums... python-flask-httpauth-4.7.0.tar.gz ... Passed ==> Validating source files with b2sums... python-flask-httpauth-4.7.0.tar.gz ... Passed ==> Making package: python-flask-httpauth 4.7.0-2 (Tue May 9 18:07:51 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (24) New Version Net Change core/libnsl 2.0.0-3 0.06 MiB community/python-autocommand 2.2.2-4 0.08 MiB community/python-click 8.1.3-3 1.22 MiB community/python-fastjsonschema 2.16.3-4 0.29 MiB community/python-inflect 6.0.4-2 0.38 MiB community/python-itsdangerous 2.1.2-3 0.14 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-jinja 1:3.1.2-4 1.82 MiB extra/python-markupsafe 2.1.2-3 0.07 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-pydantic 1.10.7-4 6.36 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-4 0.29 MiB community/python-werkzeug 2.3.2-1 2.78 MiB core/python 3.11.3-1 104.68 MiB community/python-flask 2.2.5-1 1.14 MiB extra/python-setuptools 1:67.7.0-1 4.68 MiB Total Installed Size: 125.99 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 [pending] python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-markupsafe... installing python-werkzeug... installing python-jinja... Optional dependencies for python-jinja python-babel: for i18n support installing python-itsdangerous... installing python-click... installing python-flask... Optional dependencies for python-flask python-asgiref: async functions and views python-dotenv: loading env vars from files 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... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (3) New Version Net Change community/python-iniconfig 2.0.0-4 0.04 MiB community/python-pluggy 1.0.0-4 0.13 MiB community/python-pytest 7.3.1-4 3.97 MiB Total Installed Size: 4.15 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-iniconfig... installing python-pluggy... installing python-pytest... [?25h==> Retrieving sources...  -> Found python-flask-httpauth-4.7.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-flask-httpauth-4.7.0.tar.gz with bsdtar ==> Starting build()... running build running build_py creating build creating build/lib copying src/flask_httpauth.py -> build/lib running egg_info creating src/Flask_HTTPAuth.egg-info writing src/Flask_HTTPAuth.egg-info/PKG-INFO writing dependency_links to src/Flask_HTTPAuth.egg-info/dependency_links.txt writing requirements to src/Flask_HTTPAuth.egg-info/requires.txt writing top-level names to src/Flask_HTTPAuth.egg-info/top_level.txt writing manifest file 'src/Flask_HTTPAuth.egg-info/SOURCES.txt' reading manifest file 'src/Flask_HTTPAuth.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'src/Flask_HTTPAuth.egg-info/SOURCES.txt' ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.3.1, pluggy-1.0.0 rootdir: /build/python-flask-httpauth/src/Flask-HTTPAuth-4.7.0 collected 119 items / 43 deselected / 76 selected tests/test_basic_custom_realm.py ... [ 3%] tests/test_basic_get_password.py ..... [ 10%] tests/test_basic_hashed_password.py ... [ 14%] tests/test_basic_verify_password.py .......... [ 27%] tests/test_digest_custom_realm.py .. [ 30%] tests/test_digest_get_password.py ......... [ 42%] tests/test_digest_ha1_password.py . [ 43%] tests/test_digest_no_qop.py ....... [ 52%] tests/test_error_responses.py . [ 53%] tests/test_multi.py ........FF.. [ 69%] tests/test_roles.py .......... [ 82%] tests/test_token.py ..........FF. [100%] =================================== FAILURES =================================== ______________ HTTPAuthTestCase.test_multi_auth_login_valid_token ______________ self = def test_multi_auth_login_valid_token(self): response = self.client.get( '/protected', headers={'Authorization': 'MyToken this-is-the-token!'}) > self.assertEqual(response.data.decode('utf-8'), 'access granted:None') E AssertionError: 'error' != 'access granted:None' E - error E + access granted:None tests/test_multi.py:94: AssertionError ___________ HTTPAuthTestCase.test_multi_auth_login_valid_token_role ____________ self = def test_multi_auth_login_valid_token_role(self): response = self.client.get( '/protected-with-role', headers={'Authorization': 'MyToken this-is-the-token!'}) > self.assertEqual(response.data.decode('utf-8'), 'role access granted') E AssertionError: 'error' != 'role access granted' E - error E + role access granted tests/test_multi.py:142: AssertionError _________________ HTTPAuthTestCase.test_token_auth_login_valid _________________ self = def test_token_auth_login_valid(self): response = self.client.get( '/protected', headers={'Authorization': 'MyToken this-is-the-token!'}) > self.assertEqual(response.data.decode('utf-8'), 'token_auth:user') E AssertionError: 'error' != 'token_auth:user' E - error E + token_auth:user tests/test_token.py:74: AssertionError _________ HTTPAuthTestCase.test_token_auth_login_valid_different_case __________ self = def test_token_auth_login_valid_different_case(self): response = self.client.get( '/protected', headers={'Authorization': 'mytoken this-is-the-token!'}) > self.assertEqual(response.data.decode('utf-8'), 'token_auth:user') E AssertionError: 'error' != 'token_auth:user' E - error E + token_auth:user tests/test_token.py:80: AssertionError =========================== short test summary info ============================ FAILED tests/test_multi.py::HTTPAuthTestCase::test_multi_auth_login_valid_token FAILED tests/test_multi.py::HTTPAuthTestCase::test_multi_auth_login_valid_token_role FAILED tests/test_token.py::HTTPAuthTestCase::test_token_auth_login_valid - A... FAILED tests/test_token.py::HTTPAuthTestCase::test_token_auth_login_valid_different_case ================= 4 failed, 72 passed, 43 deselected in 3.02s ================== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root26/build receiving incremental file list python-flask-httpauth-4.7.0-2-riscv64-build.log python-flask-httpauth-4.7.0-2-riscv64-check.log sent 62 bytes received 1,358 bytes 568.00 bytes/sec total size is 4,988 speedup is 3.51