>>> py3-remoto: Checking sanity of /home/patrycja/aports/community/py3-remoto/APKBUILD... >>> py3-remoto: Cleaning up srcdir >>> py3-remoto: Cleaning up pkgdir >>> py3-remoto: Cleaning up tmpdir >>> py3-remoto: Fetching py3-remoto-1.2.1.tar.gz::https://files.pythonhosted.org/packages/source/r/remoto/remoto-1.2.1.tar.gz >>> py3-remoto: Fetching py3-remoto-1.2.1.tar.gz::https://files.pythonhosted.org/packages/source/r/remoto/remoto-1.2.1.tar.gz >>> py3-remoto: Checking sha512sums... py3-remoto-1.2.1.tar.gz: OK >>> py3-remoto: Preparing build chroot... (1/112) Installing musl (1.2.5-r0) (2/112) Installing ca-certificates-bundle (20240226-r0) (3/112) Installing libcrypto3 (3.2.1-r1) (4/112) Installing libssl3 (3.2.1-r1) (5/112) Installing zlib (1.3.1-r0) (6/112) Installing apk-tools (2.14.3-r1) (7/112) Installing libattr (2.5.2-r0) (8/112) Installing attr (2.5.2-r0) (9/112) Installing libcap2 (2.69-r1) (10/112) Installing libcap-getcap (2.69-r1) (11/112) Installing fakeroot (1.33-r0) (12/112) Installing scanelf (1.3.7-r2) (13/112) Installing musl-utils (1.2.5-r0) (14/112) Installing libgcc (13.2.1_git20240309-r0) (15/112) Installing libstdc++ (13.2.1_git20240309-r0) (16/112) Installing lzip (1.24.1-r0) (17/112) Installing openssl (3.2.1-r1) (18/112) Installing patch (2.7.6-r10) (19/112) Installing pkgconf (2.2.0-r0) (20/112) Installing libacl (2.3.2-r0) (21/112) Installing tar (1.35-r2) (22/112) Installing busybox (1.36.1-r25) Executing busybox-1.36.1-r25.post-install (23/112) Installing ssl_client (1.36.1-r25) (24/112) Installing busybox-binsh (1.36.1-r25) (25/112) Installing abuild (3.12.0-r5) Executing abuild-3.12.0-r5.pre-install (26/112) Installing abuild-sudo (3.12.0-r5) (27/112) Installing alpine-baselayout-data (3.6.3-r0) (28/112) Installing alpine-baselayout (3.6.3-r0) Executing alpine-baselayout-3.6.3-r0.pre-install Executing alpine-baselayout-3.6.3-r0.post-install (29/112) Installing ifupdown-ng (0.12.1-r5) (30/112) Installing openrc (0.54-r1) Executing openrc-0.54-r1.post-install (31/112) Installing mdev-conf (4.6-r0) (32/112) Installing busybox-mdev-openrc (1.36.1-r25) (33/112) Installing alpine-conf (3.17.2-r0) (34/112) Installing alpine-keys (2.4-r1) (35/112) Installing alpine-release (3.20.0_alpha20240329-r0) (36/112) Installing busybox-openrc (1.36.1-r25) (37/112) Installing busybox-suid (1.36.1-r25) (38/112) Installing alpine-base (3.20.0_alpha20240329-r0) (39/112) Installing jansson (2.14-r4) (40/112) Installing zstd-libs (1.5.6-r0) (41/112) Installing binutils (2.42-r0) (42/112) Installing libmagic (5.45-r1) (43/112) Installing file (5.45-r1) (44/112) Installing libgomp (13.2.1_git20240309-r0) (45/112) Installing libatomic (13.2.1_git20240309-r0) (46/112) Installing gmp (6.3.0-r0) (47/112) Installing isl26 (0.26-r1) (48/112) Installing mpfr4 (4.2.1-r0) (49/112) Installing mpc1 (1.3.1-r1) (50/112) Installing gcc (13.2.1_git20240309-r0) (51/112) Installing libstdc++-dev (13.2.1_git20240309-r0) (52/112) Installing musl-dev (1.2.5-r0) (53/112) Installing g++ (13.2.1_git20240309-r0) (54/112) Installing make (4.4.1-r2) (55/112) Installing fortify-headers (1.1-r3) (56/112) Installing build-base (0.5-r3) (57/112) Installing hiredis (1.2.0-r0) (58/112) Installing libxxhash (0.8.2-r2) (59/112) Installing ccache (4.9.1-r0) (60/112) Installing ca-certificates (20240226-r0) (61/112) Installing brotli-libs (1.1.0-r2) (62/112) Installing c-ares (1.28.1-r0) (63/112) Installing libunistring (1.2-r0) (64/112) Installing libidn2 (2.3.7-r0) (65/112) Installing nghttp2-libs (1.61.0-r0) (66/112) Installing libpsl (0.21.5-r1) (67/112) Installing libcurl (8.7.1-r0) (68/112) Installing libexpat (2.6.2-r0) (69/112) Installing pcre2 (10.43-r0) (70/112) Installing git (2.44.0-r2) (71/112) Installing git-init-template (2.44.0-r2) (72/112) Installing libbz2 (1.0.8-r6) (73/112) Installing libffi (3.4.6-r0) (74/112) Installing gdbm (1.23-r1) (75/112) Installing xz-libs (5.6.1-r2) (76/112) Installing mpdecimal (4.0.0-r0) (77/112) Installing ncurses-terminfo-base (6.4_p20240309-r0) (78/112) Installing libncursesw (6.4_p20240309-r0) (79/112) Installing libpanelw (6.4_p20240309-r0) (80/112) Installing readline (8.2.10-r0) (81/112) Installing sqlite-libs (3.45.2-r0) (82/112) Installing python3 (3.12.2-r0) (83/112) Installing python3-pycache-pyc0 (3.12.2-r0) (84/112) Installing pyc (3.12.2-r0) (85/112) Installing py3-execnet-pyc (1.9.0-r3) (86/112) Installing py3-apipkg-pyc (2.1.0-r3) (87/112) Installing python3-pyc (3.12.2-r0) (88/112) Installing py3-apipkg (2.1.0-r3) (89/112) Installing py3-execnet (1.9.0-r3) (90/112) Installing py3-installer (0.7.0-r2) (91/112) Installing py3-installer-pyc (0.7.0-r2) (92/112) Installing py3-gpep517 (15-r2) (93/112) Installing py3-gpep517-pyc (15-r2) (94/112) Installing py3-mock (5.1.0-r2) (95/112) Installing py3-mock-pyc (5.1.0-r2) (96/112) Installing py3-iniconfig (2.0.0-r1) (97/112) Installing py3-iniconfig-pyc (2.0.0-r1) (98/112) Installing py3-parsing (3.1.2-r1) (99/112) Installing py3-parsing-pyc (3.1.2-r1) (100/112) Installing py3-packaging (24.0-r1) (101/112) Installing py3-packaging-pyc (24.0-r1) (102/112) Installing py3-pluggy (1.4.0-r1) (103/112) Installing py3-pluggy-pyc (1.4.0-r1) (104/112) Installing py3-py (1.11.0-r3) (105/112) Installing py3-py-pyc (1.11.0-r3) (106/112) Installing py3-pytest (8.1.1-r1) (107/112) Installing py3-pytest-pyc (8.1.1-r1) (108/112) Installing py3-setuptools (69.2.0-r1) (109/112) Installing py3-setuptools-pyc (69.2.0-r1) (110/112) Installing py3-wheel (0.42.0-r1) (111/112) Installing py3-wheel-pyc (0.42.0-r1) (112/112) Installing tini (0.19.0-r3) Executing busybox-1.36.1-r25.trigger Executing ca-certificates-20240226-r0.trigger OK: 295 MiB in 112 packages >>> py3-remoto: Fetching py3-remoto-1.2.1.tar.gz::https://files.pythonhosted.org/packages/source/r/remoto/remoto-1.2.1.tar.gz >>> py3-remoto: Checking sha512sums... py3-remoto-1.2.1.tar.gz: OK >>> py3-remoto: Unpacking /var/cache/distfiles/py3-remoto-1.2.1.tar.gz... 2024-04-08 15:19:27,245 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ 2024-04-08 15:19:27,262 root INFO running bdist_wheel 2024-04-08 15:19:27,272 root INFO running build 2024-04-08 15:19:27,272 root INFO running build_py 2024-04-08 15:19:27,273 root INFO creating build 2024-04-08 15:19:27,273 root INFO creating build/lib 2024-04-08 15:19:27,273 root INFO creating build/lib/remoto 2024-04-08 15:19:27,273 root INFO copying remoto/file_sync.py -> build/lib/remoto 2024-04-08 15:19:27,274 root INFO copying remoto/log.py -> build/lib/remoto 2024-04-08 15:19:27,274 root INFO copying remoto/exc.py -> build/lib/remoto 2024-04-08 15:19:27,274 root INFO copying remoto/connection.py -> build/lib/remoto 2024-04-08 15:19:27,274 root INFO copying remoto/__init__.py -> build/lib/remoto 2024-04-08 15:19:27,274 root INFO copying remoto/process.py -> build/lib/remoto 2024-04-08 15:19:27,274 root INFO copying remoto/util.py -> build/lib/remoto 2024-04-08 15:19:27,274 root INFO creating build/lib/remoto/backends 2024-04-08 15:19:27,275 root INFO copying remoto/backends/openshift.py -> build/lib/remoto/backends 2024-04-08 15:19:27,275 root INFO copying remoto/backends/ssh.py -> build/lib/remoto/backends 2024-04-08 15:19:27,275 root INFO copying remoto/backends/kubernetes.py -> build/lib/remoto/backends 2024-04-08 15:19:27,275 root INFO copying remoto/backends/local.py -> build/lib/remoto/backends 2024-04-08 15:19:27,275 root INFO copying remoto/backends/docker.py -> build/lib/remoto/backends 2024-04-08 15:19:27,275 root INFO copying remoto/backends/podman.py -> build/lib/remoto/backends 2024-04-08 15:19:27,275 root INFO copying remoto/backends/__init__.py -> build/lib/remoto/backends 2024-04-08 15:19:27,275 root INFO creating build/lib/remoto/tests 2024-04-08 15:19:27,275 root INFO copying remoto/tests/conftest.py -> build/lib/remoto/tests 2024-04-08 15:19:27,276 root INFO copying remoto/tests/fake_module.py -> build/lib/remoto/tests 2024-04-08 15:19:27,276 root INFO copying remoto/tests/test_log.py -> build/lib/remoto/tests 2024-04-08 15:19:27,276 root INFO copying remoto/tests/test_util.py -> build/lib/remoto/tests 2024-04-08 15:19:27,276 root INFO copying remoto/tests/test_connection.py -> build/lib/remoto/tests 2024-04-08 15:19:27,276 root INFO copying remoto/tests/test_rsync.py -> build/lib/remoto/tests 2024-04-08 15:19:27,276 root INFO copying remoto/tests/__init__.py -> build/lib/remoto/tests 2024-04-08 15:19:27,276 root INFO copying remoto/tests/test_process.py -> build/lib/remoto/tests 2024-04-08 15:19:27,280 wheel INFO installing to build/bdist.linux-x86_64/wheel 2024-04-08 15:19:27,280 root INFO running install 2024-04-08 15:19:27,285 root INFO running install_lib 2024-04-08 15:19:27,286 root INFO creating build/bdist.linux-x86_64 2024-04-08 15:19:27,286 root INFO creating build/bdist.linux-x86_64/wheel 2024-04-08 15:19:27,286 root INFO creating build/bdist.linux-x86_64/wheel/remoto 2024-04-08 15:19:27,286 root INFO copying build/lib/remoto/file_sync.py -> build/bdist.linux-x86_64/wheel/remoto 2024-04-08 15:19:27,286 root INFO copying build/lib/remoto/log.py -> build/bdist.linux-x86_64/wheel/remoto 2024-04-08 15:19:27,286 root INFO creating build/bdist.linux-x86_64/wheel/remoto/backends 2024-04-08 15:19:27,286 root INFO copying build/lib/remoto/backends/openshift.py -> build/bdist.linux-x86_64/wheel/remoto/backends 2024-04-08 15:19:27,287 root INFO copying build/lib/remoto/backends/ssh.py -> build/bdist.linux-x86_64/wheel/remoto/backends 2024-04-08 15:19:27,287 root INFO copying build/lib/remoto/backends/kubernetes.py -> build/bdist.linux-x86_64/wheel/remoto/backends 2024-04-08 15:19:27,287 root INFO copying build/lib/remoto/backends/local.py -> build/bdist.linux-x86_64/wheel/remoto/backends 2024-04-08 15:19:27,287 root INFO copying build/lib/remoto/backends/docker.py -> build/bdist.linux-x86_64/wheel/remoto/backends 2024-04-08 15:19:27,287 root INFO copying build/lib/remoto/backends/podman.py -> build/bdist.linux-x86_64/wheel/remoto/backends 2024-04-08 15:19:27,287 root INFO copying build/lib/remoto/backends/__init__.py -> build/bdist.linux-x86_64/wheel/remoto/backends 2024-04-08 15:19:27,287 root INFO copying build/lib/remoto/exc.py -> build/bdist.linux-x86_64/wheel/remoto 2024-04-08 15:19:27,287 root INFO creating build/bdist.linux-x86_64/wheel/remoto/tests 2024-04-08 15:19:27,287 root INFO copying build/lib/remoto/tests/conftest.py -> build/bdist.linux-x86_64/wheel/remoto/tests 2024-04-08 15:19:27,287 root INFO copying build/lib/remoto/tests/fake_module.py -> build/bdist.linux-x86_64/wheel/remoto/tests 2024-04-08 15:19:27,288 root INFO copying build/lib/remoto/tests/test_log.py -> build/bdist.linux-x86_64/wheel/remoto/tests 2024-04-08 15:19:27,288 root INFO copying build/lib/remoto/tests/test_util.py -> build/bdist.linux-x86_64/wheel/remoto/tests 2024-04-08 15:19:27,288 root INFO copying build/lib/remoto/tests/test_connection.py -> build/bdist.linux-x86_64/wheel/remoto/tests 2024-04-08 15:19:27,288 root INFO copying build/lib/remoto/tests/test_rsync.py -> build/bdist.linux-x86_64/wheel/remoto/tests 2024-04-08 15:19:27,288 root INFO copying build/lib/remoto/tests/__init__.py -> build/bdist.linux-x86_64/wheel/remoto/tests 2024-04-08 15:19:27,288 root INFO copying build/lib/remoto/tests/test_process.py -> build/bdist.linux-x86_64/wheel/remoto/tests 2024-04-08 15:19:27,288 root INFO copying build/lib/remoto/connection.py -> build/bdist.linux-x86_64/wheel/remoto 2024-04-08 15:19:27,288 root INFO copying build/lib/remoto/__init__.py -> build/bdist.linux-x86_64/wheel/remoto 2024-04-08 15:19:27,288 root INFO copying build/lib/remoto/process.py -> build/bdist.linux-x86_64/wheel/remoto 2024-04-08 15:19:27,288 root INFO copying build/lib/remoto/util.py -> build/bdist.linux-x86_64/wheel/remoto 2024-04-08 15:19:27,288 root INFO running install_egg_info 2024-04-08 15:19:27,291 root INFO running egg_info 2024-04-08 15:19:27,292 root INFO writing remoto.egg-info/PKG-INFO 2024-04-08 15:19:27,292 root INFO writing dependency_links to remoto.egg-info/dependency_links.txt 2024-04-08 15:19:27,292 root INFO writing requirements to remoto.egg-info/requires.txt 2024-04-08 15:19:27,292 root INFO writing top-level names to remoto.egg-info/top_level.txt 2024-04-08 15:19:27,294 root INFO reading manifest file 'remoto.egg-info/SOURCES.txt' 2024-04-08 15:19:27,294 root INFO reading manifest template 'MANIFEST.in' 2024-04-08 15:19:27,294 root INFO adding license file 'LICENSE' 2024-04-08 15:19:27,294 root INFO writing manifest file 'remoto.egg-info/SOURCES.txt' 2024-04-08 15:19:27,295 root INFO Copying remoto.egg-info to build/bdist.linux-x86_64/wheel/remoto-1.2.1-py3.12.egg-info 2024-04-08 15:19:27,295 root INFO running install_scripts 2024-04-08 15:19:27,296 wheel INFO creating build/bdist.linux-x86_64/wheel/remoto-1.2.1.dist-info/WHEEL 2024-04-08 15:19:27,297 wheel INFO creating '/home/patrycja/aports/community/py3-remoto/src/remoto-1.2.1/.dist/.tmp-v_xts3pj/remoto-1.2.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it 2024-04-08 15:19:27,297 wheel INFO adding 'remoto/__init__.py' 2024-04-08 15:19:27,297 wheel INFO adding 'remoto/connection.py' 2024-04-08 15:19:27,297 wheel INFO adding 'remoto/exc.py' 2024-04-08 15:19:27,297 wheel INFO adding 'remoto/file_sync.py' 2024-04-08 15:19:27,297 wheel INFO adding 'remoto/log.py' 2024-04-08 15:19:27,297 wheel INFO adding 'remoto/process.py' 2024-04-08 15:19:27,297 wheel INFO adding 'remoto/util.py' 2024-04-08 15:19:27,297 wheel INFO adding 'remoto/backends/__init__.py' 2024-04-08 15:19:27,298 wheel INFO adding 'remoto/backends/docker.py' 2024-04-08 15:19:27,298 wheel INFO adding 'remoto/backends/kubernetes.py' 2024-04-08 15:19:27,298 wheel INFO adding 'remoto/backends/local.py' 2024-04-08 15:19:27,298 wheel INFO adding 'remoto/backends/openshift.py' 2024-04-08 15:19:27,298 wheel INFO adding 'remoto/backends/podman.py' 2024-04-08 15:19:27,298 wheel INFO adding 'remoto/backends/ssh.py' 2024-04-08 15:19:27,298 wheel INFO adding 'remoto/tests/__init__.py' 2024-04-08 15:19:27,298 wheel INFO adding 'remoto/tests/conftest.py' 2024-04-08 15:19:27,298 wheel INFO adding 'remoto/tests/fake_module.py' 2024-04-08 15:19:27,298 wheel INFO adding 'remoto/tests/test_connection.py' 2024-04-08 15:19:27,298 wheel INFO adding 'remoto/tests/test_log.py' 2024-04-08 15:19:27,299 wheel INFO adding 'remoto/tests/test_process.py' 2024-04-08 15:19:27,299 wheel INFO adding 'remoto/tests/test_rsync.py' 2024-04-08 15:19:27,299 wheel INFO adding 'remoto/tests/test_util.py' 2024-04-08 15:19:27,299 wheel INFO adding 'remoto-1.2.1.dist-info/LICENSE' 2024-04-08 15:19:27,299 wheel INFO adding 'remoto-1.2.1.dist-info/METADATA' 2024-04-08 15:19:27,299 wheel INFO adding 'remoto-1.2.1.dist-info/WHEEL' 2024-04-08 15:19:27,299 wheel INFO adding 'remoto-1.2.1.dist-info/top_level.txt' 2024-04-08 15:19:27,299 wheel INFO adding 'remoto-1.2.1.dist-info/RECORD' 2024-04-08 15:19:27,299 wheel INFO removing build/bdist.linux-x86_64/wheel 2024-04-08 15:19:27,300 gpep517 INFO The backend produced .dist/remoto-1.2.1-py3-none-any.whl remoto-1.2.1-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/patrycja/aports/community/py3-remoto/src/remoto-1.2.1 collected 52 items remoto/tests/test_connection.py ................................ [ 61%] remoto/tests/test_log.py ......... [ 78%] remoto/tests/test_process.py FFF. [ 86%] remoto/tests/test_rsync.py .. [ 90%] remoto/tests/test_util.py ...FF [100%] =================================== FAILURES =================================== _________________ TestExtendPath.test_no_environment_sets_path _________________ self = def test_no_environment_sets_path(self): fake_conn = Mock() fake_conn.gateway.remote_exec.return_value = fake_conn fake_conn.receive.return_value = {} result = process.extend_env(fake_conn, {}) > assert result['env']['PATH'] == self.path E AttributeError: 'TestExtendPath' object has no attribute 'path' remoto/tests/test_process.py:15: AttributeError ___________ TestExtendPath.test_custom_path_does_not_get_overridden ____________ self = def test_custom_path_does_not_get_overridden(self): fake_conn = Mock() fake_conn.gateway.remote_exec.return_value = fake_conn fake_conn.receive.return_value = {'PATH': '/home/alfredo/bin'} result = process.extend_env(fake_conn, {}) new_path = result['env']['PATH'] > assert new_path.endswith(self.path) E AttributeError: 'TestExtendPath' object has no attribute 'path' remoto/tests/test_process.py:23: AttributeError ___________ TestExtendPath.test_custom_env_var_extends_existing_env ____________ self = def test_custom_env_var_extends_existing_env(self): fake_conn = Mock() fake_conn.gateway.remote_exec.return_value = fake_conn fake_conn.receive.return_value = {'PATH': '/home/alfredo/bin'} result = process.extend_env(fake_conn, {'extend_env': {'CEPH_VOLUME_DEBUG': '1'}}) new_path = result['env']['PATH'] > assert result['env']['PATH'].endswith(self.path) E AttributeError: 'TestExtendPath' object has no attribute 'path' remoto/tests/test_process.py:32: AttributeError _____________________ TestRemoteError.test_exception_name ______________________ self = def test_exception_name(self): > error = util.RemoteError(self.traceback) E AttributeError: 'TestRemoteError' object has no attribute 'traceback' remoto/tests/test_util.py:29: AttributeError _____________________ TestRemoteError.test_exception_line ______________________ self = def test_exception_line(self): > error = util.RemoteError(self.traceback) E AttributeError: 'TestRemoteError' object has no attribute 'traceback' remoto/tests/test_util.py:33: AttributeError =========================== short test summary info ============================ FAILED remoto/tests/test_process.py::TestExtendPath::test_no_environment_sets_path FAILED remoto/tests/test_process.py::TestExtendPath::test_custom_path_does_not_get_overridden FAILED remoto/tests/test_process.py::TestExtendPath::test_custom_env_var_extends_existing_env FAILED remoto/tests/test_util.py::TestRemoteError::test_exception_name - Attr... FAILED remoto/tests/test_util.py::TestRemoteError::test_exception_line - Attr... ========================= 5 failed, 47 passed in 0.09s ========================= >>> ERROR: py3-remoto: check failed >>> ERROR: py3-remoto: rootbld failed >>> py3-remoto: Cleaning up build chroot