>>> castero: Checking sanity of /home/patrycja/aports/testing/castero/APKBUILD... >>> castero: Cleaning up srcdir >>> castero: Cleaning up pkgdir >>> castero: Cleaning up tmpdir >>> castero: Fetching castero-0.9.5.tar.gz::https://github.com/xgi/castero/archive/v0.9.5.tar.gz >>> castero: Fetching castero-0.9.5.tar.gz::https://github.com/xgi/castero/archive/v0.9.5.tar.gz >>> castero: Checking sha512sums... castero-0.9.5.tar.gz: OK >>> castero: Preparing build chroot... fetch https://dev.alpinelinux.org/~ncopa/py3.12/community/x86_64/APKINDEX.tar.gz WARNING: updating https://dev.alpinelinux.org/~ncopa/py3.12/community: No such file or directory (1/283) Installing musl (1.2.5-r0) (2/283) Installing ca-certificates-bundle (20240226-r0) (3/283) Installing libcrypto3 (3.2.1-r2) (4/283) Installing libssl3 (3.2.1-r2) (5/283) Installing zlib (1.3.1-r0) (6/283) Installing apk-tools (2.14.3-r1) (7/283) Installing libattr (2.5.2-r0) (8/283) Installing attr (2.5.2-r0) (9/283) Installing libcap2 (2.69-r1) (10/283) Installing libcap-getcap (2.69-r1) (11/283) Installing fakeroot (1.33-r0) (12/283) Installing scanelf (1.3.7-r2) (13/283) Installing musl-utils (1.2.5-r0) (14/283) Installing libgcc (13.2.1_git20240309-r0) (15/283) Installing libstdc++ (13.2.1_git20240309-r0) (16/283) Installing lzip (1.24.1-r0) (17/283) Installing openssl (3.2.1-r2) (18/283) Installing patch (2.7.6-r10) (19/283) Installing pkgconf (2.2.0-r0) (20/283) Installing libacl (2.3.2-r0) (21/283) Installing tar (1.35-r2) (22/283) Installing busybox (1.36.1-r25) Executing busybox-1.36.1-r25.post-install (23/283) Installing ssl_client (1.36.1-r25) (24/283) Installing busybox-binsh (1.36.1-r25) (25/283) Installing abuild (3.12.0-r5) Executing abuild-3.12.0-r5.pre-install (26/283) Installing abuild-sudo (3.12.0-r5) (27/283) Installing alpine-baselayout-data (3.6.3-r0) (28/283) 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/283) Installing ifupdown-ng (0.12.1-r5) (30/283) Installing openrc (0.54-r1) Executing openrc-0.54-r1.post-install (31/283) Installing mdev-conf (4.6-r0) (32/283) Installing busybox-mdev-openrc (1.36.1-r25) (33/283) Installing alpine-conf (3.17.2-r0) (34/283) Installing alpine-keys (2.4-r1) (35/283) Installing alpine-release (3.20.0_alpha20240329-r0) (36/283) Installing busybox-openrc (1.36.1-r25) (37/283) Installing busybox-suid (1.36.1-r25) (38/283) Installing alpine-base (3.20.0_alpha20240329-r0) (39/283) Installing jansson (2.14-r4) (40/283) Installing zstd-libs (1.5.6-r0) (41/283) Installing binutils (2.42-r0) (42/283) Installing libmagic (5.45-r1) (43/283) Installing file (5.45-r1) (44/283) Installing libgomp (13.2.1_git20240309-r0) (45/283) Installing libatomic (13.2.1_git20240309-r0) (46/283) Installing gmp (6.3.0-r0) (47/283) Installing isl26 (0.26-r1) (48/283) Installing mpfr4 (4.2.1-r0) (49/283) Installing mpc1 (1.3.1-r1) (50/283) Installing gcc (13.2.1_git20240309-r0) (51/283) Installing libstdc++-dev (13.2.1_git20240309-r0) (52/283) Installing musl-dev (1.2.5-r0) (53/283) Installing g++ (13.2.1_git20240309-r0) (54/283) Installing make (4.4.1-r2) (55/283) Installing fortify-headers (1.1-r3) (56/283) Installing build-base (0.5-r3) (57/283) Installing hiredis (1.2.0-r0) (58/283) Installing libxxhash (0.8.2-r2) (59/283) Installing ccache (4.9.1-r0) (60/283) Installing ca-certificates (20240226-r0) (61/283) Installing brotli-libs (1.1.0-r2) (62/283) Installing c-ares (1.28.1-r0) (63/283) Installing libunistring (1.2-r0) (64/283) Installing libidn2 (2.3.7-r0) (65/283) Installing nghttp2-libs (1.61.0-r0) (66/283) Installing libpsl (0.21.5-r1) (67/283) Installing libcurl (8.7.1-r0) (68/283) Installing libexpat (2.6.2-r0) (69/283) Installing pcre2 (10.43-r0) (70/283) Installing git (2.44.0-r2) (71/283) Installing git-init-template (2.44.0-r2) (72/283) Installing libbz2 (1.0.8-r6) (73/283) Installing libffi (3.4.6-r0) (74/283) Installing gdbm (1.23-r1) (75/283) Installing xz-libs (5.6.1-r2) (76/283) Installing mpdecimal (4.0.0-r0) (77/283) Installing ncurses-terminfo-base (6.4_p20240330-r0) (78/283) Installing libncursesw (6.4_p20240330-r0) (79/283) Installing libpanelw (6.4_p20240330-r0) (80/283) Installing readline (8.2.10-r0) (81/283) Installing sqlite-libs (3.45.2-r0) (82/283) Installing python3 (3.12.2-r0) (83/283) Installing python3-pycache-pyc0 (3.12.2-r0) (84/283) Installing pyc (3.12.2-r0) (85/283) Installing py3-soupsieve (2.5-r1) (86/283) Installing py3-soupsieve-pyc (2.5-r1) (87/283) Installing py3-beautifulsoup4-pyc (4.12.3-r2) (88/283) Installing python3-pyc (3.12.2-r0) (89/283) Installing py3-beautifulsoup4 (4.12.3-r2) (90/283) Installing py3-cjkwrap (2.2-r2) (91/283) Installing py3-cjkwrap-pyc (2.2-r2) (92/283) Installing py3-cparser (2.21-r5) (93/283) Installing py3-cparser-pyc (2.21-r5) (94/283) Installing py3-cffi (1.16.0-r1) (95/283) Installing py3-cffi-pyc (1.16.0-r1) (96/283) Installing py3-greenlet (3.0.3-r1) (97/283) Installing py3-greenlet-pyc (3.0.3-r1) (98/283) Installing py3-parsing (3.1.2-r1) (99/283) Installing py3-parsing-pyc (3.1.2-r1) (100/283) Installing py3-packaging (24.0-r1) (101/283) Installing py3-packaging-pyc (24.0-r1) (102/283) Installing py3-setuptools (69.2.0-r1) (103/283) Installing py3-setuptools-pyc (69.2.0-r1) (104/283) Installing py3-zope-event (5.0-r1) (105/283) Installing py3-zope-event-pyc (5.0-r1) (106/283) Installing py3-zope-interface (6.0-r1) (107/283) Installing py3-zope-interface-pyc (6.0-r1) (108/283) Installing libev (4.33-r1) (109/283) Installing libuv (1.48.0-r0) (110/283) Installing py3-gevent (23.9.1-r1) (111/283) Installing py3-gevent-pyc (23.9.1-r1) (112/283) Installing py3-certifi (2024.2.2-r1) (113/283) Installing py3-certifi-pyc (2024.2.2-r1) (114/283) Installing py3-charset-normalizer (3.3.2-r1) (115/283) Installing py3-charset-normalizer-pyc (3.3.2-r1) (116/283) Installing py3-idna (3.6-r1) (117/283) Installing py3-idna-pyc (3.6-r1) (118/283) Installing py3-urllib3 (1.26.18-r1) (119/283) Installing py3-urllib3-pyc (1.26.18-r1) (120/283) Installing py3-requests (2.31.0-r2) (121/283) Installing py3-requests-pyc (2.31.0-r2) (122/283) Installing py3-grequests (0.7.0-r0) (123/283) Installing py3-grequests-pyc (0.7.0-r0) (124/283) Installing libgpg-error (1.48-r0) (125/283) Installing libgcrypt (1.10.3-r0) (126/283) Installing libxml2 (2.12.6-r1) (127/283) Installing libxslt (1.1.39-r1) (128/283) Installing py3-lxml (5.1.0-r0) (129/283) Installing py3-lxml-pyc (5.1.0-r0) (130/283) Installing mesa (24.0.4-r0) (131/283) Installing libxau (1.0.11-r3) (132/283) Installing libmd (1.1.0-r0) (133/283) Installing libbsd (0.12.2-r0) (134/283) Installing libxdmcp (1.1.5-r0) (135/283) Installing libxcb (1.16.1-r0) (136/283) Installing libx11 (1.8.9-r0) (137/283) Installing hwdata-pci (0.381-r0) (138/283) Installing libpciaccess (0.18.1-r0) (139/283) Installing libdrm (2.4.120-r0) (140/283) Installing wayland-libs-server (1.22.0-r4) (141/283) Installing mesa-gbm (24.0.4-r0) (142/283) Installing mesa-glapi (24.0.4-r0) (143/283) Installing wayland-libs-client (1.22.0-r4) (144/283) Installing libxshmfence (1.3.2-r5) (145/283) Installing mesa-egl (24.0.4-r0) (146/283) Installing libxext (1.3.6-r1) (147/283) Installing libxpresent (1.0.1-r2) (148/283) Installing libxrender (0.9.11-r4) (149/283) Installing libxrandr (1.5.4-r0) (150/283) Installing libxscrnsaver (1.2.4-r2) (151/283) Installing libxv (1.0.12-r4) (152/283) Installing lz4-libs (1.9.4-r5) (153/283) Installing libarchive (3.7.2-r1) (154/283) Installing alsa-lib (1.2.11-r0) (155/283) Installing libpng (1.6.43-r0) (156/283) Installing freetype (2.13.2-r0) (157/283) Installing fontconfig (2.15.0-r1) (158/283) Installing fribidi (1.0.13-r0) (159/283) Installing libintl (0.22.5-r0) (160/283) Installing libblkid (2.39.3-r2) (161/283) Installing libmount (2.39.3-r2) (162/283) Installing glib (2.80.0-r3) (163/283) Installing graphite2 (1.3.14-r6) (164/283) Installing harfbuzz (8.4.0-r0) (165/283) Installing libunibreak (6.1-r0) (166/283) Installing libass (0.17.1-r2) (167/283) Installing libSvtAv1Enc (2.0.0-r1) (168/283) Installing aom-libs (3.8.2-r0) (169/283) Installing libxfixes (6.0.1-r3) (170/283) Installing libva (2.21.0-r0) (171/283) Installing libvdpau (1.5-r2) (172/283) Installing onevpl-libs (2023.3.1-r2) (173/283) Installing ffmpeg-libavutil (6.1.1-r6) (174/283) Installing libdav1d (1.4.1-r0) (175/283) Installing openexr-libiex (3.1.12-r0) (176/283) Installing openexr-libilmthread (3.1.12-r0) (177/283) Installing imath (3.1.11-r1) (178/283) Installing openexr-libopenexr (3.1.12-r0) (179/283) Installing giflib (5.2.2-r0) (180/283) Installing libhwy (1.0.7-r0) (181/283) Installing libjpeg-turbo (3.0.2-r0) (182/283) Installing lcms2 (2.16-r0) (183/283) Installing libjxl (0.9.1-r0) (184/283) Installing lame-libs (3.100-r5) (185/283) Installing opus (1.4-r0) (186/283) Installing rav1e-libs (0.7.1-r0) (187/283) Installing soxr (0.1.3-r7) (188/283) Installing ffmpeg-libswresample (6.1.1-r6) (189/283) Installing libogg (1.3.5-r5) (190/283) Installing libtheora (1.1.1-r18) (191/283) Installing libvorbis (1.3.7-r2) (192/283) Installing libvpx (1.14.0-r0) (193/283) Installing libsharpyuv (1.3.2-r0) (194/283) Installing libwebp (1.3.2-r0) (195/283) Installing libwebpmux (1.3.2-r0) (196/283) Installing x264-libs (0.164_git20231001-r0) (197/283) Installing numactl (2.0.18-r0) (198/283) Installing x265-libs (3.6-r0) (199/283) Installing xvidcore (1.3.7-r2) (200/283) Installing ffmpeg-libavcodec (6.1.1-r6) (201/283) Installing sdl2 (2.28.5-r1) (202/283) Installing libbluray (1.3.4-r1) (203/283) Installing mpg123-libs (1.32.6-r0) (204/283) Installing libopenmpt (0.7.6-r0) (205/283) Installing cjson (1.7.17-r0) (206/283) Installing mbedtls (2.28.8-r0) (207/283) Installing librist (0.2.10-r0) (208/283) Installing libsrt (1.5.3-r0) (209/283) Installing libssh (0.10.6-r0) (210/283) Installing libsodium (1.0.19-r0) (211/283) Installing libzmq (4.3.5-r2) (212/283) Installing ffmpeg-libavformat (6.1.1-r6) (213/283) Installing serd-libs (0.32.2-r0) (214/283) Installing zix-libs (0.4.2-r0) (215/283) Installing sord-libs (0.16.16-r0) (216/283) Installing sratom (0.6.16-r0) (217/283) Installing lilv-libs (0.24.24-r0) (218/283) Installing glslang-libs (1.3.261.1-r0) (219/283) Installing libdovi (3.2.0-r1) (220/283) Installing spirv-tools (1.3.261.1-r0) (221/283) Installing shaderc (2024.0-r0) (222/283) Installing vulkan-loader (1.3.261.1-r0) (223/283) Installing libplacebo (6.338.2-r1) (224/283) Installing ffmpeg-libpostproc (6.1.1-r6) (225/283) Installing ffmpeg-libswscale (6.1.1-r6) (226/283) Installing vidstab (1.1.1-r0) (227/283) Installing zimg (3.0.5-r2) (228/283) Installing ffmpeg-libavfilter (6.1.1-r6) (229/283) Installing libasyncns (0.8-r3) (230/283) Installing dbus-libs (1.14.10-r1) (231/283) Installing libltdl (2.4.7-r3) (232/283) Installing orc (0.4.37-r0) (233/283) Installing libflac (1.4.3-r1) (234/283) Installing libsndfile (1.2.2-r0) (235/283) Installing speexdsp (1.2.1-r2) (236/283) Installing tdb-libs (1.4.9-r1) (237/283) Installing libpulse (17.0-r0) (238/283) Installing v4l-utils-libs (1.24.1-r1) (239/283) Installing ffmpeg-libavdevice (6.1.1-r6) (240/283) Installing libcaca (0.99_beta20-r3) (241/283) Installing libcdio (2.1.0-r3) (242/283) Installing libcdio-paranoia (10.2.2.0.1-r2) (243/283) Installing libdvdcss (1.4.3-r0) (244/283) Installing libdvdread (6.1.3-r2) (245/283) Installing libdvdnav (6.1.1-r1) (246/283) Installing libsamplerate (0.2.2-r3) (247/283) Installing jack (1.9.22-r4) (248/283) Installing luajit (2.1_p20230410-r3) (249/283) Installing avahi-libs (0.8-r17) (250/283) Installing libcamera-ipa (0.2.0-r0) (251/283) Installing nettle (3.9.1-r0) (252/283) Installing libtasn1 (4.19.0-r2) (253/283) Installing p11-kit (0.25.3-r0) (254/283) Installing gnutls (3.8.3-r0) (255/283) Installing eudev-libs (3.2.14-r2) (256/283) Installing libunwind (1.8.1-r0) (257/283) Installing yaml (0.2.5-r2) (258/283) Installing libcamera (0.2.0-r0) (259/283) Installing roc-toolkit-libs (0.3.0-r0) (260/283) Installing webrtc-audio-processing-1 (1.3-r0) (261/283) Installing pipewire-libs (1.0.4-r0) (262/283) Installing fftw-double-libs (3.3.10-r5) (263/283) Installing rubberband-libs (3.3.0-r0) (264/283) Installing sndio-libs (1.9.0-r0) (265/283) Installing uchardet-libs (0.0.8-r2) (266/283) Installing wayland-libs-cursor (1.22.0-r4) (267/283) Installing wayland-libs-egl (1.22.0-r4) (268/283) Installing xkeyboard-config (2.41-r0) (269/283) Installing libxkbcommon (1.7.0-r0) (270/283) Installing mpv-libs (0.37.0-r2) (271/283) Installing py3-mpv (1.0.5-r1) (272/283) Installing py3-mpv-pyc (1.0.5-r1) (273/283) Installing py3-iniconfig (2.0.0-r1) (274/283) Installing py3-iniconfig-pyc (2.0.0-r1) (275/283) Installing py3-pluggy (1.4.0-r1) (276/283) Installing py3-pluggy-pyc (1.4.0-r1) (277/283) Installing py3-py (1.11.0-r3) (278/283) Installing py3-py-pyc (1.11.0-r3) (279/283) Installing py3-pytest (8.1.1-r1) (280/283) Installing py3-pytest-pyc (8.1.1-r1) (281/283) Installing py3-tz (2024.1-r1) (282/283) Installing py3-tz-pyc (2024.1-r1) (283/283) Installing tini (0.19.0-r3) Executing busybox-1.36.1-r25.trigger Executing ca-certificates-20240226-r0.trigger Executing glib-2.80.0-r3.trigger OK: 466 MiB in 283 packages >>> castero: Fetching castero-0.9.5.tar.gz::https://github.com/xgi/castero/archive/v0.9.5.tar.gz >>> castero: Checking sha512sums... castero-0.9.5.tar.gz: OK >>> castero: Unpacking /var/cache/distfiles/castero-0.9.5.tar.gz... running build running build_py creating build creating build/lib creating build/lib/castero copying castero/display.py -> build/lib/castero copying castero/player.py -> build/lib/castero copying castero/episode.py -> build/lib/castero copying castero/config.py -> build/lib/castero copying castero/constants.py -> build/lib/castero copying castero/feed.py -> build/lib/castero copying castero/datafile.py -> build/lib/castero copying castero/net.py -> build/lib/castero copying castero/menu.py -> build/lib/castero copying castero/database.py -> build/lib/castero copying castero/subscriptions.py -> build/lib/castero copying castero/queue.py -> build/lib/castero copying castero/perspective.py -> build/lib/castero copying castero/helpers.py -> build/lib/castero copying castero/__init__.py -> build/lib/castero copying castero/downloadqueue.py -> build/lib/castero copying castero/__main__.py -> build/lib/castero creating build/lib/castero/perspectives copying castero/perspectives/primaryperspective.py -> build/lib/castero/perspectives copying castero/perspectives/simpleperspective.py -> build/lib/castero/perspectives copying castero/perspectives/chronoperspective.py -> build/lib/castero/perspectives copying castero/perspectives/downloadedperspective.py -> build/lib/castero/perspectives copying castero/perspectives/queueperspective.py -> build/lib/castero/perspectives creating build/lib/castero/players copying castero/players/vlcplayer.py -> build/lib/castero/players copying castero/players/mpvplayer.py -> build/lib/castero/players creating build/lib/castero/menus copying castero/menus/chronomenu.py -> build/lib/castero/menus copying castero/menus/episodemenu.py -> build/lib/castero/menus copying castero/menus/feedmenu.py -> build/lib/castero/menus copying castero/menus/downloadedmenu.py -> build/lib/castero/menus copying castero/menus/queuemenu.py -> build/lib/castero/menus creating build/lib/castero/templates copying castero/templates/castero.conf -> build/lib/castero/templates creating build/lib/castero/templates/migrations copying castero/templates/migrations/001-initial.sql -> build/lib/castero/templates/migrations copying castero/templates/migrations/004-progress.sql -> build/lib/castero/templates/migrations copying castero/templates/migrations/002-played.sql -> build/lib/castero/templates/migrations copying castero/templates/migrations/003-queue.sql -> build/lib/castero/templates/migrations ============================= test session starts ============================== platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/patrycja/aports/testing/castero/src/castero-0.9.5 collected 234 items / 14 deselected / 220 selected tests/test_config.py .......... [ 4%] tests/test_database.py ...................... [ 14%] tests/test_datafile.py .. [ 15%] tests/test_display.py ......FF........... [ 24%] tests/test_downloadqueue.py ...... [ 26%] tests/test_episode.py ...................... [ 36%] tests/test_feed.py ................. [ 44%] tests/test_helpers.py ................ [ 51%] tests/test_menu_episode.py ......... [ 55%] tests/test_menu_queue.py ...... [ 58%] tests/test_net.py .... [ 60%] tests/test_perspective_chrono.py ...... [ 63%] tests/test_perspective_downloaded.py ....... [ 66%] tests/test_perspective_primary.py ......... [ 70%] tests/test_perspective_queue.py ....... [ 73%] tests/test_perspective_simple.py ...... [ 76%] tests/test_player.py .... [ 78%] tests/test_player_mpvplayer.py .............. [ 84%] tests/test_queue.py .................... [ 93%] tests/test_subscriptions.py .............. [100%] =================================== FAILURES =================================== __________________________ test_display_get_input_str __________________________ display = def test_display_get_input_str(display): display._footer_window.getch = mock.Mock() display._footer_window.getch.side_effect = [ord("a"), ord("b"), 10] display._get_input_str("prompt") assert display._footer_window.getch.call_count == 3 assert display._footer_window.clear.call_count == 1 assert display._footer_window.addstr.call_count == 2 display._footer_window.addstr.assert_any_call(1, 0, "prompt") > assert display._footer_window.called_with(1, len("prompt")) tests/test_display.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , name = 'called_with' def __getattr__(self, name): if name in {'_mock_methods', '_mock_unsafe'}: raise AttributeError(name) elif self._mock_methods is not None: if name not in self._mock_methods or name in _all_magics: raise AttributeError("Mock object has no attribute %r" % name) elif _is_magic(name): raise AttributeError(name) if not self._mock_unsafe and (not self._mock_methods or name not in self._mock_methods): if name.startswith(('assert', 'assret', 'asert', 'aseert', 'assrt')) or name in _ATTRIB_DENY_LIST: > raise AttributeError( f"{name!r} is not a valid assertion. Use a spec " f"for the mock if {name!r} is meant to be an attribute.") E AttributeError: 'called_with' is not a valid assertion. Use a spec for the mock if 'called_with' is meant to be an attribute. /usr/lib/python3.12/unittest/mock.py:663: AttributeError _____________________________ test_display_get_y_n _____________________________ display = def test_display_get_y_n(display): display._get_y_n("prompt") assert display._footer_window.clear.call_count == 1 assert display._footer_window.addstr.call_count == 2 display._footer_window.addstr.assert_any_call(1, 0, "prompt") > assert display._footer_window.called_with(1, len("prompt")) tests/test_display.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , name = 'called_with' def __getattr__(self, name): if name in {'_mock_methods', '_mock_unsafe'}: raise AttributeError(name) elif self._mock_methods is not None: if name not in self._mock_methods or name in _all_magics: raise AttributeError("Mock object has no attribute %r" % name) elif _is_magic(name): raise AttributeError(name) if not self._mock_unsafe and (not self._mock_methods or name not in self._mock_methods): if name.startswith(('assert', 'assret', 'asert', 'aseert', 'assrt')) or name in _ATTRIB_DENY_LIST: > raise AttributeError( f"{name!r} is not a valid assertion. Use a spec " f"for the mock if {name!r} is meant to be an attribute.") E AttributeError: 'called_with' is not a valid assertion. Use a spec for the mock if 'called_with' is meant to be an attribute. /usr/lib/python3.12/unittest/mock.py:663: AttributeError =============================== warnings summary =============================== tests/conftest.py:60 /home/patrycja/aports/testing/castero/src/castero-0.9.5/tests/conftest.py:60: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture() tests/conftest.py:95 /home/patrycja/aports/testing/castero/src/castero-0.9.5/tests/conftest.py:95: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture() tests/conftest.py:102 /home/patrycja/aports/testing/castero/src/castero-0.9.5/tests/conftest.py:102: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture() tests/test_display.py: 6 warnings tests/test_downloadqueue.py: 1 warning tests/test_perspective_chrono.py: 2 warnings tests/test_perspective_downloaded.py: 3 warnings tests/test_perspective_primary.py: 8 warnings tests/test_perspective_queue.py: 14 warnings tests/test_perspective_simple.py: 24 warnings /home/patrycja/aports/testing/castero/src/castero-0.9.5/castero/downloadqueue.py:36: DeprecationWarning: getName() is deprecated, get the name attribute instead if thread.getName().startswith("download"): tests/test_display.py::test_display_execute_command /usr/lib/python3.12/site-packages/gevent/os.py:426: DeprecationWarning: This process (pid=42) is multi-threaded, use of fork() may lead to deadlocks in the child. pid = fork() tests/test_menu_episode.py::test_menu_episode_item tests/test_menu_episode.py::test_menu_episode_metadata tests/test_menu_episode.py::test_menu_episode_invert /usr/lib/python3.12/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread episodes_ Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner self.run() File "/usr/lib/python3.12/threading.py", line 1010, in run self._target(*self._args, **self._kwargs) File "/home/patrycja/aports/testing/castero/src/castero-0.9.5/castero/menus/episodemenu.py", line 100, in _request_source_episodes self.display() File "/home/patrycja/aports/testing/castero/src/castero-0.9.5/castero/menu.py", line 169, in display items = self._items ^^^^^^^^^^^ File "/home/patrycja/aports/testing/castero/src/castero-0.9.5/castero/menus/episodemenu.py", line 35, in _items "attr": curses.color_pair(5) if episode.played else curses.A_NORMAL, ^^^^^^^^^^^^^^^^^^^^ _curses.error: must call initscr() first warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_display.py::test_display_get_input_str - AttributeError: 'c... FAILED tests/test_display.py::test_display_get_y_n - AttributeError: 'called_... ========== 2 failed, 218 passed, 14 deselected, 65 warnings in 3.61s =========== >>> ERROR: castero: check failed >>> ERROR: castero: rootbld failed >>> castero: Cleaning up build chroot