>>> py3-pyzabbix: Building community/py3-pyzabbix 1.3.1-r1 (using abuild 3.13.0-r3) started Fri, 26 Apr 2024 06:31:40 +0000 >>> py3-pyzabbix: Checking sanity of /home/buildozer/aports/community/py3-pyzabbix/APKBUILD... >>> py3-pyzabbix: Analyzing dependencies... >>> py3-pyzabbix: Installing for build: build-base python3 py3-requests py3-semantic-version python3-dev py3-gpep517 py3-setuptools py3-wheel py3-pytest py3-httpretty py3-requests-mock (1/52) Installing libbz2 (1.0.8-r6) (2/52) Installing libffi (3.4.6-r0) (3/52) Installing gdbm (1.23-r1) (4/52) Installing xz-libs (5.6.1-r3) (5/52) Installing mpdecimal (4.0.0-r0) (6/52) Installing libpanelw (6.4_p20240330-r0) (7/52) Installing readline (8.2.10-r0) (8/52) Installing sqlite-libs (3.45.3-r0) (9/52) Installing python3 (3.12.3-r1) (10/52) Installing python3-pycache-pyc0 (3.12.3-r1) (11/52) Installing pyc (3.12.3-r1) (12/52) Installing python3-pyc (3.12.3-r1) (13/52) Installing py3-certifi (2024.2.2-r1) (14/52) Installing py3-certifi-pyc (2024.2.2-r1) (15/52) Installing py3-charset-normalizer (3.3.2-r1) (16/52) Installing py3-charset-normalizer-pyc (3.3.2-r1) (17/52) Installing py3-idna (3.7-r0) (18/52) Installing py3-idna-pyc (3.7-r0) (19/52) Installing py3-urllib3 (1.26.18-r1) (20/52) Installing py3-urllib3-pyc (1.26.18-r1) (21/52) Installing py3-requests (2.31.0-r2) (22/52) Installing py3-requests-pyc (2.31.0-r2) (23/52) Installing py3-semantic-version (2.10.0-r3) (24/52) Installing py3-semantic-version-pyc (2.10.0-r3) (25/52) Installing python3-dev (3.12.3-r1) (26/52) Installing py3-installer (0.7.0-r2) (27/52) Installing py3-installer-pyc (0.7.0-r2) (28/52) Installing py3-gpep517 (15-r2) (29/52) Installing py3-gpep517-pyc (15-r2) (30/52) Installing py3-parsing (3.1.2-r1) (31/52) Installing py3-parsing-pyc (3.1.2-r1) (32/52) Installing py3-packaging (24.0-r1) (33/52) Installing py3-packaging-pyc (24.0-r1) (34/52) Installing py3-setuptools (69.5.1-r0) (35/52) Installing py3-setuptools-pyc (69.5.1-r0) (36/52) Installing py3-wheel (0.42.0-r1) (37/52) Installing py3-wheel-pyc (0.42.0-r1) (38/52) Installing py3-iniconfig (2.0.0-r1) (39/52) Installing py3-iniconfig-pyc (2.0.0-r1) (40/52) Installing py3-pluggy (1.4.0-r1) (41/52) Installing py3-pluggy-pyc (1.4.0-r1) (42/52) Installing py3-py (1.11.0-r3) (43/52) Installing py3-py-pyc (1.11.0-r3) (44/52) Installing py3-pytest (8.1.1-r1) (45/52) Installing py3-pytest-pyc (8.1.1-r1) (46/52) Installing py3-httpretty (1.1.4-r3) (47/52) Installing py3-httpretty-pyc (1.1.4-r3) (48/52) Installing py3-six (1.16.0-r9) (49/52) Installing py3-six-pyc (1.16.0-r9) (50/52) Installing py3-requests-mock (1.11.0-r1) (51/52) Installing py3-requests-mock-pyc (1.11.0-r1) (52/52) Installing .makedepends-py3-pyzabbix (20240426.063143) Executing busybox-1.36.1-r25.trigger OK: 591 MiB in 157 packages >>> py3-pyzabbix: Cleaning up srcdir >>> py3-pyzabbix: Cleaning up pkgdir >>> py3-pyzabbix: Cleaning up tmpdir >>> py3-pyzabbix: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/py3-pyzabbix-1.3.1.tar.gz >>> py3-pyzabbix: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/py3-pyzabbix-1.3.1.tar.gz >>> py3-pyzabbix: Checking sha512sums... py3-pyzabbix-1.3.1.tar.gz: OK >>> py3-pyzabbix: Unpacking /var/cache/distfiles/py3-pyzabbix-1.3.1.tar.gz... 2024-04-26 06:31:44,519 gpep517 INFO Building wheel via backend setuptools.build_meta 2024-04-26 06:31:44,544 root INFO running bdist_wheel 2024-04-26 06:31:44,561 root INFO running build 2024-04-26 06:31:44,561 root INFO running build_py 2024-04-26 06:31:44,564 root INFO creating build 2024-04-26 06:31:44,564 root INFO creating build/lib 2024-04-26 06:31:44,564 root INFO creating build/lib/pyzabbix 2024-04-26 06:31:44,564 root INFO copying pyzabbix/__init__.py -> build/lib/pyzabbix 2024-04-26 06:31:44,565 root INFO copying pyzabbix/api.py -> build/lib/pyzabbix 2024-04-26 06:31:44,565 root INFO copying pyzabbix/py.typed -> build/lib/pyzabbix 2024-04-26 06:31:44,570 wheel INFO installing to build/bdist.linux-armv8l/wheel 2024-04-26 06:31:44,570 root INFO running install 2024-04-26 06:31:44,579 root INFO running install_lib 2024-04-26 06:31:44,582 root INFO creating build/bdist.linux-armv8l 2024-04-26 06:31:44,582 root INFO creating build/bdist.linux-armv8l/wheel 2024-04-26 06:31:44,582 root INFO creating build/bdist.linux-armv8l/wheel/pyzabbix 2024-04-26 06:31:44,582 root INFO copying build/lib/pyzabbix/__init__.py -> build/bdist.linux-armv8l/wheel/pyzabbix 2024-04-26 06:31:44,583 root INFO copying build/lib/pyzabbix/api.py -> build/bdist.linux-armv8l/wheel/pyzabbix 2024-04-26 06:31:44,583 root INFO copying build/lib/pyzabbix/py.typed -> build/bdist.linux-armv8l/wheel/pyzabbix 2024-04-26 06:31:44,583 root INFO running install_egg_info 2024-04-26 06:31:44,586 root INFO running egg_info 2024-04-26 06:31:44,586 root INFO creating pyzabbix.egg-info 2024-04-26 06:31:44,588 root INFO writing pyzabbix.egg-info/PKG-INFO 2024-04-26 06:31:44,589 root INFO writing dependency_links to pyzabbix.egg-info/dependency_links.txt 2024-04-26 06:31:44,590 root INFO writing requirements to pyzabbix.egg-info/requires.txt 2024-04-26 06:31:44,590 root INFO writing top-level names to pyzabbix.egg-info/top_level.txt 2024-04-26 06:31:44,590 root INFO writing manifest file 'pyzabbix.egg-info/SOURCES.txt' 2024-04-26 06:31:44,592 root INFO reading manifest file 'pyzabbix.egg-info/SOURCES.txt' 2024-04-26 06:31:44,593 root INFO writing manifest file 'pyzabbix.egg-info/SOURCES.txt' 2024-04-26 06:31:44,593 root INFO Copying pyzabbix.egg-info to build/bdist.linux-armv8l/wheel/pyzabbix-1.3.1-py3.12.egg-info 2024-04-26 06:31:44,594 root INFO running install_scripts 2024-04-26 06:31:44,597 wheel INFO creating build/bdist.linux-armv8l/wheel/pyzabbix-1.3.1.dist-info/WHEEL 2024-04-26 06:31:44,597 wheel INFO creating '/home/buildozer/aports/community/py3-pyzabbix/src/pyzabbix-1.3.1/.dist/.tmp-pyszipjd/pyzabbix-1.3.1-py3-none-any.whl' and adding 'build/bdist.linux-armv8l/wheel' to it 2024-04-26 06:31:44,598 wheel INFO adding 'pyzabbix/__init__.py' 2024-04-26 06:31:44,598 wheel INFO adding 'pyzabbix/api.py' 2024-04-26 06:31:44,598 wheel INFO adding 'pyzabbix/py.typed' 2024-04-26 06:31:44,599 wheel INFO adding 'pyzabbix-1.3.1.dist-info/METADATA' 2024-04-26 06:31:44,599 wheel INFO adding 'pyzabbix-1.3.1.dist-info/WHEEL' 2024-04-26 06:31:44,599 wheel INFO adding 'pyzabbix-1.3.1.dist-info/top_level.txt' 2024-04-26 06:31:44,599 wheel INFO adding 'pyzabbix-1.3.1.dist-info/RECORD' 2024-04-26 06:31:44,599 wheel INFO removing build/bdist.linux-armv8l/wheel 2024-04-26 06:31:44,600 gpep517 INFO The backend produced .dist/pyzabbix-1.3.1-py3-none-any.whl pyzabbix-1.3.1-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.1.1, pluggy-1.4.0 -- /home/buildozer/aports/community/py3-pyzabbix/src/pyzabbix-1.3.1/.testenv/bin/python3 cachedir: .pytest_cache rootdir: /home/buildozer/aports/community/py3-pyzabbix/src/pyzabbix-1.3.1 configfile: pyproject.toml plugins: requests-mock-1.11.0 collecting ... collected 24 items tests/api_test.py::test_server_url_correction[http://example.com-http://example.com/api_jsonrpc.php] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php PASSED [ 4%] tests/api_test.py::test_server_url_correction[http://example.com/-http://example.com/api_jsonrpc.php] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php PASSED [ 8%] tests/api_test.py::test_server_url_correction[http://example.com/base-http://example.com/base/api_jsonrpc.php] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/base/api_jsonrpc.php PASSED [ 12%] tests/api_test.py::test_server_url_correction[http://example.com/base/-http://example.com/base/api_jsonrpc.php] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/base/api_jsonrpc.php PASSED [ 16%] tests/api_test.py::test_login -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.login', 'params': {'user': 'mylogin', 'password': 'mypass'}, 'id': 0} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} PASSED [ 20%] tests/api_test.py::test_login_with_context -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.login', 'params': {'user': 'mylogin', 'password': 'mypass'}, 'id': 0} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.checkAuthentication', 'params': {'sessionid': '0424bd59b807674191e7d77572075f33'}, 'id': 1} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.logout', 'params': {}, 'id': 2, 'auth': '0424bd59b807674191e7d77572075f33'} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} PASSED [ 25%] tests/api_test.py::test_login_with_version_detect[4.0.0] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'apiinfo.version', 'params': {}, 'id': 0} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '4.0.0', 'id': 0} INFO pyzabbix.api:api.py:124 Zabbix API version is: 4.0.0 DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.login', 'params': {'user': 'mylogin', 'password': 'mypass'}, 'id': 1} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.checkAuthentication', 'params': {'sessionid': '0424bd59b807674191e7d77572075f33'}, 'id': 2} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.logout', 'params': {}, 'id': 3, 'auth': '0424bd59b807674191e7d77572075f33'} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} PASSED [ 29%] tests/api_test.py::test_login_with_version_detect[5.4.0] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'apiinfo.version', 'params': {}, 'id': 0} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '5.4.0', 'id': 0} INFO pyzabbix.api:api.py:124 Zabbix API version is: 5.4.0 DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.login', 'params': {'username': 'mylogin', 'password': 'mypass'}, 'id': 1} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.checkAuthentication', 'params': {'sessionid': '0424bd59b807674191e7d77572075f33'}, 'id': 2} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.logout', 'params': {}, 'id': 3, 'auth': '0424bd59b807674191e7d77572075f33'} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} PASSED [ 33%] tests/api_test.py::test_login_with_version_detect[6.2.0] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'apiinfo.version', 'params': {}, 'id': 0} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '6.2.0', 'id': 0} INFO pyzabbix.api:api.py:124 Zabbix API version is: 6.2.0 DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.login', 'params': {'username': 'mylogin', 'password': 'mypass'}, 'id': 1} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.checkAuthentication', 'params': {'sessionid': '0424bd59b807674191e7d77572075f33'}, 'id': 2} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.logout', 'params': {}, 'id': 3, 'auth': '0424bd59b807674191e7d77572075f33'} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} PASSED [ 37%] tests/api_test.py::test_login_with_version_detect[6.2.0beta1] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'apiinfo.version', 'params': {}, 'id': 0} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '6.2.0beta1', 'id': 0} INFO pyzabbix.api:api.py:124 Zabbix API version is: 6.2.0b1 DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.login', 'params': {'username': 'mylogin', 'password': 'mypass'}, 'id': 1} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.checkAuthentication', 'params': {'sessionid': '0424bd59b807674191e7d77572075f33'}, 'id': 2} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.logout', 'params': {}, 'id': 3, 'auth': '0424bd59b807674191e7d77572075f33'} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} PASSED [ 41%] tests/api_test.py::test_login_with_version_detect[6.2.2alpha1] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'apiinfo.version', 'params': {}, 'id': 0} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '6.2.2alpha1', 'id': 0} INFO pyzabbix.api:api.py:124 Zabbix API version is: 6.2.2a1 DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.login', 'params': {'username': 'mylogin', 'password': 'mypass'}, 'id': 1} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.checkAuthentication', 'params': {'sessionid': '0424bd59b807674191e7d77572075f33'}, 'id': 2} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.logout', 'params': {}, 'id': 3, 'auth': '0424bd59b807674191e7d77572075f33'} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '0424bd59b807674191e7d77572075f33', 'id': 0} PASSED [ 45%] tests/api_test.py::test_attr_syntax_kwargs -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'host.get', 'params': {'hostids': 5}, 'id': 0, 'auth': 'some_auth_key'} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': [{'hostid': 1234}], 'id': 0} PASSED [ 50%] tests/api_test.py::test_attr_syntax_args -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'host.delete', 'params': ('22982', '22986'), 'id': 0, 'auth': 'some_auth_key'} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': {'itemids': ['22982', '22986']}, 'id': 0} PASSED [ 54%] tests/api_test.py::test_attr_syntax_args_and_kwargs_raises -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php PASSED [ 58%] tests/api_test.py::test_detecting_version[4.0.0] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'apiinfo.version', 'params': {}, 'id': 0} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '4.0.0', 'id': 0} INFO pyzabbix.api:api.py:124 Zabbix API version is: 4.0.0 DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.login', 'params': {'user': 'mylogin', 'password': 'mypass'}, 'id': 1} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '4.0.0', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'apiinfo.version', 'params': {}, 'id': 2} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '4.0.0', 'id': 0} PASSED [ 62%] tests/api_test.py::test_detecting_version[4.0.0rc1] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'apiinfo.version', 'params': {}, 'id': 0} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '4.0.0rc1', 'id': 0} INFO pyzabbix.api:api.py:124 Zabbix API version is: 4.0.0rc1 DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.login', 'params': {'user': 'mylogin', 'password': 'mypass'}, 'id': 1} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '4.0.0rc1', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'apiinfo.version', 'params': {}, 'id': 2} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '4.0.0rc1', 'id': 0} PASSED [ 66%] tests/api_test.py::test_detecting_version[6.2.0beta1] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'apiinfo.version', 'params': {}, 'id': 0} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '6.2.0beta1', 'id': 0} INFO pyzabbix.api:api.py:124 Zabbix API version is: 6.2.0b1 DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.login', 'params': {'username': 'mylogin', 'password': 'mypass'}, 'id': 1} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '6.2.0beta1', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'apiinfo.version', 'params': {}, 'id': 2} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '6.2.0beta1', 'id': 0} PASSED [ 70%] tests/api_test.py::test_detecting_version[6.2.2alpha1] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'apiinfo.version', 'params': {}, 'id': 0} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '6.2.2alpha1', 'id': 0} INFO pyzabbix.api:api.py:124 Zabbix API version is: 6.2.2a1 DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'user.login', 'params': {'username': 'mylogin', 'password': 'mypass'}, 'id': 1} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '6.2.2alpha1', 'id': 0} DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'apiinfo.version', 'params': {}, 'id': 2} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': '6.2.2alpha1', 'id': 0} PASSED [ 75%] tests/api_test.py::test_error_response[None] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'host.get', 'params': {}, 'id': 0} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'error': {'code': -32602, 'message': 'Invalid params.'}, 'id': 0} PASSED [ 79%] tests/api_test.py::test_error_response[No groups for host "Linux server".] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'host.get', 'params': {}, 'id': 0} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'error': {'code': -32602, 'message': 'Invalid params.', 'data': 'No groups for host "Linux server".'}, 'id': 0} PASSED [ 83%] tests/api_test.py::test_empty_response -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'apiinfo.version', 'params': {}, 'id': 0} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 PASSED [ 87%] tests/api_test.py::test_do_request[4.0.0] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'host.get', 'params': {}, 'id': 0, 'auth': 'some_auth_key'} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': [{'hostid': 1234}], 'id': 0} PASSED [ 91%] tests/api_test.py::test_do_request[5.4.0] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'host.get', 'params': {}, 'id': 0, 'auth': 'some_auth_key'} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': [{'hostid': 1234}], 'id': 0} PASSED [ 95%] tests/api_test.py::test_do_request[6.2.0] -------------------------------- live log call --------------------------------- INFO pyzabbix.api:api.py:88 JSON-RPC Server Endpoint: http://example.com/api_jsonrpc.php DEBUG pyzabbix.api:api.py:215 Sending: {'jsonrpc': '2.0', 'method': 'host.get', 'params': {}, 'id': 0, 'auth': 'some_auth_key'} DEBUG requests_mock.adapter:adapter.py:256 POST http://example.com/api_jsonrpc.php 200 DEBUG pyzabbix.api:api.py:222 Response Code: 200 DEBUG pyzabbix.api:api.py:238 Response Body: {'jsonrpc': '2.0', 'result': [{'hostid': 1234}], 'id': 0} PASSED [100%] ============================== 24 passed in 0.09s ============================== >>> py3-pyzabbix: Entering fakeroot... >>> py3-pyzabbix-pyc*: Running split function pyc... '/home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix/usr/lib/python3.12/site-packages/pyzabbix/__pycache__' -> '/home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix-pyc/usr/lib/python3.12/site-packages/pyzabbix/__pycache__' >>> py3-pyzabbix-pyc*: Preparing subpackage py3-pyzabbix-pyc... >>> py3-pyzabbix-pyc*: Running postcheck for py3-pyzabbix-pyc >>> py3-pyzabbix*: Running postcheck for py3-pyzabbix >>> py3-pyzabbix*: Preparing package py3-pyzabbix... >>> py3-pyzabbix-pyc*: Tracing dependencies... python3 py3-requests py3-semantic-version python3~3.12 >>> py3-pyzabbix-pyc*: Package size: 48.0 KB >>> py3-pyzabbix-pyc*: Compressing data... >>> py3-pyzabbix-pyc*: Create checksum... >>> py3-pyzabbix-pyc*: Create py3-pyzabbix-pyc-1.3.1-r1.apk >>> py3-pyzabbix*: Tracing dependencies... python3 py3-requests py3-semantic-version python3~3.12 >>> py3-pyzabbix*: Package size: 68.0 KB >>> py3-pyzabbix*: Compressing data... >>> py3-pyzabbix*: Create checksum... >>> py3-pyzabbix*: Create py3-pyzabbix-1.3.1-r1.apk >>> py3-pyzabbix: Build complete at Fri, 26 Apr 2024 06:31:45 +0000 elapsed time 0h 0m 5s >>> py3-pyzabbix: Cleaning up srcdir >>> py3-pyzabbix: Cleaning up pkgdir >>> py3-pyzabbix: Uninstalling dependencies... (1/52) Purging .makedepends-py3-pyzabbix (20240426.063143) (2/52) Purging py3-semantic-version-pyc (2.10.0-r3) (3/52) Purging py3-semantic-version (2.10.0-r3) (4/52) Purging python3-dev (3.12.3-r1) (5/52) Purging py3-gpep517-pyc (15-r2) (6/52) Purging py3-gpep517 (15-r2) (7/52) Purging py3-installer-pyc (0.7.0-r2) (8/52) Purging py3-installer (0.7.0-r2) (9/52) Purging py3-setuptools-pyc (69.5.1-r0) (10/52) Purging py3-setuptools (69.5.1-r0) (11/52) Purging py3-wheel-pyc (0.42.0-r1) (12/52) Purging py3-wheel (0.42.0-r1) (13/52) Purging py3-pytest-pyc (8.1.1-r1) (14/52) Purging py3-pytest (8.1.1-r1) (15/52) Purging py3-iniconfig-pyc (2.0.0-r1) (16/52) Purging py3-iniconfig (2.0.0-r1) (17/52) Purging py3-packaging-pyc (24.0-r1) (18/52) Purging py3-packaging (24.0-r1) (19/52) Purging py3-parsing-pyc (3.1.2-r1) (20/52) Purging py3-parsing (3.1.2-r1) (21/52) Purging py3-pluggy-pyc (1.4.0-r1) (22/52) Purging py3-pluggy (1.4.0-r1) (23/52) Purging py3-py-pyc (1.11.0-r3) (24/52) Purging py3-py (1.11.0-r3) (25/52) Purging py3-httpretty-pyc (1.1.4-r3) (26/52) Purging py3-httpretty (1.1.4-r3) (27/52) Purging py3-requests-mock-pyc (1.11.0-r1) (28/52) Purging py3-requests-mock (1.11.0-r1) (29/52) Purging py3-requests-pyc (2.31.0-r2) (30/52) Purging py3-requests (2.31.0-r2) (31/52) Purging py3-certifi-pyc (2024.2.2-r1) (32/52) Purging py3-certifi (2024.2.2-r1) (33/52) Purging py3-charset-normalizer-pyc (3.3.2-r1) (34/52) Purging py3-charset-normalizer (3.3.2-r1) (35/52) Purging py3-idna-pyc (3.7-r0) (36/52) Purging py3-idna (3.7-r0) (37/52) Purging py3-urllib3-pyc (1.26.18-r1) (38/52) Purging py3-urllib3 (1.26.18-r1) (39/52) Purging py3-six-pyc (1.16.0-r9) (40/52) Purging py3-six (1.16.0-r9) (41/52) Purging python3-pyc (3.12.3-r1) (42/52) Purging python3-pycache-pyc0 (3.12.3-r1) (43/52) Purging pyc (3.12.3-r1) (44/52) Purging python3 (3.12.3-r1) (45/52) Purging gdbm (1.23-r1) (46/52) Purging libbz2 (1.0.8-r6) (47/52) Purging libffi (3.4.6-r0) (48/52) Purging libpanelw (6.4_p20240330-r0) (49/52) Purging mpdecimal (4.0.0-r0) (50/52) Purging readline (8.2.10-r0) (51/52) Purging sqlite-libs (3.45.3-r0) (52/52) Purging xz-libs (5.6.1-r3) Executing busybox-1.36.1-r25.trigger OK: 454 MiB in 105 packages >>> py3-pyzabbix: Updating the community/armv7 repository index... >>> py3-pyzabbix: Signing the index...