>>> ospd-openvas: Building community/ospd-openvas 22.7.1-r0 (using abuild 3.14.1-r1) started Sat, 09 Nov 2024 10:44:05 +0000 >>> ospd-openvas: Validating /home/buildozer/aports/community/ospd-openvas/APKBUILD... >>> ospd-openvas: Analyzing dependencies... >>> ospd-openvas: Installing for build: build-base py3-defusedxml py3-deprecated py3-gnupg py3-lxml py3-packaging py3-paho-mqtt py3-psutil py3-redis mosquitto py3-gpep517 py3-installer py3-poetry-core py3-pytest (1/81) Installing libbz2 (1.0.8-r6) (2/81) Installing libffi (3.4.6-r0) (3/81) Installing gdbm (1.24-r0) (4/81) Installing xz-libs (5.6.3-r0) (5/81) Installing mpdecimal (4.0.0-r0) (6/81) Installing libpanelw (6.5_p20241006-r2) (7/81) Installing sqlite-libs (3.47.0-r0) (8/81) Installing python3 (3.12.7-r1) (9/81) Installing python3-pycache-pyc0 (3.12.7-r1) (10/81) Installing pyc (3.12.7-r1) (11/81) Installing py3-defusedxml-pyc (0.7.1-r5) (12/81) Installing python3-pyc (3.12.7-r1) (13/81) Installing py3-defusedxml (0.7.1-r5) (14/81) Installing py3-wrapt (1.16.0-r1) (15/81) Installing py3-wrapt-pyc (1.16.0-r1) (16/81) Installing py3-deprecated (1.2.14-r3) (17/81) Installing py3-deprecated-pyc (1.2.14-r3) (18/81) Installing libgpg-error (1.50-r0) (19/81) Installing libassuan (2.5.7-r0) (20/81) Installing pinentry (1.3.1-r0) Executing pinentry-1.3.1-r0.post-install (21/81) Installing libgcrypt (1.10.3-r1) (22/81) Installing gnupg-gpgconf (2.4.5-r1) (23/81) Installing nettle (3.10-r1) (24/81) Installing libtasn1 (4.19.0-r2) (25/81) Installing p11-kit (0.25.5-r2) (26/81) Installing gnutls (3.8.5-r0) (27/81) Installing libksba (1.6.7-r0) (28/81) Installing libsasl (2.1.28-r8) (29/81) Installing libldap (2.6.8-r0) (30/81) Installing npth (1.6-r4) (31/81) Installing gnupg-dirmngr (2.4.5-r1) (32/81) Installing gnupg-keyboxd (2.4.5-r1) (33/81) Installing gpg (2.4.5-r1) (34/81) Installing gpg-agent (2.4.5-r1) (35/81) Installing gpg-wks-server (2.4.5-r1) (36/81) Installing gpgsm (2.4.5-r1) (37/81) Installing gpgv (2.4.5-r1) (38/81) Installing gnupg-utils (2.4.5-r1) (39/81) Installing gnupg-wks-client (2.4.5-r1) (40/81) Installing gnupg (2.4.5-r1) (41/81) Installing py3-gnupg (0.5.3-r0) (42/81) Installing py3-gnupg-pyc (0.5.3-r0) (43/81) Installing libxml2 (2.13.4-r3) (44/81) Installing libxslt (1.1.42-r1) (45/81) Installing py3-lxml (5.3.0-r0) (46/81) Installing py3-lxml-pyc (5.3.0-r0) (47/81) Installing py3-parsing (3.1.4-r0) (48/81) Installing py3-parsing-pyc (3.1.4-r0) (49/81) Installing py3-packaging (24.1-r0) (50/81) Installing py3-packaging-pyc (24.1-r0) (51/81) Installing py3-paho-mqtt (1.6.1-r3) (52/81) Installing py3-paho-mqtt-pyc (1.6.1-r3) (53/81) Installing py3-psutil (6.0.0-r0) (54/81) Installing py3-psutil-pyc (6.0.0-r0) (55/81) Installing hiredis (1.2.0-r0) (56/81) Installing py3-hiredis (2.3.2-r1) (57/81) Installing py3-hiredis-pyc (2.3.2-r1) (58/81) Installing py3-redis (5.0.7-r0) (59/81) Installing py3-redis-pyc (5.0.7-r0) (60/81) Installing libwebsockets (4.3.3-r0) (61/81) Installing mosquitto (2.0.20-r0) Executing mosquitto-2.0.20-r0.pre-install (62/81) Installing py3-installer (0.7.0-r2) (63/81) Installing py3-installer-pyc (0.7.0-r2) (64/81) Installing py3-gpep517 (16-r0) (65/81) Installing py3-gpep517-pyc (16-r0) (66/81) Installing py3-fastjsonschema (2.20.0-r0) (67/81) Installing py3-fastjsonschema-pyc (2.20.0-r0) (68/81) Installing py3-lark-parser (1.1.9-r1) (69/81) Installing py3-lark-parser-pyc (1.1.9-r1) (70/81) Installing py3-poetry-core (1.9.1-r0) (71/81) Installing py3-poetry-core-pyc (1.9.1-r0) (72/81) Installing py3-iniconfig (2.0.0-r1) (73/81) Installing py3-iniconfig-pyc (2.0.0-r1) (74/81) Installing py3-pluggy (1.5.0-r0) (75/81) Installing py3-pluggy-pyc (1.5.0-r0) (76/81) Installing py3-py (1.11.0-r4) (77/81) Installing py3-py-pyc (1.11.0-r4) (78/81) Installing py3-pytest (8.3.3-r0) (79/81) Installing py3-pytest-pyc (8.3.3-r0) (80/81) Installing .makedepends-ospd-openvas (20241109.104414) (81/81) Installing mosquitto-openrc (2.0.20-r0) Executing busybox-1.37.0-r6.trigger OK: 458 MiB in 182 packages >>> ospd-openvas: Cleaning up srcdir >>> ospd-openvas: Cleaning up pkgdir >>> ospd-openvas: Cleaning up tmpdir >>> ospd-openvas: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/ospd-openvas-22.7.1.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.21/ospd-openvas-22.7.1.tar.gz.part' ospd-openvas-22.7.1. 13% |**** | 32522 0:00:06 ETA ospd-openvas-22.7.1. 100% |********************************| 244k 0:00:00 ETA '/var/cache/distfiles/v3.21/ospd-openvas-22.7.1.tar.gz.part' saved >>> ospd-openvas: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/ospd-openvas-22.7.1.tar.gz >>> ospd-openvas: Checking sha512sums... ospd-openvas-22.7.1.tar.gz: OK ospd-openvas.initd: OK ospd.conf: OK fix-test-unlink.patch: OK >>> ospd-openvas: Unpacking /var/cache/distfiles/v3.21/ospd-openvas-22.7.1.tar.gz... >>> ospd-openvas: fix-test-unlink.patch patching file ospd/ospd.py Hunk #1 succeeded at 13 (offset -12 lines). Hunk #2 succeeded at 124 (offset -13 lines). 2024-11-09 10:44:15,158 gpep517 INFO Building wheel via backend poetry.core.masonry.api 2024-11-09 10:44:15,321 poetry.core.masonry.builders.wheel INFO Building wheel 2024-11-09 10:44:15,359 poetry.core.masonry.builders.wheel INFO Built ospd_openvas-22.7.1-py3-none-any.whl 2024-11-09 10:44:15,359 gpep517 INFO The backend produced .dist/ospd_openvas-22.7.1-py3-none-any.whl ospd_openvas-22.7.1-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/community/ospd-openvas/src/ospd-openvas-22.7.1 configfile: pyproject.toml collected 411 items tests/command/test_command.py ... [ 0%] tests/command/test_commands.py ........................ [ 6%] tests/command/test_registry.py .. [ 7%] tests/messages/test_message.py ....... [ 8%] tests/messages/test_result.py ..... [ 9%] tests/messaging/test_mqtt.py .... [ 10%] tests/test_argument_parser.py ............ [ 13%] tests/test_cvss.py .... [ 14%] tests/test_daemon.py ..................... [ 19%] tests/test_datapickler.py ....... [ 21%] tests/test_db.py ....................................................... [ 35%] ........ [ 36%] tests/test_errors.py ........ [ 38%] tests/test_gpg.py ... [ 39%] tests/test_lock.py ..... [ 40%] tests/test_notus.py ....... [ 42%] tests/test_nvti_cache.py ................... [ 47%] tests/test_openvas.py ................... [ 51%] tests/test_port_convert.py ................... [ 56%] tests/test_preferencehandler.py ........................................ [ 66%] .... [ 67%] tests/test_protocol.py . [ 67%] tests/test_scan_and_result.py .......................................... [ 77%] ............................. [ 84%] tests/test_target_convert.py ........ [ 86%] tests/test_vthelper.py .......... [ 89%] tests/test_vts.py ............. [ 92%] tests/test_xml.py ................................ [100%] =============================== warnings summary =============================== tests/command/test_commands.py: 12 warnings tests/test_daemon.py: 7 warnings tests/test_scan_and_result.py: 28 warnings /home/buildozer/aports/community/ospd-openvas/src/ospd-openvas-22.7.1/ospd/protocol.py:229: DeprecationWarning: Testing an element's truth value will always return True in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. if scanner_target: tests/messages/test_message.py::MessageTestCase::test_default_constructor tests/messages/test_result.py::ResultMessageTestCase::test_constructor tests/messaging/test_mqtt.py::MQTTSubscriberTestCase::test_subscribe tests/test_notus.py::NotusTestCase::test_notus_fail_cases tests/test_notus.py::NotusTestCase::test_notus_success_case /home/buildozer/aports/community/ospd-openvas/src/ospd-openvas-22.7.1/ospd_openvas/messages/message.py:36: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). self.created = created if created else datetime.utcnow() tests/test_daemon.py::TestFilters::test_format_vt_modification_time tests/test_daemon.py::TestFilters::test_get_filtered_vts_false tests/test_daemon.py::TestFilters::test_get_filtered_vts_true /home/buildozer/aports/community/ospd-openvas/src/ospd-openvas-22.7.1/ospd_openvas/daemon.py:383: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). return datetime.utcfromtimestamp(int(value)).strftime("%Y%m%d%H%M%S") tests/test_scan_and_result.py: 23 warnings /home/buildozer/aports/community/ospd-openvas/src/ospd-openvas-22.7.1/ospd/xml.py:265: DeprecationWarning: Testing an element's truth value will always return True in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. if content: -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================= 411 passed, 78 warnings in 9.28s ======================= >>> ospd-openvas: Entering fakeroot... >>> ospd-openvas-openrc*: Running split function openrc... 'etc/init.d' -> '/home/buildozer/aports/community/ospd-openvas/pkg/ospd-openvas-openrc/etc/init.d' >>> ospd-openvas-openrc*: Preparing subpackage ospd-openvas-openrc... >>> ospd-openvas-openrc*: Running postcheck for ospd-openvas-openrc >>> ospd-openvas-pyc*: Running split function pyc... 'usr/lib/python3.12/site-packages/ospd_openvas/messages/__pycache__' -> '/home/buildozer/aports/community/ospd-openvas/pkg/ospd-openvas-pyc/usr/lib/python3.12/site-packages/ospd_openvas/messages/__pycache__' 'usr/lib/python3.12/site-packages/ospd_openvas/messaging/__pycache__' -> '/home/buildozer/aports/community/ospd-openvas/pkg/ospd-openvas-pyc/usr/lib/python3.12/site-packages/ospd_openvas/messaging/__pycache__' 'usr/lib/python3.12/site-packages/ospd_openvas/__pycache__' -> '/home/buildozer/aports/community/ospd-openvas/pkg/ospd-openvas-pyc/usr/lib/python3.12/site-packages/ospd_openvas/__pycache__' 'usr/lib/python3.12/site-packages/ospd/command/__pycache__' -> '/home/buildozer/aports/community/ospd-openvas/pkg/ospd-openvas-pyc/usr/lib/python3.12/site-packages/ospd/command/__pycache__' 'usr/lib/python3.12/site-packages/ospd/__pycache__' -> '/home/buildozer/aports/community/ospd-openvas/pkg/ospd-openvas-pyc/usr/lib/python3.12/site-packages/ospd/__pycache__' >>> ospd-openvas-pyc*: Preparing subpackage ospd-openvas-pyc... >>> ospd-openvas-pyc*: Running postcheck for ospd-openvas-pyc >>> ospd-openvas*: Running postcheck for ospd-openvas >>> ospd-openvas*: Preparing package ospd-openvas... >>> ospd-openvas*: Script found. /bin/sh added as a dependency for ospd-openvas-22.7.1-r0.apk >>> ospd-openvas*: Adding .post-install >>> ospd-openvas-openrc*: Tracing dependencies... >>> ospd-openvas-openrc*: Package size: 528.0 B >>> ospd-openvas-openrc*: Compressing data... >>> ospd-openvas-openrc*: Create checksum... >>> ospd-openvas-openrc*: Create ospd-openvas-openrc-22.7.1-r0.apk >>> ospd-openvas-pyc*: Tracing dependencies... py3-defusedxml py3-deprecated py3-gnupg py3-lxml py3-packaging py3-paho-mqtt py3-psutil py3-redis mosquitto python3~3.12 >>> ospd-openvas-pyc*: Package size: 417.0 KB >>> ospd-openvas-pyc*: Compressing data... >>> ospd-openvas-pyc*: Create checksum... >>> ospd-openvas-pyc*: Create ospd-openvas-pyc-22.7.1-r0.apk >>> ospd-openvas*: Tracing dependencies... py3-defusedxml py3-deprecated py3-gnupg py3-lxml py3-packaging py3-paho-mqtt py3-psutil py3-redis mosquitto /bin/sh python3~3.12 >>> ospd-openvas*: Package size: 434.0 KB >>> ospd-openvas*: Compressing data... >>> ospd-openvas*: Create checksum... >>> ospd-openvas*: Create ospd-openvas-22.7.1-r0.apk >>> ospd-openvas: Build complete at Sat, 09 Nov 2024 10:44:25 +0000 elapsed time 0h 0m 20s >>> ospd-openvas: Cleaning up srcdir >>> ospd-openvas: Cleaning up pkgdir >>> ospd-openvas: Uninstalling dependencies... (1/81) Purging .makedepends-ospd-openvas (20241109.104414) (2/81) Purging py3-defusedxml-pyc (0.7.1-r5) (3/81) Purging py3-defusedxml (0.7.1-r5) (4/81) Purging py3-deprecated-pyc (1.2.14-r3) (5/81) Purging py3-deprecated (1.2.14-r3) (6/81) Purging py3-wrapt-pyc (1.16.0-r1) (7/81) Purging py3-wrapt (1.16.0-r1) (8/81) Purging py3-gnupg-pyc (0.5.3-r0) (9/81) Purging py3-gnupg (0.5.3-r0) (10/81) Purging gnupg (2.4.5-r1) (11/81) Purging gpg-wks-server (2.4.5-r1) (12/81) Purging gpgsm (2.4.5-r1) (13/81) Purging gpgv (2.4.5-r1) (14/81) Purging gnupg-utils (2.4.5-r1) (15/81) Purging gnupg-wks-client (2.4.5-r1) (16/81) Purging gpg (2.4.5-r1) (17/81) Purging gnupg-keyboxd (2.4.5-r1) (18/81) Purging gpg-agent (2.4.5-r1) (19/81) Purging gnupg-dirmngr (2.4.5-r1) (20/81) Purging gnupg-gpgconf (2.4.5-r1) (21/81) Purging pinentry (1.3.1-r0) (22/81) Purging py3-lxml-pyc (5.3.0-r0) (23/81) Purging py3-lxml (5.3.0-r0) (24/81) Purging py3-paho-mqtt-pyc (1.6.1-r3) (25/81) Purging py3-paho-mqtt (1.6.1-r3) (26/81) Purging py3-psutil-pyc (6.0.0-r0) (27/81) Purging py3-psutil (6.0.0-r0) (28/81) Purging py3-redis-pyc (5.0.7-r0) (29/81) Purging py3-redis (5.0.7-r0) (30/81) Purging py3-hiredis-pyc (2.3.2-r1) (31/81) Purging py3-hiredis (2.3.2-r1) (32/81) Purging mosquitto-openrc (2.0.20-r0) (33/81) Purging mosquitto (2.0.20-r0) (34/81) Purging py3-gpep517-pyc (16-r0) (35/81) Purging py3-gpep517 (16-r0) (36/81) Purging py3-installer-pyc (0.7.0-r2) (37/81) Purging py3-installer (0.7.0-r2) (38/81) Purging py3-poetry-core-pyc (1.9.1-r0) (39/81) Purging py3-poetry-core (1.9.1-r0) (40/81) Purging py3-fastjsonschema-pyc (2.20.0-r0) (41/81) Purging py3-fastjsonschema (2.20.0-r0) (42/81) Purging py3-lark-parser-pyc (1.1.9-r1) (43/81) Purging py3-lark-parser (1.1.9-r1) (44/81) Purging py3-pytest-pyc (8.3.3-r0) (45/81) Purging py3-pytest (8.3.3-r0) (46/81) Purging py3-iniconfig-pyc (2.0.0-r1) (47/81) Purging py3-iniconfig (2.0.0-r1) (48/81) Purging py3-packaging-pyc (24.1-r0) (49/81) Purging py3-packaging (24.1-r0) (50/81) Purging py3-parsing-pyc (3.1.4-r0) (51/81) Purging py3-parsing (3.1.4-r0) (52/81) Purging py3-pluggy-pyc (1.5.0-r0) (53/81) Purging py3-pluggy (1.5.0-r0) (54/81) Purging py3-py-pyc (1.11.0-r4) (55/81) Purging py3-py (1.11.0-r4) (56/81) Purging python3-pyc (3.12.7-r1) (57/81) Purging python3-pycache-pyc0 (3.12.7-r1) (58/81) Purging pyc (3.12.7-r1) (59/81) Purging python3 (3.12.7-r1) (60/81) Purging gnutls (3.8.5-r0) (61/81) Purging hiredis (1.2.0-r0) (62/81) Purging libassuan (2.5.7-r0) (63/81) Purging libbz2 (1.0.8-r6) (64/81) Purging libksba (1.6.7-r0) (65/81) Purging libldap (2.6.8-r0) (66/81) Purging libpanelw (6.5_p20241006-r2) (67/81) Purging libsasl (2.1.28-r8) (68/81) Purging libwebsockets (4.3.3-r0) (69/81) Purging libxslt (1.1.42-r1) (70/81) Purging mpdecimal (4.0.0-r0) (71/81) Purging nettle (3.10-r1) (72/81) Purging npth (1.6-r4) (73/81) Purging p11-kit (0.25.5-r2) (74/81) Purging sqlite-libs (3.47.0-r0) (75/81) Purging gdbm (1.24-r0) (76/81) Purging libffi (3.4.6-r0) (77/81) Purging libgcrypt (1.10.3-r1) (78/81) Purging libgpg-error (1.50-r0) (79/81) Purging libtasn1 (4.19.0-r2) (80/81) Purging libxml2 (2.13.4-r3) (81/81) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r6.trigger OK: 395 MiB in 101 packages >>> ospd-openvas: Updating the community/x86_64 repository index... >>> ospd-openvas: Signing the index...