>>> notus-scanner: Building community/notus-scanner 22.6.4-r0 (using abuild 3.14.1-r1) started Wed, 13 Nov 2024 04:58:27 +0000 >>> notus-scanner: Validating /home/buildozer/aports/community/notus-scanner/APKBUILD... >>> notus-scanner: Analyzing dependencies... >>> notus-scanner: Installing for build: build-base mosquitto paho-mqtt-c py3-gnupg py3-packaging py3-paho-mqtt py3-psutil py3-gpep517 python3-dev py3-poetry-core py3-pytest (1/68) Installing libwebsockets (4.3.3-r0) (2/68) Installing mosquitto (2.0.20-r0) Executing mosquitto-2.0.20-r0.pre-install (3/68) Installing paho-mqtt-c (1.3.13-r0) (4/68) Installing libbz2 (1.0.8-r6) (5/68) Installing libffi (3.4.6-r0) (6/68) Installing gdbm (1.24-r0) (7/68) Installing xz-libs (5.6.3-r0) (8/68) Installing mpdecimal (4.0.0-r0) (9/68) Installing libpanelw (6.5_p20241006-r3) (10/68) Installing sqlite-libs (3.47.0-r0) (11/68) Installing python3 (3.12.7-r1) (12/68) Installing python3-pycache-pyc0 (3.12.7-r1) (13/68) Installing pyc (3.12.7-r1) (14/68) Installing libgpg-error (1.50-r0) (15/68) Installing libassuan (2.5.7-r0) (16/68) Installing pinentry (1.3.1-r0) Executing pinentry-1.3.1-r0.post-install (17/68) Installing libgcrypt (1.10.3-r1) (18/68) Installing gnupg-gpgconf (2.4.6-r0) (19/68) Installing nettle (3.10-r1) (20/68) Installing libtasn1 (4.19.0-r2) (21/68) Installing p11-kit (0.25.5-r2) (22/68) Installing gnutls (3.8.8-r0) (23/68) Installing libksba (1.6.7-r0) (24/68) Installing libsasl (2.1.28-r8) (25/68) Installing libldap (2.6.8-r0) (26/68) Installing npth (1.6-r4) (27/68) Installing gnupg-dirmngr (2.4.6-r0) (28/68) Installing gnupg-keyboxd (2.4.6-r0) (29/68) Installing gpg (2.4.6-r0) (30/68) Installing gpg-agent (2.4.6-r0) (31/68) Installing gpg-wks-server (2.4.6-r0) (32/68) Installing gpgsm (2.4.6-r0) (33/68) Installing gpgv (2.4.6-r0) (34/68) Installing gnupg-utils (2.4.6-r0) (35/68) Installing gnupg-wks-client (2.4.6-r0) (36/68) Installing gnupg (2.4.6-r0) (37/68) Installing py3-gnupg-pyc (0.5.3-r0) (38/68) Installing python3-pyc (3.12.7-r1) (39/68) Installing py3-gnupg (0.5.3-r0) (40/68) Installing py3-parsing (3.1.4-r0) (41/68) Installing py3-parsing-pyc (3.1.4-r0) (42/68) Installing py3-packaging (24.2-r0) (43/68) Installing py3-packaging-pyc (24.2-r0) (44/68) Installing py3-paho-mqtt (1.6.1-r3) (45/68) Installing py3-paho-mqtt-pyc (1.6.1-r3) (46/68) Installing py3-psutil (6.0.0-r0) (47/68) Installing py3-psutil-pyc (6.0.0-r0) (48/68) Installing py3-installer (0.7.0-r2) (49/68) Installing py3-installer-pyc (0.7.0-r2) (50/68) Installing py3-gpep517 (16-r0) (51/68) Installing py3-gpep517-pyc (16-r0) (52/68) Installing python3-dev (3.12.7-r1) (53/68) Installing py3-fastjsonschema (2.20.0-r0) (54/68) Installing py3-fastjsonschema-pyc (2.20.0-r0) (55/68) Installing py3-lark-parser (1.1.9-r1) (56/68) Installing py3-lark-parser-pyc (1.1.9-r1) (57/68) Installing py3-poetry-core (1.9.1-r0) (58/68) Installing py3-poetry-core-pyc (1.9.1-r0) (59/68) Installing py3-iniconfig (2.0.0-r1) (60/68) Installing py3-iniconfig-pyc (2.0.0-r1) (61/68) Installing py3-pluggy (1.5.0-r0) (62/68) Installing py3-pluggy-pyc (1.5.0-r0) (63/68) Installing py3-py (1.11.0-r4) (64/68) Installing py3-py-pyc (1.11.0-r4) (65/68) Installing py3-pytest (8.3.3-r0) (66/68) Installing py3-pytest-pyc (8.3.3-r0) (67/68) Installing .makedepends-notus-scanner (20241113.045832) (68/68) Installing mosquitto-openrc (2.0.20-r0) Executing busybox-1.37.0-r6.trigger OK: 517 MiB in 169 packages >>> notus-scanner: Cleaning up srcdir >>> notus-scanner: Cleaning up pkgdir >>> notus-scanner: Cleaning up tmpdir >>> notus-scanner: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/notus-scanner-22.6.4.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.21/notus-scanner-22.6.4.tar.gz.part' notus-scanner-22.6.4 100% |********************************| 286k 0:00:00 ETA '/var/cache/distfiles/v3.21/notus-scanner-22.6.4.tar.gz.part' saved >>> notus-scanner: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/notus-scanner-22.6.4.tar.gz >>> notus-scanner: Checking sha512sums... notus-scanner-22.6.4.tar.gz: OK notus-scanner.initd: OK >>> notus-scanner: Unpacking /var/cache/distfiles/v3.21/notus-scanner-22.6.4.tar.gz... 2024-11-13 04:58:33,615 gpep517 INFO Building wheel via backend poetry.core.masonry.api 2024-11-13 04:58:33,777 poetry.core.masonry.builders.wheel INFO Building wheel 2024-11-13 04:58:33,808 poetry.core.masonry.builders.wheel INFO Built notus_scanner-22.6.4-py3-none-any.whl 2024-11-13 04:58:33,808 gpep517 INFO The backend produced .dist/notus_scanner-22.6.4-py3-none-any.whl notus_scanner-22.6.4-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/notus-scanner/src/notus-scanner-22.6.4 configfile: pyproject.toml collected 97 items tests/cli/test_cli_parser.py ............ [ 12%] tests/loader/test_gpg.py ... [ 15%] tests/loader/test_json.py ..... [ 20%] tests/messages/test_message.py ............ [ 32%] tests/messages/test_result.py ..... [ 38%] tests/messages/test_start.py ..... [ 43%] tests/messages/test_status.py ..... [ 48%] tests/messaging/test_mqtt.py .... [ 52%] tests/models/packages/test_deb.py ...... [ 58%] tests/models/packages/test_ebuild.py ... [ 61%] tests/models/packages/test_package.py ............. [ 75%] tests/models/packages/test_rpm.py ......... [ 84%] tests/models/packages/test_slackware.py ....... [ 91%] tests/models/test_vulnerability.py .. [ 93%] tests/test_config.py ..... [ 98%] tests/test_verifier.py . [100%] =============================== warnings summary =============================== tests/messages/test_message.py::MessageTestCase::test_default_constructor tests/messages/test_result.py::ResultMessageTestCase::test_constructor tests/messages/test_start.py::ScanStartMessageTestCase::test_constructor tests/messages/test_status.py::ScanStatusMessageTestCase::test_constructor tests/test_verifier.py::VerifierTestCase::test_verifier tests/test_verifier.py::VerifierTestCase::test_verifier tests/test_verifier.py::VerifierTestCase::test_verifier tests/test_verifier.py::VerifierTestCase::test_verifier /home/buildozer/aports/community/notus-scanner/src/notus-scanner-22.6.4/notus/scanner/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() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================== 97 passed, 8 warnings in 0.35s ======================== >>> notus-scanner: Entering fakeroot... >>> notus-scanner-openrc*: Running split function openrc... 'etc/init.d' -> '/home/buildozer/aports/community/notus-scanner/pkg/notus-scanner-openrc/etc/init.d' >>> notus-scanner-openrc*: Preparing subpackage notus-scanner-openrc... >>> notus-scanner-openrc*: Running postcheck for notus-scanner-openrc >>> notus-scanner-pyc*: Running split function pyc... 'usr/lib/python3.12/site-packages/notus/scanner/__pycache__' -> '/home/buildozer/aports/community/notus-scanner/pkg/notus-scanner-pyc/usr/lib/python3.12/site-packages/notus/scanner/__pycache__' 'usr/lib/python3.12/site-packages/notus/scanner/models/packages/__pycache__' -> '/home/buildozer/aports/community/notus-scanner/pkg/notus-scanner-pyc/usr/lib/python3.12/site-packages/notus/scanner/models/packages/__pycache__' 'usr/lib/python3.12/site-packages/notus/scanner/models/__pycache__' -> '/home/buildozer/aports/community/notus-scanner/pkg/notus-scanner-pyc/usr/lib/python3.12/site-packages/notus/scanner/models/__pycache__' 'usr/lib/python3.12/site-packages/notus/scanner/cli/__pycache__' -> '/home/buildozer/aports/community/notus-scanner/pkg/notus-scanner-pyc/usr/lib/python3.12/site-packages/notus/scanner/cli/__pycache__' 'usr/lib/python3.12/site-packages/notus/scanner/tools/__pycache__' -> '/home/buildozer/aports/community/notus-scanner/pkg/notus-scanner-pyc/usr/lib/python3.12/site-packages/notus/scanner/tools/__pycache__' 'usr/lib/python3.12/site-packages/notus/scanner/messages/__pycache__' -> '/home/buildozer/aports/community/notus-scanner/pkg/notus-scanner-pyc/usr/lib/python3.12/site-packages/notus/scanner/messages/__pycache__' 'usr/lib/python3.12/site-packages/notus/scanner/loader/__pycache__' -> '/home/buildozer/aports/community/notus-scanner/pkg/notus-scanner-pyc/usr/lib/python3.12/site-packages/notus/scanner/loader/__pycache__' 'usr/lib/python3.12/site-packages/notus/scanner/messaging/__pycache__' -> '/home/buildozer/aports/community/notus-scanner/pkg/notus-scanner-pyc/usr/lib/python3.12/site-packages/notus/scanner/messaging/__pycache__' >>> notus-scanner-pyc*: Preparing subpackage notus-scanner-pyc... >>> notus-scanner-pyc*: Running postcheck for notus-scanner-pyc >>> notus-scanner*: Running postcheck for notus-scanner >>> notus-scanner*: Preparing package notus-scanner... >>> notus-scanner-openrc*: Tracing dependencies... >>> notus-scanner-openrc*: Package size: 416.0 B >>> notus-scanner-openrc*: Compressing data... >>> notus-scanner-openrc*: Create checksum... >>> notus-scanner-openrc*: Create notus-scanner-openrc-22.6.4-r0.apk >>> notus-scanner-pyc*: Tracing dependencies... mosquitto paho-mqtt-c py3-gnupg py3-packaging py3-paho-mqtt py3-psutil python3~3.12 >>> notus-scanner-pyc*: Package size: 104.7 KB >>> notus-scanner-pyc*: Compressing data... >>> notus-scanner-pyc*: Create checksum... >>> notus-scanner-pyc*: Create notus-scanner-pyc-22.6.4-r0.apk >>> notus-scanner*: Tracing dependencies... mosquitto paho-mqtt-c py3-gnupg py3-packaging py3-paho-mqtt py3-psutil python3~3.12 >>> notus-scanner*: Package size: 120.3 KB >>> notus-scanner*: Compressing data... >>> notus-scanner*: Create checksum... >>> notus-scanner*: Create notus-scanner-22.6.4-r0.apk >>> notus-scanner: Build complete at Wed, 13 Nov 2024 04:58:35 +0000 elapsed time 0h 0m 8s >>> notus-scanner: Cleaning up srcdir >>> notus-scanner: Cleaning up pkgdir >>> notus-scanner: Uninstalling dependencies... (1/68) Purging .makedepends-notus-scanner (20241113.045832) (2/68) Purging mosquitto-openrc (2.0.20-r0) (3/68) Purging mosquitto (2.0.20-r0) (4/68) Purging paho-mqtt-c (1.3.13-r0) (5/68) Purging py3-gnupg-pyc (0.5.3-r0) (6/68) Purging py3-gnupg (0.5.3-r0) (7/68) Purging gnupg (2.4.6-r0) (8/68) Purging gpg-wks-server (2.4.6-r0) (9/68) Purging gpgsm (2.4.6-r0) (10/68) Purging gpgv (2.4.6-r0) (11/68) Purging gnupg-utils (2.4.6-r0) (12/68) Purging gnupg-wks-client (2.4.6-r0) (13/68) Purging gpg (2.4.6-r0) (14/68) Purging gnupg-keyboxd (2.4.6-r0) (15/68) Purging gpg-agent (2.4.6-r0) (16/68) Purging gnupg-dirmngr (2.4.6-r0) (17/68) Purging gnupg-gpgconf (2.4.6-r0) (18/68) Purging pinentry (1.3.1-r0) (19/68) Purging py3-paho-mqtt-pyc (1.6.1-r3) (20/68) Purging py3-paho-mqtt (1.6.1-r3) (21/68) Purging py3-psutil-pyc (6.0.0-r0) (22/68) Purging py3-psutil (6.0.0-r0) (23/68) Purging py3-gpep517-pyc (16-r0) (24/68) Purging py3-gpep517 (16-r0) (25/68) Purging py3-installer-pyc (0.7.0-r2) (26/68) Purging py3-installer (0.7.0-r2) (27/68) Purging python3-dev (3.12.7-r1) (28/68) Purging py3-poetry-core-pyc (1.9.1-r0) (29/68) Purging py3-poetry-core (1.9.1-r0) (30/68) Purging py3-fastjsonschema-pyc (2.20.0-r0) (31/68) Purging py3-fastjsonschema (2.20.0-r0) (32/68) Purging py3-lark-parser-pyc (1.1.9-r1) (33/68) Purging py3-lark-parser (1.1.9-r1) (34/68) Purging py3-pytest-pyc (8.3.3-r0) (35/68) Purging py3-pytest (8.3.3-r0) (36/68) Purging py3-iniconfig-pyc (2.0.0-r1) (37/68) Purging py3-iniconfig (2.0.0-r1) (38/68) Purging py3-packaging-pyc (24.2-r0) (39/68) Purging py3-packaging (24.2-r0) (40/68) Purging py3-parsing-pyc (3.1.4-r0) (41/68) Purging py3-parsing (3.1.4-r0) (42/68) Purging py3-pluggy-pyc (1.5.0-r0) (43/68) Purging py3-pluggy (1.5.0-r0) (44/68) Purging py3-py-pyc (1.11.0-r4) (45/68) Purging py3-py (1.11.0-r4) (46/68) Purging python3-pyc (3.12.7-r1) (47/68) Purging python3-pycache-pyc0 (3.12.7-r1) (48/68) Purging pyc (3.12.7-r1) (49/68) Purging python3 (3.12.7-r1) (50/68) Purging gnutls (3.8.8-r0) (51/68) Purging libassuan (2.5.7-r0) (52/68) Purging libbz2 (1.0.8-r6) (53/68) Purging libgcrypt (1.10.3-r1) (54/68) Purging libksba (1.6.7-r0) (55/68) Purging libldap (2.6.8-r0) (56/68) Purging libpanelw (6.5_p20241006-r3) (57/68) Purging libsasl (2.1.28-r8) (58/68) Purging libwebsockets (4.3.3-r0) (59/68) Purging mpdecimal (4.0.0-r0) (60/68) Purging nettle (3.10-r1) (61/68) Purging npth (1.6-r4) (62/68) Purging p11-kit (0.25.5-r2) (63/68) Purging sqlite-libs (3.47.0-r0) (64/68) Purging xz-libs (5.6.3-r0) (65/68) Purging gdbm (1.24-r0) (66/68) Purging libffi (3.4.6-r0) (67/68) Purging libgpg-error (1.50-r0) (68/68) Purging libtasn1 (4.19.0-r2) Executing busybox-1.37.0-r6.trigger OK: 397 MiB in 101 packages >>> notus-scanner: Updating the community/x86 repository index... >>> notus-scanner: Signing the index...