>>> py3-pyzabbix: Building community/py3-pyzabbix 1.3.0-r0 (using abuild 3.12.0-r0) started Tue, 24 Oct 2023 20:29:32 +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-setuptools py3-pytest py3-httpretty py3-requests-mock (1/46) Installing libbz2 (1.0.8-r6) (2/46) Installing libffi (3.4.4-r3) (3/46) Installing gdbm (1.23-r1) (4/46) Installing xz-libs (5.4.4-r0) (5/46) Installing mpdecimal (2.5.1-r2) (6/46) Installing libpanelw (6.4_p20231007-r0) (7/46) Installing readline (8.2.1-r2) (8/46) Installing sqlite-libs (3.43.2-r0) (9/46) Installing python3 (3.11.6-r1) (10/46) Installing python3-pycache-pyc0 (3.11.6-r1) (11/46) Installing pyc (3.11.6-r1) (12/46) Installing python3-pyc (3.11.6-r1) (13/46) Installing py3-certifi (2023.7.22-r0) (14/46) Installing py3-certifi-pyc (2023.7.22-r0) (15/46) Installing py3-charset-normalizer (3.3.1-r0) (16/46) Installing py3-charset-normalizer-pyc (3.3.1-r0) (17/46) Installing py3-idna (3.4-r4) (18/46) Installing py3-idna-pyc (3.4-r4) (19/46) Installing py3-urllib3 (1.26.18-r0) (20/46) Installing py3-urllib3-pyc (1.26.18-r0) (21/46) Installing py3-requests (2.31.0-r1) (22/46) Installing py3-requests-pyc (2.31.0-r1) (23/46) Installing py3-semantic-version (2.10.0-r2) (24/46) Installing py3-semantic-version-pyc (2.10.0-r2) (25/46) Installing python3-dev (3.11.6-r1) (26/46) Installing py3-parsing (3.1.1-r0) (27/46) Installing py3-parsing-pyc (3.1.1-r0) (28/46) Installing py3-packaging (23.2-r0) (29/46) Installing py3-packaging-pyc (23.2-r0) (30/46) Installing py3-setuptools (68.2.2-r0) (31/46) Installing py3-setuptools-pyc (68.2.2-r0) (32/46) Installing py3-iniconfig (1.1.1-r6) (33/46) Installing py3-iniconfig-pyc (1.1.1-r6) (34/46) Installing py3-pluggy (1.3.0-r0) (35/46) Installing py3-pluggy-pyc (1.3.0-r0) (36/46) Installing py3-py (1.11.0-r2) (37/46) Installing py3-py-pyc (1.11.0-r2) (38/46) Installing py3-pytest (7.4.2-r0) (39/46) Installing py3-pytest-pyc (7.4.2-r0) (40/46) Installing py3-httpretty (1.1.4-r2) (41/46) Installing py3-httpretty-pyc (1.1.4-r2) (42/46) Installing py3-six (1.16.0-r7) (43/46) Installing py3-six-pyc (1.16.0-r7) (44/46) Installing py3-requests-mock (1.11.0-r0) (45/46) Installing py3-requests-mock-pyc (1.11.0-r0) (46/46) Installing .makedepends-py3-pyzabbix (20231024.202950) Executing busybox-1.36.1-r13.trigger OK: 483 MiB in 148 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.19/py3-pyzabbix-1.3.0.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 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> py3-pyzabbix: Fetching py3-pyzabbix-1.3.0.tar.gz::https://github.com/lukecyca/pyzabbix/archive/1.3.0.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 18545 0 18545 0 0 40262 0 --:--:-- --:--:-- --:--:-- 40262 >>> py3-pyzabbix: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19/py3-pyzabbix-1.3.0.tar.gz >>> py3-pyzabbix: Checking sha512sums... py3-pyzabbix-1.3.0.tar.gz: OK >>> py3-pyzabbix: Unpacking /var/cache/distfiles/v3.19/py3-pyzabbix-1.3.0.tar.gz... running build running build_py creating build creating build/lib creating build/lib/pyzabbix copying pyzabbix/api.py -> build/lib/pyzabbix copying pyzabbix/__init__.py -> build/lib/pyzabbix copying pyzabbix/py.typed -> build/lib/pyzabbix ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.2, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /home/buildozer/aports/community/py3-pyzabbix/src/pyzabbix-1.3.0 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.18s ============================== >>> py3-pyzabbix: Entering fakeroot... running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /home/buildozer/aports/community/py3-pyzabbix/pkg creating /home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix creating /home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix/usr creating /home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix/usr/lib creating /home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix/usr/lib/python3.11 creating /home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix/usr/lib/python3.11/site-packages creating /home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix/usr/lib/python3.11/site-packages/pyzabbix copying build/lib/pyzabbix/api.py -> /home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix/usr/lib/python3.11/site-packages/pyzabbix copying build/lib/pyzabbix/__init__.py -> /home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix/usr/lib/python3.11/site-packages/pyzabbix copying build/lib/pyzabbix/py.typed -> /home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix/usr/lib/python3.11/site-packages/pyzabbix byte-compiling /home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix/usr/lib/python3.11/site-packages/pyzabbix/api.py to api.cpython-311.pyc byte-compiling /home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix/usr/lib/python3.11/site-packages/pyzabbix/__init__.py to __init__.cpython-311.pyc running install_egg_info running egg_info creating pyzabbix.egg-info writing pyzabbix.egg-info/PKG-INFO writing dependency_links to pyzabbix.egg-info/dependency_links.txt writing requirements to pyzabbix.egg-info/requires.txt writing top-level names to pyzabbix.egg-info/top_level.txt writing manifest file 'pyzabbix.egg-info/SOURCES.txt' reading manifest file 'pyzabbix.egg-info/SOURCES.txt' writing manifest file 'pyzabbix.egg-info/SOURCES.txt' Copying pyzabbix.egg-info to /home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix/usr/lib/python3.11/site-packages/pyzabbix-1.3.0-py3.11.egg-info running install_scripts >>> py3-pyzabbix-pyc*: Running split function pyc... '/home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix/usr/lib/python3.11/site-packages/pyzabbix/__pycache__' -> '/home/buildozer/aports/community/py3-pyzabbix/pkg/py3-pyzabbix-pyc/usr/lib/python3.11/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.11 >>> 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.0-r0.apk >>> py3-pyzabbix*: Tracing dependencies... python3 py3-requests py3-semantic-version python3~3.11 >>> py3-pyzabbix*: Package size: 72.0 KB >>> py3-pyzabbix*: Compressing data... >>> py3-pyzabbix*: Create checksum... >>> py3-pyzabbix*: Create py3-pyzabbix-1.3.0-r0.apk >>> py3-pyzabbix: Build complete at Tue, 24 Oct 2023 20:29:54 +0000 elapsed time 0h 0m 22s >>> py3-pyzabbix: Cleaning up srcdir >>> py3-pyzabbix: Cleaning up pkgdir >>> py3-pyzabbix: Uninstalling dependencies... (1/46) Purging .makedepends-py3-pyzabbix (20231024.202950) (2/46) Purging py3-semantic-version-pyc (2.10.0-r2) (3/46) Purging py3-semantic-version (2.10.0-r2) (4/46) Purging python3-dev (3.11.6-r1) (5/46) Purging py3-setuptools-pyc (68.2.2-r0) (6/46) Purging py3-setuptools (68.2.2-r0) (7/46) Purging py3-pytest-pyc (7.4.2-r0) (8/46) Purging py3-pytest (7.4.2-r0) (9/46) Purging py3-iniconfig-pyc (1.1.1-r6) (10/46) Purging py3-iniconfig (1.1.1-r6) (11/46) Purging py3-packaging-pyc (23.2-r0) (12/46) Purging py3-packaging (23.2-r0) (13/46) Purging py3-parsing-pyc (3.1.1-r0) (14/46) Purging py3-parsing (3.1.1-r0) (15/46) Purging py3-pluggy-pyc (1.3.0-r0) (16/46) Purging py3-pluggy (1.3.0-r0) (17/46) Purging py3-py-pyc (1.11.0-r2) (18/46) Purging py3-py (1.11.0-r2) (19/46) Purging py3-httpretty-pyc (1.1.4-r2) (20/46) Purging py3-httpretty (1.1.4-r2) (21/46) Purging py3-requests-mock-pyc (1.11.0-r0) (22/46) Purging py3-requests-mock (1.11.0-r0) (23/46) Purging py3-requests-pyc (2.31.0-r1) (24/46) Purging py3-requests (2.31.0-r1) (25/46) Purging py3-certifi-pyc (2023.7.22-r0) (26/46) Purging py3-certifi (2023.7.22-r0) (27/46) Purging py3-charset-normalizer-pyc (3.3.1-r0) (28/46) Purging py3-charset-normalizer (3.3.1-r0) (29/46) Purging py3-idna-pyc (3.4-r4) (30/46) Purging py3-idna (3.4-r4) (31/46) Purging py3-urllib3-pyc (1.26.18-r0) (32/46) Purging py3-urllib3 (1.26.18-r0) (33/46) Purging py3-six-pyc (1.16.0-r7) (34/46) Purging py3-six (1.16.0-r7) (35/46) Purging python3-pyc (3.11.6-r1) (36/46) Purging python3-pycache-pyc0 (3.11.6-r1) (37/46) Purging pyc (3.11.6-r1) (38/46) Purging python3 (3.11.6-r1) (39/46) Purging gdbm (1.23-r1) (40/46) Purging libbz2 (1.0.8-r6) (41/46) Purging libffi (3.4.4-r3) (42/46) Purging libpanelw (6.4_p20231007-r0) (43/46) Purging mpdecimal (2.5.1-r2) (44/46) Purging readline (8.2.1-r2) (45/46) Purging sqlite-libs (3.43.2-r0) (46/46) Purging xz-libs (5.4.4-r0) Executing busybox-1.36.1-r13.trigger OK: 376 MiB in 102 packages >>> py3-pyzabbix: Updating the community/x86 repository index... >>> py3-pyzabbix: Signing the index...