>>> py3-pyzabbix: Building community/py3-pyzabbix 1.3.1-r2 (using abuild 3.14.1-r3) started Mon, 09 Dec 2024 13:14:10 +0000 >>> py3-pyzabbix: Validating /home/buildozer/aports/community/py3-pyzabbix/APKBUILD... >>> py3-pyzabbix: Analyzing dependencies... >>> py3-pyzabbix: Installing for build: build-base python3 py3-packaging py3-requests py3-semantic-version python3-dev py3-gpep517 py3-setuptools py3-wheel py3-pytest py3-httpretty py3-requests-mock (1/51) Installing libbz2 (1.0.8-r6) (2/51) Installing libffi (3.4.6-r0) (3/51) Installing gdbm (1.24-r0) (4/51) Installing xz-libs (5.6.3-r0) (5/51) Installing mpdecimal (4.0.0-r0) (6/51) Installing libpanelw (6.5_p20241006-r3) (7/51) Installing sqlite-libs (3.47.2-r0) (8/51) Installing python3 (3.12.8-r1) (9/51) Installing python3-pycache-pyc0 (3.12.8-r1) (10/51) Installing pyc (3.12.8-r1) (11/51) Installing python3-pyc (3.12.8-r1) (12/51) Installing py3-parsing (3.1.4-r0) (13/51) Installing py3-parsing-pyc (3.1.4-r0) (14/51) Installing py3-packaging (24.2-r0) (15/51) Installing py3-packaging-pyc (24.2-r0) (16/51) Installing py3-certifi (2024.8.30-r0) (17/51) Installing py3-certifi-pyc (2024.8.30-r0) (18/51) Installing py3-charset-normalizer (3.4.0-r0) (19/51) Installing py3-charset-normalizer-pyc (3.4.0-r0) (20/51) Installing py3-idna (3.10-r0) (21/51) Installing py3-idna-pyc (3.10-r0) (22/51) Installing py3-urllib3 (1.26.20-r0) (23/51) Installing py3-urllib3-pyc (1.26.20-r0) (24/51) Installing py3-requests (2.32.3-r0) (25/51) Installing py3-requests-pyc (2.32.3-r0) (26/51) Installing py3-semantic-version (2.10.0-r3) (27/51) Installing py3-semantic-version-pyc (2.10.0-r3) (28/51) Installing python3-dev (3.12.8-r1) (29/51) Installing py3-installer (0.7.0-r2) (30/51) Installing py3-installer-pyc (0.7.0-r2) (31/51) Installing py3-gpep517 (16-r0) (32/51) Installing py3-gpep517-pyc (16-r0) (33/51) Installing py3-setuptools (70.3.0-r0) (34/51) Installing py3-setuptools-pyc (70.3.0-r0) (35/51) Installing py3-wheel (0.43.0-r0) (36/51) Installing py3-wheel-pyc (0.43.0-r0) (37/51) Installing py3-iniconfig (2.0.0-r1) (38/51) Installing py3-iniconfig-pyc (2.0.0-r1) (39/51) Installing py3-pluggy (1.5.0-r0) (40/51) Installing py3-pluggy-pyc (1.5.0-r0) (41/51) Installing py3-py (1.11.0-r4) (42/51) Installing py3-py-pyc (1.11.0-r4) (43/51) Installing py3-pytest (8.3.4-r0) (44/51) Installing py3-pytest-pyc (8.3.4-r0) (45/51) Installing py3-httpretty (1.1.4-r4) (46/51) Installing py3-httpretty-pyc (1.1.4-r4) (47/51) Installing py3-six (1.16.0-r9) (48/51) Installing py3-six-pyc (1.16.0-r9) (49/51) Installing py3-requests-mock (1.11.0-r1) (50/51) Installing py3-requests-mock-pyc (1.11.0-r1) (51/51) Installing .makedepends-py3-pyzabbix (20241209.131411) Executing busybox-1.37.0-r8.trigger OK: 458 MiB in 152 packages >>> py3-pyzabbix: Cleaning up srcdir >>> py3-pyzabbix: Cleaning up pkgdir >>> py3-pyzabbix: Cleaning up tmpdir >>> py3-pyzabbix: Fetching https://distfiles.alpinelinux.org/distfiles/edge/py3-pyzabbix-1.3.1.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> py3-pyzabbix: Fetching py3-pyzabbix-1.3.1.tar.gz::https://github.com/lukecyca/pyzabbix/archive/1.3.1.tar.gz >>> py3-pyzabbix: Fetching https://distfiles.alpinelinux.org/distfiles/edge/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/edge/py3-pyzabbix-1.3.1.tar.gz... 2024-12-09 13:14:13,763 gpep517 INFO Building wheel via backend setuptools.build_meta 2024-12-09 13:14:13,776 root INFO running bdist_wheel 2024-12-09 13:14:13,795 root INFO running build 2024-12-09 13:14:13,795 root INFO running build_py 2024-12-09 13:14:13,798 root INFO creating build 2024-12-09 13:14:13,798 root INFO creating build/lib 2024-12-09 13:14:13,798 root INFO creating build/lib/pyzabbix 2024-12-09 13:14:13,798 root INFO copying pyzabbix/__init__.py -> build/lib/pyzabbix 2024-12-09 13:14:13,798 root INFO copying pyzabbix/api.py -> build/lib/pyzabbix 2024-12-09 13:14:13,799 root INFO copying pyzabbix/py.typed -> build/lib/pyzabbix 2024-12-09 13:14:13,804 root INFO installing to build/bdist.linux-armv8l/wheel 2024-12-09 13:14:13,805 root INFO running install 2024-12-09 13:14:13,814 root INFO running install_lib 2024-12-09 13:14:13,816 root INFO creating build/bdist.linux-armv8l 2024-12-09 13:14:13,816 root INFO creating build/bdist.linux-armv8l/wheel 2024-12-09 13:14:13,816 root INFO creating build/bdist.linux-armv8l/wheel/pyzabbix 2024-12-09 13:14:13,817 root INFO copying build/lib/pyzabbix/__init__.py -> build/bdist.linux-armv8l/wheel/pyzabbix 2024-12-09 13:14:13,817 root INFO copying build/lib/pyzabbix/api.py -> build/bdist.linux-armv8l/wheel/pyzabbix 2024-12-09 13:14:13,817 root INFO copying build/lib/pyzabbix/py.typed -> build/bdist.linux-armv8l/wheel/pyzabbix 2024-12-09 13:14:13,817 root INFO running install_egg_info 2024-12-09 13:14:13,820 root INFO running egg_info 2024-12-09 13:14:13,820 root INFO creating pyzabbix.egg-info 2024-12-09 13:14:13,822 root INFO writing pyzabbix.egg-info/PKG-INFO 2024-12-09 13:14:13,823 root INFO writing dependency_links to pyzabbix.egg-info/dependency_links.txt 2024-12-09 13:14:13,824 root INFO writing requirements to pyzabbix.egg-info/requires.txt 2024-12-09 13:14:13,824 root INFO writing top-level names to pyzabbix.egg-info/top_level.txt 2024-12-09 13:14:13,824 root INFO writing manifest file 'pyzabbix.egg-info/SOURCES.txt' 2024-12-09 13:14:13,827 root INFO reading manifest file 'pyzabbix.egg-info/SOURCES.txt' 2024-12-09 13:14:13,827 root INFO writing manifest file 'pyzabbix.egg-info/SOURCES.txt' 2024-12-09 13:14:13,827 root INFO Copying pyzabbix.egg-info to build/bdist.linux-armv8l/wheel/pyzabbix-1.3.1-py3.12.egg-info 2024-12-09 13:14:13,828 root INFO running install_scripts 2024-12-09 13:14:13,831 root INFO creating build/bdist.linux-armv8l/wheel/pyzabbix-1.3.1.dist-info/WHEEL 2024-12-09 13:14:13,831 wheel INFO creating '/home/buildozer/aports/community/py3-pyzabbix/src/pyzabbix-1.3.1/.dist/.tmp-5q5dmi93/pyzabbix-1.3.1-py3-none-any.whl' and adding 'build/bdist.linux-armv8l/wheel' to it 2024-12-09 13:14:13,832 wheel INFO adding 'pyzabbix/__init__.py' 2024-12-09 13:14:13,832 wheel INFO adding 'pyzabbix/api.py' 2024-12-09 13:14:13,832 wheel INFO adding 'pyzabbix/py.typed' 2024-12-09 13:14:13,832 wheel INFO adding 'pyzabbix-1.3.1.dist-info/METADATA' 2024-12-09 13:14:13,833 wheel INFO adding 'pyzabbix-1.3.1.dist-info/WHEEL' 2024-12-09 13:14:13,833 wheel INFO adding 'pyzabbix-1.3.1.dist-info/top_level.txt' 2024-12-09 13:14:13,833 wheel INFO adding 'pyzabbix-1.3.1.dist-info/RECORD' 2024-12-09 13:14:13,833 root INFO removing build/bdist.linux-armv8l/wheel 2024-12-09 13:14:13,834 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.8, pytest-8.3.4, pluggy-1.5.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... '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-packaging py3-requests py3-semantic-version python3~3.12 >>> py3-pyzabbix-pyc*: Package size: 12.5 KB >>> py3-pyzabbix-pyc*: Compressing data... >>> py3-pyzabbix-pyc*: Create checksum... >>> py3-pyzabbix-pyc*: Create py3-pyzabbix-pyc-1.3.1-r2.apk >>> py3-pyzabbix*: Tracing dependencies... python3 py3-packaging py3-requests py3-semantic-version python3~3.12 >>> py3-pyzabbix*: Package size: 16.4 KB >>> py3-pyzabbix*: Compressing data... >>> py3-pyzabbix*: Create checksum... >>> py3-pyzabbix*: Create py3-pyzabbix-1.3.1-r2.apk >>> py3-pyzabbix: Build complete at Mon, 09 Dec 2024 13:14:14 +0000 elapsed time 0h 0m 4s >>> py3-pyzabbix: Cleaning up srcdir >>> py3-pyzabbix: Cleaning up pkgdir >>> py3-pyzabbix: Uninstalling dependencies... (1/51) Purging .makedepends-py3-pyzabbix (20241209.131411) (2/51) Purging py3-semantic-version-pyc (2.10.0-r3) (3/51) Purging py3-semantic-version (2.10.0-r3) (4/51) Purging python3-dev (3.12.8-r1) (5/51) Purging py3-gpep517-pyc (16-r0) (6/51) Purging py3-gpep517 (16-r0) (7/51) Purging py3-installer-pyc (0.7.0-r2) (8/51) Purging py3-installer (0.7.0-r2) (9/51) Purging py3-setuptools-pyc (70.3.0-r0) (10/51) Purging py3-setuptools (70.3.0-r0) (11/51) Purging py3-wheel-pyc (0.43.0-r0) (12/51) Purging py3-wheel (0.43.0-r0) (13/51) Purging py3-pytest-pyc (8.3.4-r0) (14/51) Purging py3-pytest (8.3.4-r0) (15/51) Purging py3-iniconfig-pyc (2.0.0-r1) (16/51) Purging py3-iniconfig (2.0.0-r1) (17/51) Purging py3-packaging-pyc (24.2-r0) (18/51) Purging py3-packaging (24.2-r0) (19/51) Purging py3-parsing-pyc (3.1.4-r0) (20/51) Purging py3-parsing (3.1.4-r0) (21/51) Purging py3-pluggy-pyc (1.5.0-r0) (22/51) Purging py3-pluggy (1.5.0-r0) (23/51) Purging py3-py-pyc (1.11.0-r4) (24/51) Purging py3-py (1.11.0-r4) (25/51) Purging py3-httpretty-pyc (1.1.4-r4) (26/51) Purging py3-httpretty (1.1.4-r4) (27/51) Purging py3-requests-mock-pyc (1.11.0-r1) (28/51) Purging py3-requests-mock (1.11.0-r1) (29/51) Purging py3-requests-pyc (2.32.3-r0) (30/51) Purging py3-requests (2.32.3-r0) (31/51) Purging py3-certifi-pyc (2024.8.30-r0) (32/51) Purging py3-certifi (2024.8.30-r0) (33/51) Purging py3-charset-normalizer-pyc (3.4.0-r0) (34/51) Purging py3-charset-normalizer (3.4.0-r0) (35/51) Purging py3-idna-pyc (3.10-r0) (36/51) Purging py3-idna (3.10-r0) (37/51) Purging py3-urllib3-pyc (1.26.20-r0) (38/51) Purging py3-urllib3 (1.26.20-r0) (39/51) Purging py3-six-pyc (1.16.0-r9) (40/51) Purging py3-six (1.16.0-r9) (41/51) Purging python3-pyc (3.12.8-r1) (42/51) Purging python3-pycache-pyc0 (3.12.8-r1) (43/51) Purging pyc (3.12.8-r1) (44/51) Purging python3 (3.12.8-r1) (45/51) Purging gdbm (1.24-r0) (46/51) Purging libbz2 (1.0.8-r6) (47/51) Purging libffi (3.4.6-r0) (48/51) Purging libpanelw (6.5_p20241006-r3) (49/51) Purging mpdecimal (4.0.0-r0) (50/51) Purging sqlite-libs (3.47.2-r0) (51/51) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r8.trigger OK: 323 MiB in 101 packages >>> py3-pyzabbix: Updating the community/armhf repository index... >>> py3-pyzabbix: Signing the index...