>>> py3-swagger-spec-validator: Building community/py3-swagger-spec-validator 3.0.4-r3 (using abuild 3.13.0-r3) started Fri, 05 Jul 2024 04:45:32 +0000 >>> py3-swagger-spec-validator: Checking sanity of /home/buildozer/aports/community/py3-swagger-spec-validator/APKBUILD... >>> py3-swagger-spec-validator: Analyzing dependencies... >>> py3-swagger-spec-validator: Installing for build: build-base py3-jsonschema py3-yaml py3-typing-extensions py3-importlib-resources py3-setuptools py3-gpep517 py3-wheel py3-pytest (1/50) Installing libbz2 (1.0.8-r6) (2/50) Installing libffi (3.4.6-r0) (3/50) Installing gdbm (1.24-r0) (4/50) Installing xz-libs (5.6.2-r0) (5/50) Installing mpdecimal (4.0.0-r0) (6/50) Installing libpanelw (6.5_p20240601-r0) (7/50) Installing readline (8.2.10-r0) (8/50) Installing sqlite-libs (3.46.0-r0) (9/50) Installing python3 (3.12.3-r1) (10/50) Installing python3-pycache-pyc0 (3.12.3-r1) (11/50) Installing pyc (3.12.3-r1) (12/50) Installing py3-rpds-py (0.18.1_git20240605-r0) (13/50) Installing py3-rpds-py-pyc (0.18.1_git20240605-r0) (14/50) Installing py3-referencing (0.35.1-r0) (15/50) Installing py3-referencing-pyc (0.35.1-r0) (16/50) Installing py3-jsonschema-specifications (2023.12.1-r1) (17/50) Installing py3-jsonschema-specifications-pyc (2023.12.1-r1) (18/50) Installing py3-jsonschema-pyc (4.22.0-r0) (19/50) Installing py3-attrs-pyc (23.2.0-r1) (20/50) Installing python3-pyc (3.12.3-r1) (21/50) Installing py3-attrs (23.2.0-r1) (22/50) Installing py3-jsonschema (4.22.0-r0) (23/50) Installing yaml (0.2.5-r2) (24/50) Installing py3-yaml (6.0.1-r3) (25/50) Installing py3-yaml-pyc (6.0.1-r3) (26/50) Installing py3-typing-extensions (4.12.2-r0) (27/50) Installing py3-typing-extensions-pyc (4.12.2-r0) (28/50) Installing py3-importlib-resources (6.1.1-r1) (29/50) Installing py3-importlib-resources-pyc (6.1.1-r1) (30/50) Installing py3-parsing (3.1.2-r1) (31/50) Installing py3-parsing-pyc (3.1.2-r1) (32/50) Installing py3-packaging (24.1-r0) (33/50) Installing py3-packaging-pyc (24.1-r0) (34/50) Installing py3-setuptools (70.1.1-r0) (35/50) Installing py3-setuptools-pyc (70.1.1-r0) (36/50) Installing py3-installer (0.7.0-r2) (37/50) Installing py3-installer-pyc (0.7.0-r2) (38/50) Installing py3-gpep517 (16-r0) (39/50) Installing py3-gpep517-pyc (16-r0) (40/50) Installing py3-wheel (0.42.0-r1) (41/50) Installing py3-wheel-pyc (0.42.0-r1) (42/50) Installing py3-iniconfig (2.0.0-r1) (43/50) Installing py3-iniconfig-pyc (2.0.0-r1) (44/50) Installing py3-pluggy (1.5.0-r0) (45/50) Installing py3-pluggy-pyc (1.5.0-r0) (46/50) Installing py3-py (1.11.0-r3) (47/50) Installing py3-py-pyc (1.11.0-r3) (48/50) Installing py3-pytest (8.2.2-r0) (49/50) Installing py3-pytest-pyc (8.2.2-r0) (50/50) Installing .makedepends-py3-swagger-spec-validator (20240705.044533) Executing busybox-1.36.1-r31.trigger OK: 325 MiB in 153 packages >>> py3-swagger-spec-validator: Cleaning up srcdir >>> py3-swagger-spec-validator: Cleaning up pkgdir >>> py3-swagger-spec-validator: Cleaning up tmpdir >>> py3-swagger-spec-validator: Fetching https://distfiles.alpinelinux.org/distfiles/edge/py3-swagger-spec-validator-3.0.4-gh.tar.gz >>> py3-swagger-spec-validator: Fetching https://distfiles.alpinelinux.org/distfiles/edge/py3-swagger-spec-validator-3.0.4-gh.tar.gz >>> py3-swagger-spec-validator: Checking sha512sums... py3-swagger-spec-validator-3.0.4-gh.tar.gz: OK >>> py3-swagger-spec-validator: Unpacking /var/cache/distfiles/edge/py3-swagger-spec-validator-3.0.4-gh.tar.gz... 2024-07-05 04:45:34,568 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ 2024-07-05 04:45:34,582 root INFO running bdist_wheel 2024-07-05 04:45:34,592 root WARNING The [wheel] section is deprecated. Use [bdist_wheel] instead. 2024-07-05 04:45:34,600 root INFO running build 2024-07-05 04:45:34,600 root INFO running build_py 2024-07-05 04:45:34,603 root INFO creating build 2024-07-05 04:45:34,603 root INFO creating build/lib 2024-07-05 04:45:34,603 root INFO creating build/lib/swagger_spec_validator 2024-07-05 04:45:34,603 root INFO copying swagger_spec_validator/__init__.py -> build/lib/swagger_spec_validator 2024-07-05 04:45:34,603 root INFO copying swagger_spec_validator/ref_validators.py -> build/lib/swagger_spec_validator 2024-07-05 04:45:34,604 root INFO copying swagger_spec_validator/util.py -> build/lib/swagger_spec_validator 2024-07-05 04:45:34,604 root INFO copying swagger_spec_validator/validator12.py -> build/lib/swagger_spec_validator 2024-07-05 04:45:34,604 root INFO copying swagger_spec_validator/validator20.py -> build/lib/swagger_spec_validator 2024-07-05 04:45:34,604 root INFO copying swagger_spec_validator/__about__.py -> build/lib/swagger_spec_validator 2024-07-05 04:45:34,604 root INFO copying swagger_spec_validator/common.py -> build/lib/swagger_spec_validator 2024-07-05 04:45:34,605 root INFO running egg_info 2024-07-05 04:45:34,605 root INFO creating swagger_spec_validator.egg-info 2024-07-05 04:45:34,606 root INFO writing swagger_spec_validator.egg-info/PKG-INFO 2024-07-05 04:45:34,607 root INFO writing dependency_links to swagger_spec_validator.egg-info/dependency_links.txt 2024-07-05 04:45:34,607 root INFO writing requirements to swagger_spec_validator.egg-info/requires.txt 2024-07-05 04:45:34,607 root INFO writing top-level names to swagger_spec_validator.egg-info/top_level.txt 2024-07-05 04:45:34,607 root INFO writing manifest file 'swagger_spec_validator.egg-info/SOURCES.txt' 2024-07-05 04:45:34,610 root INFO reading manifest file 'swagger_spec_validator.egg-info/SOURCES.txt' 2024-07-05 04:45:34,610 root INFO reading manifest template 'MANIFEST.in' 2024-07-05 04:45:34,610 root INFO adding license file 'LICENSE.txt' 2024-07-05 04:45:34,611 root INFO writing manifest file 'swagger_spec_validator.egg-info/SOURCES.txt' /usr/lib/python3.12/site-packages/setuptools/command/build_py.py:215: _Warning: Package 'swagger_spec_validator.schemas' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'swagger_spec_validator.schemas' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'swagger_spec_validator.schemas' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'swagger_spec_validator.schemas' to be distributed and are already explicitly excluding 'swagger_spec_validator.schemas' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) 2024-07-05 04:45:34,612 root INFO copying swagger_spec_validator/py.typed -> build/lib/swagger_spec_validator 2024-07-05 04:45:34,612 root INFO creating build/lib/swagger_spec_validator/schemas 2024-07-05 04:45:34,612 root INFO creating build/lib/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,613 root INFO copying swagger_spec_validator/schemas/v1.2/apiDeclaration.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,613 root INFO copying swagger_spec_validator/schemas/v1.2/authorizationObject.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,613 root INFO copying swagger_spec_validator/schemas/v1.2/dataType.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,613 root INFO copying swagger_spec_validator/schemas/v1.2/dataTypeBase.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,613 root INFO copying swagger_spec_validator/schemas/v1.2/infoObject.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,614 root INFO copying swagger_spec_validator/schemas/v1.2/modelsObject.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,614 root INFO copying swagger_spec_validator/schemas/v1.2/oauth2GrantType.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,614 root INFO copying swagger_spec_validator/schemas/v1.2/operationObject.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,614 root INFO copying swagger_spec_validator/schemas/v1.2/parameterObject.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,614 root INFO copying swagger_spec_validator/schemas/v1.2/resourceListing.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,614 root INFO copying swagger_spec_validator/schemas/v1.2/resourceObject.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,615 root INFO creating build/lib/swagger_spec_validator/schemas/v2.0 2024-07-05 04:45:34,615 root INFO copying swagger_spec_validator/schemas/v2.0/schema.json -> build/lib/swagger_spec_validator/schemas/v2.0 2024-07-05 04:45:34,620 root INFO installing to build/bdist.linux-armv8l/wheel 2024-07-05 04:45:34,620 root INFO running install 2024-07-05 04:45:34,629 root INFO running install_lib 2024-07-05 04:45:34,631 root INFO creating build/bdist.linux-armv8l 2024-07-05 04:45:34,632 root INFO creating build/bdist.linux-armv8l/wheel 2024-07-05 04:45:34,632 root INFO creating build/bdist.linux-armv8l/wheel/swagger_spec_validator 2024-07-05 04:45:34,632 root INFO copying build/lib/swagger_spec_validator/__init__.py -> build/bdist.linux-armv8l/wheel/swagger_spec_validator 2024-07-05 04:45:34,632 root INFO copying build/lib/swagger_spec_validator/ref_validators.py -> build/bdist.linux-armv8l/wheel/swagger_spec_validator 2024-07-05 04:45:34,632 root INFO creating build/bdist.linux-armv8l/wheel/swagger_spec_validator/schemas 2024-07-05 04:45:34,632 root INFO creating build/bdist.linux-armv8l/wheel/swagger_spec_validator/schemas/v2.0 2024-07-05 04:45:34,633 root INFO copying build/lib/swagger_spec_validator/schemas/v2.0/schema.json -> build/bdist.linux-armv8l/wheel/swagger_spec_validator/schemas/v2.0 2024-07-05 04:45:34,633 root INFO creating build/bdist.linux-armv8l/wheel/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,633 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/infoObject.json -> build/bdist.linux-armv8l/wheel/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,633 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/operationObject.json -> build/bdist.linux-armv8l/wheel/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,633 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/apiDeclaration.json -> build/bdist.linux-armv8l/wheel/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,634 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/dataType.json -> build/bdist.linux-armv8l/wheel/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,634 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/oauth2GrantType.json -> build/bdist.linux-armv8l/wheel/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,634 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/resourceObject.json -> build/bdist.linux-armv8l/wheel/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,634 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/resourceListing.json -> build/bdist.linux-armv8l/wheel/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,634 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/parameterObject.json -> build/bdist.linux-armv8l/wheel/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,635 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/authorizationObject.json -> build/bdist.linux-armv8l/wheel/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,635 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/modelsObject.json -> build/bdist.linux-armv8l/wheel/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,635 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/dataTypeBase.json -> build/bdist.linux-armv8l/wheel/swagger_spec_validator/schemas/v1.2 2024-07-05 04:45:34,635 root INFO copying build/lib/swagger_spec_validator/util.py -> build/bdist.linux-armv8l/wheel/swagger_spec_validator 2024-07-05 04:45:34,635 root INFO copying build/lib/swagger_spec_validator/py.typed -> build/bdist.linux-armv8l/wheel/swagger_spec_validator 2024-07-05 04:45:34,635 root INFO copying build/lib/swagger_spec_validator/validator12.py -> build/bdist.linux-armv8l/wheel/swagger_spec_validator 2024-07-05 04:45:34,635 root INFO copying build/lib/swagger_spec_validator/validator20.py -> build/bdist.linux-armv8l/wheel/swagger_spec_validator 2024-07-05 04:45:34,636 root INFO copying build/lib/swagger_spec_validator/__about__.py -> build/bdist.linux-armv8l/wheel/swagger_spec_validator 2024-07-05 04:45:34,636 root INFO copying build/lib/swagger_spec_validator/common.py -> build/bdist.linux-armv8l/wheel/swagger_spec_validator 2024-07-05 04:45:34,636 root INFO running install_egg_info 2024-07-05 04:45:34,639 root INFO Copying swagger_spec_validator.egg-info to build/bdist.linux-armv8l/wheel/swagger_spec_validator-3.0.4-py3.12.egg-info 2024-07-05 04:45:34,639 root INFO running install_scripts 2024-07-05 04:45:34,641 root INFO creating build/bdist.linux-armv8l/wheel/swagger_spec_validator-3.0.4.dist-info/WHEEL 2024-07-05 04:45:34,642 wheel INFO creating '/home/buildozer/aports/community/py3-swagger-spec-validator/src/swagger_spec_validator-3.0.4/.dist/.tmp-vrj_lsan/swagger_spec_validator-3.0.4-py2.py3-none-any.whl' and adding 'build/bdist.linux-armv8l/wheel' to it 2024-07-05 04:45:34,642 wheel INFO adding 'swagger_spec_validator/__about__.py' 2024-07-05 04:45:34,642 wheel INFO adding 'swagger_spec_validator/__init__.py' 2024-07-05 04:45:34,642 wheel INFO adding 'swagger_spec_validator/common.py' 2024-07-05 04:45:34,643 wheel INFO adding 'swagger_spec_validator/py.typed' 2024-07-05 04:45:34,643 wheel INFO adding 'swagger_spec_validator/ref_validators.py' 2024-07-05 04:45:34,643 wheel INFO adding 'swagger_spec_validator/util.py' 2024-07-05 04:45:34,643 wheel INFO adding 'swagger_spec_validator/validator12.py' 2024-07-05 04:45:34,643 wheel INFO adding 'swagger_spec_validator/validator20.py' 2024-07-05 04:45:34,644 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/apiDeclaration.json' 2024-07-05 04:45:34,644 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/authorizationObject.json' 2024-07-05 04:45:34,644 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/dataType.json' 2024-07-05 04:45:34,644 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/dataTypeBase.json' 2024-07-05 04:45:34,644 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/infoObject.json' 2024-07-05 04:45:34,645 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/modelsObject.json' 2024-07-05 04:45:34,645 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/oauth2GrantType.json' 2024-07-05 04:45:34,645 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/operationObject.json' 2024-07-05 04:45:34,645 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/parameterObject.json' 2024-07-05 04:45:34,645 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/resourceListing.json' 2024-07-05 04:45:34,645 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/resourceObject.json' 2024-07-05 04:45:34,646 wheel INFO adding 'swagger_spec_validator/schemas/v2.0/schema.json' 2024-07-05 04:45:34,646 wheel INFO adding 'swagger_spec_validator-3.0.4.dist-info/LICENSE.txt' 2024-07-05 04:45:34,646 wheel INFO adding 'swagger_spec_validator-3.0.4.dist-info/METADATA' 2024-07-05 04:45:34,646 wheel INFO adding 'swagger_spec_validator-3.0.4.dist-info/WHEEL' 2024-07-05 04:45:34,647 wheel INFO adding 'swagger_spec_validator-3.0.4.dist-info/top_level.txt' 2024-07-05 04:45:34,647 wheel INFO adding 'swagger_spec_validator-3.0.4.dist-info/RECORD' 2024-07-05 04:45:34,647 root INFO removing build/bdist.linux-armv8l/wheel 2024-07-05 04:45:34,648 gpep517 INFO The backend produced .dist/swagger_spec_validator-3.0.4-py2.py3-none-any.whl swagger_spec_validator-3.0.4-py2.py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 -- /home/buildozer/aports/community/py3-swagger-spec-validator/src/swagger_spec_validator-3.0.4/.testenv/bin/python3 cachedir: .pytest_cache rootdir: /home/buildozer/aports/community/py3-swagger-spec-validator/src/swagger_spec_validator-3.0.4 collecting ... collected 166 items / 3 deselected / 163 selected tests/common_test.py::test_read_file PASSED [ 0%] tests/common_test.py::test_read_resource_file PASSED [ 1%] tests/util/get_validator_test.py::test_version_missing PASSED [ 1%] tests/util/get_validator_test.py::test_1_dot_x_version_not_supported PASSED [ 2%] tests/util/get_validator_test.py::test_2_dot_x_version_not_supported PASSED [ 3%] tests/util/get_validator_test.py::test_both_swagger_1_dot_x_and_2_dot_x_version_keys_found PASSED [ 3%] tests/util/get_validator_test.py::test_success_12 PASSED [ 4%] tests/util/get_validator_test.py::test_success_20 PASSED [ 4%] tests/util/validate_spec_url_test.py::test_validate_spec_url_success PASSED [ 5%] tests/validator12/get_resource_path_test.py::test_fetch_from_file_uri_success PASSED [ 6%] tests/validator12/get_resource_path_test.py::test_fetch_from_http_uri_success PASSED [ 6%] tests/validator12/get_resource_path_test.py::test_fetch_from_bad_file_uri_fail PASSED [ 7%] tests/validator12/run_test.py::test_main PASSED [ 7%] tests/validator12/validate_json_test.py::test_success PASSED [ 8%] tests/validator12/validate_json_test.py::test_failure PASSED [ 9%] tests/validator12/validate_spec_test.py::test_http_success PASSED [ 9%] tests/validator12/validate_spec_test.py::test_file_uri_success PASSED [ 10%] tests/validator12/validate_spec_test.py::test_validate_parameter_type_file_in_form PASSED [ 11%] tests/validator12/validate_spec_test.py::test_validate_parameter_type_file_in_body PASSED [ 11%] tests/validator12/validate_spec_test.py::test_validate_data_type_is_model PASSED [ 12%] tests/validator12/validate_spec_test.py::test_validate_model_matches_id PASSED [ 12%] tests/validator12/validate_spec_url_test.py::test_http_success PASSED [ 13%] tests/validator12/validate_spec_url_test.py::test_file_uri_success PASSED [ 14%] tests/validator20/deref_test.py::test_none PASSED [ 14%] tests/validator20/deref_test.py::test_not_dict PASSED [ 15%] tests/validator20/deref_test.py::test_not_ref PASSED [ 15%] tests/validator20/deref_test.py::test_ref PASSED [ 16%] tests/validator20/deref_test.py::test_ref_not_found PASSED [ 17%] tests/validator20/get_collapsed_properties_map_test.py::test_get_collapsed_properties_type_mapping_simple_case PASSED [ 17%] tests/validator20/get_collapsed_properties_map_test.py::test_get_collapsed_properties_type_mapping_allOf_add_required_property PASSED [ 18%] tests/validator20/get_collapsed_properties_map_test.py::test_get_collapsed_properties_type_mapping_allOf_add_not_required_property PASSED [ 19%] tests/validator20/validate_apis_test.py::test_api_level_params_ok PASSED [ 19%] tests/validator20/validate_apis_test.py::test_api_level_x_hyphen_ok PASSED [ 20%] tests/validator20/validate_apis_test.py::test_api_check_default_succeed[partial_parameter_spec0] PASSED [ 20%] tests/validator20/validate_apis_test.py::test_api_check_default_succeed[partial_parameter_spec1] PASSED [ 21%] tests/validator20/validate_apis_test.py::test_api_check_default_succeed[partial_parameter_spec2] PASSED [ 22%] tests/validator20/validate_apis_test.py::test_api_check_default_succeed[partial_parameter_spec3] PASSED [ 22%] tests/validator20/validate_apis_test.py::test_api_check_default_succeed[partial_parameter_spec4] PASSED [ 23%] tests/validator20/validate_apis_test.py::test_api_check_default_succeed[partial_parameter_spec5] PASSED [ 23%] tests/validator20/validate_apis_test.py::test_api_check_default_succeed[partial_parameter_spec6] PASSED [ 24%] tests/validator20/validate_apis_test.py::test_api_check_default_succeed[partial_parameter_spec7] PASSED [ 25%] tests/validator20/validate_apis_test.py::test_api_check_default_succeed[partial_parameter_spec8] PASSED [ 25%] tests/validator20/validate_apis_test.py::test_api_check_default_succeed[partial_parameter_spec9] PASSED [ 26%] tests/validator20/validate_apis_test.py::test_api_check_default_succeed[partial_parameter_spec10] PASSED [ 26%] tests/validator20/validate_apis_test.py::test_api_check_default_fails[partial_parameter_spec0-type-wrong_type] PASSED [ 27%] tests/validator20/validate_apis_test.py::test_api_check_default_fails[partial_parameter_spec1-type-wrong_type] PASSED [ 28%] tests/validator20/validate_apis_test.py::test_api_check_default_fails[partial_parameter_spec2-type-wrong_type] PASSED [ 28%] tests/validator20/validate_apis_test.py::test_api_check_default_fails[partial_parameter_spec3-type-wrong_type] PASSED [ 29%] tests/validator20/validate_apis_test.py::test_api_check_default_fails[partial_parameter_spec4-type-wrong_type] PASSED [ 30%] tests/validator20/validate_apis_test.py::test_api_check_default_fails[partial_parameter_spec5-type-wrong_type] PASSED [ 30%] tests/validator20/validate_apis_test.py::test_api_check_default_fails[partial_parameter_spec6-type--1] PASSED [ 31%] tests/validator20/validate_apis_test.py::test_api_check_default_fails[partial_parameter_spec7-minLength-short_string] PASSED [ 31%] tests/validator20/validate_apis_test.py::test_api_check_default_fails[partial_parameter_spec8-type-not_a_number_or_boolean] PASSED [ 32%] tests/validator20/validate_apis_test.py::test_validate_defaults_in_parameters_succeed PASSED [ 33%] tests/validator20/validate_apis_test.py::test_validate_defaults_in_parameters_fails PASSED [ 33%] tests/validator20/validate_apis_test.py::test_duplicate_operationIds_fails[apis0] PASSED [ 34%] tests/validator20/validate_apis_test.py::test_duplicate_operationIds_fails[apis1] PASSED [ 34%] tests/validator20/validate_apis_test.py::test_duplicate_operationIds_fails[apis2] PASSED [ 35%] tests/validator20/validate_apis_test.py::test_duplicate_operationIds_fails_if_tags_differ[apis0] PASSED [ 36%] tests/validator20/validate_apis_test.py::test_invalid_inline_models_in_responses_fails PASSED [ 36%] tests/validator20/validate_apis_test.py::test_invalid_inline_models_in_operation_body_parameters_fails PASSED [ 37%] tests/validator20/validate_apis_test.py::test_invalid_inline_models_in_api_body_parameters_fails PASSED [ 38%] tests/validator20/validate_definitions_test.py::test_api_check_default_succeed[property_spec0] PASSED [ 38%] tests/validator20/validate_definitions_test.py::test_api_check_default_succeed[property_spec1] PASSED [ 39%] tests/validator20/validate_definitions_test.py::test_api_check_default_succeed[property_spec2] PASSED [ 39%] tests/validator20/validate_definitions_test.py::test_api_check_default_succeed[property_spec3] PASSED [ 40%] tests/validator20/validate_definitions_test.py::test_api_check_default_succeed[property_spec4] PASSED [ 41%] tests/validator20/validate_definitions_test.py::test_api_check_default_succeed[property_spec5] PASSED [ 41%] tests/validator20/validate_definitions_test.py::test_api_check_default_succeed[property_spec6] PASSED [ 42%] tests/validator20/validate_definitions_test.py::test_api_check_default_succeed[property_spec7] PASSED [ 42%] tests/validator20/validate_definitions_test.py::test_api_check_default_succeed[property_spec8] PASSED [ 43%] tests/validator20/validate_definitions_test.py::test_api_check_default_fails[property_spec0-type-wrong_type] PASSED [ 44%] tests/validator20/validate_definitions_test.py::test_api_check_default_fails[property_spec1-type-wrong_type] PASSED [ 44%] tests/validator20/validate_definitions_test.py::test_api_check_default_fails[property_spec2-type-wrong_type] PASSED [ 45%] tests/validator20/validate_definitions_test.py::test_api_check_default_fails[property_spec3-type-wrong_type] PASSED [ 46%] tests/validator20/validate_definitions_test.py::test_api_check_default_fails[property_spec4-type-wrong_type] PASSED [ 46%] tests/validator20/validate_definitions_test.py::test_api_check_default_fails[property_spec5-type-wrong_type] PASSED [ 47%] tests/validator20/validate_definitions_test.py::test_api_check_default_fails[property_spec6-type--1] PASSED [ 47%] tests/validator20/validate_definitions_test.py::test_api_check_default_fails[property_spec7-minLength-short_string] PASSED [ 48%] tests/validator20/validate_definitions_test.py::test_multiple_types_fail PASSED [ 49%] tests/validator20/validate_definitions_test.py::test_type_array_with_items_succeed_validation PASSED [ 49%] tests/validator20/validate_definitions_test.py::test_type_array_without_items_succeed_fails PASSED [ 50%] tests/validator20/validate_definitions_test.py::test_inline_model_is_not_valid_validation_fails PASSED [ 50%] tests/validator20/validate_json_test.py::test_success PASSED [ 51%] tests/validator20/validate_json_test.py::test_failure PASSED [ 52%] tests/validator20/validate_parameters_test.py::test_valid_top_level_parameters[top_level_parameters0] PASSED [ 52%] tests/validator20/validate_parameters_test.py::test_valid_top_level_parameters[top_level_parameters1] PASSED [ 53%] tests/validator20/validate_parameters_test.py::test_valid_top_level_parameters[top_level_parameters2] PASSED [ 53%] tests/validator20/validate_parameters_test.py::test_invalid_top_level_parameters[top_level_parameters0-Body parameter in `#/parameters/Offset` does not specify `schema`.] PASSED [ 54%] tests/validator20/validate_parameters_test.py::test_invalid_top_level_parameters[top_level_parameters1-Non-Body parameter in `#/parameters/ParameterWithoutType` does not specify `type`.] PASSED [ 55%] tests/validator20/validate_parameters_test.py::test_invalid_top_level_parameters[top_level_parameters2-Non-Body array parameter in `#/parameters/ListOfIntegers` does not specify `items`.] PASSED [ 55%] tests/validator20/validate_references_test.py::test_validate_valid_references[raw_spec0] PASSED [ 56%] tests/validator20/validate_references_test.py::test_validate_valid_references[raw_spec1] PASSED [ 57%] tests/validator20/validate_references_test.py::test_validate_valid_references[raw_spec2] PASSED [ 57%] tests/validator20/validate_references_test.py::test_validate_references_to_warn[raw_spec0-expected_warning_messages0] PASSED [ 58%] tests/validator20/validate_references_test.py::test_validate_references_to_warn[raw_spec1-expected_warning_messages1] PASSED [ 58%] tests/validator20/validate_references_test.py::test_validate_references_to_warn[raw_spec2-expected_warning_messages2] PASSED [ 59%] tests/validator20/validate_references_test.py::test_validate_references_to_warn[raw_spec3-expected_warning_messages3] PASSED [ 60%] tests/validator20/validate_references_test.py::test_validate_references_to_warn[raw_spec4-expected_warning_messages4] PASSED [ 60%] tests/validator20/validate_rich_spec_test.py::test_failure_on_duplicate_api_parameters PASSED [ 61%] tests/validator20/validate_rich_spec_test.py::test_failure_on_duplicate_operation_parameters PASSED [ 61%] tests/validator20/validate_rich_spec_test.py::test_failure_on_unresolvable_path_parameter PASSED [ 62%] tests/validator20/validate_rich_spec_test.py::test_failure_on_path_parameter_used_but_not_defined PASSED [ 63%] tests/validator20/validate_rich_spec_test.py::test_failure_on_unresolvable_ref_of_props_required_list PASSED [ 63%] tests/validator20/validate_rich_spec_test.py::test_failure_on_unresolvable_model_reference_from_model PASSED [ 64%] tests/validator20/validate_rich_spec_test.py::test_failure_on_unresolvable_model_reference_from_param PASSED [ 65%] tests/validator20/validate_rich_spec_test.py::test_failure_on_unresolvable_model_reference_from_resp PASSED [ 65%] tests/validator20/validate_spec_test.py::test_success PASSED [ 66%] tests/validator20/validate_spec_test.py::test_definitons_not_present_success PASSED [ 66%] tests/validator20/validate_spec_test.py::test_empty_definitions_success PASSED [ 67%] tests/validator20/validate_spec_test.py::test_api_parameters_as_refs PASSED [ 68%] tests/validator20/validate_spec_test.py::test_fails_on_invalid_external_ref_in_dict PASSED [ 68%] tests/validator20/validate_spec_test.py::test_fails_on_invalid_external_ref_in_list PASSED [ 69%] tests/validator20/validate_spec_test.py::test_recursive_ref PASSED [ 69%] tests/validator20/validate_spec_test.py::test_recursive_ref_failure PASSED [ 70%] tests/validator20/validate_spec_test.py::test_complicated_refs PASSED [ 71%] tests/validator20/validate_spec_test.py::test_specs_with_discriminator PASSED [ 71%] tests/validator20/validate_spec_test.py::test_specs_with_discriminator_fail_because_not_required PASSED [ 72%] tests/validator20/validate_spec_test.py::test_specs_with_discriminator_fail_because_not_string PASSED [ 73%] tests/validator20/validate_spec_test.py::test_specs_with_discriminator_fail_because_not_in_properties PASSED [ 73%] tests/validator20/validate_spec_test.py::test_specs_with_discriminator_in_allOf PASSED [ 74%] tests/validator20/validate_spec_test.py::test_specs_with_discriminator_in_allOf_fail_because_not_required PASSED [ 74%] tests/validator20/validate_spec_test.py::test_specs_with_discriminator_in_allOf_fail_because_not_string PASSED [ 75%] tests/validator20/validate_spec_test.py::test_specs_with_discriminator_in_allOf_fail_because_not_in_properties PASSED [ 76%] tests/validator20/validate_spec_test.py::test_read_yaml_specs PASSED [ 76%] tests/validator20/validate_spec_test.py::test_valid_specs_with_check_of_default_types[property_spec0] PASSED [ 77%] tests/validator20/validate_spec_test.py::test_valid_specs_with_check_of_default_types[property_spec1] PASSED [ 77%] tests/validator20/validate_spec_test.py::test_valid_specs_with_check_of_default_types[property_spec2] PASSED [ 78%] tests/validator20/validate_spec_test.py::test_valid_specs_with_check_of_default_types[property_spec3] PASSED [ 79%] tests/validator20/validate_spec_test.py::test_valid_specs_with_check_of_default_types[property_spec4] PASSED [ 79%] tests/validator20/validate_spec_test.py::test_valid_specs_with_check_of_default_types[property_spec5] PASSED [ 80%] tests/validator20/validate_spec_test.py::test_valid_specs_with_check_of_default_types[property_spec6] PASSED [ 80%] tests/validator20/validate_spec_test.py::test_valid_specs_with_check_of_default_types[property_spec7] PASSED [ 81%] tests/validator20/validate_spec_test.py::test_valid_specs_with_check_of_default_types[property_spec8] PASSED [ 82%] tests/validator20/validate_spec_test.py::test_valid_specs_with_check_of_default_types[property_spec9] PASSED [ 82%] tests/validator20/validate_spec_test.py::test_valid_specs_with_check_of_default_types[property_spec10] PASSED [ 83%] tests/validator20/validate_spec_test.py::test_failure_due_to_wrong_default_type[property_spec0-type-wrong_type] PASSED [ 84%] tests/validator20/validate_spec_test.py::test_failure_due_to_wrong_default_type[property_spec1-type-wrong_type] PASSED [ 84%] tests/validator20/validate_spec_test.py::test_failure_due_to_wrong_default_type[property_spec2-type-wrong_type] PASSED [ 85%] tests/validator20/validate_spec_test.py::test_failure_due_to_wrong_default_type[property_spec3-type-wrong_type] PASSED [ 85%] tests/validator20/validate_spec_test.py::test_failure_due_to_wrong_default_type[property_spec4-type-wrong_type] PASSED [ 86%] tests/validator20/validate_spec_test.py::test_failure_due_to_wrong_default_type[property_spec5-type-wrong_type] PASSED [ 87%] tests/validator20/validate_spec_test.py::test_failure_due_to_wrong_default_type[property_spec6-type--1] PASSED [ 87%] tests/validator20/validate_spec_test.py::test_failure_due_to_wrong_default_type[property_spec7-minLength-short_string] PASSED [ 88%] tests/validator20/validate_spec_test.py::test_failure_due_to_wrong_default_type[property_spec8-type-not_a_number_or_boolean] PASSED [ 88%] tests/validator20/validate_spec_test.py::test_failure_due_to_wrong_default_type[property_spec9-enum-not_valid] PASSED [ 89%] tests/validator20/validate_spec_test.py::test_ref_without_str_argument PASSED [ 90%] tests/validator20/validate_spec_test.py::test_failure_because_references_in_operation_responses PASSED [ 90%] tests/validator20/validate_spec_test.py::test_type_array_with_items_succeed_validation PASSED [ 91%] tests/validator20/validate_spec_test.py::test_type_array_without_items_succeed_fails[swagger_dict_override0] PASSED [ 92%] tests/validator20/validate_spec_test.py::test_highlight_inconsistent_schema_object_validation[swagger_dict_override0] PASSED [ 92%] tests/validator20/validate_spec_test.py::test_highlight_inconsistent_schema_object_validation[swagger_dict_override1] PASSED [ 93%] tests/validator20/validate_spec_test.py::test_highlight_inconsistent_schema_object_validation[swagger_dict_override2] PASSED [ 93%] tests/validator20/validate_spec_test.py::test_highlight_inconsistent_schema_object_validation[swagger_dict_override3] PASSED [ 94%] tests/validator20/validate_spec_test.py::test_highlight_inconsistent_schema_object_validation[swagger_dict_override4] PASSED [ 95%] tests/validator20/validate_spec_test.py::test_additional_properties_validated PASSED [ 95%] tests/validator20/validate_spec_test.py::test_additional_properties_bool PASSED [ 96%] tests/validator20/validate_spec_test.py::test_array_items_validated PASSED [ 96%] tests/validator20/validate_spec_url_test.py::test_success PASSED [ 97%] tests/validator20/validate_spec_url_test.py::test_success_crossref_url_yaml PASSED [ 98%] tests/validator20/validate_spec_url_test.py::test_success_crossref_url_json PASSED [ 98%] tests/validator20/validate_spec_url_test.py::test_complicated_refs_json PASSED [ 99%] tests/validator20/validate_spec_url_test.py::test_specs_with_empty_reference PASSED [100%] =============================== warnings summary =============================== swagger_spec_validator/validator12.py:18 swagger_spec_validator/validator12.py:18 /home/buildozer/aports/community/py3-swagger-spec-validator/src/swagger_spec_validator-3.0.4/swagger_spec_validator/validator12.py:18: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. from jsonschema import RefResolver swagger_spec_validator/ref_validators.py:14 /home/buildozer/aports/community/py3-swagger-spec-validator/src/swagger_spec_validator-3.0.4/swagger_spec_validator/ref_validators.py:14: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. from jsonschema.validators import RefResolver swagger_spec_validator/validator20.py:18 /home/buildozer/aports/community/py3-swagger-spec-validator/src/swagger_spec_validator-3.0.4/swagger_spec_validator/validator20.py:18: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. from jsonschema.validators import RefResolver tests/validator20/deref_test.py:4 /home/buildozer/aports/community/py3-swagger-spec-validator/src/swagger_spec_validator-3.0.4/tests/validator20/deref_test.py:4: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable. from jsonschema.exceptions import RefResolutionError tests/validator20/deref_test.py:5 /home/buildozer/aports/community/py3-swagger-spec-validator/src/swagger_spec_validator-3.0.4/tests/validator20/deref_test.py:5: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. from jsonschema.validators import RefResolver tests/validator20/validate_spec_test.py:4 /home/buildozer/aports/community/py3-swagger-spec-validator/src/swagger_spec_validator-3.0.4/tests/validator20/validate_spec_test.py:4: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. from jsonschema.validators import RefResolver -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================ 163 passed, 3 deselected, 7 warnings in 2.48s ================= >>> py3-swagger-spec-validator: Entering fakeroot... >>> py3-swagger-spec-validator-pyc*: Running split function pyc... '/home/buildozer/aports/community/py3-swagger-spec-validator/pkg/py3-swagger-spec-validator/usr/lib/python3.12/site-packages/swagger_spec_validator/__pycache__' -> '/home/buildozer/aports/community/py3-swagger-spec-validator/pkg/py3-swagger-spec-validator-pyc/usr/lib/python3.12/site-packages/swagger_spec_validator/__pycache__' >>> py3-swagger-spec-validator-pyc*: Preparing subpackage py3-swagger-spec-validator-pyc... >>> py3-swagger-spec-validator-pyc*: Running postcheck for py3-swagger-spec-validator-pyc >>> py3-swagger-spec-validator*: Running postcheck for py3-swagger-spec-validator >>> py3-swagger-spec-validator*: Preparing package py3-swagger-spec-validator... >>> py3-swagger-spec-validator-pyc*: Tracing dependencies... py3-jsonschema py3-yaml py3-typing-extensions py3-importlib-resources python3~3.12 >>> py3-swagger-spec-validator-pyc*: Package size: 96.0 KB >>> py3-swagger-spec-validator-pyc*: Compressing data... >>> py3-swagger-spec-validator-pyc*: Create checksum... >>> py3-swagger-spec-validator-pyc*: Create py3-swagger-spec-validator-pyc-3.0.4-r3.apk >>> py3-swagger-spec-validator*: Tracing dependencies... py3-jsonschema py3-yaml py3-typing-extensions py3-importlib-resources python3~3.12 >>> py3-swagger-spec-validator*: Package size: 228.0 KB >>> py3-swagger-spec-validator*: Compressing data... >>> py3-swagger-spec-validator*: Create checksum... >>> py3-swagger-spec-validator*: Create py3-swagger-spec-validator-3.0.4-r3.apk >>> py3-swagger-spec-validator: Build complete at Fri, 05 Jul 2024 04:45:37 +0000 elapsed time 0h 0m 5s >>> py3-swagger-spec-validator: Cleaning up srcdir >>> py3-swagger-spec-validator: Cleaning up pkgdir >>> py3-swagger-spec-validator: Uninstalling dependencies... (1/50) Purging .makedepends-py3-swagger-spec-validator (20240705.044533) (2/50) Purging py3-jsonschema-pyc (4.22.0-r0) (3/50) Purging py3-jsonschema (4.22.0-r0) (4/50) Purging py3-jsonschema-specifications-pyc (2023.12.1-r1) (5/50) Purging py3-jsonschema-specifications (2023.12.1-r1) (6/50) Purging py3-referencing-pyc (0.35.1-r0) (7/50) Purging py3-referencing (0.35.1-r0) (8/50) Purging py3-attrs-pyc (23.2.0-r1) (9/50) Purging py3-attrs (23.2.0-r1) (10/50) Purging py3-rpds-py-pyc (0.18.1_git20240605-r0) (11/50) Purging py3-rpds-py (0.18.1_git20240605-r0) (12/50) Purging py3-yaml-pyc (6.0.1-r3) (13/50) Purging py3-yaml (6.0.1-r3) (14/50) Purging py3-typing-extensions-pyc (4.12.2-r0) (15/50) Purging py3-typing-extensions (4.12.2-r0) (16/50) Purging py3-importlib-resources-pyc (6.1.1-r1) (17/50) Purging py3-importlib-resources (6.1.1-r1) (18/50) Purging py3-setuptools-pyc (70.1.1-r0) (19/50) Purging py3-setuptools (70.1.1-r0) (20/50) Purging py3-gpep517-pyc (16-r0) (21/50) Purging py3-gpep517 (16-r0) (22/50) Purging py3-installer-pyc (0.7.0-r2) (23/50) Purging py3-installer (0.7.0-r2) (24/50) Purging py3-wheel-pyc (0.42.0-r1) (25/50) Purging py3-wheel (0.42.0-r1) (26/50) Purging py3-pytest-pyc (8.2.2-r0) (27/50) Purging py3-pytest (8.2.2-r0) (28/50) Purging py3-iniconfig-pyc (2.0.0-r1) (29/50) Purging py3-iniconfig (2.0.0-r1) (30/50) Purging py3-packaging-pyc (24.1-r0) (31/50) Purging py3-packaging (24.1-r0) (32/50) Purging py3-parsing-pyc (3.1.2-r1) (33/50) Purging py3-parsing (3.1.2-r1) (34/50) Purging py3-pluggy-pyc (1.5.0-r0) (35/50) Purging py3-pluggy (1.5.0-r0) (36/50) Purging py3-py-pyc (1.11.0-r3) (37/50) Purging py3-py (1.11.0-r3) (38/50) Purging python3-pyc (3.12.3-r1) (39/50) Purging python3-pycache-pyc0 (3.12.3-r1) (40/50) Purging pyc (3.12.3-r1) (41/50) Purging python3 (3.12.3-r1) (42/50) Purging gdbm (1.24-r0) (43/50) Purging libbz2 (1.0.8-r6) (44/50) Purging libffi (3.4.6-r0) (45/50) Purging libpanelw (6.5_p20240601-r0) (46/50) Purging mpdecimal (4.0.0-r0) (47/50) Purging readline (8.2.10-r0) (48/50) Purging sqlite-libs (3.46.0-r0) (49/50) Purging xz-libs (5.6.2-r0) (50/50) Purging yaml (0.2.5-r2) Executing busybox-1.36.1-r31.trigger OK: 271 MiB in 103 packages >>> py3-swagger-spec-validator: Updating the community/armv7 repository index... >>> py3-swagger-spec-validator: Signing the index...