>>> py3-pyzabbix: Building community/py3-pyzabbix 1.3.1-r2 (using abuild 3.14.1-r3) started Mon, 09 Dec 2024 13:14:12 +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/49) Installing libffi (3.4.6-r0) (2/49) Installing gdbm (1.24-r0) (3/49) Installing mpdecimal (4.0.0-r0) (4/49) Installing libpanelw (6.5_p20241006-r3) (5/49) Installing sqlite-libs (3.47.2-r0) (6/49) Installing python3 (3.12.8-r1) (7/49) Installing python3-pycache-pyc0 (3.12.8-r1) (8/49) Installing pyc (3.12.8-r1) (9/49) Installing python3-pyc (3.12.8-r1) (10/49) Installing py3-parsing (3.1.4-r0) (11/49) Installing py3-parsing-pyc (3.1.4-r0) (12/49) Installing py3-packaging (24.2-r0) (13/49) Installing py3-packaging-pyc (24.2-r0) (14/49) Installing py3-certifi (2024.8.30-r0) (15/49) Installing py3-certifi-pyc (2024.8.30-r0) (16/49) Installing py3-charset-normalizer (3.4.0-r0) (17/49) Installing py3-charset-normalizer-pyc (3.4.0-r0) (18/49) Installing py3-idna (3.10-r0) (19/49) Installing py3-idna-pyc (3.10-r0) (20/49) Installing py3-urllib3 (1.26.20-r0) (21/49) Installing py3-urllib3-pyc (1.26.20-r0) (22/49) Installing py3-requests (2.32.3-r0) (23/49) Installing py3-requests-pyc (2.32.3-r0) (24/49) Installing py3-semantic-version (2.10.0-r3) (25/49) Installing py3-semantic-version-pyc (2.10.0-r3) (26/49) Installing python3-dev (3.12.8-r1) (27/49) Installing py3-installer (0.7.0-r2) (28/49) Installing py3-installer-pyc (0.7.0-r2) (29/49) Installing py3-gpep517 (16-r0) (30/49) Installing py3-gpep517-pyc (16-r0) (31/49) Installing py3-setuptools (70.3.0-r0) (32/49) Installing py3-setuptools-pyc (70.3.0-r0) (33/49) Installing py3-wheel (0.43.0-r0) (34/49) Installing py3-wheel-pyc (0.43.0-r0) (35/49) Installing py3-iniconfig (2.0.0-r1) (36/49) Installing py3-iniconfig-pyc (2.0.0-r1) (37/49) Installing py3-pluggy (1.5.0-r0) (38/49) Installing py3-pluggy-pyc (1.5.0-r0) (39/49) Installing py3-py (1.11.0-r4) (40/49) Installing py3-py-pyc (1.11.0-r4) (41/49) Installing py3-pytest (8.3.4-r0) (42/49) Installing py3-pytest-pyc (8.3.4-r0) (43/49) Installing py3-httpretty (1.1.4-r4) (44/49) Installing py3-httpretty-pyc (1.1.4-r4) (45/49) Installing py3-six (1.16.0-r9) (46/49) Installing py3-six-pyc (1.16.0-r9) (47/49) Installing py3-requests-mock (1.11.0-r1) (48/49) Installing py3-requests-mock-pyc (1.11.0-r1) (49/49) Installing .makedepends-py3-pyzabbix (20241209.131413) Executing busybox-1.37.0-r8.trigger OK: 523 MiB in 164 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 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> py3-pyzabbix: Fetching py3-pyzabbix-1.3.1.tar.gz::https://github.com/lukecyca/pyzabbix/archive/1.3.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18126 100 18126 0 0 80157 0 --:--:-- --:--:-- --:--:-- 80157 >>> 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:15,306 gpep517 INFO Building wheel via backend setuptools.build_meta 2024-12-09 13:14:15,322 root INFO running bdist_wheel 2024-12-09 13:14:15,343 root INFO running build 2024-12-09 13:14:15,343 root INFO running build_py 2024-12-09 13:14:15,347 root INFO creating build 2024-12-09 13:14:15,347 root INFO creating build/lib 2024-12-09 13:14:15,347 root INFO creating build/lib/pyzabbix 2024-12-09 13:14:15,347 root INFO copying pyzabbix/__init__.py -> build/lib/pyzabbix 2024-12-09 13:14:15,347 root INFO copying pyzabbix/api.py -> build/lib/pyzabbix 2024-12-09 13:14:15,348 root INFO copying pyzabbix/py.typed -> build/lib/pyzabbix 2024-12-09 13:14:15,354 root INFO installing to build/bdist.linux-i686/wheel 2024-12-09 13:14:15,354 root INFO running install 2024-12-09 13:14:15,364 root INFO running install_lib 2024-12-09 13:14:15,366 root INFO creating build/bdist.linux-i686 2024-12-09 13:14:15,367 root INFO creating build/bdist.linux-i686/wheel 2024-12-09 13:14:15,367 root INFO creating build/bdist.linux-i686/wheel/pyzabbix 2024-12-09 13:14:15,367 root INFO copying build/lib/pyzabbix/__init__.py -> build/bdist.linux-i686/wheel/pyzabbix 2024-12-09 13:14:15,367 root INFO copying build/lib/pyzabbix/api.py -> build/bdist.linux-i686/wheel/pyzabbix 2024-12-09 13:14:15,367 root INFO copying build/lib/pyzabbix/py.typed -> build/bdist.linux-i686/wheel/pyzabbix 2024-12-09 13:14:15,367 root INFO running install_egg_info 2024-12-09 13:14:15,370 root INFO running egg_info 2024-12-09 13:14:15,371 root INFO creating pyzabbix.egg-info 2024-12-09 13:14:15,373 root INFO writing pyzabbix.egg-info/PKG-INFO 2024-12-09 13:14:15,374 root INFO writing dependency_links to pyzabbix.egg-info/dependency_links.txt 2024-12-09 13:14:15,375 root INFO writing requirements to pyzabbix.egg-info/requires.txt 2024-12-09 13:14:15,375 root INFO writing top-level names to pyzabbix.egg-info/top_level.txt 2024-12-09 13:14:15,375 root INFO writing manifest file 'pyzabbix.egg-info/SOURCES.txt' 2024-12-09 13:14:15,378 root INFO reading manifest file 'pyzabbix.egg-info/SOURCES.txt' 2024-12-09 13:14:15,379 root INFO writing manifest file 'pyzabbix.egg-info/SOURCES.txt' 2024-12-09 13:14:15,379 root INFO Copying pyzabbix.egg-info to build/bdist.linux-i686/wheel/pyzabbix-1.3.1-py3.12.egg-info 2024-12-09 13:14:15,380 root INFO running install_scripts 2024-12-09 13:14:15,383 root INFO creating build/bdist.linux-i686/wheel/pyzabbix-1.3.1.dist-info/WHEEL 2024-12-09 13:14:15,383 wheel INFO creating '/home/buildozer/aports/community/py3-pyzabbix/src/pyzabbix-1.3.1/.dist/.tmp-1homt1sk/pyzabbix-1.3.1-py3-none-any.whl' and adding 'build/bdist.linux-i686/wheel' to it 2024-12-09 13:14:15,383 wheel INFO adding 'pyzabbix/__init__.py' 2024-12-09 13:14:15,384 wheel INFO adding 'pyzabbix/api.py' 2024-12-09 13:14:15,384 wheel INFO adding 'pyzabbix/py.typed' 2024-12-09 13:14:15,384 wheel INFO adding 'pyzabbix-1.3.1.dist-info/METADATA' 2024-12-09 13:14:15,384 wheel INFO adding 'pyzabbix-1.3.1.dist-info/WHEEL' 2024-12-09 13:14:15,385 wheel INFO adding 'pyzabbix-1.3.1.dist-info/top_level.txt' 2024-12-09 13:14:15,385 wheel INFO adding 'pyzabbix-1.3.1.dist-info/RECORD' 2024-12-09 13:14:15,385 root INFO removing build/bdist.linux-i686/wheel 2024-12-09 13:14:15,385 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.10s ============================== >>> 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:16 +0000 elapsed time 0h 0m 4s >>> py3-pyzabbix: Cleaning up srcdir >>> py3-pyzabbix: Cleaning up pkgdir >>> py3-pyzabbix: Uninstalling dependencies... (1/49) Purging .makedepends-py3-pyzabbix (20241209.131413) (2/49) Purging py3-semantic-version-pyc (2.10.0-r3) (3/49) Purging py3-semantic-version (2.10.0-r3) (4/49) Purging python3-dev (3.12.8-r1) (5/49) Purging py3-gpep517-pyc (16-r0) (6/49) Purging py3-gpep517 (16-r0) (7/49) Purging py3-installer-pyc (0.7.0-r2) (8/49) Purging py3-installer (0.7.0-r2) (9/49) Purging py3-setuptools-pyc (70.3.0-r0) (10/49) Purging py3-setuptools (70.3.0-r0) (11/49) Purging py3-wheel-pyc (0.43.0-r0) (12/49) Purging py3-wheel (0.43.0-r0) (13/49) Purging py3-pytest-pyc (8.3.4-r0) (14/49) Purging py3-pytest (8.3.4-r0) (15/49) Purging py3-iniconfig-pyc (2.0.0-r1) (16/49) Purging py3-iniconfig (2.0.0-r1) (17/49) Purging py3-packaging-pyc (24.2-r0) (18/49) Purging py3-packaging (24.2-r0) (19/49) Purging py3-parsing-pyc (3.1.4-r0) (20/49) Purging py3-parsing (3.1.4-r0) (21/49) Purging py3-pluggy-pyc (1.5.0-r0) (22/49) Purging py3-pluggy (1.5.0-r0) (23/49) Purging py3-py-pyc (1.11.0-r4) (24/49) Purging py3-py (1.11.0-r4) (25/49) Purging py3-httpretty-pyc (1.1.4-r4) (26/49) Purging py3-httpretty (1.1.4-r4) (27/49) Purging py3-requests-mock-pyc (1.11.0-r1) (28/49) Purging py3-requests-mock (1.11.0-r1) (29/49) Purging py3-requests-pyc (2.32.3-r0) (30/49) Purging py3-requests (2.32.3-r0) (31/49) Purging py3-certifi-pyc (2024.8.30-r0) (32/49) Purging py3-certifi (2024.8.30-r0) (33/49) Purging py3-charset-normalizer-pyc (3.4.0-r0) (34/49) Purging py3-charset-normalizer (3.4.0-r0) (35/49) Purging py3-idna-pyc (3.10-r0) (36/49) Purging py3-idna (3.10-r0) (37/49) Purging py3-urllib3-pyc (1.26.20-r0) (38/49) Purging py3-urllib3 (1.26.20-r0) (39/49) Purging py3-six-pyc (1.16.0-r9) (40/49) Purging py3-six (1.16.0-r9) (41/49) Purging python3-pyc (3.12.8-r1) (42/49) Purging python3-pycache-pyc0 (3.12.8-r1) (43/49) Purging pyc (3.12.8-r1) (44/49) Purging python3 (3.12.8-r1) (45/49) Purging gdbm (1.24-r0) (46/49) Purging libffi (3.4.6-r0) (47/49) Purging libpanelw (6.5_p20241006-r3) (48/49) Purging mpdecimal (4.0.0-r0) (49/49) Purging sqlite-libs (3.47.2-r0) Executing busybox-1.37.0-r8.trigger OK: 404 MiB in 115 packages >>> py3-pyzabbix: Updating the community/x86 repository index... >>> py3-pyzabbix: Signing the index...