>>> py3-pyzabbix: Building community/py3-pyzabbix 1.3.1-r1 (using abuild 3.14.0-r0) started Fri, 18 Oct 2024 08:09:29 +0000 >>> py3-pyzabbix: Validating /home/buildozer/aports/community/py3-pyzabbix/APKBUILD... >>> WARNING: py3-pyzabbix: Setting the maintainer with a comment is deprecated. Use maintainer="Kevin Daudt " instead >>> py3-pyzabbix: Analyzing dependencies... >>> py3-pyzabbix: Installing for build: build-base python3 py3-requests py3-semantic-version python3-dev py3-gpep517 py3-setuptools py3-wheel py3-pytest py3-httpretty py3-requests-mock (1/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-r0) (7/51) Installing sqlite-libs (3.46.1-r0) (8/51) Installing python3 (3.12.7-r0) (9/51) Installing python3-pycache-pyc0 (3.12.7-r0) (10/51) Installing pyc (3.12.7-r0) (11/51) Installing python3-pyc (3.12.7-r0) (12/51) Installing py3-certifi (2024.8.30-r0) (13/51) Installing py3-certifi-pyc (2024.8.30-r0) (14/51) Installing py3-charset-normalizer (3.3.2-r1) (15/51) Installing py3-charset-normalizer-pyc (3.3.2-r1) (16/51) Installing py3-idna (3.10-r0) (17/51) Installing py3-idna-pyc (3.10-r0) (18/51) Installing py3-urllib3 (1.26.20-r0) (19/51) Installing py3-urllib3-pyc (1.26.20-r0) (20/51) Installing py3-requests (2.32.3-r0) (21/51) Installing py3-requests-pyc (2.32.3-r0) (22/51) Installing py3-semantic-version (2.10.0-r3) (23/51) Installing py3-semantic-version-pyc (2.10.0-r3) (24/51) Installing python3-dev (3.12.7-r0) (25/51) Installing py3-installer (0.7.0-r2) (26/51) Installing py3-installer-pyc (0.7.0-r2) (27/51) Installing py3-gpep517 (16-r0) (28/51) Installing py3-gpep517-pyc (16-r0) (29/51) Installing py3-parsing (3.1.4-r0) (30/51) Installing py3-parsing-pyc (3.1.4-r0) (31/51) Installing py3-packaging (24.1-r0) (32/51) Installing py3-packaging-pyc (24.1-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.3-r0) (44/51) Installing py3-pytest-pyc (8.3.3-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 (20241018.080948) Executing busybox-1.36.1-r32.trigger OK: 531 MiB in 151 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 >>> 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/py3-pyzabbix-1.3.1.tar.gz... 2024-10-18 08:09:51,265 gpep517 INFO Building wheel via backend setuptools.build_meta 2024-10-18 08:09:51,286 root INFO running bdist_wheel 2024-10-18 08:09:51,314 root INFO running build 2024-10-18 08:09:51,314 root INFO running build_py 2024-10-18 08:09:51,319 root INFO creating build 2024-10-18 08:09:51,319 root INFO creating build/lib 2024-10-18 08:09:51,319 root INFO creating build/lib/pyzabbix 2024-10-18 08:09:51,320 root INFO copying pyzabbix/__init__.py -> build/lib/pyzabbix 2024-10-18 08:09:51,320 root INFO copying pyzabbix/api.py -> build/lib/pyzabbix 2024-10-18 08:09:51,321 root INFO copying pyzabbix/py.typed -> build/lib/pyzabbix 2024-10-18 08:09:51,330 root INFO installing to build/bdist.linux-loongarch64/wheel 2024-10-18 08:09:51,330 root INFO running install 2024-10-18 08:09:51,343 root INFO running install_lib 2024-10-18 08:09:51,347 root INFO creating build/bdist.linux-loongarch64 2024-10-18 08:09:51,348 root INFO creating build/bdist.linux-loongarch64/wheel 2024-10-18 08:09:51,348 root INFO creating build/bdist.linux-loongarch64/wheel/pyzabbix 2024-10-18 08:09:51,348 root INFO copying build/lib/pyzabbix/py.typed -> build/bdist.linux-loongarch64/wheel/pyzabbix 2024-10-18 08:09:51,348 root INFO copying build/lib/pyzabbix/__init__.py -> build/bdist.linux-loongarch64/wheel/pyzabbix 2024-10-18 08:09:51,349 root INFO copying build/lib/pyzabbix/api.py -> build/bdist.linux-loongarch64/wheel/pyzabbix 2024-10-18 08:09:51,349 root INFO running install_egg_info 2024-10-18 08:09:51,353 root INFO running egg_info 2024-10-18 08:09:51,353 root INFO creating pyzabbix.egg-info 2024-10-18 08:09:51,356 root INFO writing pyzabbix.egg-info/PKG-INFO 2024-10-18 08:09:51,358 root INFO writing dependency_links to pyzabbix.egg-info/dependency_links.txt 2024-10-18 08:09:51,359 root INFO writing requirements to pyzabbix.egg-info/requires.txt 2024-10-18 08:09:51,360 root INFO writing top-level names to pyzabbix.egg-info/top_level.txt 2024-10-18 08:09:51,360 root INFO writing manifest file 'pyzabbix.egg-info/SOURCES.txt' 2024-10-18 08:09:51,364 root INFO reading manifest file 'pyzabbix.egg-info/SOURCES.txt' 2024-10-18 08:09:51,365 root INFO writing manifest file 'pyzabbix.egg-info/SOURCES.txt' 2024-10-18 08:09:51,365 root INFO Copying pyzabbix.egg-info to build/bdist.linux-loongarch64/wheel/pyzabbix-1.3.1-py3.12.egg-info 2024-10-18 08:09:51,367 root INFO running install_scripts 2024-10-18 08:09:51,370 root INFO creating build/bdist.linux-loongarch64/wheel/pyzabbix-1.3.1.dist-info/WHEEL 2024-10-18 08:09:51,371 wheel INFO creating '/home/buildozer/aports/community/py3-pyzabbix/src/pyzabbix-1.3.1/.dist/.tmp-26mgbtv7/pyzabbix-1.3.1-py3-none-any.whl' and adding 'build/bdist.linux-loongarch64/wheel' to it 2024-10-18 08:09:51,371 wheel INFO adding 'pyzabbix/__init__.py' 2024-10-18 08:09:51,372 wheel INFO adding 'pyzabbix/api.py' 2024-10-18 08:09:51,372 wheel INFO adding 'pyzabbix/py.typed' 2024-10-18 08:09:51,373 wheel INFO adding 'pyzabbix-1.3.1.dist-info/METADATA' 2024-10-18 08:09:51,373 wheel INFO adding 'pyzabbix-1.3.1.dist-info/WHEEL' 2024-10-18 08:09:51,373 wheel INFO adding 'pyzabbix-1.3.1.dist-info/top_level.txt' 2024-10-18 08:09:51,373 wheel INFO adding 'pyzabbix-1.3.1.dist-info/RECORD' 2024-10-18 08:09:51,373 root INFO removing build/bdist.linux-loongarch64/wheel 2024-10-18 08:09:51,374 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.7, pytest-8.3.3, 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.14s ============================== >>> 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-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-r1.apk >>> py3-pyzabbix*: Tracing dependencies... python3 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-r1.apk >>> py3-pyzabbix: Build complete at Fri, 18 Oct 2024 08:09:52 +0000 elapsed time 0h 0m 23s >>> py3-pyzabbix: Cleaning up srcdir >>> py3-pyzabbix: Cleaning up pkgdir >>> py3-pyzabbix: Uninstalling dependencies... (1/51) Purging .makedepends-py3-pyzabbix (20241018.080948) (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.7-r0) (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.3-r0) (14/51) Purging py3-pytest (8.3.3-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.1-r0) (18/51) Purging py3-packaging (24.1-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.3.2-r1) (34/51) Purging py3-charset-normalizer (3.3.2-r1) (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.7-r0) (42/51) Purging python3-pycache-pyc0 (3.12.7-r0) (43/51) Purging pyc (3.12.7-r0) (44/51) Purging python3 (3.12.7-r0) (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-r0) (49/51) Purging mpdecimal (4.0.0-r0) (50/51) Purging sqlite-libs (3.46.1-r0) (51/51) Purging xz-libs (5.6.3-r0) Executing busybox-1.36.1-r32.trigger OK: 243 MiB in 100 packages >>> py3-pyzabbix: Updating the community/loongarch64 repository index... >>> py3-pyzabbix: Signing the index...