>>> ospd-openvas: Building community/ospd-openvas 22.6.2-r1 (using abuild 3.12.0-r5) started Sat, 13 Apr 2024 05:06:09 +0000 >>> ospd-openvas: Checking sanity of /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/80) Installing libffi (3.4.6-r0) (2/80) Installing gdbm (1.23-r1) (3/80) Installing mpdecimal (4.0.0-r0) (4/80) Installing libpanelw (6.4_p20240330-r0) (5/80) Installing readline (8.2.10-r0) (6/80) Installing sqlite-libs (3.45.2-r0) (7/80) Installing python3 (3.12.3-r0) (8/80) Installing python3-pycache-pyc0 (3.12.3-r0) (9/80) Installing pyc (3.12.3-r0) (10/80) Installing py3-defusedxml-pyc (0.7.1-r5) (11/80) Installing python3-pyc (3.12.3-r0) (12/80) Installing py3-defusedxml (0.7.1-r5) (13/80) Installing py3-wrapt (1.16.0-r1) (14/80) Installing py3-wrapt-pyc (1.16.0-r1) (15/80) Installing py3-deprecated (1.2.14-r3) (16/80) Installing py3-deprecated-pyc (1.2.14-r3) (17/80) Installing libgpg-error (1.48-r0) (18/80) Installing libassuan (2.5.7-r0) (19/80) Installing pinentry (1.3.0-r0) Executing pinentry-1.3.0-r0.post-install (20/80) Installing libgcrypt (1.10.3-r0) (21/80) Installing gnupg-gpgconf (2.4.5-r0) (22/80) Installing nettle (3.9.1-r0) (23/80) Installing libtasn1 (4.19.0-r2) (24/80) Installing p11-kit (0.25.3-r0) (25/80) Installing gnutls (3.8.3-r0) (26/80) Installing libksba (1.6.6-r0) (27/80) Installing libsasl (2.1.28-r6) (28/80) Installing libldap (2.6.7-r0) (29/80) Installing npth (1.6-r4) (30/80) Installing gnupg-dirmngr (2.4.5-r0) (31/80) Installing gnupg-keyboxd (2.4.5-r0) (32/80) Installing gpg (2.4.5-r0) (33/80) Installing gpg-agent (2.4.5-r0) (34/80) Installing gpg-wks-server (2.4.5-r0) (35/80) Installing gpgsm (2.4.5-r0) (36/80) Installing gpgv (2.4.5-r0) (37/80) Installing gnupg-utils (2.4.5-r0) (38/80) Installing gnupg-wks-client (2.4.5-r0) (39/80) Installing gnupg (2.4.5-r0) (40/80) Installing py3-gnupg (0.5.2-r1) (41/80) Installing py3-gnupg-pyc (0.5.2-r1) (42/80) Installing libxml2 (2.12.6-r2) (43/80) Installing libxslt (1.1.39-r1) (44/80) Installing py3-lxml (5.1.0-r0) (45/80) Installing py3-lxml-pyc (5.1.0-r0) (46/80) Installing py3-parsing (3.1.2-r1) (47/80) Installing py3-parsing-pyc (3.1.2-r1) (48/80) Installing py3-packaging (24.0-r1) (49/80) Installing py3-packaging-pyc (24.0-r1) (50/80) Installing py3-paho-mqtt (1.6.1-r3) (51/80) Installing py3-paho-mqtt-pyc (1.6.1-r3) (52/80) Installing py3-psutil (5.9.8-r1) (53/80) Installing py3-psutil-pyc (5.9.8-r1) (54/80) Installing hiredis (1.2.0-r0) (55/80) Installing py3-hiredis (2.3.2-r1) (56/80) Installing py3-hiredis-pyc (2.3.2-r1) (57/80) Installing py3-redis (5.0.3-r1) (58/80) Installing py3-redis-pyc (5.0.3-r1) (59/80) Installing libwebsockets (4.3.3-r0) (60/80) Installing mosquitto (2.0.18-r0) Executing mosquitto-2.0.18-r0.pre-install (61/80) Installing py3-installer (0.7.0-r2) (62/80) Installing py3-installer-pyc (0.7.0-r2) (63/80) Installing py3-gpep517 (15-r2) (64/80) Installing py3-gpep517-pyc (15-r2) (65/80) Installing py3-fastjsonschema (2.19.1-r2) (66/80) Installing py3-fastjsonschema-pyc (2.19.1-r2) (67/80) Installing py3-lark-parser (1.1.9-r1) (68/80) Installing py3-lark-parser-pyc (1.1.9-r1) (69/80) Installing py3-poetry-core (1.8.1-r1) (70/80) Installing py3-poetry-core-pyc (1.8.1-r1) (71/80) Installing py3-iniconfig (2.0.0-r1) (72/80) Installing py3-iniconfig-pyc (2.0.0-r1) (73/80) Installing py3-pluggy (1.4.0-r1) (74/80) Installing py3-pluggy-pyc (1.4.0-r1) (75/80) Installing py3-py (1.11.0-r3) (76/80) Installing py3-py-pyc (1.11.0-r3) (77/80) Installing py3-pytest (8.1.1-r1) (78/80) Installing py3-pytest-pyc (8.1.1-r1) (79/80) Installing .makedepends-ospd-openvas (20240413.050611) (80/80) Installing mosquitto-openrc (2.0.18-r0) Executing busybox-1.36.1-r25.trigger OK: 343 MiB in 190 packages >>> ospd-openvas: Cleaning up srcdir >>> ospd-openvas: Cleaning up pkgdir >>> ospd-openvas: Cleaning up tmpdir >>> ospd-openvas: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ospd-openvas-22.6.2.tar.gz >>> ospd-openvas: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ospd-openvas-22.6.2.tar.gz >>> ospd-openvas: Checking sha512sums... ospd-openvas-22.6.2.tar.gz: OK ospd-openvas.initd: OK ospd.conf: OK fix-test-unlink.patch: OK >>> ospd-openvas: Unpacking /var/cache/distfiles/ospd-openvas-22.6.2.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 125 (offset -12 lines). 2024-04-13 05:06:12,207 gpep517 INFO Building wheel via backend poetry.core.masonry.api 2024-04-13 05:06:12,429 poetry.core.masonry.builders.wheel INFO Building wheel fatal: not a git repository (or any of the parent directories): .git 2024-04-13 05:06:12,501 poetry.core.masonry.builders.wheel INFO Built ospd_openvas-22.6.2-py3-none-any.whl 2024-04-13 05:06:12,501 gpep517 INFO The backend produced .dist/ospd_openvas-22.6.2-py3-none-any.whl ospd_openvas-22.6.2-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/buildozer/aports/community/ospd-openvas/src/ospd-openvas-22.6.2 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.6.2/ospd/protocol.py:229: DeprecationWarning: Testing an element's truth value will raise an exception 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.6.2/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.6.2/ospd_openvas/daemon.py:384: 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.6.2/ospd/xml.py:265: DeprecationWarning: Testing an element's truth value will raise an exception 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 10.88s ======================= >>> ospd-openvas: Entering fakeroot... >>> ospd-openvas-openrc*: Running split function openrc... >>> ospd-openvas-openrc*: Preparing subpackage ospd-openvas-openrc... >>> ospd-openvas-openrc*: Running postcheck for ospd-openvas-openrc >>> ospd-openvas-pyc*: Running split function pyc... '/home/buildozer/aports/community/ospd-openvas/pkg/ospd-openvas/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__' '/home/buildozer/aports/community/ospd-openvas/pkg/ospd-openvas/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__' '/home/buildozer/aports/community/ospd-openvas/pkg/ospd-openvas/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__' '/home/buildozer/aports/community/ospd-openvas/pkg/ospd-openvas/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__' '/home/buildozer/aports/community/ospd-openvas/pkg/ospd-openvas/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__' >>> 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.6.2-r1.apk >>> ospd-openvas*: Adding .post-install >>> ospd-openvas-openrc*: Tracing dependencies... >>> ospd-openvas-openrc*: Package size: 16.0 KB >>> ospd-openvas-openrc*: Compressing data... >>> ospd-openvas-openrc*: Create checksum... >>> ospd-openvas-openrc*: Create ospd-openvas-openrc-22.6.2-r1.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: 572.0 KB >>> ospd-openvas-pyc*: Compressing data... >>> ospd-openvas-pyc*: Create checksum... >>> ospd-openvas-pyc*: Create ospd-openvas-pyc-22.6.2-r1.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: 628.0 KB >>> ospd-openvas*: Compressing data... >>> ospd-openvas*: Create checksum... >>> ospd-openvas*: Create ospd-openvas-22.6.2-r1.apk >>> ospd-openvas: Build complete at Sat, 13 Apr 2024 05:06:24 +0000 elapsed time 0h 0m 15s >>> ospd-openvas: Cleaning up srcdir >>> ospd-openvas: Cleaning up pkgdir >>> ospd-openvas: Uninstalling dependencies... (1/80) Purging .makedepends-ospd-openvas (20240413.050611) (2/80) Purging py3-defusedxml-pyc (0.7.1-r5) (3/80) Purging py3-defusedxml (0.7.1-r5) (4/80) Purging py3-deprecated-pyc (1.2.14-r3) (5/80) Purging py3-deprecated (1.2.14-r3) (6/80) Purging py3-wrapt-pyc (1.16.0-r1) (7/80) Purging py3-wrapt (1.16.0-r1) (8/80) Purging py3-gnupg-pyc (0.5.2-r1) (9/80) Purging py3-gnupg (0.5.2-r1) (10/80) Purging gnupg (2.4.5-r0) (11/80) Purging gpg-wks-server (2.4.5-r0) (12/80) Purging gpgsm (2.4.5-r0) (13/80) Purging gpgv (2.4.5-r0) (14/80) Purging gnupg-utils (2.4.5-r0) (15/80) Purging gnupg-wks-client (2.4.5-r0) (16/80) Purging gpg (2.4.5-r0) (17/80) Purging gnupg-keyboxd (2.4.5-r0) (18/80) Purging gpg-agent (2.4.5-r0) (19/80) Purging gnupg-dirmngr (2.4.5-r0) (20/80) Purging gnupg-gpgconf (2.4.5-r0) (21/80) Purging pinentry (1.3.0-r0) (22/80) Purging py3-lxml-pyc (5.1.0-r0) (23/80) Purging py3-lxml (5.1.0-r0) (24/80) Purging py3-paho-mqtt-pyc (1.6.1-r3) (25/80) Purging py3-paho-mqtt (1.6.1-r3) (26/80) Purging py3-psutil-pyc (5.9.8-r1) (27/80) Purging py3-psutil (5.9.8-r1) (28/80) Purging py3-redis-pyc (5.0.3-r1) (29/80) Purging py3-redis (5.0.3-r1) (30/80) Purging py3-hiredis-pyc (2.3.2-r1) (31/80) Purging py3-hiredis (2.3.2-r1) (32/80) Purging mosquitto-openrc (2.0.18-r0) (33/80) Purging mosquitto (2.0.18-r0) (34/80) Purging py3-gpep517-pyc (15-r2) (35/80) Purging py3-gpep517 (15-r2) (36/80) Purging py3-installer-pyc (0.7.0-r2) (37/80) Purging py3-installer (0.7.0-r2) (38/80) Purging py3-poetry-core-pyc (1.8.1-r1) (39/80) Purging py3-poetry-core (1.8.1-r1) (40/80) Purging py3-fastjsonschema-pyc (2.19.1-r2) (41/80) Purging py3-fastjsonschema (2.19.1-r2) (42/80) Purging py3-lark-parser-pyc (1.1.9-r1) (43/80) Purging py3-lark-parser (1.1.9-r1) (44/80) Purging py3-pytest-pyc (8.1.1-r1) (45/80) Purging py3-pytest (8.1.1-r1) (46/80) Purging py3-iniconfig-pyc (2.0.0-r1) (47/80) Purging py3-iniconfig (2.0.0-r1) (48/80) Purging py3-packaging-pyc (24.0-r1) (49/80) Purging py3-packaging (24.0-r1) (50/80) Purging py3-parsing-pyc (3.1.2-r1) (51/80) Purging py3-parsing (3.1.2-r1) (52/80) Purging py3-pluggy-pyc (1.4.0-r1) (53/80) Purging py3-pluggy (1.4.0-r1) (54/80) Purging py3-py-pyc (1.11.0-r3) (55/80) Purging py3-py (1.11.0-r3) (56/80) Purging gnutls (3.8.3-r0) (57/80) Purging hiredis (1.2.0-r0) (58/80) Purging libassuan (2.5.7-r0) (59/80) Purging libksba (1.6.6-r0) (60/80) Purging libldap (2.6.7-r0) (61/80) Purging libsasl (2.1.28-r6) (62/80) Purging libwebsockets (4.3.3-r0) (63/80) Purging libxslt (1.1.39-r1) (64/80) Purging nettle (3.9.1-r0) (65/80) Purging npth (1.6-r4) (66/80) Purging p11-kit (0.25.3-r0) (67/80) Purging python3-pyc (3.12.3-r0) (68/80) Purging python3-pycache-pyc0 (3.12.3-r0) (69/80) Purging pyc (3.12.3-r0) (70/80) Purging python3 (3.12.3-r0) (71/80) Purging gdbm (1.23-r1) (72/80) Purging libffi (3.4.6-r0) (73/80) Purging libgcrypt (1.10.3-r0) (74/80) Purging libgpg-error (1.48-r0) (75/80) Purging libpanelw (6.4_p20240330-r0) (76/80) Purging libtasn1 (4.19.0-r2) (77/80) Purging libxml2 (2.12.6-r2) (78/80) Purging mpdecimal (4.0.0-r0) (79/80) Purging readline (8.2.10-r0) (80/80) Purging sqlite-libs (3.45.2-r0) Executing busybox-1.36.1-r25.trigger OK: 263 MiB in 110 packages >>> ospd-openvas: Updating the community/ppc64le repository index... >>> ospd-openvas: Signing the index...