>>> py3-zimscraperlib: Building testing/py3-zimscraperlib 3.4.0-r0 (using abuild 3.14.1-r1) started Wed, 06 Nov 2024 10:04:55 +0000 >>> py3-zimscraperlib: Validating /home/buildozer/aports/testing/py3-zimscraperlib/APKBUILD... >>> py3-zimscraperlib: Analyzing dependencies... >>> py3-zimscraperlib: Installing for build: build-base ffmpeg gifsicle py3-iso639-lang py3-pillow py3-six wget py3-gpep517 py3-hatch-openzim py3-hatchling py3-wheel py3-babel py3-beautifulsoup4 py3-colorthief py3-libzim py3-lxml py3-magic py3-optimize-images py3-piexif py3-pytest py3-pytest-cov py3-pytest-httpbin py3-resizeimage py3-requests py3-wsgiprox yt-dlp-core (1/256) Installing libSvtAv1Enc (2.2.1-r0) (2/256) Installing aom-libs (3.10.0-r0) (3/256) Installing libxau (1.0.11-r4) (4/256) Installing libmd (1.1.0-r0) (5/256) Installing libbsd (0.12.2-r0) (6/256) Installing libxdmcp (1.1.5-r1) (7/256) Installing libxcb (1.16.1-r0) (8/256) Installing libx11 (1.8.10-r0) (9/256) Installing hwdata-pci (0.388-r0) (10/256) Installing libpciaccess (0.18.1-r0) (11/256) Installing libdrm (2.4.123-r1) (12/256) Installing libxext (1.3.6-r2) (13/256) Installing libxfixes (6.0.1-r4) (14/256) Installing libffi (3.4.6-r0) (15/256) Installing wayland-libs-client (1.23.1-r0) (16/256) Installing libva (2.22.0-r1) (17/256) Installing libvdpau (1.5-r4) (18/256) Installing ffmpeg-libavutil (6.1.1-r10) (19/256) Installing libdav1d (1.5.0-r0) (20/256) Installing openexr-libiex (3.1.13-r2) (21/256) Installing openexr-libilmthread (3.1.13-r2) (22/256) Installing imath (3.1.12-r0) (23/256) Installing openexr-libopenexr (3.1.13-r2) (24/256) Installing giflib (5.2.2-r0) (25/256) Installing libhwy (1.0.7-r0) (26/256) Installing libjpeg-turbo (3.0.4-r0) (27/256) Installing lcms2 (2.16-r0) (28/256) Installing libpng (1.6.44-r0) (29/256) Installing libjxl (0.10.2-r0) (30/256) Installing lame-libs (3.100-r5) (31/256) Installing opus (1.5.2-r1) (32/256) Installing rav1e-libs (0.7.1-r0) (33/256) Installing soxr (0.1.3-r7) (34/256) Installing ffmpeg-libswresample (6.1.1-r10) (35/256) Installing libogg (1.3.5-r5) (36/256) Installing libtheora (1.1.1-r18) (37/256) Installing libvorbis (1.3.7-r2) (38/256) Installing libvpx (1.14.1-r0) (39/256) Installing libsharpyuv (1.4.0-r0) (40/256) Installing libwebp (1.4.0-r0) (41/256) Installing libwebpmux (1.4.0-r0) (42/256) Installing x264-libs (0.164.3108-r0) (43/256) Installing numactl (2.0.18-r0) (44/256) Installing x265-libs (3.6-r0) (45/256) Installing xvidcore (1.3.7-r2) (46/256) Installing ffmpeg-libavcodec (6.1.1-r10) (47/256) Installing sdl2 (2.30.9-r0) (48/256) Installing alsa-lib (1.2.12-r0) (49/256) Installing libbz2 (1.0.8-r6) (50/256) Installing freetype (2.13.3-r0) (51/256) Installing fontconfig (2.15.0-r1) (52/256) Installing fribidi (1.0.16-r0) (53/256) Installing libintl (0.22.5-r0) (54/256) Installing libeconf (0.6.3-r0) (55/256) Installing libblkid (2.40.2-r3) (56/256) Installing libmount (2.40.2-r3) (57/256) Installing glib (2.82.2-r0) (58/256) Installing graphite2 (1.3.14-r6) (59/256) Installing harfbuzz (9.0.0-r1) (60/256) Installing libunibreak (6.1-r0) (61/256) Installing libass (0.17.3-r0) (62/256) Installing libbluray (1.3.4-r1) (63/256) Installing mpg123-libs (1.32.9-r0) (64/256) Installing libopenmpt (0.7.10-r0) (65/256) Installing mbedtls (3.6.2-r0) (66/256) Installing librist (0.2.10-r1) (67/256) Installing libsrt (1.5.3-r0) (68/256) Installing libssh (0.11.1-r0) (69/256) Installing xz-libs (5.6.3-r0) (70/256) Installing libxml2 (2.13.4-r3) (71/256) Installing libsodium (1.0.20-r0) (72/256) Installing libzmq (4.3.5-r2) (73/256) Installing ffmpeg-libavformat (6.1.1-r10) (74/256) Installing serd-libs (0.32.2-r0) (75/256) Installing zix-libs (0.4.2-r0) (76/256) Installing sord-libs (0.16.16-r0) (77/256) Installing sratom (0.6.16-r0) (78/256) Installing lilv-libs (0.24.24-r1) (79/256) Installing libdovi (3.3.1-r0) (80/256) Installing spirv-tools (1.3.290.0-r0) (81/256) Installing glslang-libs (1.3.296.0-r0) (82/256) Installing shaderc (2024.0-r2) (83/256) Installing vulkan-loader (1.3.296.0-r0) (84/256) Installing libplacebo (6.338.2-r3) (85/256) Installing ffmpeg-libpostproc (6.1.1-r10) (86/256) Installing ffmpeg-libswscale (6.1.1-r10) (87/256) Installing vidstab (1.1.1-r0) (88/256) Installing zimg (3.0.5-r2) (89/256) Installing ffmpeg-libavfilter (6.1.1-r10) (90/256) Installing libasyncns (0.8-r4) (91/256) Installing dbus-libs (1.14.10-r4) (92/256) Installing libltdl (2.4.7-r3) (93/256) Installing orc (0.4.40-r1) (94/256) Installing libflac (1.4.3-r1) (95/256) Installing libsndfile (1.2.2-r0) (96/256) Installing speexdsp (1.2.1-r2) (97/256) Installing tdb-libs (1.4.10-r0) (98/256) Installing libpulse (17.0-r4) (99/256) Installing v4l-utils-libs (1.28.1-r1) (100/256) Installing ffmpeg-libavdevice (6.1.1-r10) (101/256) Installing ffmpeg (6.1.1-r10) (102/256) Installing gifsicle (1.95-r0) (103/256) Installing gdbm (1.24-r0) (104/256) Installing mpdecimal (4.0.0-r0) (105/256) Installing libpanelw (6.5_p20241006-r2) (106/256) Installing sqlite-libs (3.47.0-r0) (107/256) Installing python3 (3.12.7-r1) (108/256) Installing python3-pycache-pyc0 (3.12.7-r1) (109/256) Installing pyc (3.12.7-r1) (110/256) Installing py3-iso639-lang-pyc (2.2.3-r0) (111/256) Installing python3-pyc (3.12.7-r1) (112/256) Installing py3-iso639-lang (2.2.3-r0) (113/256) Installing libimagequant (4.2.2-r0) (114/256) Installing openjpeg (2.5.2-r0) (115/256) Installing tiff (4.7.0-r0) (116/256) Installing libwebpdemux (1.4.0-r0) (117/256) Installing py3-pillow (11.0.0-r0) (118/256) Installing py3-pillow-pyc (11.0.0-r0) (119/256) Installing py3-six (1.16.0-r9) (120/256) Installing py3-six-pyc (1.16.0-r9) (121/256) Installing wget (1.24.5-r0) (122/256) Installing py3-installer (0.7.0-r2) (123/256) Installing py3-installer-pyc (0.7.0-r2) (124/256) Installing py3-gpep517 (16-r0) (125/256) Installing py3-gpep517-pyc (16-r0) (126/256) Installing py3-hatch-openzim (0.2.0-r0) (127/256) Installing py3-hatch-openzim-pyc (0.2.0-r0) (128/256) Installing py3-editables (0.5-r2) (129/256) Installing py3-editables-pyc (0.5-r2) (130/256) Installing py3-parsing (3.1.4-r0) (131/256) Installing py3-parsing-pyc (3.1.4-r0) (132/256) Installing py3-packaging (24.1-r0) (133/256) Installing py3-packaging-pyc (24.1-r0) (134/256) Installing py3-pathspec (0.12.1-r2) (135/256) Installing py3-pathspec-pyc (0.12.1-r2) (136/256) Installing py3-pluggy (1.5.0-r0) (137/256) Installing py3-pluggy-pyc (1.5.0-r0) (138/256) Installing py3-trove-classifiers (2024.10.21.16-r0) (139/256) Installing py3-trove-classifiers-pyc (2024.10.21.16-r0) (140/256) Installing py3-hatchling (1.25.0-r0) (141/256) Installing py3-hatchling-pyc (1.25.0-r0) (142/256) Installing py3-wheel (0.43.0-r0) (143/256) Installing py3-wheel-pyc (0.43.0-r0) (144/256) Installing py3-tz (2024.2-r0) (145/256) Installing py3-tz-pyc (2024.2-r0) (146/256) Installing py3-setuptools (70.3.0-r0) (147/256) Installing py3-setuptools-pyc (70.3.0-r0) (148/256) Installing py3-babel (2.14.0-r2) (149/256) Installing py3-babel-pyc (2.14.0-r2) (150/256) Installing py3-soupsieve (2.6-r0) (151/256) Installing py3-soupsieve-pyc (2.6-r0) (152/256) Installing py3-beautifulsoup4 (4.12.3-r3) (153/256) Installing py3-beautifulsoup4-pyc (4.12.3-r3) (154/256) Installing py3-colorthief (0.2.1-r1) (155/256) Installing py3-colorthief-pyc (0.2.1-r1) (156/256) Installing icu-data-en (74.2-r0) Executing icu-data-en-74.2-r0.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (157/256) Installing icu-libs (74.2-r0) (158/256) Installing libuuid (2.40.2-r3) (159/256) Installing libxapian (1.4.26-r0) (160/256) Installing libzim (9.1.0-r1) (161/256) Installing py3-libzim (3.4.0-r1) (162/256) Installing libgpg-error (1.50-r0) (163/256) Installing libgcrypt (1.10.3-r1) (164/256) Installing libxslt (1.1.42-r1) (165/256) Installing py3-lxml (5.3.0-r0) (166/256) Installing py3-lxml-pyc (5.3.0-r0) (167/256) Installing py3-magic (0.4.27-r3) (168/256) Installing py3-magic-pyc (0.4.27-r3) (169/256) Installing py3-piexif (1.1.3-r7) (170/256) Installing py3-piexif-pyc (1.1.3-r7) (171/256) Installing yaml (0.2.5-r2) (172/256) Installing py3-yaml (6.0.2-r0) (173/256) Installing py3-yaml-pyc (6.0.2-r0) (174/256) Installing py3-watchdog (4.0.0-r1) (175/256) Installing py3-watchdog-pyc (4.0.0-r1) (176/256) Installing py3-optimize-images (1.5.1-r1) (177/256) Installing py3-optimize-images-pyc (1.5.1-r1) (178/256) Installing py3-iniconfig (2.0.0-r1) (179/256) Installing py3-iniconfig-pyc (2.0.0-r1) (180/256) Installing py3-py (1.11.0-r4) (181/256) Installing py3-py-pyc (1.11.0-r4) (182/256) Installing py3-pytest (8.3.3-r0) (183/256) Installing py3-pytest-pyc (8.3.3-r0) (184/256) Installing py3-coverage (7.5.1-r0) (185/256) Installing py3-coverage-pyc (7.5.1-r0) (186/256) Installing py3-pytest-cov (5.0.0-r0) (187/256) Installing py3-pytest-cov-pyc (5.0.0-r0) (188/256) Installing py3-blinker (1.8.2-r0) (189/256) Installing py3-blinker-pyc (1.8.2-r0) (190/256) Installing py3-click (8.1.7-r2) (191/256) Installing py3-click-pyc (8.1.7-r2) (192/256) Installing py3-itsdangerous (2.2.0-r0) (193/256) Installing py3-itsdangerous-pyc (2.2.0-r0) (194/256) Installing py3-markupsafe (3.0.2-r0) (195/256) Installing py3-markupsafe-pyc (3.0.2-r0) (196/256) Installing py3-jinja2 (3.1.4-r0) (197/256) Installing py3-jinja2-pyc (3.1.4-r0) (198/256) Installing py3-werkzeug (3.0.6-r0) (199/256) Installing py3-werkzeug-pyc (3.0.6-r0) (200/256) Installing py3-flask (3.0.3-r0) (201/256) Installing py3-flask-pyc (3.0.3-r0) (202/256) Installing py3-raven (6.10.0-r7) (203/256) Installing py3-raven-pyc (6.10.0-r7) (204/256) Installing py3-brotli (1.1.0-r2) (205/256) Installing py3-brotli-pyc (1.1.0-r2) (206/256) Installing py3-decorator (5.1.1-r4) (207/256) Installing py3-decorator-pyc (5.1.1-r4) (208/256) Installing py3-httpbin (0.10.2-r3) (209/256) Installing py3-httpbin-pyc (0.10.2-r3) (210/256) Installing py3-pytest-httpbin (2.1.0-r0) (211/256) Installing py3-pytest-httpbin-pyc (2.1.0-r0) (212/256) Installing py3-certifi (2024.8.30-r0) (213/256) Installing py3-certifi-pyc (2024.8.30-r0) (214/256) Installing py3-charset-normalizer (3.4.0-r0) (215/256) Installing py3-charset-normalizer-pyc (3.4.0-r0) (216/256) Installing py3-idna (3.10-r0) (217/256) Installing py3-idna-pyc (3.10-r0) (218/256) Installing py3-urllib3 (1.26.20-r0) (219/256) Installing py3-urllib3-pyc (1.26.20-r0) (220/256) Installing py3-requests (2.32.3-r0) (221/256) Installing py3-requests-pyc (2.32.3-r0) (222/256) Installing py3-resizeimage (1.1.20-r1) (223/256) Installing py3-resizeimage-pyc (1.1.20-r1) (224/256) Installing py3-cparser (2.22-r1) (225/256) Installing py3-cparser-pyc (2.22-r1) (226/256) Installing py3-cffi (1.17.1-r1) (227/256) Installing py3-cffi-pyc (1.17.1-r1) (228/256) Installing py3-cryptography (43.0.3-r0) (229/256) Installing py3-cryptography-pyc (43.0.3-r0) (230/256) Installing py3-openssl (24.1.0-r1) (231/256) Installing py3-openssl-pyc (24.1.0-r1) (232/256) Installing py3-requests-file (2.1.0-r0) (233/256) Installing py3-requests-file-pyc (2.1.0-r0) (234/256) Installing py3-filelock (3.13.1-r1) (235/256) Installing py3-filelock-pyc (3.13.1-r1) (236/256) Installing py3-tldextract (5.1.2-r1) (237/256) Installing py3-tldextract-pyc (5.1.2-r1) (238/256) Installing py3-certauth (1.3.0-r1) (239/256) Installing py3-certauth-pyc (1.3.0-r1) (240/256) Installing py3-greenlet (3.0.3-r1) (241/256) Installing py3-greenlet-pyc (3.0.3-r1) (242/256) Installing py3-zope-event (5.0-r1) (243/256) Installing py3-zope-event-pyc (5.0-r1) (244/256) Installing py3-zope-interface (6.0-r1) (245/256) Installing py3-zope-interface-pyc (6.0-r1) (246/256) Installing libev (4.33-r1) (247/256) Installing libuv (1.49.2-r0) (248/256) Installing py3-gevent (23.9.1-r1) (249/256) Installing py3-gevent-pyc (23.9.1-r1) (250/256) Installing py3-gevent-websocket (0.10.1-r8) (251/256) Installing py3-gevent-websocket-pyc (0.10.1-r8) (252/256) Installing py3-wsgiprox (1.5.2-r1) (253/256) Installing py3-wsgiprox-pyc (1.5.2-r1) (254/256) Installing yt-dlp-core (2024.11.04-r0) (255/256) Installing yt-dlp-core-pyc (2024.11.04-r0) (256/256) Installing .makedepends-py3-zimscraperlib (20241106.100459) Executing busybox-1.37.0-r6.trigger Executing glib-2.82.2-r0.trigger OK: 585 MiB in 356 packages >>> py3-zimscraperlib: Cleaning up srcdir >>> py3-zimscraperlib: Cleaning up pkgdir >>> py3-zimscraperlib: Cleaning up tmpdir >>> py3-zimscraperlib: Fetching https://distfiles.alpinelinux.org/distfiles/edge/py3-zimscraperlib-3.4.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 curl: (22) The requested URL returned error: 404 >>> py3-zimscraperlib: Fetching py3-zimscraperlib-3.4.0.tar.gz::https://github.com/openzim/python-scraperlib/archive/refs/tags/v3.4.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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3127k 0 3127k 0 0 3369k 0 --:--:-- --:--:-- --:--:-- 3369k >>> py3-zimscraperlib: Fetching https://distfiles.alpinelinux.org/distfiles/edge/py3-zimscraperlib-3.4.0.tar.gz >>> py3-zimscraperlib: Checking sha512sums... py3-zimscraperlib-3.4.0.tar.gz: OK >>> py3-zimscraperlib: Unpacking /var/cache/distfiles/edge/py3-zimscraperlib-3.4.0.tar.gz... 2024-11-06 10:05:09,505 gpep517 INFO Building wheel via backend hatchling.build 2024-11-06 10:05:10,253 gpep517 INFO The backend produced .dist/zimscraperlib-3.4.0-py3-none-any.whl zimscraperlib-3.4.0-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /home/buildozer/aports/testing/py3-zimscraperlib/src/python-scraperlib-3.4.0 configfile: pyproject.toml testpaths: tests plugins: cov-5.0.0, httpbin-2.1.0 collected 357 items / 5 deselected / 352 selected tests/filesystem/test_filesystem.py ...... [ 1%] tests/html/test_html.py ...... [ 3%] tests/i18n/test_i18n.py ........................ [ 10%] tests/image/test_image.py .............................................. [ 23%] ................................ [ 32%] tests/inputs/test_inputs.py ...................... [ 38%] tests/logging/test_logging.py ................. [ 43%] tests/misc/test_misc.py .... [ 44%] tests/ogvjs/test_ogvjs.py .. [ 45%] tests/types/test_types.py .............. [ 49%] tests/uri/test_uri.py .............. [ 53%] tests/video/test_encoding.py .... [ 54%] tests/video/test_video.py ..................... [ 60%] tests/zim/test_archive.py ........... [ 63%] tests/zim/test_fs.py ............... [ 67%] tests/zim/test_libkiwix.py ................. [ 72%] tests/zim/test_metadata.py ....... [ 74%] tests/zim/test_zim_creator.py .......................................... [ 86%] ................................................/usr/lib/python3.12/site-packages/coverage/inorout.py:519: CoverageWarning: Module zimscraperlib was previously imported, but not measured (module-not-measured) self.warn(msg, slug="module-not-measured") [100%] ---------- coverage: platform linux, python 3.12.7-final-0 ----------- Name Stmts Miss Branch BrPart Cover Missing ------------------------------------------------------------------------------------------------------------------------- .testenv/lib/python3.12/site-packages/zimscraperlib/__about__.py 1 0 0 0 100% .testenv/lib/python3.12/site-packages/zimscraperlib/__init__.py 6 0 0 0 100% .testenv/lib/python3.12/site-packages/zimscraperlib/constants.py 18 0 0 0 100% .testenv/lib/python3.12/site-packages/zimscraperlib/download.py 83 53 28 0 29% 25, 28, 31, 35, 38-39, 55-64, 84-86, 95-108, 127, 147-164, 169-171, 199-232 .testenv/lib/python3.12/site-packages/zimscraperlib/filesystem.py 21 5 4 0 72% 42-43, 54-58 .testenv/lib/python3.12/site-packages/zimscraperlib/fix_ogvjs_dist.py 24 24 6 0 0% 5-46 .testenv/lib/python3.12/site-packages/zimscraperlib/html.py 40 25 18 1 31% 21-24, 32-33, 40-57, 62-66 .testenv/lib/python3.12/site-packages/zimscraperlib/i18n.py 105 44 37 6 54% 31-47, 52, 59, 74-78, 84, 91-93, 108, 120, 126-139, 145-147, 174-185, 189-192 .testenv/lib/python3.12/site-packages/zimscraperlib/image/__init__.py 5 0 0 0 100% .testenv/lib/python3.12/site-packages/zimscraperlib/image/convertion.py 28 18 10 0 26% 31-40, 45-57 .testenv/lib/python3.12/site-packages/zimscraperlib/image/optimization.py 94 74 40 0 15% 49-50, 79-97, 117-167, 191-210, 239-263, 282-300 .testenv/lib/python3.12/site-packages/zimscraperlib/image/presets.py 64 64 0 0 0% 4-242 .testenv/lib/python3.12/site-packages/zimscraperlib/image/probing.py 44 26 14 3 36% 20-46, 51, 59-67, 78->80, 83, 85-87 .testenv/lib/python3.12/site-packages/zimscraperlib/image/transformation.py 27 19 16 0 19% 29-62 .testenv/lib/python3.12/site-packages/zimscraperlib/image/utils.py 8 3 0 0 62% 18-20 .testenv/lib/python3.12/site-packages/zimscraperlib/inputs.py 40 40 22 0 0% 4-113 .testenv/lib/python3.12/site-packages/zimscraperlib/logging.py 34 8 10 3 70% 44->48, 59->65, 66-73, 80-83 .testenv/lib/python3.12/site-packages/zimscraperlib/misc.py 3 3 2 0 0% 3-8 .testenv/lib/python3.12/site-packages/zimscraperlib/types.py 19 7 4 0 61% 50-58 .testenv/lib/python3.12/site-packages/zimscraperlib/uri.py 17 17 2 0 0% 3-56 .testenv/lib/python3.12/site-packages/zimscraperlib/video/__init__.py 3 3 0 0 0% 5-9 .testenv/lib/python3.12/site-packages/zimscraperlib/video/config.py 94 94 50 0 0% 4-176 .testenv/lib/python3.12/site-packages/zimscraperlib/video/encoding.py 32 32 14 0 0% 4-88 .testenv/lib/python3.12/site-packages/zimscraperlib/video/presets.py 29 29 0 0 0% 4-122 .testenv/lib/python3.12/site-packages/zimscraperlib/video/probing.py 9 9 0 0 0% 5-39 .testenv/lib/python3.12/site-packages/zimscraperlib/zim/__init__.py 8 0 0 0 100% .testenv/lib/python3.12/site-packages/zimscraperlib/zim/_libkiwix.py 78 67 40 0 9% 32-42, 51-60, 65-73, 80-89, 94-125 .testenv/lib/python3.12/site-packages/zimscraperlib/zim/archive.py 53 27 12 0 49% 26, 29, 34, 42, 46-54, 58, 62, 66, 70, 76-79, 83-84, 90-95, 99-102, 106-107 .testenv/lib/python3.12/site-packages/zimscraperlib/zim/creator.py 171 71 63 10 54% 76-89, 130, 148, 166-167, 176-189, 194-195, 204, 206->211, 212->215, 253->255, 263, 311-313, 345-379, 393-396, 402-408, 422-437, 443-446, 449-450, 453 .testenv/lib/python3.12/site-packages/zimscraperlib/zim/filesystem.py 95 27 32 8 65% 60, 100->102, 103, 105->exit, 107-113, 153, 157, 199->213, 264-296 .testenv/lib/python3.12/site-packages/zimscraperlib/zim/items.py 101 52 38 11 46% 39, 41, 43, 45, 47, 51, 54, 57, 86, 88, 90, 99-101, 106, 117, 136-147, 159-201, 204, 207, 210, 217-220 .testenv/lib/python3.12/site-packages/zimscraperlib/zim/metadata.py 51 15 33 13 67% 22, 41, 47, 54, 56-65, 71->73, 75, 81, 87, 96, 101->exit, 105, 120 .testenv/lib/python3.12/site-packages/zimscraperlib/zim/providers.py 46 24 4 0 48% 36-37, 52-59, 62, 76-84, 88-92, 95 src/zimscraperlib/__init__.py 6 0 0 0 100% src/zimscraperlib/constants.py 18 0 0 0 100% src/zimscraperlib/download.py 83 28 28 2 60% 25, 28, 31, 35, 38-39, 55-64, 84-86, 95-108, 200, 202->204 src/zimscraperlib/filesystem.py 21 0 4 0 100% src/zimscraperlib/fix_ogvjs_dist.py 24 0 6 0 100% src/zimscraperlib/html.py 40 0 18 0 100% src/zimscraperlib/i18n.py 105 0 37 0 100% src/zimscraperlib/image/__init__.py 5 0 0 0 100% src/zimscraperlib/image/convertion.py 28 0 10 0 100% src/zimscraperlib/image/optimization.py 94 0 40 0 100% src/zimscraperlib/image/presets.py 64 0 0 0 100% src/zimscraperlib/image/probing.py 44 0 14 0 100% src/zimscraperlib/image/transformation.py 27 0 16 0 100% src/zimscraperlib/image/utils.py 8 0 0 0 100% src/zimscraperlib/inputs.py 40 0 22 0 100% src/zimscraperlib/logging.py 34 0 10 0 100% src/zimscraperlib/misc.py 3 0 2 0 100% src/zimscraperlib/types.py 19 0 4 0 100% src/zimscraperlib/uri.py 17 0 2 0 100% src/zimscraperlib/video/__init__.py 3 0 0 0 100% src/zimscraperlib/video/config.py 94 0 50 0 100% src/zimscraperlib/video/encoding.py 32 0 14 0 100% src/zimscraperlib/video/presets.py 29 0 0 0 100% src/zimscraperlib/video/probing.py 9 0 0 0 100% src/zimscraperlib/zim/__init__.py 8 0 0 0 100% src/zimscraperlib/zim/_libkiwix.py 78 0 40 0 100% src/zimscraperlib/zim/archive.py 53 0 12 0 100% src/zimscraperlib/zim/creator.py 171 0 63 0 100% src/zimscraperlib/zim/filesystem.py 95 0 32 0 100% src/zimscraperlib/zim/items.py 101 0 38 0 100% src/zimscraperlib/zim/metadata.py 51 0 33 0 100% src/zimscraperlib/zim/providers.py 46 0 4 0 100% ------------------------------------------------------------------------------------------------------------------------- TOTAL 2901 908 998 57 67% ================ 352 passed, 5 deselected in 170.89s (0:02:50) ================= /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-3b7ddfe6-0f70-491d-9e1a-51fe980b206b/popen-gw61/test_discovery_via_path_in_non0 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-3b7ddfe6-0f70-491d-9e1a-51fe980b206b/popen-gw61/test_discovery_via_path_in_non0' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-3b7ddfe6-0f70-491d-9e1a-51fe980b206b/popen-gw61 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-3b7ddfe6-0f70-491d-9e1a-51fe980b206b/popen-gw61' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-3b7ddfe6-0f70-491d-9e1a-51fe980b206b : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-3b7ddfe6-0f70-491d-9e1a-51fe980b206b' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-e947302c-f4f7-4721-a8ca-9d034edc92a3/popen-gw60/test_discovery_via_path_in_non0 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-e947302c-f4f7-4721-a8ca-9d034edc92a3/popen-gw60/test_discovery_via_path_in_non0' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-e947302c-f4f7-4721-a8ca-9d034edc92a3/popen-gw60 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-e947302c-f4f7-4721-a8ca-9d034edc92a3/popen-gw60' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-e947302c-f4f7-4721-a8ca-9d034edc92a3 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-e947302c-f4f7-4721-a8ca-9d034edc92a3' warnings.warn( >>> py3-zimscraperlib: Entering fakeroot... >>> py3-zimscraperlib-pyc*: Running split function pyc... 'usr/lib/python3.12/site-packages/zimscraperlib/__pycache__' -> '/home/buildozer/aports/testing/py3-zimscraperlib/pkg/py3-zimscraperlib-pyc/usr/lib/python3.12/site-packages/zimscraperlib/__pycache__' 'usr/lib/python3.12/site-packages/zimscraperlib/video/__pycache__' -> '/home/buildozer/aports/testing/py3-zimscraperlib/pkg/py3-zimscraperlib-pyc/usr/lib/python3.12/site-packages/zimscraperlib/video/__pycache__' 'usr/lib/python3.12/site-packages/zimscraperlib/zim/__pycache__' -> '/home/buildozer/aports/testing/py3-zimscraperlib/pkg/py3-zimscraperlib-pyc/usr/lib/python3.12/site-packages/zimscraperlib/zim/__pycache__' 'usr/lib/python3.12/site-packages/zimscraperlib/image/__pycache__' -> '/home/buildozer/aports/testing/py3-zimscraperlib/pkg/py3-zimscraperlib-pyc/usr/lib/python3.12/site-packages/zimscraperlib/image/__pycache__' >>> py3-zimscraperlib-pyc*: Preparing subpackage py3-zimscraperlib-pyc... >>> py3-zimscraperlib-pyc*: Running postcheck for py3-zimscraperlib-pyc >>> py3-zimscraperlib*: Running postcheck for py3-zimscraperlib >>> py3-zimscraperlib*: Preparing package py3-zimscraperlib... >>> py3-zimscraperlib-pyc*: Tracing dependencies... ffmpeg gifsicle py3-iso639-lang py3-pillow py3-six wget python3~3.12 >>> py3-zimscraperlib-pyc*: Package size: 146.5 KB >>> py3-zimscraperlib-pyc*: Compressing data... >>> py3-zimscraperlib-pyc*: Create checksum... >>> py3-zimscraperlib-pyc*: Create py3-zimscraperlib-pyc-3.4.0-r0.apk >>> py3-zimscraperlib*: Tracing dependencies... ffmpeg gifsicle py3-iso639-lang py3-pillow py3-six wget python3~3.12 >>> py3-zimscraperlib*: Package size: 159.5 KB >>> py3-zimscraperlib*: Compressing data... >>> py3-zimscraperlib*: Create checksum... >>> py3-zimscraperlib*: Create py3-zimscraperlib-3.4.0-r0.apk >>> py3-zimscraperlib: Build complete at Wed, 06 Nov 2024 10:08:06 +0000 elapsed time 0h 3m 11s >>> py3-zimscraperlib: Cleaning up srcdir >>> py3-zimscraperlib: Cleaning up pkgdir >>> py3-zimscraperlib: Uninstalling dependencies... (1/256) Purging .makedepends-py3-zimscraperlib (20241106.100459) (2/256) Purging ffmpeg (6.1.1-r10) (3/256) Purging gifsicle (1.95-r0) (4/256) Purging py3-iso639-lang-pyc (2.2.3-r0) (5/256) Purging py3-iso639-lang (2.2.3-r0) (6/256) Purging wget (1.24.5-r0) (7/256) Purging py3-gpep517-pyc (16-r0) (8/256) Purging py3-gpep517 (16-r0) (9/256) Purging py3-installer-pyc (0.7.0-r2) (10/256) Purging py3-installer (0.7.0-r2) (11/256) Purging py3-hatch-openzim-pyc (0.2.0-r0) (12/256) Purging py3-hatch-openzim (0.2.0-r0) (13/256) Purging py3-hatchling-pyc (1.25.0-r0) (14/256) Purging py3-hatchling (1.25.0-r0) (15/256) Purging py3-editables-pyc (0.5-r2) (16/256) Purging py3-editables (0.5-r2) (17/256) Purging py3-pathspec-pyc (0.12.1-r2) (18/256) Purging py3-pathspec (0.12.1-r2) (19/256) Purging py3-trove-classifiers-pyc (2024.10.21.16-r0) (20/256) Purging py3-trove-classifiers (2024.10.21.16-r0) (21/256) Purging py3-wheel-pyc (0.43.0-r0) (22/256) Purging py3-wheel (0.43.0-r0) (23/256) Purging py3-babel-pyc (2.14.0-r2) (24/256) Purging py3-babel (2.14.0-r2) (25/256) Purging py3-tz-pyc (2024.2-r0) (26/256) Purging py3-tz (2024.2-r0) (27/256) Purging py3-beautifulsoup4-pyc (4.12.3-r3) (28/256) Purging py3-beautifulsoup4 (4.12.3-r3) (29/256) Purging py3-soupsieve-pyc (2.6-r0) (30/256) Purging py3-soupsieve (2.6-r0) (31/256) Purging py3-colorthief-pyc (0.2.1-r1) (32/256) Purging py3-colorthief (0.2.1-r1) (33/256) Purging py3-libzim (3.4.0-r1) (34/256) Purging py3-lxml-pyc (5.3.0-r0) (35/256) Purging py3-lxml (5.3.0-r0) (36/256) Purging py3-magic-pyc (0.4.27-r3) (37/256) Purging py3-magic (0.4.27-r3) (38/256) Purging py3-optimize-images-pyc (1.5.1-r1) (39/256) Purging py3-optimize-images (1.5.1-r1) (40/256) Purging py3-watchdog-pyc (4.0.0-r1) (41/256) Purging py3-watchdog (4.0.0-r1) (42/256) Purging py3-yaml-pyc (6.0.2-r0) (43/256) Purging py3-yaml (6.0.2-r0) (44/256) Purging py3-piexif-pyc (1.1.3-r7) (45/256) Purging py3-piexif (1.1.3-r7) (46/256) Purging py3-pytest-cov-pyc (5.0.0-r0) (47/256) Purging py3-pytest-cov (5.0.0-r0) (48/256) Purging py3-pytest-pyc (8.3.3-r0) (49/256) Purging py3-pytest (8.3.3-r0) (50/256) Purging py3-iniconfig-pyc (2.0.0-r1) (51/256) Purging py3-iniconfig (2.0.0-r1) (52/256) Purging py3-pluggy-pyc (1.5.0-r0) (53/256) Purging py3-pluggy (1.5.0-r0) (54/256) Purging py3-py-pyc (1.11.0-r4) (55/256) Purging py3-py (1.11.0-r4) (56/256) Purging py3-coverage-pyc (7.5.1-r0) (57/256) Purging py3-coverage (7.5.1-r0) (58/256) Purging py3-pytest-httpbin-pyc (2.1.0-r0) (59/256) Purging py3-pytest-httpbin (2.1.0-r0) (60/256) Purging py3-httpbin-pyc (0.10.2-r3) (61/256) Purging py3-httpbin (0.10.2-r3) (62/256) Purging py3-flask-pyc (3.0.3-r0) (63/256) Purging py3-flask (3.0.3-r0) (64/256) Purging py3-click-pyc (8.1.7-r2) (65/256) Purging py3-click (8.1.7-r2) (66/256) Purging py3-itsdangerous-pyc (2.2.0-r0) (67/256) Purging py3-itsdangerous (2.2.0-r0) (68/256) Purging py3-jinja2-pyc (3.1.4-r0) (69/256) Purging py3-jinja2 (3.1.4-r0) (70/256) Purging py3-werkzeug-pyc (3.0.6-r0) (71/256) Purging py3-werkzeug (3.0.6-r0) (72/256) Purging py3-markupsafe-pyc (3.0.2-r0) (73/256) Purging py3-markupsafe (3.0.2-r0) (74/256) Purging py3-raven-pyc (6.10.0-r7) (75/256) Purging py3-raven (6.10.0-r7) (76/256) Purging py3-blinker-pyc (1.8.2-r0) (77/256) Purging py3-blinker (1.8.2-r0) (78/256) Purging py3-brotli-pyc (1.1.0-r2) (79/256) Purging py3-brotli (1.1.0-r2) (80/256) Purging py3-decorator-pyc (5.1.1-r4) (81/256) Purging py3-decorator (5.1.1-r4) (82/256) Purging py3-resizeimage-pyc (1.1.20-r1) (83/256) Purging py3-resizeimage (1.1.20-r1) (84/256) Purging py3-pillow-pyc (11.0.0-r0) (85/256) Purging py3-pillow (11.0.0-r0) (86/256) Purging py3-wsgiprox-pyc (1.5.2-r1) (87/256) Purging py3-wsgiprox (1.5.2-r1) (88/256) Purging py3-certauth-pyc (1.3.0-r1) (89/256) Purging py3-certauth (1.3.0-r1) (90/256) Purging py3-openssl-pyc (24.1.0-r1) (91/256) Purging py3-openssl (24.1.0-r1) (92/256) Purging py3-cryptography-pyc (43.0.3-r0) (93/256) Purging py3-cryptography (43.0.3-r0) (94/256) Purging py3-tldextract-pyc (5.1.2-r1) (95/256) Purging py3-tldextract (5.1.2-r1) (96/256) Purging py3-requests-file-pyc (2.1.0-r0) (97/256) Purging py3-requests-file (2.1.0-r0) (98/256) Purging py3-requests-pyc (2.32.3-r0) (99/256) Purging py3-requests (2.32.3-r0) (100/256) Purging py3-certifi-pyc (2024.8.30-r0) (101/256) Purging py3-certifi (2024.8.30-r0) (102/256) Purging py3-charset-normalizer-pyc (3.4.0-r0) (103/256) Purging py3-charset-normalizer (3.4.0-r0) (104/256) Purging py3-idna-pyc (3.10-r0) (105/256) Purging py3-idna (3.10-r0) (106/256) Purging py3-urllib3-pyc (1.26.20-r0) (107/256) Purging py3-urllib3 (1.26.20-r0) (108/256) Purging py3-filelock-pyc (3.13.1-r1) (109/256) Purging py3-filelock (3.13.1-r1) (110/256) Purging py3-gevent-websocket-pyc (0.10.1-r8) (111/256) Purging py3-gevent-websocket (0.10.1-r8) (112/256) Purging py3-gevent-pyc (23.9.1-r1) (113/256) Purging py3-gevent (23.9.1-r1) (114/256) Purging py3-cffi-pyc (1.17.1-r1) (115/256) Purging py3-cffi (1.17.1-r1) (116/256) Purging py3-cparser-pyc (2.22-r1) (117/256) Purging py3-cparser (2.22-r1) (118/256) Purging py3-greenlet-pyc (3.0.3-r1) (119/256) Purging py3-greenlet (3.0.3-r1) (120/256) Purging py3-zope-event-pyc (5.0-r1) (121/256) Purging py3-zope-event (5.0-r1) (122/256) Purging py3-setuptools-pyc (70.3.0-r0) (123/256) Purging py3-setuptools (70.3.0-r0) (124/256) Purging py3-packaging-pyc (24.1-r0) (125/256) Purging py3-packaging (24.1-r0) (126/256) Purging py3-parsing-pyc (3.1.4-r0) (127/256) Purging py3-parsing (3.1.4-r0) (128/256) Purging py3-zope-interface-pyc (6.0-r1) (129/256) Purging py3-zope-interface (6.0-r1) (130/256) Purging py3-six-pyc (1.16.0-r9) (131/256) Purging py3-six (1.16.0-r9) (132/256) Purging yt-dlp-core-pyc (2024.11.04-r0) (133/256) Purging yt-dlp-core (2024.11.04-r0) (134/256) Purging python3-pyc (3.12.7-r1) (135/256) Purging python3-pycache-pyc0 (3.12.7-r1) (136/256) Purging pyc (3.12.7-r1) (137/256) Purging python3 (3.12.7-r1) (138/256) Purging ffmpeg-libavdevice (6.1.1-r10) (139/256) Purging ffmpeg-libavfilter (6.1.1-r10) (140/256) Purging ffmpeg-libavformat (6.1.1-r10) (141/256) Purging ffmpeg-libpostproc (6.1.1-r10) (142/256) Purging ffmpeg-libswscale (6.1.1-r10) (143/256) Purging gdbm (1.24-r0) (144/256) Purging libass (0.17.3-r0) (145/256) Purging libbluray (1.3.4-r1) (146/256) Purging libev (4.33-r1) (147/256) Purging libimagequant (4.2.2-r0) (148/256) Purging libopenmpt (0.7.10-r0) (149/256) Purging libpanelw (6.5_p20241006-r2) (150/256) Purging libplacebo (6.338.2-r3) (151/256) Purging libpulse (17.0-r4) (152/256) Purging librist (0.2.10-r1) (153/256) Purging libsndfile (1.2.2-r0) (154/256) Purging libsrt (1.5.3-r0) (155/256) Purging libssh (0.11.1-r0) (156/256) Purging libunibreak (6.1-r0) (157/256) Purging libuv (1.49.2-r0) (158/256) Purging libwebpdemux (1.4.0-r0) (159/256) Purging libxslt (1.1.42-r1) (160/256) Purging libzim (9.1.0-r1) (161/256) Purging libzmq (4.3.5-r2) (162/256) Purging lilv-libs (0.24.24-r1) (163/256) Purging mbedtls (3.6.2-r0) (164/256) Purging mpdecimal (4.0.0-r0) (165/256) Purging mpg123-libs (1.32.9-r0) (166/256) Purging openjpeg (2.5.2-r0) (167/256) Purging orc (0.4.40-r1) (168/256) Purging sdl2 (2.30.9-r0) (169/256) Purging shaderc (2024.0-r2) (170/256) Purging speexdsp (1.2.1-r2) (171/256) Purging sqlite-libs (3.47.0-r0) (172/256) Purging sratom (0.6.16-r0) (173/256) Purging tdb-libs (1.4.10-r0) (174/256) Purging tiff (4.7.0-r0) (175/256) Purging v4l-utils-libs (1.28.1-r1) (176/256) Purging vidstab (1.1.1-r0) (177/256) Purging vulkan-loader (1.3.296.0-r0) (178/256) Purging yaml (0.2.5-r2) (179/256) Purging zimg (3.0.5-r2) (180/256) Purging alsa-lib (1.2.12-r0) (181/256) Purging ffmpeg-libavcodec (6.1.1-r10) (182/256) Purging aom-libs (3.10.0-r0) (183/256) Purging dbus-libs (1.14.10-r4) (184/256) Purging ffmpeg-libswresample (6.1.1-r10) (185/256) Purging ffmpeg-libavutil (6.1.1-r10) (186/256) Purging fontconfig (2.15.0-r1) (187/256) Purging harfbuzz (9.0.0-r1) (188/256) Purging freetype (2.13.3-r0) (189/256) Purging fribidi (1.0.16-r0) (190/256) Purging libjxl (0.10.2-r0) (191/256) Purging giflib (5.2.2-r0) (192/256) Purging glib (2.82.2-r0) (193/256) Purging glslang-libs (1.3.296.0-r0) (194/256) Purging graphite2 (1.3.14-r6) (195/256) Purging libva (2.22.0-r1) (196/256) Purging libdrm (2.4.123-r1) (197/256) Purging libpciaccess (0.18.1-r0) (198/256) Purging hwdata-pci (0.388-r0) (199/256) Purging icu-libs (74.2-r0) (200/256) Purging icu-data-en (74.2-r0) (201/256) Purging openexr-libopenexr (3.1.13-r2) (202/256) Purging imath (3.1.12-r0) (203/256) Purging lame-libs (3.100-r5) (204/256) Purging lcms2 (2.16-r0) (205/256) Purging libasyncns (0.8-r4) (206/256) Purging libmount (2.40.2-r3) (207/256) Purging libblkid (2.40.2-r3) (208/256) Purging libvdpau (1.5-r4) (209/256) Purging libxext (1.3.6-r2) (210/256) Purging libxfixes (6.0.1-r4) (211/256) Purging libx11 (1.8.10-r0) (212/256) Purging libxcb (1.16.1-r0) (213/256) Purging libxdmcp (1.1.5-r1) (214/256) Purging libbsd (0.12.2-r0) (215/256) Purging libbz2 (1.0.8-r6) (216/256) Purging libdav1d (1.5.0-r0) (217/256) Purging libdovi (3.3.1-r0) (218/256) Purging libeconf (0.6.3-r0) (219/256) Purging wayland-libs-client (1.23.1-r0) (220/256) Purging libffi (3.4.6-r0) (221/256) Purging libflac (1.4.3-r1) (222/256) Purging libgcrypt (1.10.3-r1) (223/256) Purging libgpg-error (1.50-r0) (224/256) Purging libhwy (1.0.7-r0) (225/256) Purging libintl (0.22.5-r0) (226/256) Purging libjpeg-turbo (3.0.4-r0) (227/256) Purging libltdl (2.4.7-r3) (228/256) Purging libmd (1.1.0-r0) (229/256) Purging libtheora (1.1.1-r18) (230/256) Purging libvorbis (1.3.7-r2) (231/256) Purging libogg (1.3.5-r5) (232/256) Purging libpng (1.6.44-r0) (233/256) Purging libwebpmux (1.4.0-r0) (234/256) Purging libwebp (1.4.0-r0) (235/256) Purging libsharpyuv (1.4.0-r0) (236/256) Purging libsodium (1.0.20-r0) (237/256) Purging libSvtAv1Enc (2.2.1-r0) (238/256) Purging libxapian (1.4.26-r0) (239/256) Purging libuuid (2.40.2-r3) (240/256) Purging libvpx (1.14.1-r0) (241/256) Purging libxau (1.0.11-r4) (242/256) Purging libxml2 (2.13.4-r3) (243/256) Purging x265-libs (3.6-r0) (244/256) Purging numactl (2.0.18-r0) (245/256) Purging openexr-libilmthread (3.1.13-r2) (246/256) Purging openexr-libiex (3.1.13-r2) (247/256) Purging opus (1.5.2-r1) (248/256) Purging rav1e-libs (0.7.1-r0) (249/256) Purging sord-libs (0.16.16-r0) (250/256) Purging serd-libs (0.32.2-r0) (251/256) Purging soxr (0.1.3-r7) (252/256) Purging spirv-tools (1.3.290.0-r0) (253/256) Purging x264-libs (0.164.3108-r0) (254/256) Purging xvidcore (1.3.7-r2) (255/256) Purging xz-libs (5.6.3-r0) (256/256) Purging zix-libs (0.4.2-r0) Executing busybox-1.37.0-r6.trigger OK: 337 MiB in 100 packages >>> py3-zimscraperlib: Updating the testing/riscv64 repository index... >>> py3-zimscraperlib: Signing the index...