==> Building on shinx ==> Attempt to run pkgver()... ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 700 50% 0.00kB/s 0:00:00 1,376 100% 660.16kB/s 0:00:00 (xfr#1, to-chk=2/4) http-service-async-mock.patch 700 28% 683.59kB/s 0:00:00 2,429 100% 2.32MB/s 0:00:00 (xfr#2, to-chk=1/4) python-threat9-test-bed-0.6.0+2+g1ed61b3-8.log 397 100% 387.70kB/s 0:00:00 397 100% 387.70kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 544 bytes received 118 bytes 1,324.00 bytes/sec total size is 4,049 speedup is 6.12 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root14 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] -> [root14]...done ==> Making package: python-threat9-test-bed 0.6.0+2+g1ed61b3-8 (Thu Apr 20 06:19:31 2023) ==> Retrieving sources...  -> Cloning python-threat9-test-bed git repo... Cloning into bare repository '/home/felix/packages/python-threat9-test-bed/python-threat9-test-bed'... remote: Enumerating objects: 441, done. Receiving objects: 0% (1/441) Receiving objects: 1% (5/441) Receiving objects: 2% (9/441) Receiving objects: 3% (14/441) Receiving objects: 4% (18/441) Receiving objects: 5% (23/441) Receiving objects: 6% (27/441) Receiving objects: 7% (31/441) Receiving objects: 8% (36/441) Receiving objects: 9% (40/441) Receiving objects: 10% (45/441) Receiving objects: 11% (49/441) Receiving objects: 12% (53/441) Receiving objects: 13% (58/441) Receiving objects: 14% (62/441) Receiving objects: 15% (67/441) Receiving objects: 16% (71/441) Receiving objects: 17% (75/441) Receiving objects: 18% (80/441) Receiving objects: 19% (84/441) Receiving objects: 20% (89/441) Receiving objects: 21% (93/441) Receiving objects: 22% (98/441) Receiving objects: 23% (102/441) Receiving objects: 24% (106/441) Receiving objects: 25% (111/441) Receiving objects: 26% (115/441) Receiving objects: 27% (120/441) Receiving objects: 28% (124/441) Receiving objects: 29% (128/441) Receiving objects: 30% (133/441) Receiving objects: 31% (137/441) Receiving objects: 32% (142/441) Receiving objects: 33% (146/441) Receiving objects: 34% (150/441) Receiving objects: 35% (155/441) Receiving objects: 36% (159/441) Receiving objects: 37% (164/441) Receiving objects: 38% (168/441) Receiving objects: 39% (172/441) Receiving objects: 40% (177/441) Receiving objects: 41% (181/441) Receiving objects: 42% (186/441) Receiving objects: 43% (190/441) Receiving objects: 44% (195/441) Receiving objects: 45% (199/441) Receiving objects: 46% (203/441) Receiving objects: 47% (208/441) Receiving objects: 48% (212/441) Receiving objects: 49% (217/441) Receiving objects: 50% (221/441) Receiving objects: 51% (225/441) Receiving objects: 52% (230/441) Receiving objects: 53% (234/441) Receiving objects: 54% (239/441) remote: Total 441 (delta 0), reused 0 (delta 0), pack-reused 441 Receiving objects: 55% (243/441) Receiving objects: 56% (247/441) Receiving objects: 57% (252/441) Receiving objects: 58% (256/441) Receiving objects: 59% (261/441) Receiving objects: 60% (265/441) Receiving objects: 61% (270/441) Receiving objects: 62% (274/441) Receiving objects: 63% (278/441) Receiving objects: 64% (283/441) Receiving objects: 65% (287/441) Receiving objects: 66% (292/441) Receiving objects: 67% (296/441) Receiving objects: 68% (300/441) Receiving objects: 69% (305/441) Receiving objects: 70% (309/441) Receiving objects: 71% (314/441) Receiving objects: 72% (318/441) Receiving objects: 73% (322/441) Receiving objects: 74% (327/441) Receiving objects: 75% (331/441) Receiving objects: 76% (336/441) Receiving objects: 77% (340/441) Receiving objects: 78% (344/441) Receiving objects: 79% (349/441) Receiving objects: 80% (353/441) Receiving objects: 81% (358/441) Receiving objects: 82% (362/441) Receiving objects: 83% (367/441) Receiving objects: 84% (371/441) Receiving objects: 85% (375/441) Receiving objects: 86% (380/441) Receiving objects: 87% (384/441) Receiving objects: 88% (389/441) Receiving objects: 89% (393/441) Receiving objects: 90% (397/441) Receiving objects: 91% (402/441) Receiving objects: 92% (406/441) Receiving objects: 93% (411/441) Receiving objects: 94% (415/441) Receiving objects: 95% (419/441) Receiving objects: 96% (424/441) Receiving objects: 97% (428/441) Receiving objects: 98% (433/441) Receiving objects: 99% (437/441) Receiving objects: 100% (441/441) Receiving objects: 100% (441/441), 63.49 KiB | 1.67 MiB/s, done. Resolving deltas: 0% (0/251) Resolving deltas: 1% (3/251) Resolving deltas: 2% (6/251) Resolving deltas: 3% (8/251) Resolving deltas: 5% (13/251) Resolving deltas: 6% (16/251) Resolving deltas: 7% (19/251) Resolving deltas: 8% (21/251) Resolving deltas: 9% (23/251) Resolving deltas: 10% (26/251) Resolving deltas: 11% (28/251) Resolving deltas: 12% (31/251) Resolving deltas: 13% (33/251) Resolving deltas: 14% (36/251) Resolving deltas: 15% (39/251) Resolving deltas: 16% (41/251) Resolving deltas: 17% (43/251) Resolving deltas: 18% (46/251) Resolving deltas: 19% (48/251) Resolving deltas: 20% (51/251) Resolving deltas: 21% (53/251) Resolving deltas: 22% (56/251) Resolving deltas: 23% (58/251) Resolving deltas: 24% (62/251) Resolving deltas: 25% (64/251) Resolving deltas: 26% (67/251) Resolving deltas: 27% (69/251) Resolving deltas: 28% (71/251) Resolving deltas: 29% (75/251) Resolving deltas: 30% (76/251) Resolving deltas: 31% (78/251) Resolving deltas: 32% (81/251) Resolving deltas: 33% (84/251) Resolving deltas: 35% (89/251) Resolving deltas: 37% (95/251) Resolving deltas: 38% (96/251) Resolving deltas: 39% (100/251) Resolving deltas: 40% (101/251) Resolving deltas: 41% (103/251) Resolving deltas: 42% (106/251) Resolving deltas: 43% (108/251) Resolving deltas: 44% (112/251) Resolving deltas: 45% (113/251) Resolving deltas: 46% (117/251) Resolving deltas: 48% (121/251) Resolving deltas: 49% (123/251) Resolving deltas: 51% (129/251) Resolving deltas: 53% (134/251) Resolving deltas: 54% (136/251) Resolving deltas: 55% (140/251) Resolving deltas: 56% (141/251) Resolving deltas: 57% (145/251) Resolving deltas: 58% (146/251) Resolving deltas: 59% (149/251) Resolving deltas: 60% (153/251) Resolving deltas: 61% (154/251) Resolving deltas: 62% (156/251) Resolving deltas: 64% (161/251) Resolving deltas: 65% (165/251) Resolving deltas: 66% (166/251) Resolving deltas: 67% (169/251) Resolving deltas: 68% (171/251) Resolving deltas: 69% (174/251) Resolving deltas: 70% (177/251) Resolving deltas: 72% (181/251) Resolving deltas: 73% (184/251) Resolving deltas: 74% (186/251) Resolving deltas: 76% (191/251) Resolving deltas: 77% (194/251) Resolving deltas: 78% (197/251) Resolving deltas: 79% (199/251) Resolving deltas: 81% (204/251) Resolving deltas: 82% (206/251) Resolving deltas: 83% (209/251) Resolving deltas: 84% (211/251) Resolving deltas: 85% (215/251) Resolving deltas: 86% (216/251) Resolving deltas: 87% (220/251) Resolving deltas: 88% (223/251) Resolving deltas: 89% (224/251) Resolving deltas: 90% (227/251) Resolving deltas: 91% (229/251) Resolving deltas: 92% (231/251) Resolving deltas: 93% (234/251) Resolving deltas: 94% (236/251) Resolving deltas: 96% (241/251) Resolving deltas: 97% (244/251) Resolving deltas: 98% (246/251) Resolving deltas: 99% (249/251) Resolving deltas: 100% (251/251) Resolving deltas: 100% (251/251), done.  -> Found http-service-async-mock.patch ==> Validating source files with sha512sums... python-threat9-test-bed ... Skipped http-service-async-mock.patch ... Passed ==> Making package: python-threat9-test-bed 0.6.0+2+g1ed61b3-8 (Thu Apr 20 06:19:39 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (38) New Version Net Change Download Size core/libnsl 2.0.0-3 0.06 MiB community/python-autocommand 2.2.2-1 0.07 MiB extra/python-cffi 1.15.1-1 1.00 MiB extra/python-chardet 5.1.0-1 2.49 MiB extra/python-cryptography 40.0.1-1 3.80 MiB community/python-dateutil 2.8.2-4 0.82 MiB community/python-fastjsonschema 2.16.3-1 0.20 MiB extra/python-idna 3.4-1 0.67 MiB community/python-inflect 6.0.4-1 0.28 MiB community/python-itsdangerous 2.1.2-2 0.11 MiB community/python-jaraco.context 4.3.0-1 0.03 MiB community/python-jaraco.functools 3.6.0-1 0.05 MiB community/python-jaraco.text 3.11.1-1 0.07 MiB community/python-jinja 1:3.1.2-2 1.28 MiB extra/python-markupsafe 2.1.2-1 0.06 MiB community/python-more-itertools 9.1.1-1 0.50 MiB extra/python-ordered-set 4.1.0-1 0.06 MiB extra/python-packaging 23.0-1 0.32 MiB extra/python-platformdirs 3.2.0-1 0.14 MiB extra/python-ply 3.11-10 0.31 MiB extra/python-pycparser 2.21-3 1.39 MiB community/python-pydantic 1.10.7-2 5.84 MiB extra/python-setuptools 1:67.6.1-1 3.34 MiB extra/python-six 1.16.0-6 0.09 MiB extra/python-tomli 2.0.1-1 0.08 MiB extra/python-trove-classifiers 2023.3.9-1 0.11 MiB community/python-typing_extensions 4.5.0-1 0.23 MiB extra/python-urllib3 1.26.7-5 0.69 MiB extra/python-validate-pyproject 0.12.2-1 0.22 MiB community/python-werkzeug 2.2.3-1 2.06 MiB community/gunicorn 20.1.0-4 0.65 MiB core/python 3.10.10-1 81.41 MiB extra/python-asgiref 3.5.2-1 0.15 MiB community/python-click 8.1.3-1 0.89 MiB community/python-faker 17.4.0-1 18.90 MiB 2.48 MiB community/python-flask 2.2.2-1 0.89 MiB extra/python-pyopenssl 23.1.1-1 0.57 MiB 0.09 MiB extra/python-requests 2.28.2-1 0.46 MiB Total Download Size: 2.57 MiB Total Installed Size: 130.27 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-faker-17.4.0-1-any downloading... python-pyopenssl-23.1.1-1-any downloading... 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-click... installing python-six... installing python-dateutil... installing python-faker... installing python-markupsafe... installing python-werkzeug... installing python-jinja... Optional dependencies for python-jinja python-babel: for i18n support installing python-itsdangerous... installing python-flask... Optional dependencies for python-flask python-asgiref: async functions and views [pending] python-dotenv: loading env vars from files installing python-asgiref... 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 gunicorn... Optional dependencies for gunicorn python-eventlet: For asynchronous request handling with eventlet. python-gevent: For asynchronous request handling with gevent. python-tornado: For asynchronous request handling with tornado. python-setproctitle: For process renaming. installing python-ply... installing python-pycparser... installing python-cffi... installing python-cryptography... installing python-pyopenssl... installing python-urllib3... Optional dependencies for python-urllib3 python-pysocks: SOCKS support python-brotli: Brotli support python-pyopenssl: security support [installed] python-idna: security support [pending] installing python-chardet... installing python-idna... installing python-requests... Optional dependencies for python-requests python-pysocks: SOCKS proxy support [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (13) New Version Net Change extra/perl-error 0.17029-4 0.04 MiB extra/perl-mailtools 2.21-6 0.11 MiB extra/perl-timedate 2.33-4 0.08 MiB community/python-exceptiongroup 1.1.1-1 0.09 MiB community/python-iniconfig 2.0.0-2 0.03 MiB community/python-pluggy 1.0.0-2 0.10 MiB community/python-pyproject-hooks 1.0.0-1 0.07 MiB extra/git 2.40.0-1 33.06 MiB community/python-build 0.10.0-1 1.08 MiB community/python-installer 0.7.0-1 1.22 MiB community/python-pytest 7.3.1-3 2.83 MiB community/python-setuptools-scm 7.1.0-1 0.27 MiB community/python-wheel 0.40.0-1 0.19 MiB Total Installed Size: 39.17 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-virtualenv: Use virtualenv for build isolation installing python-installer... installing python-setuptools-scm... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing python-exceptiongroup... installing python-iniconfig... installing python-pluggy... installing python-pytest... :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources...  -> Found http-service-async-mock.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Creating working copy of python-threat9-test-bed git repo... Cloning into 'python-threat9-test-bed'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... patching file tests/service_mocks/test_http_service_mock.py patching file threat9_test_bed/service_mocks/http_service_mock.py ==> Starting pkgver()... ==> Starting build()... * Getting build dependencies for wheel... * Building wheel... running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/threat9_test_bed copying threat9_test_bed/__init__.py -> build/lib/threat9_test_bed copying threat9_test_bed/cli.py -> build/lib/threat9_test_bed copying threat9_test_bed/scenarios.py -> build/lib/threat9_test_bed copying threat9_test_bed/_version.py -> build/lib/threat9_test_bed creating build/lib/threat9_test_bed/http_service copying threat9_test_bed/http_service/__init__.py -> build/lib/threat9_test_bed/http_service copying threat9_test_bed/http_service/app.py -> build/lib/threat9_test_bed/http_service copying threat9_test_bed/http_service/gunicorn_server.py -> build/lib/threat9_test_bed/http_service creating build/lib/threat9_test_bed/service_mocks copying threat9_test_bed/service_mocks/__init__.py -> build/lib/threat9_test_bed/service_mocks copying threat9_test_bed/service_mocks/base_http_service.py -> build/lib/threat9_test_bed/service_mocks copying threat9_test_bed/service_mocks/base_service.py -> build/lib/threat9_test_bed/service_mocks copying threat9_test_bed/service_mocks/http_scenario_service.py -> build/lib/threat9_test_bed/service_mocks copying threat9_test_bed/service_mocks/tcp_service_mock.py -> build/lib/threat9_test_bed/service_mocks copying threat9_test_bed/service_mocks/telnet_service_mock.py -> build/lib/threat9_test_bed/service_mocks copying threat9_test_bed/service_mocks/udp_service_mock.py -> build/lib/threat9_test_bed/service_mocks copying threat9_test_bed/service_mocks/http_service_mock.py -> build/lib/threat9_test_bed/service_mocks creating build/lib/threat9_test_bed/tcp_service copying threat9_test_bed/tcp_service/__init__.py -> build/lib/threat9_test_bed/tcp_service copying threat9_test_bed/tcp_service/tcp_server.py -> build/lib/threat9_test_bed/tcp_service creating build/lib/threat9_test_bed/telnet_service copying threat9_test_bed/telnet_service/__init__.py -> build/lib/threat9_test_bed/telnet_service copying threat9_test_bed/telnet_service/protocol.py -> build/lib/threat9_test_bed/telnet_service copying threat9_test_bed/telnet_service/telnet_server.py -> build/lib/threat9_test_bed/telnet_service creating build/lib/threat9_test_bed/udp_service copying threat9_test_bed/udp_service/__init__.py -> build/lib/threat9_test_bed/udp_service copying threat9_test_bed/udp_service/udp_server.py -> build/lib/threat9_test_bed/udp_service running egg_info creating threat9_test_bed.egg-info writing threat9_test_bed.egg-info/PKG-INFO writing dependency_links to threat9_test_bed.egg-info/dependency_links.txt writing entry points to threat9_test_bed.egg-info/entry_points.txt writing requirements to threat9_test_bed.egg-info/requires.txt writing top-level names to threat9_test_bed.egg-info/top_level.txt writing manifest file 'threat9_test_bed.egg-info/SOURCES.txt' writing manifest file 'threat9_test_bed.egg-info/SOURCES.txt' installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/threat9_test_bed copying build/lib/threat9_test_bed/__init__.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed copying build/lib/threat9_test_bed/cli.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed copying build/lib/threat9_test_bed/scenarios.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed copying build/lib/threat9_test_bed/_version.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed creating build/bdist.linux-riscv64/wheel/threat9_test_bed/http_service copying build/lib/threat9_test_bed/http_service/__init__.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/http_service copying build/lib/threat9_test_bed/http_service/app.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/http_service copying build/lib/threat9_test_bed/http_service/gunicorn_server.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/http_service creating build/bdist.linux-riscv64/wheel/threat9_test_bed/service_mocks copying build/lib/threat9_test_bed/service_mocks/__init__.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/service_mocks copying build/lib/threat9_test_bed/service_mocks/base_http_service.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/service_mocks copying build/lib/threat9_test_bed/service_mocks/base_service.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/service_mocks copying build/lib/threat9_test_bed/service_mocks/http_scenario_service.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/service_mocks copying build/lib/threat9_test_bed/service_mocks/tcp_service_mock.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/service_mocks copying build/lib/threat9_test_bed/service_mocks/telnet_service_mock.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/service_mocks copying build/lib/threat9_test_bed/service_mocks/udp_service_mock.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/service_mocks copying build/lib/threat9_test_bed/service_mocks/http_service_mock.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/service_mocks creating build/bdist.linux-riscv64/wheel/threat9_test_bed/tcp_service copying build/lib/threat9_test_bed/tcp_service/__init__.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/tcp_service copying build/lib/threat9_test_bed/tcp_service/tcp_server.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/tcp_service creating build/bdist.linux-riscv64/wheel/threat9_test_bed/telnet_service copying build/lib/threat9_test_bed/telnet_service/__init__.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/telnet_service copying build/lib/threat9_test_bed/telnet_service/protocol.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/telnet_service copying build/lib/threat9_test_bed/telnet_service/telnet_server.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/telnet_service creating build/bdist.linux-riscv64/wheel/threat9_test_bed/udp_service copying build/lib/threat9_test_bed/udp_service/__init__.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/udp_service copying build/lib/threat9_test_bed/udp_service/udp_server.py -> build/bdist.linux-riscv64/wheel/threat9_test_bed/udp_service running install_egg_info Copying threat9_test_bed.egg-info to build/bdist.linux-riscv64/wheel/threat9_test_bed-0.6.1.dev2+g1ed61b3.d20230420-py3.10.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/threat9_test_bed-0.6.1.dev2+g1ed61b3.d20230420.dist-info/WHEEL creating '/build/python-threat9-test-bed/src/python-threat9-test-bed/dist/.tmp-21fz_q9c/threat9_test_bed-0.6.1.dev2+g1ed61b3.d20230420-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'threat9_test_bed/__init__.py' adding 'threat9_test_bed/_version.py' adding 'threat9_test_bed/cli.py' adding 'threat9_test_bed/scenarios.py' adding 'threat9_test_bed/http_service/__init__.py' adding 'threat9_test_bed/http_service/app.py' adding 'threat9_test_bed/http_service/gunicorn_server.py' adding 'threat9_test_bed/service_mocks/__init__.py' adding 'threat9_test_bed/service_mocks/base_http_service.py' adding 'threat9_test_bed/service_mocks/base_service.py' adding 'threat9_test_bed/service_mocks/http_scenario_service.py' adding 'threat9_test_bed/service_mocks/http_service_mock.py' adding 'threat9_test_bed/service_mocks/tcp_service_mock.py' adding 'threat9_test_bed/service_mocks/telnet_service_mock.py' adding 'threat9_test_bed/service_mocks/udp_service_mock.py' adding 'threat9_test_bed/tcp_service/__init__.py' adding 'threat9_test_bed/tcp_service/tcp_server.py' adding 'threat9_test_bed/telnet_service/__init__.py' adding 'threat9_test_bed/telnet_service/protocol.py' adding 'threat9_test_bed/telnet_service/telnet_server.py' adding 'threat9_test_bed/udp_service/__init__.py' adding 'threat9_test_bed/udp_service/udp_server.py' adding 'threat9_test_bed-0.6.1.dev2+g1ed61b3.d20230420.dist-info/METADATA' adding 'threat9_test_bed-0.6.1.dev2+g1ed61b3.d20230420.dist-info/WHEEL' adding 'threat9_test_bed-0.6.1.dev2+g1ed61b3.d20230420.dist-info/entry_points.txt' adding 'threat9_test_bed-0.6.1.dev2+g1ed61b3.d20230420.dist-info/top_level.txt' adding 'threat9_test_bed-0.6.1.dev2+g1ed61b3.d20230420.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built threat9_test_bed-0.6.1.dev2+g1ed61b3.d20230420-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.10.10, pytest-7.3.1, pluggy-1.0.0 rootdir: /build/python-threat9-test-bed/src/python-threat9-test-bed plugins: Faker-17.4.0 collected 18 items tests/service_mocks/test_http_scenario_service.py ....... [ 38%] tests/service_mocks/test_http_service_mock.py ... [ 55%] tests/service_mocks/test_tcp_service_mock.py . [ 61%] tests/service_mocks/test_telnet_service_mock.py .....F [ 94%] tests/service_mocks/test_udp_service_mock.py . [100%] =================================== FAILURES =================================== _____________________ test_telnet_service_mock_regexp_mock _____________________ def test_telnet_service_mock_regexp_mock(): with TelnetServiceMock("127.0.0.1", 8023, scenario=TelnetScenario.GENERIC) as target: assert target.host == "127.0.0.1" assert target.port == 8023 mock = target.get_command_mock(re.compile("\d\dscoo\d\d")) mock.return_value = "bee" assert isinstance(mock, MagicMock) tn = Telnet(target.host, target.port, timeout=1.0) tn.expect([b"Login: ", b"login: "], 1.0) tn.write(b"admin" + b"\r\n") tn.expect([b"Password: ", b"password"], 1.0) tn.write(b"admin" + b"\r\n") tn.expect([b"admin@target:~\$"], 1.0) tn.write(b"12scoo34" + b"\r\n") _, match_object, _ = tn.expect([b"bee"], 1.0) > assert match_object E assert None tests/service_mocks/test_telnet_service_mock.py:155: AssertionError =============================== warnings summary =============================== ../../../../usr/lib/python3.10/site-packages/pkg_resources/__init__.py:121 /usr/lib/python3.10/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning) tests/service_mocks/test_tcp_service_mock.py:18 /build/python-threat9-test-bed/src/python-threat9-test-bed/tests/service_mocks/test_tcp_service_mock.py:18: DeprecationWarning: invalid escape sequence '\d' mocked_foo = target.get_command_mock(re.compile(b"\d\dfoo\d\d")) tests/service_mocks/test_telnet_service_mock.py:49 /build/python-threat9-test-bed/src/python-threat9-test-bed/tests/service_mocks/test_telnet_service_mock.py:49: DeprecationWarning: invalid escape sequence '\$' tn.expect([b"admin@target:~\$"], 1.0) tests/service_mocks/test_telnet_service_mock.py:74 /build/python-threat9-test-bed/src/python-threat9-test-bed/tests/service_mocks/test_telnet_service_mock.py:74: DeprecationWarning: invalid escape sequence '\$' tn.expect([login + b"@target:~\$"], 1.0) tests/service_mocks/test_telnet_service_mock.py:109 /build/python-threat9-test-bed/src/python-threat9-test-bed/tests/service_mocks/test_telnet_service_mock.py:109: DeprecationWarning: invalid escape sequence '\$' _, match_object, foo = tn.expect([login + b"@target:~\$"], 1.0) tests/service_mocks/test_telnet_service_mock.py:140 /build/python-threat9-test-bed/src/python-threat9-test-bed/tests/service_mocks/test_telnet_service_mock.py:140: DeprecationWarning: invalid escape sequence '\d' mock = target.get_command_mock(re.compile("\d\dscoo\d\d")) tests/service_mocks/test_telnet_service_mock.py:152 /build/python-threat9-test-bed/src/python-threat9-test-bed/tests/service_mocks/test_telnet_service_mock.py:152: DeprecationWarning: invalid escape sequence '\$' tn.expect([b"admin@target:~\$"], 1.0) tests/service_mocks/test_udp_service_mock.py:18 /build/python-threat9-test-bed/src/python-threat9-test-bed/tests/service_mocks/test_udp_service_mock.py:18: DeprecationWarning: invalid escape sequence '\d' mocked_scoo = target.get_command_mock(re.compile(b"\d\dfoo\d\d")) tests/service_mocks/test_http_service_mock.py::test_https_service_mock /usr/lib/python3.10/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host '127.0.0.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/service_mocks/test_telnet_service_mock.py::test_telnet_service_mock_regexp_mock ============= 1 failed, 17 passed, 9 warnings in 92.85s (0:01:32) ============== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root14/build receiving incremental file list python-threat9-test-bed-0.6.0+2+g1ed61b3-8-riscv64-build.log python-threat9-test-bed-0.6.0+2+g1ed61b3-8-riscv64-check.log python-threat9-test-bed-0.6.0+2+g1ed61b3-8-riscv64-pkgver.log python-threat9-test-bed-0.6.0+2+g1ed61b3-8-riscv64-prepare.log sent 100 bytes received 2,579 bytes 1,786.00 bytes/sec total size is 13,374 speedup is 4.99