==> Building on electivire ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-pydantic-settings ./ .SRCINFO 929 100% 0.00kB/s 0:00:00 929 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=2/4) PKGBUILD 1,489 100% 1.42MB/s 0:00:00 1,489 100% 1.42MB/s 0:00:00 (xfr#2, to-chk=1/4) python-pydantic-settings-2.1.0-1.log 381 100% 372.07kB/s 0:00:00 381 100% 372.07kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 1,743 bytes received 132 bytes 750.00 bytes/sec total size is 2,615 speedup is 1.39 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root21 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root21]...done ==> Making package: python-pydantic-settings 2.1.0-1 (Tue Jan 30 07:56:30 2024) ==> Retrieving sources...  -> Downloading pydantic-settings-2.1.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8893 0 8893 0 0 24414 0 --:--:-- --:--:-- --:--:-- 24414 100 31633 0 31633 0 0 85494 0 --:--:-- --:--:-- --:--:-- 4441k ==> Validating source files with sha512sums... pydantic-settings-2.1.0.tar.gz ... Passed ==> Validating source files with b2sums... pydantic-settings-2.1.0.tar.gz ... Passed ==> Making package: python-pydantic-settings 2.1.0-1 (Tue Jan 30 07:56:39 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (8) New Version Net Change Download Size core/libnsl 2.0.1-1 0.07 MiB extra/python-annotated-types 0.6.0-1 0.11 MiB extra/python-click 8.1.7-1 1.24 MiB extra/python-pydantic-core 1:2.14.6-1 4.81 MiB core/python 3.11.6-1 107.27 MiB extra/python-dotenv 1.0.1-1 0.15 MiB 0.04 MiB extra/python-pydantic 2.5.3-1 4.78 MiB extra/python-typing_extensions 4.9.0-1 0.37 MiB Total Download Size: 0.04 MiB Total Installed Size: 118.79 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-dotenv-1.0.1-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-click... installing python-dotenv... Optional dependencies for python-dotenv ipython: ipython support installing python-annotated-types... installing python-typing_extensions... installing python-pydantic-core... installing python-pydantic... Optional dependencies for python-pydantic mypy: for type validation with mypy python-dotenv: for .env file support [installed] python-email-validator: for email validation python-hypothesis: for hypothesis plugin when using legacy v1 [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (18) New Version Net Change Download Size extra/python-black 23.12.1-1 1.94 MiB extra/python-editables 0.5-1 0.03 MiB extra/python-iniconfig 2.0.0-4 0.04 MiB extra/python-mypy_extensions 1.0.0-3 0.03 MiB extra/python-packaging 23.2-1 0.53 MiB extra/python-pathspec 0.12.1-1 0.24 MiB extra/python-platformdirs 4.1.0-1 0.23 MiB extra/python-pluggy 1.4.0-1 0.21 MiB extra/python-pyproject-hooks 1.0.0-5 0.09 MiB extra/python-ruff 0.1.8-1 0.18 MiB extra/python-trove-classifiers 2024.1.8-1 0.11 MiB extra/ruff 0.1.8-1 13.50 MiB extra/python-build 1.0.3-1 0.68 MiB extra/python-hatchling 1.21.1-1 1.02 MiB extra/python-installer 0.7.0-3 0.82 MiB extra/python-pytest 1:7.4.4-1 4.02 MiB 0.68 MiB extra/python-pytest-examples 0.0.10-1 0.17 MiB extra/python-pytest-mock 3.12.0-1 0.09 MiB Total Download Size: 0.68 MiB Total Installed Size: 23.93 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-pytest-1:7.4.4-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-virtualenv: Use virtualenv for build isolation installing python-pathspec... installing python-pluggy... installing python-editables... installing python-trove-classifiers... installing python-hatchling... installing python-installer... installing python-iniconfig... installing python-pytest... installing python-mypy_extensions... installing python-platformdirs... installing python-black... Optional dependencies for python-black ipython: for Jupyter notebook support python-tokenize-rt: for Jupyter notebook support python-aiohttp: for the blackd HTTP server python-colorama: for colored diffs installing ruff... installing python-ruff... installing python-pytest-examples... installing python-pytest-mock... [?25h==> Retrieving sources...  -> Found pydantic-settings-2.1.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting pydantic-settings-2.1.0.tar.gz with bsdtar ==> Starting build()... * Getting build dependencies for wheel... * Building wheel... Successfully built pydantic_settings-2.1.0-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.4, pluggy-1.4.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-pydantic-settings/src/pydantic-settings-2.1.0 configfile: pyproject.toml testpaths: tests plugins: examples-0.0.10, mock-3.12.0 collecting ... collected 116 items tests/test_docs.py::test_docs_examples[docs/index.md:24-83] PASSED [ 0%] tests/test_docs.py::test_docs_examples[docs/index.md:113-137] PASSED [ 1%] tests/test_docs.py::test_docs_examples[docs/index.md:148-156] PASSED [ 2%] tests/test_docs.py::test_docs_examples[docs/index.md:173-183] PASSED [ 3%] tests/test_docs.py::test_docs_examples[docs/index.md:193-201] PASSED [ 4%] tests/test_docs.py::test_docs_examples[docs/index.md:212-246] FAILED [ 5%] tests/test_docs.py::test_docs_examples[docs/index.md:280-311] PASSED [ 6%] tests/test_docs.py::test_docs_examples[docs/index.md:330-371] PASSED [ 6%] tests/test_docs.py::test_docs_examples[docs/index.md:429-438] PASSED [ 7%] tests/test_docs.py::test_docs_examples[docs/index.md:452-458] PASSED [ 8%] tests/test_docs.py::test_docs_examples[docs/index.md:508-516] PASSED [ 9%] tests/test_docs.py::test_docs_examples[docs/index.md:557-582] PASSED [ 10%] tests/test_docs.py::test_docs_examples[docs/index.md:591-669] PASSED [ 11%] tests/test_docs.py::test_docs_examples[docs/index.md:675-709] PASSED [ 12%] tests/test_settings.py::test_sub_env PASSED [ 12%] tests/test_settings.py::test_sub_env_override PASSED [ 13%] tests/test_settings.py::test_sub_env_missing PASSED [ 14%] tests/test_settings.py::test_other_setting PASSED [ 15%] tests/test_settings.py::test_with_prefix PASSED [ 16%] tests/test_settings.py::test_nested_env_with_basemodel PASSED [ 17%] tests/test_settings.py::test_merge_dict PASSED [ 18%] tests/test_settings.py::test_nested_env_delimiter PASSED [ 18%] tests/test_settings.py::test_nested_env_delimiter_with_prefix PASSED [ 19%] tests/test_settings.py::test_nested_env_delimiter_complex_required PASSED [ 20%] tests/test_settings.py::test_nested_env_delimiter_aliases PASSED [ 21%] tests/test_settings.py::test_list PASSED [ 22%] tests/test_settings.py::test_annotated_list PASSED [ 23%] tests/test_settings.py::test_set_dict_model PASSED [ 24%] tests/test_settings.py::test_invalid_json PASSED [ 25%] tests/test_settings.py::test_required_sub_model PASSED [ 25%] tests/test_settings.py::test_non_class PASSED [ 26%] tests/test_settings.py::test_generic_dataclass[dataclass0] PASSED [ 27%] tests/test_settings.py::test_generic_dataclass[dataclass1] PASSED [ 28%] tests/test_settings.py::test_generic_basemodel PASSED [ 29%] tests/test_settings.py::test_annotated PASSED [ 30%] tests/test_settings.py::test_env_str PASSED [ 31%] tests/test_settings.py::test_env_list PASSED [ 31%] tests/test_settings.py::test_env_list_field PASSED [ 32%] tests/test_settings.py::test_env_list_last PASSED [ 33%] tests/test_settings.py::test_env_inheritance_field PASSED [ 34%] tests/test_settings.py::test_env_inheritance_config PASSED [ 35%] tests/test_settings.py::test_invalid_validation_alias PASSED [ 36%] tests/test_settings.py::test_validation_aliases PASSED [ 37%] tests/test_settings.py::test_validation_aliases_alias_path PASSED [ 37%] tests/test_settings.py::test_validation_aliases_alias_choices PASSED [ 38%] tests/test_settings.py::test_validation_alias_with_env_prefix PASSED [ 39%] tests/test_settings.py::test_case_sensitive PASSED [ 40%] tests/test_settings.py::test_nested_dataclass PASSED [ 41%] tests/test_settings.py::test_env_takes_precedence PASSED [ 42%] tests/test_settings.py::test_config_file_settings_nornir PASSED [ 43%] tests/test_settings.py::test_env_union_with_complex_subfields_parses_json PASSED [ 43%] tests/test_settings.py::test_env_union_with_complex_subfields_parses_plain_if_json_fails PASSED [ 44%] tests/test_settings.py::test_env_union_without_complex_subfields_does_not_parse_json PASSED [ 45%] tests/test_settings.py::test_env_file_config PASSED [ 46%] tests/test_settings.py::test_env_file_with_env_prefix PASSED [ 47%] tests/test_settings.py::test_env_file_config_case_sensitive PASSED [ 48%] tests/test_settings.py::test_env_file_export PASSED [ 49%] tests/test_settings.py::test_env_file_export_validation_alias PASSED [ 50%] tests/test_settings.py::test_env_file_config_custom_encoding PASSED [ 50%] tests/test_settings.py::test_env_file_home_directory PASSED [ 51%] tests/test_settings.py::test_env_file_none PASSED [ 52%] tests/test_settings.py::test_env_file_override_file PASSED [ 53%] tests/test_settings.py::test_env_file_override_none PASSED [ 54%] tests/test_settings.py::test_env_file_not_a_file PASSED [ 55%] tests/test_settings.py::test_read_env_file_cast_sensitive PASSED [ 56%] tests/test_settings.py::test_read_env_file_syntax_wrong PASSED [ 56%] tests/test_settings.py::test_env_file_example PASSED [ 57%] tests/test_settings.py::test_env_file_custom_encoding PASSED [ 58%] tests/test_settings.py::test_multiple_env_file PASSED [ 59%] tests/test_settings.py::test_model_env_file_override_model_config PASSED [ 60%] tests/test_settings.py::test_multiple_env_file_encoding PASSED [ 61%] tests/test_settings.py::test_read_dotenv_vars PASSED [ 62%] tests/test_settings.py::test_read_dotenv_vars_when_env_file_is_none PASSED [ 62%] tests/test_settings.py::test_dotenv_not_installed SKIPPED (python-dotenv is installed) [ 63%] tests/test_settings.py::test_alias_set PASSED [ 64%] tests/test_settings.py::test_prefix_on_parent PASSED [ 65%] tests/test_settings.py::test_secrets_path PASSED [ 66%] tests/test_settings.py::test_secrets_path_with_validation_alias PASSED [ 67%] tests/test_settings.py::test_secrets_case_sensitive PASSED [ 68%] tests/test_settings.py::test_secrets_case_insensitive PASSED [ 68%] tests/test_settings.py::test_secrets_path_url PASSED [ 69%] tests/test_settings.py::test_secrets_path_json PASSED [ 70%] tests/test_settings.py::test_secrets_path_invalid_json PASSED [ 71%] tests/test_settings.py::test_secrets_missing PASSED [ 72%] tests/test_settings.py::test_secrets_invalid_secrets_dir PASSED [ 73%] tests/test_settings.py::test_secrets_missing_location PASSED [ 74%] tests/test_settings.py::test_secrets_file_is_a_directory PASSED [ 75%] tests/test_settings.py::test_secrets_dotenv_precedence PASSED [ 75%] tests/test_settings.py::test_external_settings_sources_precedence PASSED [ 76%] tests/test_settings.py::test_external_settings_sources_filter_env_vars PASSED [ 77%] tests/test_settings.py::test_customise_sources_empty PASSED [ 78%] tests/test_settings.py::test_builtins_settings_source_repr PASSED [ 79%] tests/test_settings.py::test_env_setting_source_custom_env_parse PASSED [ 80%] tests/test_settings.py::test_env_settings_source_custom_env_parse_is_bad PASSED [ 81%] tests/test_settings.py::test_secret_settings_source_custom_env_parse PASSED [ 81%] tests/test_settings.py::test_custom_source_get_field_value_error PASSED [ 82%] tests/test_settings.py::test_nested_env_complex_values PASSED [ 83%] tests/test_settings.py::test_nested_env_nonexisting_field PASSED [ 84%] tests/test_settings.py::test_nested_env_nonexisting_field_deep PASSED [ 85%] tests/test_settings.py::test_nested_env_union_complex_values PASSED [ 86%] tests/test_settings.py::test_nested_model_case_insensitive PASSED [ 87%] tests/test_settings.py::test_dotenv_extra_allow PASSED [ 87%] tests/test_settings.py::test_dotenv_extra_forbid PASSED [ 88%] tests/test_settings.py::test_dotenv_extra_case_insensitive PASSED [ 89%] tests/test_settings.py::test_dotenv_extra_sub_model_case_insensitive PASSED [ 90%] tests/test_settings.py::test_nested_bytes_field PASSED [ 91%] tests/test_settings.py::test_protected_namespace_defaults PASSED [ 92%] tests/test_settings.py::test_case_sensitive_from_args PASSED [ 93%] tests/test_settings.py::test_env_prefix_from_args PASSED [ 93%] tests/test_settings.py::test_env_json_field PASSED [ 94%] tests/test_settings.py::test_env_json_field_dict PASSED [ 95%] tests/test_settings.py::test_custom_env_source_default_values_from_config PASSED [ 96%] tests/test_settings.py::test_model_config_through_class_kwargs PASSED [ 97%] tests/test_settings.py::test_root_model_as_field PASSED [ 98%] tests/test_settings.py::test_optional_field_from_env PASSED [ 99%] tests/test_settings.py::test_dotenv_optional_json_field PASSED [100%] =================================== FAILURES =================================== __________________ test_docs_examples[docs/index.md:212-246] ___________________ Print output changed code: --- before +++ after @@ -233,225 +233,225 @@ try: Settings() except ValidationError as e: print(e) """ - 2 validation errors for RedisSettings - host + 2 validation errors for Settings + redis.host Field required [type=missing, input_value={'HOST': 'localhost', 'port': 6379}, input_type=dict] For further information visit https://errors.pydantic.dev/2/v/missing - HOST + redis.HOST Extra inputs are not permitted [type=extra_forbidden, input_value='localhost', input_type=str] For further information visit https://errors.pydantic.dev/2/v/extra_forbidden """ =========================== short test summary info ============================ FAILED tests/test_docs.py::test_docs_examples[docs/index.md:212-246] - Failed... =================== 1 failed, 114 passed, 1 skipped in 4.55s =================== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root21/build receiving incremental file list python-pydantic-settings-2.1.0-1-riscv64-build.log python-pydantic-settings-2.1.0-1-riscv64-check.log sent 62 bytes received 2,477 bytes 1,015.60 bytes/sec total size is 11,116 speedup is 4.38