>>> py3-swagger-spec-validator: Building community/py3-swagger-spec-validator 3.0.4-r3 (using abuild 3.14.0-r0) started Sun, 20 Oct 2024 11:27:05 +0000 >>> py3-swagger-spec-validator: Validating /home/buildozer/aports/community/py3-swagger-spec-validator/APKBUILD... >>> WARNING: py3-swagger-spec-validator: Setting the maintainer with a comment is deprecated. Use maintainer="Antoine Martin (ayakael) " instead >>> 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/49) Installing libbz2 (1.0.8-r6) (2/49) Installing libffi (3.4.6-r0) (3/49) Installing gdbm (1.24-r0) (4/49) Installing xz-libs (5.6.3-r0) (5/49) Installing mpdecimal (4.0.0-r0) (6/49) Installing libpanelw (6.5_p20241006-r0) (7/49) Installing sqlite-libs (3.46.1-r0) (8/49) Installing python3 (3.12.7-r0) (9/49) Installing python3-pycache-pyc0 (3.12.7-r0) (10/49) Installing pyc (3.12.7-r0) (11/49) Installing py3-rpds-py (0.20.0-r0) (12/49) Installing py3-rpds-py-pyc (0.20.0-r0) (13/49) Installing py3-referencing (0.35.1-r0) (14/49) Installing py3-referencing-pyc (0.35.1-r0) (15/49) Installing py3-jsonschema-specifications (2024.10.1-r0) (16/49) Installing py3-jsonschema-specifications-pyc (2024.10.1-r0) (17/49) Installing py3-jsonschema-pyc (4.23.0-r0) (18/49) Installing py3-attrs-pyc (24.2.0-r0) (19/49) Installing python3-pyc (3.12.7-r0) (20/49) Installing py3-attrs (24.2.0-r0) (21/49) Installing py3-jsonschema (4.23.0-r0) (22/49) Installing yaml (0.2.5-r2) (23/49) Installing py3-yaml (6.0.2-r0) (24/49) Installing py3-yaml-pyc (6.0.2-r0) (25/49) Installing py3-typing-extensions (4.12.2-r0) (26/49) Installing py3-typing-extensions-pyc (4.12.2-r0) (27/49) Installing py3-importlib-resources (6.1.1-r1) (28/49) Installing py3-importlib-resources-pyc (6.1.1-r1) (29/49) Installing py3-parsing (3.1.4-r0) (30/49) Installing py3-parsing-pyc (3.1.4-r0) (31/49) Installing py3-packaging (24.1-r0) (32/49) Installing py3-packaging-pyc (24.1-r0) (33/49) Installing py3-setuptools (70.3.0-r0) (34/49) Installing py3-setuptools-pyc (70.3.0-r0) (35/49) Installing py3-installer (0.7.0-r2) (36/49) Installing py3-installer-pyc (0.7.0-r2) (37/49) Installing py3-gpep517 (16-r0) (38/49) Installing py3-gpep517-pyc (16-r0) (39/49) Installing py3-wheel (0.43.0-r0) (40/49) Installing py3-wheel-pyc (0.43.0-r0) (41/49) Installing py3-iniconfig (2.0.0-r1) (42/49) Installing py3-iniconfig-pyc (2.0.0-r1) (43/49) Installing py3-pluggy (1.5.0-r0) (44/49) Installing py3-pluggy-pyc (1.5.0-r0) (45/49) Installing py3-py (1.11.0-r4) (46/49) Installing py3-py-pyc (1.11.0-r4) (47/49) Installing py3-pytest (8.3.3-r0) (48/49) Installing py3-pytest-pyc (8.3.3-r0) (49/49) Installing .makedepends-py3-swagger-spec-validator (20241020.112716) Executing busybox-1.37.0-r1.trigger OK: 294 MiB in 148 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/py3-swagger-spec-validator-3.0.4-gh.tar.gz... 2024-10-20 11:27:17,164 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ 2024-10-20 11:27:17,191 root INFO running bdist_wheel 2024-10-20 11:27:17,211 root WARNING The [wheel] section is deprecated. Use [bdist_wheel] instead. 2024-10-20 11:27:17,222 root INFO running build 2024-10-20 11:27:17,222 root INFO running build_py 2024-10-20 11:27:17,227 root INFO creating build 2024-10-20 11:27:17,227 root INFO creating build/lib 2024-10-20 11:27:17,227 root INFO creating build/lib/swagger_spec_validator 2024-10-20 11:27:17,228 root INFO copying swagger_spec_validator/ref_validators.py -> build/lib/swagger_spec_validator 2024-10-20 11:27:17,228 root INFO copying swagger_spec_validator/common.py -> build/lib/swagger_spec_validator 2024-10-20 11:27:17,228 root INFO copying swagger_spec_validator/__about__.py -> build/lib/swagger_spec_validator 2024-10-20 11:27:17,229 root INFO copying swagger_spec_validator/util.py -> build/lib/swagger_spec_validator 2024-10-20 11:27:17,229 root INFO copying swagger_spec_validator/__init__.py -> build/lib/swagger_spec_validator 2024-10-20 11:27:17,229 root INFO copying swagger_spec_validator/validator20.py -> build/lib/swagger_spec_validator 2024-10-20 11:27:17,230 root INFO copying swagger_spec_validator/validator12.py -> build/lib/swagger_spec_validator 2024-10-20 11:27:17,230 root INFO running egg_info 2024-10-20 11:27:17,230 root INFO creating swagger_spec_validator.egg-info 2024-10-20 11:27:17,233 root INFO writing swagger_spec_validator.egg-info/PKG-INFO 2024-10-20 11:27:17,234 root INFO writing dependency_links to swagger_spec_validator.egg-info/dependency_links.txt 2024-10-20 11:27:17,235 root INFO writing requirements to swagger_spec_validator.egg-info/requires.txt 2024-10-20 11:27:17,235 root INFO writing top-level names to swagger_spec_validator.egg-info/top_level.txt 2024-10-20 11:27:17,235 root INFO writing manifest file 'swagger_spec_validator.egg-info/SOURCES.txt' 2024-10-20 11:27:17,240 root INFO reading manifest file 'swagger_spec_validator.egg-info/SOURCES.txt' 2024-10-20 11:27:17,240 root INFO reading manifest template 'MANIFEST.in' 2024-10-20 11:27:17,241 root INFO adding license file 'LICENSE.txt' 2024-10-20 11:27:17,242 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-10-20 11:27:17,244 root INFO copying swagger_spec_validator/py.typed -> build/lib/swagger_spec_validator 2024-10-20 11:27:17,244 root INFO creating build/lib/swagger_spec_validator/schemas 2024-10-20 11:27:17,244 root INFO creating build/lib/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,245 root INFO copying swagger_spec_validator/schemas/v1.2/apiDeclaration.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,245 root INFO copying swagger_spec_validator/schemas/v1.2/authorizationObject.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,245 root INFO copying swagger_spec_validator/schemas/v1.2/dataType.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,246 root INFO copying swagger_spec_validator/schemas/v1.2/dataTypeBase.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,246 root INFO copying swagger_spec_validator/schemas/v1.2/infoObject.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,246 root INFO copying swagger_spec_validator/schemas/v1.2/modelsObject.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,247 root INFO copying swagger_spec_validator/schemas/v1.2/oauth2GrantType.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,247 root INFO copying swagger_spec_validator/schemas/v1.2/operationObject.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,247 root INFO copying swagger_spec_validator/schemas/v1.2/parameterObject.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,248 root INFO copying swagger_spec_validator/schemas/v1.2/resourceListing.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,248 root INFO copying swagger_spec_validator/schemas/v1.2/resourceObject.json -> build/lib/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,248 root INFO creating build/lib/swagger_spec_validator/schemas/v2.0 2024-10-20 11:27:17,248 root INFO copying swagger_spec_validator/schemas/v2.0/schema.json -> build/lib/swagger_spec_validator/schemas/v2.0 2024-10-20 11:27:17,258 root INFO installing to build/bdist.linux-loongarch64/wheel 2024-10-20 11:27:17,258 root INFO running install 2024-10-20 11:27:17,272 root INFO running install_lib 2024-10-20 11:27:17,277 root INFO creating build/bdist.linux-loongarch64 2024-10-20 11:27:17,277 root INFO creating build/bdist.linux-loongarch64/wheel 2024-10-20 11:27:17,277 root INFO creating build/bdist.linux-loongarch64/wheel/swagger_spec_validator 2024-10-20 11:27:17,277 root INFO copying build/lib/swagger_spec_validator/ref_validators.py -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator 2024-10-20 11:27:17,278 root INFO copying build/lib/swagger_spec_validator/common.py -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator 2024-10-20 11:27:17,278 root INFO copying build/lib/swagger_spec_validator/__about__.py -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator 2024-10-20 11:27:17,278 root INFO copying build/lib/swagger_spec_validator/py.typed -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator 2024-10-20 11:27:17,279 root INFO copying build/lib/swagger_spec_validator/util.py -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator 2024-10-20 11:27:17,279 root INFO copying build/lib/swagger_spec_validator/__init__.py -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator 2024-10-20 11:27:17,279 root INFO creating build/bdist.linux-loongarch64/wheel/swagger_spec_validator/schemas 2024-10-20 11:27:17,280 root INFO creating build/bdist.linux-loongarch64/wheel/swagger_spec_validator/schemas/v2.0 2024-10-20 11:27:17,280 root INFO copying build/lib/swagger_spec_validator/schemas/v2.0/schema.json -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator/schemas/v2.0 2024-10-20 11:27:17,280 root INFO creating build/bdist.linux-loongarch64/wheel/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,281 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/parameterObject.json -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,281 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/authorizationObject.json -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,281 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/infoObject.json -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,282 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/resourceObject.json -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,282 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/modelsObject.json -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,282 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/dataTypeBase.json -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,283 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/oauth2GrantType.json -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,283 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/dataType.json -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,283 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/resourceListing.json -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,284 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/operationObject.json -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,284 root INFO copying build/lib/swagger_spec_validator/schemas/v1.2/apiDeclaration.json -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator/schemas/v1.2 2024-10-20 11:27:17,284 root INFO copying build/lib/swagger_spec_validator/validator20.py -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator 2024-10-20 11:27:17,285 root INFO copying build/lib/swagger_spec_validator/validator12.py -> build/bdist.linux-loongarch64/wheel/swagger_spec_validator 2024-10-20 11:27:17,285 root INFO running install_egg_info 2024-10-20 11:27:17,289 root INFO Copying swagger_spec_validator.egg-info to build/bdist.linux-loongarch64/wheel/swagger_spec_validator-3.0.4-py3.12.egg-info 2024-10-20 11:27:17,291 root INFO running install_scripts 2024-10-20 11:27:17,294 root INFO creating build/bdist.linux-loongarch64/wheel/swagger_spec_validator-3.0.4.dist-info/WHEEL 2024-10-20 11:27:17,295 wheel INFO creating '/home/buildozer/aports/community/py3-swagger-spec-validator/src/swagger_spec_validator-3.0.4/.dist/.tmp-b3o0qcoi/swagger_spec_validator-3.0.4-py2.py3-none-any.whl' and adding 'build/bdist.linux-loongarch64/wheel' to it 2024-10-20 11:27:17,295 wheel INFO adding 'swagger_spec_validator/__about__.py' 2024-10-20 11:27:17,296 wheel INFO adding 'swagger_spec_validator/__init__.py' 2024-10-20 11:27:17,296 wheel INFO adding 'swagger_spec_validator/common.py' 2024-10-20 11:27:17,296 wheel INFO adding 'swagger_spec_validator/py.typed' 2024-10-20 11:27:17,297 wheel INFO adding 'swagger_spec_validator/ref_validators.py' 2024-10-20 11:27:17,297 wheel INFO adding 'swagger_spec_validator/util.py' 2024-10-20 11:27:17,297 wheel INFO adding 'swagger_spec_validator/validator12.py' 2024-10-20 11:27:17,298 wheel INFO adding 'swagger_spec_validator/validator20.py' 2024-10-20 11:27:17,298 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/apiDeclaration.json' 2024-10-20 11:27:17,299 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/authorizationObject.json' 2024-10-20 11:27:17,299 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/dataType.json' 2024-10-20 11:27:17,299 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/dataTypeBase.json' 2024-10-20 11:27:17,300 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/infoObject.json' 2024-10-20 11:27:17,300 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/modelsObject.json' 2024-10-20 11:27:17,300 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/oauth2GrantType.json' 2024-10-20 11:27:17,301 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/operationObject.json' 2024-10-20 11:27:17,301 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/parameterObject.json' 2024-10-20 11:27:17,301 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/resourceListing.json' 2024-10-20 11:27:17,301 wheel INFO adding 'swagger_spec_validator/schemas/v1.2/resourceObject.json' 2024-10-20 11:27:17,302 wheel INFO adding 'swagger_spec_validator/schemas/v2.0/schema.json' 2024-10-20 11:27:17,303 wheel INFO adding 'swagger_spec_validator-3.0.4.dist-info/LICENSE.txt' 2024-10-20 11:27:17,303 wheel INFO adding 'swagger_spec_validator-3.0.4.dist-info/METADATA' 2024-10-20 11:27:17,303 wheel INFO adding 'swagger_spec_validator-3.0.4.dist-info/WHEEL' 2024-10-20 11:27:17,303 wheel INFO adding 'swagger_spec_validator-3.0.4.dist-info/top_level.txt' 2024-10-20 11:27:17,304 wheel INFO adding 'swagger_spec_validator-3.0.4.dist-info/RECORD' 2024-10-20 11:27:17,304 root INFO removing build/bdist.linux-loongarch64/wheel 2024-10-20 11:27:17,306 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.7, pytest-8.3.3, 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 4.57s ================= >>> py3-swagger-spec-validator: Entering fakeroot... >>> py3-swagger-spec-validator-pyc*: Running split function pyc... '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: 52.3 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: 130.3 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 Sun, 20 Oct 2024 11:27:23 +0000 elapsed time 0h 0m 18s >>> py3-swagger-spec-validator: Cleaning up srcdir >>> py3-swagger-spec-validator: Cleaning up pkgdir >>> py3-swagger-spec-validator: Uninstalling dependencies... (1/49) Purging .makedepends-py3-swagger-spec-validator (20241020.112716) (2/49) Purging py3-jsonschema-pyc (4.23.0-r0) (3/49) Purging py3-jsonschema (4.23.0-r0) (4/49) Purging py3-jsonschema-specifications-pyc (2024.10.1-r0) (5/49) Purging py3-jsonschema-specifications (2024.10.1-r0) (6/49) Purging py3-referencing-pyc (0.35.1-r0) (7/49) Purging py3-referencing (0.35.1-r0) (8/49) Purging py3-attrs-pyc (24.2.0-r0) (9/49) Purging py3-attrs (24.2.0-r0) (10/49) Purging py3-rpds-py-pyc (0.20.0-r0) (11/49) Purging py3-rpds-py (0.20.0-r0) (12/49) Purging py3-yaml-pyc (6.0.2-r0) (13/49) Purging py3-yaml (6.0.2-r0) (14/49) Purging py3-typing-extensions-pyc (4.12.2-r0) (15/49) Purging py3-typing-extensions (4.12.2-r0) (16/49) Purging py3-importlib-resources-pyc (6.1.1-r1) (17/49) Purging py3-importlib-resources (6.1.1-r1) (18/49) Purging py3-setuptools-pyc (70.3.0-r0) (19/49) Purging py3-setuptools (70.3.0-r0) (20/49) Purging py3-gpep517-pyc (16-r0) (21/49) Purging py3-gpep517 (16-r0) (22/49) Purging py3-installer-pyc (0.7.0-r2) (23/49) Purging py3-installer (0.7.0-r2) (24/49) Purging py3-wheel-pyc (0.43.0-r0) (25/49) Purging py3-wheel (0.43.0-r0) (26/49) Purging py3-pytest-pyc (8.3.3-r0) (27/49) Purging py3-pytest (8.3.3-r0) (28/49) Purging py3-iniconfig-pyc (2.0.0-r1) (29/49) Purging py3-iniconfig (2.0.0-r1) (30/49) Purging py3-packaging-pyc (24.1-r0) (31/49) Purging py3-packaging (24.1-r0) (32/49) Purging py3-parsing-pyc (3.1.4-r0) (33/49) Purging py3-parsing (3.1.4-r0) (34/49) Purging py3-pluggy-pyc (1.5.0-r0) (35/49) Purging py3-pluggy (1.5.0-r0) (36/49) Purging py3-py-pyc (1.11.0-r4) (37/49) Purging py3-py (1.11.0-r4) (38/49) Purging python3-pyc (3.12.7-r0) (39/49) Purging python3-pycache-pyc0 (3.12.7-r0) (40/49) Purging pyc (3.12.7-r0) (41/49) Purging python3 (3.12.7-r0) (42/49) Purging gdbm (1.24-r0) (43/49) Purging libbz2 (1.0.8-r6) (44/49) Purging libffi (3.4.6-r0) (45/49) Purging libpanelw (6.5_p20241006-r0) (46/49) Purging mpdecimal (4.0.0-r0) (47/49) Purging sqlite-libs (3.46.1-r0) (48/49) Purging xz-libs (5.6.3-r0) (49/49) Purging yaml (0.2.5-r2) Executing busybox-1.37.0-r1.trigger OK: 243 MiB in 99 packages >>> py3-swagger-spec-validator: Updating the community/loongarch64 repository index... >>> py3-swagger-spec-validator: Signing the index...